User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_rendererabstract

TGIS_RendererAbstract class

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

Syntax

# Python
class TGIS_RendererAbstract( Object ):

Inheritance

→ Object

Constructors

Inherited Overrides Protected
Name Visibility Description
__init__ public Standard constructor.

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.
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(TGIS_Bitmap, TRect) public Draw bitmap on the Canvas object.
CanvasDrawBitmap(TGIS_Pixels, TPoint, TRect, TGIS_BitmapFormat, TGIS_BitmapLinesOrder) 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_DrawBuf) public Draw a polygon on the Canvas object.
CanvasDrawPolygon(TGIS_DrawBuf, int) public Draw a polygon on the Canvas object.
CanvasDrawPolygon(TGIS_DrawBuf, TGIS_IntegerArray) public Draw a polygon on the Canvas object.
CanvasDrawPolygon(TGIS_DrawBufF) public Draw a polygon on the Canvas object.
CanvasDrawPolygon(TGIS_DrawBufF, int) public Draw a polygon on the Canvas object.
CanvasDrawPolygon(TGIS_DrawBufF, TGIS_IntegerArray) public Draw a polygon on the Canvas object.
CanvasDrawPolyLine(TGIS_DrawBuf) public Draw a poly-line on the Canvas object.
CanvasDrawPolyLine(TGIS_DrawBuf, int) public Draw a poly-line on the Canvas object.
CanvasDrawPolyLine(TGIS_DrawBuf, TGIS_IntegerArray) public Draw a poly-line on the Canvas object.
CanvasDrawPolyLine(TGIS_DrawBufF) public Draw a poly-line on the Canvas object.
CanvasDrawPolyLine(TGIS_DrawBufF, int) public Draw a poly-line on the Canvas object.
CanvasDrawPolyLine(TGIS_DrawBufF, TGIS_IntegerArray) 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(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 .
LockTransparent public Begin of drawing in a layer transparency mode.
MeasureShieldTexture public Measure shield size
PixelsToTwips public Convert size from device dependent pixels to device independent Twips (1/1440 inch).
PrepareBitmapCache public Prepare renderer cache for topmost bitmap layers.
PrepareHourglassContext public Allow busy indicator upon rendering process.
ReleaseContext public Release an instance.
RenderBitmap(TObject, TGIS_Bitmap, TRect, bool) public Render bitmap on a current canvas with scaling.
RenderBitmap(TObject, TGIS_Pixels, TPoint, TRect, TGIS_BitmapFormat, TGIS_BitmapLinesOrder) public Render bitmap on a current canvas.
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, TGIS_DrawBuf) 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(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
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.
Context public Renderer context.
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.
Parent public Viewer (parented interface) which owns renderer.
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).
Viewer public Viewer which owns renderer.
ViewRect public Viewing rectangle of the rendering context (in pixels).
Width public Width of the rendering context (in pixels).

References

2023/08/09 01:58

Page Tools