C# Class WindowlessControls.StandardBitmap

Inheritance: PlatformBitmap, IDisposable
Mostrar archivo Open project: koush/WindowlessControls

Public Methods

Method Description
Dispose ( ) : void
Draw ( Graphics g, Rectangle dstRect, Rectangle srcRect ) : void
From ( string filename ) : StandardBitmap
GetThumbnail ( int width, int height ) : PlatformBitmap
SafeFrom ( string filename ) : StandardBitmap
StandardBitmap ( Bitmap bitmap ) : System
StandardBitmap ( Stream stream ) : System
StandardBitmap ( int width, int height ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Draw() public method

public Draw ( Graphics g, Rectangle dstRect, Rectangle srcRect ) : void
g System.Drawing.Graphics
dstRect System.Drawing.Rectangle
srcRect System.Drawing.Rectangle
return void

From() public static method

public static From ( string filename ) : StandardBitmap
filename string
return StandardBitmap

GetThumbnail() public method

public GetThumbnail ( int width, int height ) : PlatformBitmap
width int
height int
return PlatformBitmap

SafeFrom() public static method

public static SafeFrom ( string filename ) : StandardBitmap
filename string
return StandardBitmap

StandardBitmap() public method

public StandardBitmap ( Bitmap bitmap ) : System
bitmap System.Drawing.Bitmap
return System

StandardBitmap() public method

public StandardBitmap ( Stream stream ) : System
stream Stream
return System

StandardBitmap() public method

public StandardBitmap ( int width, int height ) : System
width int
height int
return System