7#ifndef CIMAGEPIXELS_INTERFACE_H
9#define CIMAGEPIXELS_INTERFACE_H
IDRS_UINT32 CImagePixels_GetByteWidth(const CImagePixels argCImagePixels, idrs_exception *pargException)
Gets the image byte width.
void CImagePixels_GetPixelsBuffer(const CImagePixels argCImagePixels, IDRS_PBYTE xbPixelsBuffer, IDRS_UINT32 const uiBufferSize, idrs_exception *pargException)
Gets the image pixels to a preallocated buffer.
IDRS_UINT32 CImagePixels_GetWidth(const CImagePixels argCImagePixels, idrs_exception *pargException)
Gets the image width, in pixels.
IDRS_UINT32 CImagePixels_GetByteWidth2(IDRS_UINT32 const uiWidth, enum ColorMode const cmColorMode, idrs_exception *pargException)
Gets the width in bytes of an image with the provided properties.
enum ColorMode CImagePixels_GetColorMode(const CImagePixels argCImagePixels, idrs_exception *pargException)
void CImagePixels_FillBitmap(CImagePixels argCImagePixels, const IDRS_COLOR *color, idrs_exception *pargException)
FillBitmap fills the image with the given color.
void CImagePixels_SetPixelsBuffer(CImagePixels argCImagePixels, IDRS_PBYTE const xbPixelsBuffer, IDRS_UINT32 const uiBufferSize, idrs_exception *pargException)
Sets the image pixels from an external buffer.
IDRS_UINT32 CImagePixels_GetHeight(const CImagePixels argCImagePixels, idrs_exception *pargException)
Gets the image width, in pixels.
IDRS_UINT32 CImagePixels_GetPixelsBufferSize(const CImagePixels argCImagePixels, idrs_exception *pargException)
Gets the size of the buffer allocated to store the image pixels.
IDRS_COLOR CImagePixels_GetPixelColor(const CImagePixels argCImagePixels, IDRS_UINT32 const uiCol, IDRS_UINT32 const uiRow, idrs_exception *pargException)
Gets the color of the pixel at the given coordinates.
IDRS_UINT32 CImagePixels_GetImageSize(IDRS_UINT32 const uiWidth, IDRS_UINT32 const uiHeight, enum ColorMode const cmColorMode, idrs_exception *pargException)
Gets the image size image with the provided properties.
void CImagePixels_SetPixelColor(CImagePixels argCImagePixels, IDRS_UINT32 const uiCol, IDRS_UINT32 const uiRow, const IDRS_COLOR *color, idrs_exception *pargException)
Sets the color of the pixel at the given coordinates.
IDRS_PVOID CImagePixels_GetPixels(const CImagePixels argCImagePixels, idrs_exception *pargException)
void CImagePixels_Destroy(CImagePixels argCImagePixels, idrs_exception *pargException)
Destroys a CImagePixels handle.
Interface for CObjPtr wrapper.
Interface for EnumDefinitions wrapper.
ColorMode
The image color modes handles by iDRS.
Definition EnumDefinitions_interface.h:1396
The CImagePixels class handles the pixels of an image.
Structure defines a color with Red, Green and Blue components.
Definition idrsstd_interface.h:84