User Tools

Site Tools


api:dk11:delphi:gislayerpng.tgis_layerpng.getscaledline_tbytes_integer_integer_integer_integer

Table of Contents

TGIS_LayerPNG.getScaledLine method

DK11 for Delphi | GisLayerPNG.TGIS_LayerPNG.getScaledLine | Constructors | Fields | Methods | Properties

Reading an image line.

Available also on: .NET | Java.

Syntax

// Delphi
protected
  function getScaledLine(
    const _buffer : TBytes;
    const _offset : Integer;
    const _linenr : Integer;
    const _start : Integer;
    const _bytes : Integer
  ) : Integer;
// C++ Builder
protected:
  int getScaledLine(
    TBytes* const _buffer,
    const int _offset,
    const int _linenr,
    const int _start,
    const int _bytes
  );

Parameters

Name Type Description
_buffer TBytes pointer
_offset Integer buffer offset
_linenr Integer line number
_start Integer left margin (bytes to skip)
_bytes Integer byte count

Result

Type Description
Integer read bytes count
2020/05/07 01:08

Page Tools