User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_rendererabstract.createcontext_igis_viewerparent_igis_viewer_tgis_renderercontext_tpoint_integer_integer_integer_integer

Table of Contents

TGIS_RendererAbstract.CreateContext method

DK11 for Java | tatukgis.jdk.TGIS_RendererAbstract.CreateContext | Fields | Methods | Properties

Initiate context for the renderer.

Available also on: Delphi | .NET | ActiveX.

Syntax

// Java
public void CreateContext(
  IGIS_ViewerParent _parent,
  IGIS_Viewer _viewer,
  TGIS_RendererContext _context,
  TPoint _shift,
  int _width,
  int _height,
  int _ppi,
  int _fontscale
);
// Oxygene
public
  procedure CreateContext(
    _parent : IGIS_ViewerParent;
    _viewer : IGIS_Viewer;
    _context : TGIS_RendererContext;
    _shift : TPoint;
    _width : Integer;
    _height : Integer;
    _ppi : Integer;
    _fontscale : Integer
  ); virtual;

Parameters

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 int
Integer
width of the drawing surface
_height int
Integer
height of the drawing surface
_ppi int
Integer
resolution for the drawing surface
_fontscale int
Integer
font scaling factor in percents
2018/02/17 00:18