Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kImage_RowAtT | ( |  | kImage_image,
|  |  | kSize_y,
|  |  | T
| ) |  |
| related

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

A debug assertion will be raised if the row index argument is greater than or equal to the current image height, 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_y | Row index.
  T | Pixel type identifier (e.g., k8u).

Returns
  Strongly-typed pointer to first pixel in row.