|
iDRS™ SDK 16
|
Interface for CImage wrapper. More...
Go to the source code of this file.
Functions | |
| CImage | CImage_Create (CIDRS argIDRS, idrs_exception *pargException) |
| Create creates an empty image. | |
| CImage | CImage_Create2 (CIDRS argIDRS, IDRS_UINT32 const uiWidth, IDRS_UINT32 const uiHeight, enum ColorMode const colorMode, IDRS_UINT32 const uiResolution, idrs_exception *pargException) |
| Create creates an image buffer with the given characteristics. | |
| CImage | CImage_Create3 (const CImage argImage, idrs_exception *pargException) |
| Creates an image and initializes it with the content of the supplied image parameter. | |
| void | CImage_CreateBitmap (CImage argCImage, IDRS_UINT const uiWidth, IDRS_UINT const uiHeight, enum ColorMode const colorMode, IDRS_UINT const uiResolution, idrs_exception *pargException) |
| CreateBitmap modifies the current image buffer to fit to the specified characteristics. | |
| void | CImage_CreateBitmap2 (CImage argCImage, IDRS_UINT const uiWidth, IDRS_UINT const uiHeight, enum ColorMode const colorMode, IDRS_UINT const uiResolution, ILineReader lrLineReader, idrs_exception *pargException) |
| CreateBitmap modifies the current image buffer to meet the characteristics and sets its lines using the given line reader. | |
| CImage | CImage_Clone (const CImage argCImage, idrs_exception *pargException) |
| Clone the current image. | |
| IDRS_UINT | CImage_GetWidth (const CImage argCImage, idrs_exception *pargException) |
| Gets the image width, in pixels. | |
| IDRS_UINT | CImage_GetHeight (const CImage argCImage, idrs_exception *pargException) |
| Gets the image width, in pixels. | |
| IDRS_UINT | CImage_GetByteWidth (const CImage argCImage, idrs_exception *pargException) |
| Gets the image byte width. | |
| IDRS_UINT | CImage_GetImageSize (const CImage argCImage, idrs_exception *pargException) |
| Gets the image size, in bytes. | |
| IDRS_UINT | CImage_GetResolution (const CImage argCImage, idrs_exception *pargException) |
| Gets the image resolution. | |
| IDRS_UINT | CImage_GetBitsPerPixel (const CImage argCImage, idrs_exception *pargException) |
| Gets the image bit per pixels info. | |
| void | CImage_SetResolution (CImage argCImage, IDRS_UINT const uiResolution, idrs_exception *pargException) |
| CImagePixels | CImage_GetImagePixels (const CImage argCImage, idrs_exception *pargException) |
| Gets the image pixels data. | |
| enum ColorMode | CImage_GetColorMode (const CImage argCImage, idrs_exception *pargException) |
| Returns the color mode of the image. | |
| const CIDRS | CImage_GetIDRS (const CImage argCImage, idrs_exception *pargException) |
| Returns the CIDRS handle used. | |
| IDRS_BOOL | CImage_IsDefaultResolution (const CImage argCImage, idrs_exception *pargException) |
| Provides the information, if the current resolution parameter is the default one. | |
| void | CImage_Destroy (CImage argCImage, idrs_exception *pargException) |
| Destroys a CImage handle. | |
Interface for CImage wrapper.
Clone the current image.
| argCImage | CImage handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CImage CImage_Create | ( | CIDRS | argIDRS, |
| idrs_exception * | pargException | ||
| ) |
Create creates an empty image.
| argIDRS | - CIDRS handle object |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CImage CImage_Create2 | ( | CIDRS | argIDRS, |
| IDRS_UINT32 const | uiWidth, | ||
| IDRS_UINT32 const | uiHeight, | ||
| enum ColorMode const | colorMode, | ||
| IDRS_UINT32 const | uiResolution, | ||
| idrs_exception * | pargException | ||
| ) |
Create creates an image buffer with the given characteristics.
| argIDRS | - CIDRS handle object |
| uiWidth | The width in pixels of the image. |
| uiHeight | The height in pixels of the image. |
| colorMode | The image color mode. |
| uiResolution | The resolution of the image. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
Creates an image and initializes it with the content of the supplied image parameter.
| argImage | - the source image that will be copied to the newly created image |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CImage_CreateBitmap | ( | CImage | argCImage, |
| IDRS_UINT const | uiWidth, | ||
| IDRS_UINT const | uiHeight, | ||
| enum ColorMode const | colorMode, | ||
| IDRS_UINT const | uiResolution, | ||
| idrs_exception * | pargException | ||
| ) |
CreateBitmap modifies the current image buffer to fit to the specified characteristics.
| argCImage | CImage handle |
| uiWidth | The width in pixels of the image. |
| uiHeight | The height in pixels of the image. |
| colorMode | The color mode |
| uiResolution | The resolution of the image. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CImage_CreateBitmap2 | ( | CImage | argCImage, |
| IDRS_UINT const | uiWidth, | ||
| IDRS_UINT const | uiHeight, | ||
| enum ColorMode const | colorMode, | ||
| IDRS_UINT const | uiResolution, | ||
| ILineReader | lrLineReader, | ||
| idrs_exception * | pargException | ||
| ) |
CreateBitmap modifies the current image buffer to meet the characteristics and sets its lines using the given line reader.
| argCImage | CImage handle |
| uiWidth | The width in pixels of the image. |
| uiHeight | The height in pixels of the image. |
| colorMode | The color mode |
| uiResolution | The resolution of the image. |
| lrLineReader | The object that provides the lines of the image. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CImage_Destroy | ( | CImage | argCImage, |
| idrs_exception * | pargException | ||
| ) |
Gets the image bit per pixels info.
| argCImage | CImage handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
Gets the image byte width.
| argCImage | CImage handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
Returns the color mode of the image.
| argCImage | CImage handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
Gets the image width, in pixels.
| argCImage | CImage handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| const CIDRS CImage_GetIDRS | ( | const CImage | argCImage, |
| idrs_exception * | pargException | ||
| ) |
Returns the CIDRS handle used.
| CIDRSException | if the object is not initialized |
| argCImage | CImage handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CImagePixels CImage_GetImagePixels | ( | const CImage | argCImage, |
| idrs_exception * | pargException | ||
| ) |
Gets the image pixels data.
| argCImage | CImage handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
Gets the image size, in bytes.
| argCImage | CImage handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
Gets the image resolution.
| argCImage | CImage handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
Gets the image width, in pixels.
| argCImage | CImage handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
Provides the information, if the current resolution parameter is the default one.
| argCImage | CImage handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CImage_SetResolution | ( | CImage | argCImage, |
| IDRS_UINT const | uiResolution, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the image resolution.
| argCImage | CImage handle |
| uiResolution | The new resolution (dots per inch). |
| pargException | Pointer to exception structure that will be filled if an exception occurs |