C# Class PixelMagic.Cairo.CairoImageSurface

Inheritance: IDisposable
Mostrar archivo Open project: kumpera/PixelMagic Class Usage Examples

Public Methods

Method Description
CairoImageSurface ( int width, int heigth, CairoFormat format ) : System
CairoImageSurface ( string file ) : System
CreateSimilar ( ) : CairoImageSurface
Dispose ( ) : void
SaveToPng ( string file ) : void

Private Methods

Method Description
Dispose ( bool disposing ) : void
cairo_image_surface_create ( int format, int width, int heigth ) : IntPtr
cairo_image_surface_create_from_png ( string name ) : IntPtr
cairo_image_surface_get_data ( IntPtr surface ) : IntPtr
cairo_image_surface_get_format ( IntPtr surface ) : int
cairo_image_surface_get_height ( IntPtr surface ) : int
cairo_image_surface_get_stride ( IntPtr surface ) : int
cairo_image_surface_get_width ( IntPtr surface ) : int
cairo_surface_destroy ( IntPtr surface ) : IntPtr
cairo_surface_flush ( IntPtr surface ) : int
cairo_surface_status ( IntPtr surface ) : int
cairo_surface_write_to_png ( IntPtr surface, string name ) : IntPtr

Method Details

CairoImageSurface() public method

public CairoImageSurface ( int width, int heigth, CairoFormat format ) : System
width int
heigth int
format CairoFormat
return System

CairoImageSurface() public method

public CairoImageSurface ( string file ) : System
file string
return System

CreateSimilar() public method

public CreateSimilar ( ) : CairoImageSurface
return CairoImageSurface

Dispose() public method

public Dispose ( ) : void
return void

SaveToPng() public method

public SaveToPng ( string file ) : void
file string
return void