User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_bitmapabstract.lockpixels_tgis_pixels_boolean_tgis_bitmapformat_tgis_bitmaplinesorder

Table of Contents

TGIS_BitmapAbstract.LockPixels method

DK11 for Java | tatukgis.jdk.TGIS_BitmapAbstract.LockPixels | Fields | Methods | Properties

Prepare bitmap for direct pixel access operation.

Available also on: Delphi | .NET | Python.

Syntax

// Java
public abstract void LockPixels(
  /* ref */ @ValueTypeParameter VarParameter<int[]> _pixels,
  bool _writable,
  TGIS_BitmapFormat _format,
  TGIS_BitmapLinesOrder _order
);
// Oxygene
public
  procedure LockPixels(
    var _pixels : TGIS_Pixels;
    _writable : Boolean;
    _format : TGIS_BitmapFormat;
    _order : TGIS_BitmapLinesOrder
  ); virtual; abstract;

Parameters

Name Type Description
_pixels int[]
TGIS_Pixels
pixel buffer (allocated and maintained by LockPixels .. UnlockPixels
_writable bool
Boolean
True if pixels will be modified
_format TGIS_BitmapFormat desired format of locked pixels; on some platforms some system level operation required different pixel format then default
_order TGIS_BitmapLinesOrder desired line order of locked pixels; on some platforms some system level operation required different order then default

Remarks

Must be paired with UnlockPixels.

2022/12/20 01:27

Page Tools