User Tools

Site Tools


api:dk11:delphi:fmx.gisrenderer.tgis_rendererfmx.canvassettransformation_double_integer_integer

Table of Contents

TGIS_RendererFmx.CanvasSetTransformation method

DK11 for Delphi | FMX.GisRenderer.TGIS_RendererFmx.CanvasSetTransformation | Constructors | Fields | Methods | Properties

Set a transformation on the Canvas object.

Overrides TGIS_RendererAbstract.CanvasSetTransformation.

Syntax

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

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/04/05 12:09