C# 클래스 Nintenlord.GBA.GBAGraphics

파일 보기 프로젝트 열기: Diegoisawesome/AwesomeMapEditor-old

공개 메소드들

메소드 설명
GBAPalette ( byte GBAPalette ) : Color[]
GBAPalette ( ushort GBAPalette, int amountOfColours ) : Color[]
ToBitmap ( byte GBAGraphics, int length, int Width, Color palette, int &emptyGraphicPlocks, PixelFormat pixelFormat ) : Bitmap
ToGBARaw ( Bitmap bitmap, int emptyGraphicsBlocks, bool largePalette, Color palette ) : byte[]
ToGBARaw ( Bitmap bitmap, int emptyGraphicsBlocks, bool largePalette, List palette ) : byte[]
ToGBARawFromIndexed ( Bitmap bitmap, int emptyGraphicsBlocks ) : byte[]
getPalette ( Bitmap bitmap ) : List

비공개 메소드들

메소드 설명
ToBitmap ( byte GBAGraphics, int length, int Width, Color palette, int &emptyGraphicPlocks ) : Bitmap
ToIndexedBitmap ( byte GBAGraphics, int length, int Width, Color palette, int &emptyGraphicPlocks ) : Bitmap
bitmapCoordinate ( int position, int widht ) : Point
bitmapPosition ( Point coordinate, int widht ) : int
paletteMaker ( Color palette, System.Drawing.Imaging.ColorPalette original ) : System.Drawing.Imaging.ColorPalette
tiledCoordinate ( int position, int widht, int tileDimension ) : Point
tiledPosition ( Point coordinate, int widht, int tileDimension ) : int

메소드 상세

GBAPalette() 공개 정적인 메소드

public static GBAPalette ( byte GBAPalette ) : Color[]
GBAPalette byte
리턴 Color[]

GBAPalette() 공개 정적인 메소드

public static GBAPalette ( ushort GBAPalette, int amountOfColours ) : Color[]
GBAPalette ushort
amountOfColours int
리턴 Color[]

ToBitmap() 공개 정적인 메소드

public static ToBitmap ( byte GBAGraphics, int length, int Width, Color palette, int &emptyGraphicPlocks, PixelFormat pixelFormat ) : Bitmap
GBAGraphics byte
length int
Width int
palette Color
emptyGraphicPlocks int
pixelFormat PixelFormat
리턴 System.Drawing.Bitmap

ToGBARaw() 공개 정적인 메소드

public static ToGBARaw ( Bitmap bitmap, int emptyGraphicsBlocks, bool largePalette, Color palette ) : byte[]
bitmap System.Drawing.Bitmap
emptyGraphicsBlocks int
largePalette bool
palette Color
리턴 byte[]

ToGBARaw() 공개 정적인 메소드

public static ToGBARaw ( Bitmap bitmap, int emptyGraphicsBlocks, bool largePalette, List palette ) : byte[]
bitmap System.Drawing.Bitmap
emptyGraphicsBlocks int
largePalette bool
palette List
리턴 byte[]

ToGBARawFromIndexed() 공개 정적인 메소드

public static ToGBARawFromIndexed ( Bitmap bitmap, int emptyGraphicsBlocks ) : byte[]
bitmap System.Drawing.Bitmap
emptyGraphicsBlocks int
리턴 byte[]

getPalette() 공개 정적인 메소드

public static getPalette ( Bitmap bitmap ) : List
bitmap System.Drawing.Bitmap
리턴 List