C# Class Treefrog.Pipeline.ImagePacker.ImageProcessor

Exibir arquivo Open project: jaquadro/Treefrog Class Usage Examples

Public Methods

Method Description
AddImage ( Bitmap image, String name ) : void
AddImage ( string file ) : void
ImageProcessor ( Settings settings ) : System
ImageProcessor ( string rootDir, Settings settings ) : System

Private Methods

Method Description
CreateRect ( Bitmap source ) : Rect
GetPads ( Bitmap image, string name, int splits ) : int[]
GetSplitPoint ( Bitmap image, string name, int startX, int startY, bool startPoint, bool xAxis ) : int
GetSplits ( Bitmap image, string name ) : int[]
Hash ( Bitmap image ) : string

Method Details

AddImage() public method

public AddImage ( Bitmap image, String name ) : void
image System.Drawing.Bitmap
name String
return void

AddImage() public method

public AddImage ( string file ) : void
file string
return void

ImageProcessor() public method

public ImageProcessor ( Settings settings ) : System
settings Settings
return System

ImageProcessor() public method

public ImageProcessor ( string rootDir, Settings settings ) : System
rootDir string
settings Settings
return System