User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_rendererabstract



TGIS_RendererAbstract class

DK11 for Java | tatukgis.jdk.TGIS_RendererAbstract | Classes | Constructors | 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 | Python.

Syntax

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

Inheritance

→ TGIS_BaseObjectDisposable

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_RendererAbstract() public Standard constructor.

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 draw state.
CanvasClearTransformation public Reset any transformation on the Canvas object.
CanvasDrawArc(int, int, int, float, float) public Draw an arc on the Canvas object.
CanvasDrawArc(int, int, int, int, int, int, int, int) public Draw an arc 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(TPointF[]) public Draw a polygon on the Canvas object.
CanvasDrawPolygon(TPointF[], int) public Draw a polygon on the Canvas object.
CanvasDrawPolygon(TPointF[], 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(TPointF[]) public Draw a poly-line on the Canvas object.
CanvasDrawPolyLine(TPointF[], int) public Draw a poly-line on the Canvas object.
CanvasDrawPolyLine(TPointF[], 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.
CanvasTextBaseline public Provide a baseline for the passed text and a currently selected CanvasFont.
CanvasTextEm public Calculate text EM value for a currently selected CanvasFont.
CanvasTextExtent public Calculate text EM value for a currently selected CanvasFont.
CreateContext(IGIS_ViewerParent, IGIS_Viewer, TGIS_RendererContext, TPoint, int, int, int, int) public Initiate context for the renderer.
CreateContext(IGIS_ViewerParent, IGIS_Viewer, TGIS_RendererContext, TPoint, int, int, int, int, TRect) public Initiate context for the renderer.
CreateInstance public Create an instance of object of the same type as current one.
CreatePrinterContext public Initiate context for the printer.
Flush public Update BaseMap of the context .
FriendlyName public Get user-friendly name of the renderer.
getOffsetPoint protected Get offset point including position.
LockTransparent public Begin of drawing in a layer transparency mode.
MeasureShieldTexture public Measure shield size
OptimizeBitmapCache public Check the content of bitmap cache and optimize it.
PaintExtra(TObject, TObject, TGIS_PaintEvent) public Paint an extra context on a top of a rendered map.
PaintExtra(TObject, TObject, TGIS_RendererEvent) 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).
PrepareBitmapCache public Prepare renderer cache for topmost bitmap layers.
PrepareDraw public Preparation of the draw state.
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.
RenderBitmapCache public Render bitmap cache for topmost pixel layers.
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.
Setup public Setup renderer if CreateContext are not in use.
TwipsToPixels(int) public Convert the size from to device independent Twips (1/1440 inch) to device dependent pixels.
TwipsToPixels(int, int) 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
BitmapFactory public Returns a bitmap factory which produces bitmaps compatible with the renderer.
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).
TileRect public Rectangle of the rendering context (in pixels).
ViewRect public Viewing rectangle of the rendering context (in pixels).
Width public Width of the rendering context (in pixels).

References

2024/12/20 22:26

Page Tools