C# Class Cairo.Surface

Inheritance: IDisposable
显示文件 Open project: zwcloud/CairoSharp Class Usage Examples

Public Methods

Method Description
CreateSimilar ( Cairo content, int width, int height ) : Cairo.Surface
Dispose ( ) : void
Finish ( ) : Status
Flush ( ) : void
Lookup ( IntPtr surface, bool owned ) : Surface
MarkDirty ( ) : void
MarkDirty ( Rectangle rectangle ) : void
SetFallbackResolution ( double x, double y ) : void
WriteToPng ( string filename ) : void

Protected Methods

Method Description
CheckDisposed ( ) : void
Dispose ( bool disposing ) : void
Surface ( IntPtr handle, bool owner ) : System

Method Details

CheckDisposed() protected method

protected CheckDisposed ( ) : void
return void

CreateSimilar() public method

public CreateSimilar ( Cairo content, int width, int height ) : Cairo.Surface
content Cairo
width int
height int
return Cairo.Surface

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Finish() public method

public Finish ( ) : Status
return Status

Flush() public method

public Flush ( ) : void
return void

Lookup() public static method

public static Lookup ( IntPtr surface, bool owned ) : Surface
surface System.IntPtr
owned bool
return Surface

MarkDirty() public method

public MarkDirty ( ) : void
return void

MarkDirty() public method

public MarkDirty ( Rectangle rectangle ) : void
rectangle Rectangle
return void

SetFallbackResolution() public method

public SetFallbackResolution ( double x, double y ) : void
x double
y double
return void

Surface() protected method

protected Surface ( IntPtr handle, bool owner ) : System
handle System.IntPtr
owner bool
return System

WriteToPng() public method

public WriteToPng ( string filename ) : void
filename string
return void