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
boolconstructArguments
ConstructArgument[]
DrawContext(IntPtr, bool)
protected DrawContext(IntPtr ptr, bool ownedRef)
Parameters
Fields
DisplayPropertyDefinition
public static readonly Property<Display?, DrawContext> DisplayPropertyDefinition
Field Value
SurfacePropertyDefinition
public static readonly Property<Surface?, DrawContext> SurfacePropertyDefinition
Field Value
Properties
Display
public Display? Display { get; }
Property Value
Surface
public Surface? Surface { get; }
Property Value
Methods
BeginFrame(Region)
public void BeginFrame(Region region)
Parameters
region
Region
EndFrame()
public void EndFrame()
GetDisplay()
public Display? GetDisplay()
Returns
GetFrameRegion()
public Region? GetFrameRegion()
Returns
GetGType()
public static Type GetGType()
Returns
GetSurface()
public Surface? GetSurface()
Returns
IsInFrame()
public bool IsInFrame()