User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.convertbitstopixels_tbytes_integer_tgis_pixels_integer_integer_integer

Table of Contents

TGIS_LayerPixel.convertBitsToPixels method

DK11 for Delphi | GisLayerPixel.TGIS_LayerPixel.convertBitsToPixels | Constructors | Fields | Methods | Properties | Events

Internal use only. For converting data bytes to an image line pixels.

Available also on: .NET | Java.

Syntax

// Delphi
protected
  function convertBitsToPixels(
    const _buffSrc : TBytes;
    const _srcOffset : Integer;
    const _buffDst : TGIS_Pixels;
    const _dstOffset : Integer;
    const _pixStart : Integer;
    const _pixCount : Integer
  ) : Integer; virtual;
// C++ Builder
protected:
  virtual int convertBitsToPixels(
    TBytes* const _buffSrc,
    const int _srcOffset,
    TGIS_Pixels* const _buffDst,
    const int _dstOffset,
    const int _pixStart,
    const int _pixCount
  );

Parameters

Name Type Description
_buffSrc TBytes bytes array with initial data
_srcOffset Integer start in _buffSrc
_buffDst TGIS_Pixels pixels array with output data
_dstOffset Integer start in _buffDst
_pixStart Integer left margin (pixels to skip)
_pixCount Integer number of image pixels to read

Result

Type Description
Integer number of read pixels
2020/05/07 01:08

Page Tools