User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_bitmap.lockpixels_tgis_pixels_boolean_tgis_bitmapformat_tgis_bitmaplinesorder

Table of Contents

TGIS_Bitmap.LockPixels(TGIS_Pixels; Boolean; TGIS_BitmapFormat; TGIS_BitmapLinesOrder) method

DK11 for Delphi | GisTypesUI.TGIS_Bitmap.LockPixels | Overloads | Constructors | Methods | Properties

Return raw pixels

Available also on: .NET | Java | ActiveX.

Syntax

// 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 */;

Parameters

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
2020/05/07 01:10

Page Tools