User Tools

Site Tools


api:dk11:delphi:gislayerpixeludf.tgis_getlineevent_tbytes_integer_integer_integer_integer

Table of Contents

TGIS_GetLineEvent prototype

DK11 for Delphi | GisLayerPixelUDF.TGIS_GetLineEvent | Classes | Prototypes

GetLine event. Fired upon prepared layer data reading.

Syntax

// Delphi
type
  TGIS_GetLineEvent = function (
    const _buffer : TBytes;
    const _offset : Integer;
    const _linenr : Integer;
    const _start : Integer;
    const _bytes : Integer
  ) : Integer of object;
// C++ Builder
typedef int (_closure *TGIS_GetLineEvent)(
  TBytes* const _buffer,
  const int _offset,
  const int _linenr,
  const int _start,
  const int _bytes
);

Parameters

Name Type Description
_buffer TBytes buffer that must be filled with pixel data (24bit RGB)
_offset Integer buffer offset
_linenr Integer current line number to display
_start Integer left margin (bytes to skip)
_bytes Integer bytes number to read

Result

Type Description
Integer
2017/09/04 11:15