C# Class PckView.PckImage

Inheritance: ITile
显示文件 Open project: pmprog/OpenXCOM.Tools Class Usage Examples

Public Methods

Method Description
Clone ( Palette pal ) : ITile
FromBMP ( Bitmap b, int num, Palette pal, int startX, int startY ) : PckImage
FromBMP24 ( Bitmap b, int num, Palette pal, int startX, int startY ) : PckImage
Hq2x ( ) : void
PckImage ( Bitmap img, int num ) : System
ToString ( ) : string

Private Methods

Method Description
PckImage ( int imageNum, byte bytes, Palette pal ) : System

Method Details

Clone() public method

public Clone ( Palette pal ) : ITile
pal Palette
return ITile

FromBMP() public static method

public static FromBMP ( Bitmap b, int num, Palette pal, int startX, int startY ) : PckImage
b System.Drawing.Bitmap
num int
pal Palette
startX int
startY int
return PckImage

FromBMP24() public static method

public static FromBMP24 ( Bitmap b, int num, Palette pal, int startX, int startY ) : PckImage
b System.Drawing.Bitmap
num int
pal Palette
startX int
startY int
return PckImage

Hq2x() public method

public Hq2x ( ) : void
return void

PckImage() public method

public PckImage ( Bitmap img, int num ) : System
img System.Drawing.Bitmap
num int
return System

ToString() public method

public ToString ( ) : string
return string