Table of Contents

Class DrawContext

Namespace
Gdk
Assembly
Gdk-4.0.dll
public class DrawContext : Object, IDisposable, GTypeProvider, InstanceFactory
Inheritance
DrawContext
Implements
Derived
Inherited Members

Constructors

DrawContext(params ConstructArgument[])

public DrawContext(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

DrawContext(DrawContextHandle)

public DrawContext(DrawContextHandle handle)

Parameters

handle DrawContextHandle

Fields

DisplayPropertyDefinition

public static readonly Property<Display?, DrawContext> DisplayPropertyDefinition

Field Value

Property<Display, DrawContext>

SurfacePropertyDefinition

public static readonly Property<Surface?, DrawContext> SurfacePropertyDefinition

Field Value

Property<Surface, DrawContext>

Properties

Display

public Display? Display { get; }

Property Value

Display

Surface

public Surface? Surface { get; }

Property Value

Surface

Methods

BeginFrame(Region)

public void BeginFrame(Region region)

Parameters

region Region

EndFrame()

public void EndFrame()

GetDisplay()

public Display? GetDisplay()

Returns

Display

GetFrameRegion()

public Region? GetFrameRegion()

Returns

Region

GetGType()

public static Type GetGType()

Returns

Type

GetSurface()

public Surface? GetSurface()

Returns

Surface

IsInFrame()

public bool IsInFrame()

Returns

bool