- 機能/意味
-
Main image buffer pointer
- タイプ
-
Layerクラスのプロパティ (読み出し専用)
- 説明
-
Represents a pointer to the upper left corner of the main image buffer (a 32bpp bitmap containing color and mask (opacity) 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 long *) in plug-ins.
Do not write a value to the pointer obtained by this property.
Any pointer obtained with Layer.mainImageBufferForWrite can be written.
Returns NULL (0) if no image is assigned to the layer.
The image size is represented by the Layer.imageWidth and Layer.imageHeight properties.
See Layer.mainImageBufferPitch for pointer calculation.
- 参照
-
Layer.mainImageBufferForWrite
Layer.mainImageBufferPitch