Layer.provinceImageBufferForWrite

機能/意味
Area image buffer pointer (for writing)
タイプ
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 (unsigned char * etc.) in plug-ins.
 Unlike Layer.provinceImageBuffer, the value obtained can be written to the pointer obtained by this property. The same image is shared between multiple layers inside Kirikiri, but if you refer to this property, the sharing state will be released.
 If no image is assigned to the layer, it is automatically assigned when this property is referenced, and the entire area is initialized with area number 0.
 The image size is represented by the Layer.imageWidth and Layer.imageHeight properties.
 See Layer.provinceImageBufferPitch for pointer calculation.
参照
Layer.provinceImageBuffer
Layer.provinceImageBufferPitch