C# Class Treefrog.Utility.ImageUtility

Datei anzeigen Open project: jaquadro/Treefrog

Public Methods

Method Description
CreateCenteredBitmap ( Bitmap source, int width, int height ) : Bitmap
CreateCenteredBitmap ( Treefrog.Framework.Imaging.TextureResource source, int width, int height ) : Bitmap

Method Details

CreateCenteredBitmap() public static method

public static CreateCenteredBitmap ( Bitmap source, int width, int height ) : Bitmap
source System.Drawing.Bitmap
width int
height int
return System.Drawing.Bitmap

CreateCenteredBitmap() public static method

public static CreateCenteredBitmap ( Treefrog.Framework.Imaging.TextureResource source, int width, int height ) : Bitmap
source Treefrog.Framework.Imaging.TextureResource
width int
height int
return System.Drawing.Bitmap