C# Class Xwt.GtkBackend.GtkImage

Inheritance: IDisposable
Datei anzeigen Open project: mono/xwt Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Draw ( Xwt.Backends.ApplicationContext actx, Cairo ctx, double scaleFactor, double x, double y, ImageDescription idesc ) : void
GetBestFrame ( Xwt.Backends.ApplicationContext actx, Gtk w, ImageDescription idesc, bool forceExactSize ) : Gdk.Pixbuf
GetBestFrame ( Xwt.Backends.ApplicationContext actx, Gtk w, double width, double height, bool forceExactSize ) : Gdk.Pixbuf
GetBestFrame ( Xwt.Backends.ApplicationContext actx, double scaleFactor, ImageDescription idesc, bool forceExactSize ) : Gdk.Pixbuf
GetBestFrame ( Xwt.Backends.ApplicationContext actx, double scaleFactor, double width, double height, bool forceExactSize ) : Gdk.Pixbuf
GtkImage ( Gdk img ) : System
GtkImage ( IEnumerable frames ) : System
GtkImage ( IEnumerable frames ) : System
GtkImage ( ImageDrawCallback drawCallback ) : System
GtkImage ( string stockId ) : System
ToPixbuf ( Xwt.Backends.ApplicationContext actx, Gtk w ) : Gdk.Pixbuf
ToPixbuf ( Xwt.Backends.ApplicationContext actx, double width, double height ) : Gdk.Pixbuf

Private Methods

Method Description
AddFrame ( ImageFrame frame ) : void
DrawPixbuf ( Cairo ctx, Gdk img, double x, double y, ImageDescription idesc ) : void
FindFrame ( int width, int height, double scaleFactor ) : Gdk.Pixbuf
RenderFrame ( Xwt.Backends.ApplicationContext actx, double scaleFactor, ImageDescription idesc ) : Gdk.Pixbuf

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Draw() public method

public Draw ( Xwt.Backends.ApplicationContext actx, Cairo ctx, double scaleFactor, double x, double y, ImageDescription idesc ) : void
actx Xwt.Backends.ApplicationContext
ctx Cairo
scaleFactor double
x double
y double
idesc Xwt.Backends.ImageDescription
return void

GetBestFrame() public method

public GetBestFrame ( Xwt.Backends.ApplicationContext actx, Gtk w, ImageDescription idesc, bool forceExactSize ) : Gdk.Pixbuf
actx Xwt.Backends.ApplicationContext
w Gtk
idesc Xwt.Backends.ImageDescription
forceExactSize bool
return Gdk.Pixbuf

GetBestFrame() public method

public GetBestFrame ( Xwt.Backends.ApplicationContext actx, Gtk w, double width, double height, bool forceExactSize ) : Gdk.Pixbuf
actx Xwt.Backends.ApplicationContext
w Gtk
width double
height double
forceExactSize bool
return Gdk.Pixbuf

GetBestFrame() public method

public GetBestFrame ( Xwt.Backends.ApplicationContext actx, double scaleFactor, ImageDescription idesc, bool forceExactSize ) : Gdk.Pixbuf
actx Xwt.Backends.ApplicationContext
scaleFactor double
idesc Xwt.Backends.ImageDescription
forceExactSize bool
return Gdk.Pixbuf

GetBestFrame() public method

public GetBestFrame ( Xwt.Backends.ApplicationContext actx, double scaleFactor, double width, double height, bool forceExactSize ) : Gdk.Pixbuf
actx Xwt.Backends.ApplicationContext
scaleFactor double
width double
height double
forceExactSize bool
return Gdk.Pixbuf

GtkImage() public method

public GtkImage ( Gdk img ) : System
img Gdk
return System

GtkImage() public method

public GtkImage ( IEnumerable frames ) : System
frames IEnumerable
return System

GtkImage() public method

public GtkImage ( IEnumerable frames ) : System
frames IEnumerable
return System

GtkImage() public method

public GtkImage ( ImageDrawCallback drawCallback ) : System
drawCallback ImageDrawCallback
return System

GtkImage() public method

public GtkImage ( string stockId ) : System
stockId string
return System

ToPixbuf() public method

public ToPixbuf ( Xwt.Backends.ApplicationContext actx, Gtk w ) : Gdk.Pixbuf
actx Xwt.Backends.ApplicationContext
w Gtk
return Gdk.Pixbuf

ToPixbuf() public method

public ToPixbuf ( Xwt.Backends.ApplicationContext actx, double width, double height ) : Gdk.Pixbuf
actx Xwt.Backends.ApplicationContext
width double
height double
return Gdk.Pixbuf