- 機能/意味
-
Area image buffer pointer
- タイプ
-
Layerクラスのプロパティ (読み出し専用)
- 説明
-
Represents a pointer to the upper left corner of the image buffer for the region image (8bpp bitmap containing region information).
This property is to provide a means of direct access to the image buffer for plugins etc.
It is returned as an integer type, but please use it by casting it to an appropriate type (such as const unsigned char *) in plug-ins.
Do not write a value to the pointer obtained by this property.
Any pointer obtained with Layer.provinceImageBufferForWrite can be written.
Returns NULL (0) if no image has been assigned. If no image has been assigned, the entire area must be assumed to be area number 0.
The image size is represented by the Layer.imageWidth and Layer.imageHeight properties.
See Layer.provinceImageBufferPitch for pointer calculation.
- 参照
-
Layer.provinceImageBufferForWrite
Layer.provinceImageBufferPitch