User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_viewerwndevents.afterpaintevent_wordbool_itbaseobject

Table of Contents

ITGIS_ViewerWndEvents.AfterPaintEvent method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_ViewerWndEvents.AfterPaintEvent | Methods

AfterPaint event. Will be fired after any Paint operation. Uses painting context object.

Available also on: Delphi FMX | .NET WinForms | Python.

Syntax

// C#
public void AfterPaintEvent(
  ref WordBool Translated,
  ITBaseObject Canvas
);
' VisualBasic
Public Sub AfterPaintEvent(
  ByRef Translated As WordBool,
  ByVal Canvas As ITBaseObject
)
// Oxygene
public
  procedure AfterPaintEvent(
    var Translated : WordBool;
    Canvas : ITBaseObject
  );

Parameters

Name Type Description
Translated WordBool
Canvas ITBaseObject

Remarks

This even can be quite costly. To maintain compatibility with the old code we guarantee proper Canvas context even on Direct2D renderer. Try to replace this event with AfterPaintRendererEvent, which is always fast.

2022/11/16 01:12

Page Tools