DK11 for Delphi | FMX.GisRenderer.TGIS_RendererFmx.CreateContext | Overloads | Constructors | Fields | Methods | Properties
Initiate context for the renderer.
Available also on: Python.
Overrides TGIS_RendererAbstract.CreateContext.
// Delphi public procedure CreateContext( const _parent : IGIS_ViewerParent; const _viewer : IGIS_Viewer; const _context : TGIS_RendererContext; const _shift : TPoint; const _width : Integer; const _height : Integer; const _ppi : Integer; const _fontscale : Integer ); overload; override;
// C++ Builder public: virtual void CreateContext( IGIS_ViewerParent* const _parent, IGIS_Viewer* const _viewer, TGIS_RendererContext* const _context, TPoint* const _shift, const int _width, const int _height, const int _ppi, const int _fontscale ) /* overload */;
Name | Type | Description |
---|---|---|
_parent | IGIS_ViewerParent | viewer parented interface; for Control* like methods |
_viewer | IGIS_Viewer | viewer object |
_context | TGIS_RendererContext | drawing context |
_shift | TPoint | left and upper margins for the drawing surface |
_width | Integer | width of the drawing surface |
_height | Integer | height of the drawing surface |
_ppi | Integer | resolution for the drawing surface |
_fontscale | Integer | font scaling factor in percents |