|
iDRS™ SDK 16
|
Interface for CImagePixels wrapper. More...
Go to the source code of this file.
Functions | |
| 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_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. | |
| void | CImagePixels_FillBitmap (CImagePixels argCImagePixels, const IDRS_COLOR *color, idrs_exception *pargException) |
| FillBitmap fills the image with the given color. | |
| IDRS_PVOID | CImagePixels_GetPixels (const CImagePixels argCImagePixels, idrs_exception *pargException) |
| 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_GetPixelsBufferSize (const CImagePixels argCImagePixels, idrs_exception *pargException) |
| Gets the size of the buffer allocated to store the image pixels. | |
| 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_GetHeight (const CImagePixels argCImagePixels, idrs_exception *pargException) |
| Gets the image width, in pixels. | |
| IDRS_UINT32 | CImagePixels_GetByteWidth (const CImagePixels argCImagePixels, idrs_exception *pargException) |
| Gets the image byte width. | |
| enum ColorMode | CImagePixels_GetColorMode (const CImagePixels argCImagePixels, idrs_exception *pargException) |
| 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. | |
| 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. | |
| void | CImagePixels_Destroy (CImagePixels argCImagePixels, idrs_exception *pargException) |
| Destroys a CImagePixels handle. | |
Interface for CImagePixels wrapper.
| void CImagePixels_Destroy | ( | CImagePixels | argCImagePixels, |
| idrs_exception * | pargException | ||
| ) |
Destroys a CImagePixels handle.
| argCImagePixels | CImagePixels handle to destroy |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CImagePixels_FillBitmap | ( | CImagePixels | argCImagePixels, |
| const IDRS_COLOR * | color, | ||
| idrs_exception * | pargException | ||
| ) |
FillBitmap fills the image with the given color.
| argCImagePixels | CImagePixels handle |
| color | The color. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_UINT32 CImagePixels_GetByteWidth | ( | const CImagePixels | argCImagePixels, |
| idrs_exception * | pargException | ||
| ) |
Gets the image byte width.
| argCImagePixels | CImagePixels handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| 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.
| uiWidth | The width in pixels of the image. |
| cmColorMode | The color mode for the image. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| enum ColorMode CImagePixels_GetColorMode | ( | const CImagePixels | argCImagePixels, |
| idrs_exception * | pargException | ||
| ) |
| argCImagePixels | CImagePixels handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_UINT32 CImagePixels_GetHeight | ( | const CImagePixels | argCImagePixels, |
| idrs_exception * | pargException | ||
| ) |
Gets the image width, in pixels.
| argCImagePixels | CImagePixels handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| 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.
| uiWidth | The width in pixels of the image. |
| uiHeight | The height in pixels of the image. |
| cmColorMode | The color mode for the image. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| 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.
| argCImagePixels | CImagePixels handle |
| uiCol | The 0 based index of the column. |
| uiRow | The 0 based index of the row. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_PVOID CImagePixels_GetPixels | ( | const CImagePixels | argCImagePixels, |
| idrs_exception * | pargException | ||
| ) |
| argCImagePixels | CImagePixels handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CImagePixels_GetPixelsBuffer | ( | const CImagePixels | argCImagePixels, |
| IDRS_PBYTE | xbPixelsBuffer, | ||
| IDRS_UINT32 const | uiBufferSize, | ||
| idrs_exception * | pargException | ||
| ) |
Gets the image pixels to a preallocated buffer.
The buffer size provided needs to be at least the image size.
| argCImagePixels | CImagePixels handle |
| xbPixelsBuffer | Buffer where the pixels will be copied |
| uiBufferSize | The size of the buffer provided, in bytes. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_UINT32 CImagePixels_GetPixelsBufferSize | ( | const CImagePixels | argCImagePixels, |
| idrs_exception * | pargException | ||
| ) |
Gets the size of the buffer allocated to store the image pixels.
This size is expressed in bytes.
| argCImagePixels | CImagePixels handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_UINT32 CImagePixels_GetWidth | ( | const CImagePixels | argCImagePixels, |
| idrs_exception * | pargException | ||
| ) |
Gets the image width, in pixels.
| argCImagePixels | CImagePixels handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| 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.
| argCImagePixels | CImagePixels handle |
| uiCol | The 0 based index of the column. |
| uiRow | The 0 based index of the row. |
| color | The color. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CImagePixels_SetPixelsBuffer | ( | CImagePixels | argCImagePixels, |
| IDRS_PBYTE const | xbPixelsBuffer, | ||
| IDRS_UINT32 const | uiBufferSize, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the image pixels from an external buffer.
| argCImagePixels | CImagePixels handle |
| xbPixelsBuffer | Buffer containing the pixels |
| uiBufferSize | Size of the buffer, in bytes |
| pargException | Pointer to exception structure that will be filled if an exception occurs |