Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kImage_DataAtT | ( |  | kImage_image,
|  |  | kSSize_x,
|  |  | kSSize_y,
|  |  | T
| ) |  |
| related

Calculates an address relative to the start of the pixel buffer.

This method is similar to the At method, but does not bounds-check the index arguments.

A debug assertion will be raised if the size of the specified pixel type is not equal to the size of the image pixel type.

Parameters

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

Returns
  Calculated pointer.