C# Class Stetic.ImageInfo

ファイルを表示 Open project: mono/stetic Class Usage Examples

Public Methods

Method 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

Method Description
ImageInfo ( ) : System
ScaleImage ( Gdk pix, int width, int height ) : Gdk.Pixbuf

Method Details

FromFile() public static method

public static FromFile ( string file ) : ImageInfo
file string
return ImageInfo

FromResource() public static method

public static FromResource ( string resourceName ) : ImageInfo
resourceName string
return ImageInfo

FromString() public static method

public static FromString ( string str ) : ImageInfo
str string
return ImageInfo

FromTheme() public static method

public static FromTheme ( string iconId, Gtk size ) : ImageInfo
iconId string
size Gtk
return ImageInfo

GetImage() public method

public GetImage ( IProject project ) : Gdk.Pixbuf
project IProject
return Gdk.Pixbuf

GetScaledImage() public method

public GetScaledImage ( IProject project, Gtk size ) : Gdk.Pixbuf
project IProject
size Gtk
return Gdk.Pixbuf

GetScaledImage() public method

public GetScaledImage ( IProject project, int width, int height ) : Gdk.Pixbuf
project IProject
width int
height int
return Gdk.Pixbuf

GetThumbnail() public method

public GetThumbnail ( IProject project, int thumbnailSize ) : Gdk.Pixbuf
project IProject
thumbnailSize int
return Gdk.Pixbuf

ToCodeExpression() public method

public ToCodeExpression ( GeneratorContext ctx ) : System.CodeDom.CodeExpression
ctx GeneratorContext
return System.CodeDom.CodeExpression

ToString() public method

public ToString ( ) : string
return string