C# Class Ultima.MultiMap

Datei anzeigen Open project: polserver/poltools

Public Methods

Method Description
GetFacetImage ( int id ) : Bitmap

reads facet0*.mul into Bitmap

GetMultiMap ( ) : Bitmap

Returns Bitmap

SaveFacetImage ( string path, Bitmap sourceBitmap ) : void

Stores Image into facet.mul format

SaveMultiMap ( Bitmap image, BinaryWriter bin ) : void

Saves Bitmap to rle Format

Private Methods

Method Description
MultiMap ( ) : System

Method Details

GetFacetImage() public static method

reads facet0*.mul into Bitmap
public static GetFacetImage ( int id ) : Bitmap
id int facet id
return System.Drawing.Bitmap

GetMultiMap() public static method

Returns Bitmap
public static GetMultiMap ( ) : Bitmap
return System.Drawing.Bitmap

SaveFacetImage() public static method

Stores Image into facet.mul format
public static SaveFacetImage ( string path, Bitmap sourceBitmap ) : void
path string
sourceBitmap System.Drawing.Bitmap
return void

SaveMultiMap() public static method

Saves Bitmap to rle Format
public static SaveMultiMap ( Bitmap image, BinaryWriter bin ) : void
image System.Drawing.Bitmap
bin System.IO.BinaryWriter
return void