C# 클래스 PckView.Bmp

Summary description for Bmp.
파일 보기 프로젝트 열기: pmprog/OpenXCOM.Tools 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( Bitmap src, Bitmap dest, int x, int y ) : void
FireLoadingEvent ( int curr, int total ) : void
Load ( string file, Type collectionType ) : xCollection
LoadSingle ( Bitmap src, int num, Palette pal, Type collectionType ) : ITile
MakeBitmap ( int width, int height, System.Drawing.Imaging.ColorPalette pal ) : Bitmap
MakeBitmap ( int width, int height, byte idx, System.Drawing.Imaging.ColorPalette pal ) : Bitmap

Creates a TRUE 8-bit indexed bitmap from the specified byte array

Save ( Stream s, Bitmap image ) : void
Save ( string path, Bitmap image ) : void
Save24 ( Stream s, Bitmap image ) : void
Save24 ( string path, Bitmap image ) : void
To16Bit ( Bitmap old ) : Bitmap
To24Bit ( Bitmap old ) : Bitmap

메소드 상세

Draw() 공개 정적인 메소드

public static Draw ( Bitmap src, Bitmap dest, int x, int y ) : void
src System.Drawing.Bitmap
dest System.Drawing.Bitmap
x int
y int
리턴 void

FireLoadingEvent() 공개 정적인 메소드

public static FireLoadingEvent ( int curr, int total ) : void
curr int
total int
리턴 void

Load() 공개 정적인 메소드

public static Load ( string file, Type collectionType ) : xCollection
file string
collectionType System.Type
리턴 xCollection

LoadSingle() 공개 정적인 메소드

public static LoadSingle ( Bitmap src, int num, Palette pal, Type collectionType ) : ITile
src System.Drawing.Bitmap
num int
pal Palette
collectionType System.Type
리턴 ITile

MakeBitmap() 공개 정적인 메소드

public static MakeBitmap ( int width, int height, System.Drawing.Imaging.ColorPalette pal ) : Bitmap
width int
height int
pal System.Drawing.Imaging.ColorPalette
리턴 System.Drawing.Bitmap

MakeBitmap() 공개 정적인 메소드

Creates a TRUE 8-bit indexed bitmap from the specified byte array
public static MakeBitmap ( int width, int height, byte idx, System.Drawing.Imaging.ColorPalette pal ) : Bitmap
width int width of final bitmap
height int height of final bitmap
idx byte image data
pal System.Drawing.Imaging.ColorPalette Palette to color the image with
리턴 System.Drawing.Bitmap

Save() 공개 정적인 메소드

public static Save ( Stream s, Bitmap image ) : void
s Stream
image System.Drawing.Bitmap
리턴 void

Save() 공개 정적인 메소드

public static Save ( string path, Bitmap image ) : void
path string
image System.Drawing.Bitmap
리턴 void

Save24() 공개 정적인 메소드

public static Save24 ( Stream s, Bitmap image ) : void
s Stream
image System.Drawing.Bitmap
리턴 void

Save24() 공개 정적인 메소드

public static Save24 ( string path, Bitmap image ) : void
path string
image System.Drawing.Bitmap
리턴 void

To16Bit() 공개 정적인 메소드

public static To16Bit ( Bitmap old ) : Bitmap
old System.Drawing.Bitmap
리턴 System.Drawing.Bitmap

To24Bit() 공개 정적인 메소드

public static To24Bit ( Bitmap old ) : Bitmap
old System.Drawing.Bitmap
리턴 System.Drawing.Bitmap