Class Surface
- Namespace
- Cairo
- Assembly
- cairo-1.0.dll
public class Surface : BoxedRecord, GTypeProvider, InstanceFactory, IDisposable
- Inheritance
-
Surface
- Implements
- Derived
- Inherited Members
Constructors
Surface(SurfaceOwnedHandle)
public Surface(SurfaceOwnedHandle handle)
Parameters
handle
SurfaceOwnedHandle
Properties
Content
public Content Content { get; }
Property Value
Device
public Device? Device { get; }
Property Value
DeviceOffset
public (double X, double Y) DeviceOffset { get; set; }
Property Value
DeviceScale
public (double X, double Y) DeviceScale { get; set; }
Property Value
FallbackResolution
public (double X, double Y) FallbackResolution { get; set; }
Property Value
Handle
public SurfaceOwnedHandle Handle { get; }
Property Value
Status
public Status Status { get; }
Property Value
SurfaceType
public SurfaceType SurfaceType { get; }
Property Value
Methods
CreateForRectangle(double, double, double, double)
public Surface CreateForRectangle(double x, double y, double width, double height)
Parameters
Returns
CreateSimilar(Content, int, int)
public Surface CreateSimilar(Content content, int width, int height)
Parameters
Returns
CreateSimilarImage(Format, int, int)
public Surface CreateSimilarImage(Format format, int width, int height)
Parameters
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Finish()
public void Finish()
Flush()
public void Flush()
GetFontOptions(FontOptions)
public void GetFontOptions(FontOptions options)
Parameters
options
FontOptions
GetGType()
public static Type GetGType()
Returns
MarkDirty()
public void MarkDirty()
MarkDirty(int, int, int, int)
public void MarkDirty(int x, int y, int width, int height)