Table of Contents

Class DrawContext

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

Constructors

DrawContext(bool, params ConstructArgument[])

protected DrawContext(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

DrawContext(IntPtr, bool)

protected DrawContext(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

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