Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
#define kImage_AsT (   kImage_image,
  kSize_x,
  kSize_y,
 
)
related

Gets the value of a pixel.

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

Parameters
kImage_imageImage object.
kSize_xColumn index.
kSize_yRow index.
TPixel type identifier (e.g., kRgb).
Returns
pixel value.