CFx SDK Documentation 2024 SP0
|
#include <GiImage.h>
Public Member Functions | |
OdGiImageBGRA32 () | |
OdGiImageBGRA32 (OdUInt32 imageWidth, OdUInt32 imageHeight, OdGiPixelBGRA32 *imageData) | |
OdGiPixelBGRA32 * | image () const |
OdUInt32 | width () const |
OdUInt32 | height () const |
void | setImage (OdUInt32 imageWidth, OdUInt32 imageHeight, OdGiPixelBGRA32 *imageData) |
This class defines image color parameters in RGB format, which stores an integer for red, green, and blue values, and includes a value for alpha-shading.
Corresponding C++ library: TD_Gi
<group OdGi_Classes>
|
inline |
Constructor for the OdGiImageBGRA32 class. Creates an object with no underlaying image and with 0 width and height.
|
inline |
Constructor for the OdGiImageBGRA32 class. Creates an image with specified width, height and pixel data.
imageWidth | [in] Image width in pixels. |
imageHeight | [in] Image height in pixels. |
imageData | [in] Pointer to an array of OdGiPixelBGRA32 objects that represent image pixels. |
|
inline |
|
inline |
Retrieves pixel data of this image.
Gets the buffer data of an image.
|
inline |
Specifies image parameters.
imageWidth | [in] Image width in pixels. |
imageHeight | [in] Image height in pixels. |
imageData | [in] Pointer to an array of OdGiPixelBGRA32 objects that represent image pixels. |
Sets the buffer data, width, and height of an image.
|
inline |