DK11 for Delphi | GisTypesUI.TGIS_Bitmap.LockPixels | Overloads | Constructors | Methods | Properties
Return raw pixels
// Delphi public procedure LockPixels( var _pixels : TGIS_Pixels; const _writable : Boolean; const _format : TGIS_BitmapFormat; const _order : TGIS_BitmapLinesOrder ); overload;
// C++ Builder public: void LockPixels( TGIS_Pixels* &_pixels, const bool _writable, TGIS_BitmapFormat* const _format, TGIS_BitmapLinesOrder* const _order ) /* overload */;
Name | Type | Description |
---|---|---|
_pixels | TGIS_Pixels | array of pixels to be returned |
_writable | Boolean | if true then upon Unlock changes in locked pixel array will be populated back to bitmap |
_format | TGIS_BitmapFormat | format of locked pixel array; ARGB or BGRA |
_order | TGIS_BitmapLinesOrder | rows order: bottom-up or top-bottom |