C# Class Stetic.ImageInfo

Afficher le fichier Open project: mono/stetic Class Usage Examples

Méthodes publiques

Méthode Description
FromFile ( string file ) : ImageInfo
FromResource ( string resourceName ) : ImageInfo
FromString ( string str ) : ImageInfo
FromTheme ( string iconId, Gtk size ) : ImageInfo
GetImage ( IProject project ) : Gdk.Pixbuf
GetScaledImage ( IProject project, Gtk size ) : Gdk.Pixbuf
GetScaledImage ( IProject project, int width, int height ) : Gdk.Pixbuf
GetThumbnail ( IProject project, int thumbnailSize ) : Gdk.Pixbuf
ToCodeExpression ( GeneratorContext ctx ) : System.CodeDom.CodeExpression
ToString ( ) : string

Private Methods

Méthode Description
ImageInfo ( ) : System
ScaleImage ( Gdk pix, int width, int height ) : Gdk.Pixbuf

Method Details

FromFile() public static méthode

public static FromFile ( string file ) : ImageInfo
file string
Résultat ImageInfo

FromResource() public static méthode

public static FromResource ( string resourceName ) : ImageInfo
resourceName string
Résultat ImageInfo

FromString() public static méthode

public static FromString ( string str ) : ImageInfo
str string
Résultat ImageInfo

FromTheme() public static méthode

public static FromTheme ( string iconId, Gtk size ) : ImageInfo
iconId string
size Gtk
Résultat ImageInfo

GetImage() public méthode

public GetImage ( IProject project ) : Gdk.Pixbuf
project IProject
Résultat Gdk.Pixbuf

GetScaledImage() public méthode

public GetScaledImage ( IProject project, Gtk size ) : Gdk.Pixbuf
project IProject
size Gtk
Résultat Gdk.Pixbuf

GetScaledImage() public méthode

public GetScaledImage ( IProject project, int width, int height ) : Gdk.Pixbuf
project IProject
width int
height int
Résultat Gdk.Pixbuf

GetThumbnail() public méthode

public GetThumbnail ( IProject project, int thumbnailSize ) : Gdk.Pixbuf
project IProject
thumbnailSize int
Résultat Gdk.Pixbuf

ToCodeExpression() public méthode

public ToCodeExpression ( GeneratorContext ctx ) : System.CodeDom.CodeExpression
ctx GeneratorContext
Résultat System.CodeDom.CodeExpression

ToString() public méthode

public ToString ( ) : string
Résultat string