User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_rendererabstract

TGIS_RendererAbstract class

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

Basic renderer class to be used as a parent for customer map renderers for VCL, FireMonkey, WPF etc.

Available also on: Delphi | .NET | ActiveX.

Syntax

// Java
public class TGIS_RendererAbstract extends TGIS_BaseObjectDisposable {
};
// Oxygene
type
  TGIS_RendererAbstract = public class( TGIS_BaseObjectDisposable )
  end;

Inheritance

→ TGIS_BaseObjectDisposable

Fields

Inherited Protected
Name Visibility Description
Context public Renderer context.
FExtentX protected X coordinate of extent location.
FExtentY protected Y coordinate of extent location.
FTiled protected True, if drawing is tiled.
FZoom protected Zoom from viewer.
Parent public Viewer (parented interface) which owns renderer.
Viewer public Viewer which owns renderer.

Methods

Inherited Overrides Protected
Name Visibility Description
AfterDraw public Receive notification about pending renderer update.
BeforeDraw public Preparation of the renderer context.
CanvasClearTransformation public Reset any transformation on the Canvas object.
CanvasDrawBitmap(int[], TPoint, TRect, TGIS_BitmapFormat, TGIS_BitmapLinesOrder) public Draw bitmap on the Canvas object.
CanvasDrawBitmap(TGIS_Bitmap, TRect) public Draw bitmap on the Canvas object.
CanvasDrawEllipse public Draw an ellipse on the Canvas object.
CanvasDrawLine public Draw a line on the Canvas object.
CanvasDrawPie public Draw a pie on the Canvas object.
CanvasDrawPolygon(TGIS_Point[]) public Draw a polygon on the Canvas object.
CanvasDrawPolygon(TGIS_Point[], int) public Draw a polygon on the Canvas object.
CanvasDrawPolygon(TGIS_Point[], int[]) public Draw a polygon on the Canvas object.
CanvasDrawPolygon(TPoint[]) public Draw a polygon on the Canvas object.
CanvasDrawPolygon(TPoint[], int) public Draw a polygon on the Canvas object.
CanvasDrawPolygon(TPoint[], int[]) public Draw a polygon on the Canvas object.
CanvasDrawPolyLine(TGIS_Point[]) public Draw a poly-line on the Canvas object.
CanvasDrawPolyLine(TGIS_Point[], int) public Draw a poly-line on the Canvas object.
CanvasDrawPolyLine(TGIS_Point[], int[]) public Draw a poly-line on the Canvas object.
CanvasDrawPolyLine(TPoint[]) public Draw a poly-line on the Canvas object.
CanvasDrawPolyLine(TPoint[], int) public Draw a poly-line on the Canvas object.
CanvasDrawPolyLine(TPoint[], int[]) public Draw a poly-line on the Canvas object.
CanvasDrawRectangle public Draw a rectangle on the Canvas object.
CanvasDrawText public Draw a text on the Canvas object.
CanvasFontMetrics public Provide basing metric for a currently selected CanvasFont.
CanvasNative public Return rendering context native to current renderer.
CanvasSetTransformation public Set a transformation on the Canvas object.
CanvasTextEm public Calculate text EM value for a currently selected CanvasFont.
CanvasTextExtent public Calculate text EM value for a currently selected CanvasFont.
CreateContext public Initiate context for the renderer.
CreateInstance public Create an instance of object of the same type as current one.
Flush public Update BaseMap of the context .
LockTransparent public Begin of drawing in a layer transparency mode.
MeasureShieldTexture public Measure shield size
PaintExtra public Paint an extra context on a top of a rendered map.
PixelsToTwips public Convert size from device dependent pixels to device independent Twips (1/1440 inch).
PrepareHourglassContext public Allow busy indicator upon rendering process.
ReleaseContext public Release an instance.
RenderBitmap(TObject, int[], TPoint, TRect, TGIS_BitmapFormat, TGIS_BitmapLinesOrder) public Render bitmap on a current canvas.
RenderBitmap(TObject, TGIS_Bitmap, TRect, bool) public Render bitmap on a current canvas with scaling.
RenderBitmapBegin public Prepare custom rendering context for lengthy bitmap drawing.
RenderBitmapEnd public Finalize custom rendering context.
RenderChart public Render a chart for a single shape in a current context.
RenderEditor public Render an editor (if any).
RenderLabel(TObject) public Render a label for a single shape in a current context.
RenderLabel(TObject, TPoint[]) public Render a label for a single shape in a current context.
RenderShape(TObject, bool, TGIS_RendererMultipassMode) public Render a single shape in a current context.
RenderShape(TObject, TObject, bool, TGIS_RendererMultipassMode) public Render a single shape in a current context.
RenderShapeFlashed public Render shape in a flush state
RenderShieldTexture(TObject, bool, TPoint) public Render texture shield (label + chart + whatever) for 3D viewer purposes
RenderShieldTexture(TObject, bool, TPoint, TObject) public Render texture shield (label + chart + whatever) for 3D viewer purposes
RestoreContext public Restore context using same data as used by CreateContext.
TwipsToPixels public Convert the size from to device independent Twips (1/1440 inch) to device dependent pixels.
TwipsToPoints public Convert the size from to device independent Twips (1/1440 inch) to device points.
UnlockTransparent public End of drawing in a layer transparency mode.
Update public Receive notification about pending renderer update.

Properties

Inherited Protected
Name Visibility Description
CanvasBrush public Brush of the Canvas object.
CanvasExtent public Return extent taken in account by label allocator.
CanvasFont public Font of the Canvas object.
CanvasPen public Pen of the Canvas object.
FontScale public Fonts scaling factor of the rendering context (in percents).
Height public Height of the rendering context (in pixels).
Info public Provide basic info about renderer like underlying technology used.
PPI public Point-Per-Inch of the rendering context.
Shift public Offset of the rendering rectangle (in pixels).
ViewRect public Viewing rectangle of the rendering context (in pixels).
Width public Width of the rendering context (in pixels).

References

2019/11/15 22:51