Bitmap.buffer

機能/意味
Image buffer pointer
タイプ
Bitmapクラスのプロパティ (読み出し専用)
説明
 Represents a pointer to the upper left corner of the image buffer of the image (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 Bitmap.bufferForWrite can be written.
 The image size is represented by the Bitmap.width and Bitmap.height properties.
 See Bitmap.bufferPitch for pointer calculation.
参照
Bitmap.bufferForWrite
Bitmap.bufferPitch