Graphisoft®

GX ModuleVersion: 16

NativeContext

Graphisoft's own drawing interface, optimized for on-screen drawing.

Constructors

explicit NativeContext (
        ImplRef impl = ImplRef ()
);

Create a NativeContext.

Member Functions

Drawing functions

SetForeColor

SetBackColor

SetLineWidth

SetLineCap

SetLineDashPattern

SetLinePatternOffset

SetFillPattern

Line drawing

MoveTo

LineTo

Arc

FrameRect

Fill drawing

FillRect

BeginPolygon

EndPolygon

Text drawing

DrawPlainText

DrawPlainMLText

DrawRichText

GreekDrawRichText

Clip handling

SaveClip

RestoreClip

BeginClip

EndClip

SetClipToRect

SetClip

IsClipEmpty

Blitting

DrawImage

Others

Clear

GetCurrentPos

GetDirtyRect

GetCaps

IsAntialiasEnabled

SetAntialiasEnabled

External context

(HDC on Windows (or NULL if not available), CGContexRef on Mac)

GetExternalContext

ReleaseExternalContext