- 機能/意味
-
Area image buffer pitch
- タイプ
-
Layerクラスのプロパティ (読み出し専用)
- 説明
-
Indicates the pitch (number of bytes to the next lower scan line) of the image buffer of the area image (8bpp bitmap containing area information).
This property is provided to provide a direct access to the image buffer for plugins etc.
If tjs_uint8 is an 8-bit (1 byte) integer type, the pointer to the image position (x, y) can be calculated as follows by writing in C language.
(tjs_uint8*)provinceImageBuffer + y*provinceImageBufferPitch + x
The number in this property may be slightly larger than the exact number of bytes required for the image width.
Note that this property can be negative.
- 参照
-
Layer.provinceImageBuffer
Layer.provinceImageBufferForWrite