C# Класс PixelMagic.Cairo.CairoImageSurface

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CairoImageSurface ( int width, int heigth, CairoFormat format ) : System
CairoImageSurface ( string file ) : System
CreateSimilar ( ) : CairoImageSurface
Dispose ( ) : void
SaveToPng ( string file ) : void

Приватные методы

Метод Описание
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

Описание методов

CairoImageSurface() публичный Метод

public CairoImageSurface ( int width, int heigth, CairoFormat format ) : System
width int
heigth int
format CairoFormat
Результат System

CairoImageSurface() публичный Метод

public CairoImageSurface ( string file ) : System
file string
Результат System

CreateSimilar() публичный Метод

public CreateSimilar ( ) : CairoImageSurface
Результат CairoImageSurface

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

SaveToPng() публичный Метод

public SaveToPng ( string file ) : void
file string
Результат void