User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_rendererabstract



TGIS_RendererAbstract class

DK for .NET | TatukGIS.NDK.TGIS_RendererAbstract | Classes | Constructors | Fields | Methods | Properties

Abstract base renderer class for TatukGIS viewers and concrete renderer implementations on VCL, FireMonkey, WPF, CLR, Java, Cocoa, and Island platforms.

Available also on: Delphi | Java | ActiveX | Python.

Syntax

// C#
public class TGIS_RendererAbstract : TGIS_BaseObjectDisposable
{
}
' VisualBasic
Public Class TGIS_RendererAbstract
  Inherits TGIS_BaseObjectDisposable
End Class
// Oxygene
type
  TGIS_RendererAbstract = public class( TGIS_BaseObjectDisposable )
  end;

Inheritance

→ TGIS_BaseObjectDisposable

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_RendererAbstract() public Creates a renderer instance and an internal 320x240 measurement bitmap.

Fields

Inherited Protected
Name Visibility Description
Context public Current renderer context containing draw contexts and related rendering state.
FCanvasExtent protected Canvas extent used by the label allocator.
FExtentX protected X coordinate of the current extent origin.
FExtentY protected Y coordinate of the current extent origin.
FTiled protected True if drawing is tiled.
FZoom protected Current viewer zoom value.
Parent public Parent viewer interface that owns the renderer and provides Control* operations.
Viewer public Viewer that owns the renderer.

Methods

Inherited Overrides Protected
Name Visibility Description
AfterDraw public Receive notification about pending renderer update.
AfterDrawCharts public Restore context after PaintShapeChartEvent.
AfterDrawLabels public Restore context after PaintShapeLabelEvent.
BeforeDraw public Prepare the drawing state.
CanvasClearTransformation public Clear any transformation on the canvas.
CanvasDrawArc(int, int, int, float, float) public Draw an arc on the canvas.
CanvasDrawArc(int, int, int, int, int, int, int, int) public Draw an arc on the Canvas object.
CanvasDrawBitmap(Int32[], TPoint, TRect, TGIS_BitmapFormat, TGIS_BitmapLinesOrder) public Draw a bitmap on the canvas.
CanvasDrawBitmap(TGIS_Bitmap, TRect) public Draw a bitmap on the canvas.
CanvasDrawEllipse public Draw an ellipse on the Canvas object.
CanvasDrawLine public Draws a line on the Canvas object.
CanvasDrawPie public Draws a pie on the Canvas object.
CanvasDrawPolygon(TPointF[]) public Draw a polygon on the canvas.
CanvasDrawPolygon(TPointF[], int) public Draw a polygon on the canvas.
CanvasDrawPolygon(TPointF[], int[]) public Draw a multipart polygon on the canvas.
CanvasDrawPolygon(TPoint[]) public Draw a polygon on the canvas.
CanvasDrawPolygon(TPoint[], int) public Draw a polygon on the canvas.
CanvasDrawPolygon(TPoint[], int[]) public Draw a multipart polygon on the canvas.
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 Provides basic metrics for the currently selected CanvasFont.
CanvasNative public Return rendering context native to current renderer.
CanvasSetTransformation public Set a transformation on the canvas.
CanvasTextBaseline public Provides the baseline for the specified text using the currently selected CanvasFont.
CanvasTextEm public Calculates the pixel size of the specified EM value for the currently selected CanvasFont.
CanvasTextExtent public Calculates the text extent for the currently selected CanvasFont.
CanvasToMap public Converts point coordinates from canvas space to map space.
CreateContext(IGIS_ViewerParent, IGIS_Viewer, TGIS_RendererContext, TPoint, int, int, int, int) public Initializes a rendering context for the renderer.
CreateContext(IGIS_ViewerParent, IGIS_Viewer, TGIS_RendererContext, TPoint, int, int, int, int, TRect) public Initializes a rendering context for the renderer.
CreateInstance public Creates a new renderer instance of the same concrete type as the current renderer.
CreatePrinterContext public Initializes a printer rendering context.
Flush public Update the BaseMap of the current context.
FriendlyName public Get user-friendly name of the renderer.
getOffsetPoint protected Gets the pixel offset point, including position information, from renderer parameters.
getOffsetPointF protected Gets the offset point, including position information, from renderer parameters.
LockTransparent public Begin drawing in layer transparency mode.
MapToCanvas public Converts point coordinates from map space to canvas space.
MeasureShieldTexture public Measures the size of a shield texture.
OptimizeBitmapCache public Check the content of bitmap cache and optimize it.
PaintExtra(Object, Object, TGIS_PaintEvent) public Paint an extra context on top of the rendered map, for example when drawing an edited shape.
PaintExtra(Object, Object, TGIS_RendererEvent) public Paint an extra context on top of the rendered map, for example when drawing an edited shape.
PixelsToTwips public Converts a device-dependent size from pixels to device-independent twips (1/1440 inch).
PrepareBitmapCache public Prepare renderer cache for topmost bitmap layers.
PrepareDraw public Prepare the drawing state.
PrepareDrawCharts public Prepare context for PaintShapeChartEvent.
PrepareDrawLabels public Prepare context for PaintShapeLabelEvent.
PrepareHourglassContext public Allows a busy indicator to be processed during rendering.
ReleaseContext public Releases the current rendering context.
RenderBitmap(Object, Int32[], TPoint, TRect, TGIS_BitmapFormat, TGIS_BitmapLinesOrder) public Render a bitmap on the current canvas.
RenderBitmap(Object, TGIS_Bitmap, TRect, bool) public Render a bitmap on the current canvas with scaling.
RenderBitmapBegin public Prepare a custom rendering context for lengthy bitmap drawing, for example to support progressive updates of ECW files.
RenderBitmapCache public Render bitmap cache for topmost pixel layers.
RenderBitmapEnd public Finalize a custom rendering context.
RenderChart public Renders a chart for a single shape in the current context.
RenderEditor public Render an editor (if any).
RenderLabel(Object) public Renders a label for a single shape in the current context.
RenderLabel(Object, TPoint[]) public Renders a label for a single shape in the current context.
RenderShape(Object, bool, TGIS_RendererMultipassMode) public Renders a single shape in the current context.
RenderShape(Object, Object, bool, TGIS_RendererMultipassMode) public Renders a single shape in the current context.
RenderShapeFlashed public Render a shape in the flashed state.
RenderShieldTexture(Object, bool, TPoint) public Render a shield texture (label, chart, or similar content) for 3D viewer use.
RenderShieldTexture(Object, bool, TPoint, Object) public Render a shield texture (label, chart, or similar content) for 3D viewer use.
RestoreContext public Restore context using same data as used by CreateContext.
Setup public Configures the renderer when CreateContext is not used.
TwipsToPixels(int) public Converts a device-independent size from twips (1/1440 inch) to device pixels.
TwipsToPixels(int, int) public Converts a device-independent size from twips (1/1440 inch) to device pixels.
TwipsToPoints public Converts a device-independent size from twips (1/1440 inch) to device points for advanced font sizing.
TwipsToPointsF(int) public Converts a device-independent size from twips (1/1440 inch) to device points for advanced font sizing.
TwipsToPointsF(int, float) public Converts a device-independent size from twips (1/1440 inch) to device points for advanced font sizing.
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 Extent taken into account by the label allocator.
CanvasFont public Font of the Canvas object.
CanvasPen public Pen of the Canvas object.
ExtentX public X coordinate of the extent origin.
ExtentY public Y coordinate of the extent origin.
FontScale public Font scaling factor of the rendering context (in percent).
Height public Height of the rendering context (in pixels).
Info public Provide basic info about renderer like underlying technology used.
PPI public Pixels per inch (PPI) 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).
Zoom public Zoom value taken from the viewer.

References

2026/07/11 01:09

Page Tools