#include <gfx_image.h>
Helper functions for image classes.
Static Public Member Functions | |
static MAXON_METHOD Result< ImageBaseRef > | CreateSubImagePart (const ImageBaseRef &imageRef, const DrawRectInt &rect) |
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL (ImageFunctionsInterface, MAXON_REFERENCE_STATIC, "net.maxon.image.interface.imagefunctions", MAXON_IMPLEMENTATION_MODULE("net.maxon.image")) | |
|
private |
|
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. |