CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdGiImageBGRA32 Class Reference

#include <GiImage.h>

Public Member Functions

 OdGiImageBGRA32 ()
 
 OdGiImageBGRA32 (OdUInt32 imageWidth, OdUInt32 imageHeight, OdGiPixelBGRA32 *imageData)
 
OdGiPixelBGRA32image () const
 
OdUInt32 width () const
 
OdUInt32 height () const
 
void setImage (OdUInt32 imageWidth, OdUInt32 imageHeight, OdGiPixelBGRA32 *imageData)
 

Detailed Description

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>

Definition at line 212 of file GiImage.h.

Constructor & Destructor Documentation

◆ OdGiImageBGRA32() [1/2]

OdGiImageBGRA32::OdGiImageBGRA32 ( )
inline

Definition at line 215 of file GiImage.h.

◆ OdGiImageBGRA32() [2/2]

OdGiImageBGRA32::OdGiImageBGRA32 ( OdUInt32  imageWidth,
OdUInt32  imageHeight,
OdGiPixelBGRA32 imageData 
)
inline

Definition at line 222 of file GiImage.h.

Member Function Documentation

◆ height()

OdUInt32 OdGiImageBGRA32::height ( ) const
inline

Gets the height of an image.

Definition at line 261 of file GiImage.h.

◆ image()

OdGiPixelBGRA32 * OdGiImageBGRA32::image ( ) const
inline

Gets the buffer data of an image.

Definition at line 245 of file GiImage.h.

◆ setImage()

void OdGiImageBGRA32::setImage ( OdUInt32  imageWidth,
OdUInt32  imageHeight,
OdGiPixelBGRA32 imageData 
)
inline

Sets the buffer data, width, and height of an image.

Definition at line 269 of file GiImage.h.

◆ width()

OdUInt32 OdGiImageBGRA32::width ( ) const
inline

Gets the width of an image.

Definition at line 253 of file GiImage.h.


The documentation for this class was generated from the following file: