User Tools

Site Tools


api:dk11:delphi:gisrendererabstract.tgis_rendererabstract.canvassettransformation_double_integer_integer

Table of Contents

TGIS_RendererAbstract.CanvasSetTransformation method

DK11 for Delphi | GisRendererAbstract.TGIS_RendererAbstract.CanvasSetTransformation | Fields | Methods | Properties

Set a transformation on the Canvas object.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  procedure CanvasSetTransformation(
    const _angle : Double;
    const _origin_x : Integer;
    const _origin_y : Integer
  ); virtual; abstract;
// C++ Builder
public:
  virtual void CanvasSetTransformation(
    const double _angle,
    const int _origin_x,
    const int _origin_y
  ) = 0;

Parameters

Name Type Description
_angle Double rotation angle in radians
_origin_x Integer rotation angle x origin point (in pixels)
_origin_y Integer rotation angle y origin point (in pixels)
2018/02/17 00:10