Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kImage_AtT | ( |  | kImage_image,
|  |  | kSize_x,
|  |  | kSize_y,
|  |  | T
| ) |  |
| related

Returns a strongly-typed pointer to the specified pixel in the pixel buffer.

A debug assertion will be raised if the index arguments are greater than or equal to the current image dimensions, or if the size of the specified pixel type is not equal to the size of the image pixel type.

Parameters

  kImage_image | Image object.
  kSize_x | Column index.
  kSize_y | Row index.
  T | Pixel type identifier (e.g., k8u).

Returns
  Strongly-typed pointer to pixel.