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
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()