ImageFunctionsInterface Class Reference Graphics

#include <gfx_image.h>

详细描述

Helper functions for image classes.

静态公共成员函数

static MAXON_METHOD Result < ImageBaseRef >  CreateSubImagePart (const ImageBaseRef &imageRef, const DrawRectInt &rect)

私有成员函数

  MAXON_INTERFACE_NONVIRTUAL ( ImageFunctionsInterface , MAXON_REFERENCE_NONE , "net.maxon.image.interface.imagefunctions")

成员函数文档编制

◆  MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( ImageFunctionsInterface   ,
MAXON_REFERENCE_NONE   ,
"net.maxon.image.interface.imagefunctions"   
)
private

◆  CreateSubImagePart()

static MAXON_METHOD Result <ImageBaseRef> CreateSubImagePart ( const ImageBaseRef &  imageRef ,
const DrawRectInt rect  
)
static

Create a new ImageBaseRef as a sub image of the given image with the given rectangle. The image will not be copied! It generates only a reference to the original image with the rectangle set to the portion of the image.

参数
[in] imageRef Image to be referenced.
[in] rect Part of the image.
返回
New Image as part of the given image.