C# 클래스 Nintenlord.ROMHacking.GBA.GBAGraphics

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

공개 메소드들

메소드 설명
BitsPerPixel ( GraphicsMode mode ) : int
GenerateGBAImage ( Bitmap bitmap, GraphicsMode mode ) : byte[][]
RawGraphicsLength ( Size size, GraphicsMode mode ) : int
TSAmap ( byte graphics, GraphicsMode mode, byte TSAdata, int offset, Size TSAsize ) : byte[]

ToBitmap ( byte GBAGraphics, int length, Color palette, int width, GraphicsMode mode, int &emptyGraphicBlocks ) : Bitmap
ToBitmap ( byte GBAGraphics, int length, int index, Color palette, int width, GraphicsMode mode, int &emptyGraphicBlocks ) : Bitmap
ToGBARaw ( Bitmap image, Color palette, GraphicsMode mode ) : byte[]
toGBAcolor ( Color color ) : ushort
toGBAcolor ( int red, int green, int blue ) : ushort
toPalette ( byte data, int offset, int amountOfColours ) : Color[]
toRawGBAPalette ( Color palette ) : byte[]

비공개 메소드들

메소드 설명
FromBitmapIndexed ( byte GBAGraphics, int length, Color palette, int width, int &emptyGraphicBlocks ) : Bitmap
FromBitmapTrueColour ( byte GBAGraphics, int length, Color palette, int width, int &emptyGraphicBlocks ) : Bitmap
FromTile4bit ( byte GBAGraphics, int length, Color palette, int width, int &emptyGraphicBlocks ) : Bitmap
FromTile8bit ( byte GBAGraphics, int length, Color palette, int width, int &emptyGraphicBlocks ) : Bitmap
Quantazase ( Bitmap bitmap ) : Bitmap
TSAmapFrom4bitTileGraphics ( byte graphics, int amountOfGraphicsBlocks, byte TSAdata, Size TSAsize ) : byte[]
TSAmapFrom8bitTileGraphics ( byte graphics, int amountOfGraphicsBlocks, byte TSAdata, Size TSAsize ) : byte[]
ToBitmapIndexed ( Bitmap image, Color palette ) : byte[]
ToBitmapTrueColour ( Bitmap image ) : byte[]
ToTile4bit ( Bitmap image, Color palette ) : byte[]
ToTile8bit ( Bitmap image, Color palette ) : byte[]
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
toColor ( ushort GBAColor ) : Color
toPalette ( ushort GBAPalette, int amountOfColours ) : Color[]

메소드 상세

BitsPerPixel() 공개 정적인 메소드

public static BitsPerPixel ( GraphicsMode mode ) : int
mode GraphicsMode
리턴 int

GenerateGBAImage() 공개 정적인 메소드

public static GenerateGBAImage ( Bitmap bitmap, GraphicsMode mode ) : byte[][]
bitmap System.Drawing.Bitmap
mode GraphicsMode
리턴 byte[][]

RawGraphicsLength() 공개 정적인 메소드

public static RawGraphicsLength ( Size size, GraphicsMode mode ) : int
size System.Drawing.Size
mode GraphicsMode
리턴 int

TSAmap() 공개 정적인 메소드

public static TSAmap ( byte graphics, GraphicsMode mode, byte TSAdata, int offset, Size TSAsize ) : byte[]
graphics byte
mode GraphicsMode
TSAdata byte
offset int
TSAsize System.Drawing.Size
리턴 byte[]

ToBitmap() 공개 정적인 메소드

public static ToBitmap ( byte GBAGraphics, int length, Color palette, int width, GraphicsMode mode, int &emptyGraphicBlocks ) : Bitmap
GBAGraphics byte
length int
palette Color
width int
mode GraphicsMode
emptyGraphicBlocks int
리턴 System.Drawing.Bitmap

ToBitmap() 공개 정적인 메소드

public static ToBitmap ( byte GBAGraphics, int length, int index, Color palette, int width, GraphicsMode mode, int &emptyGraphicBlocks ) : Bitmap
GBAGraphics byte
length int
index int
palette Color
width int
mode GraphicsMode
emptyGraphicBlocks int
리턴 System.Drawing.Bitmap

ToGBARaw() 공개 정적인 메소드

public static ToGBARaw ( Bitmap image, Color palette, GraphicsMode mode ) : byte[]
image System.Drawing.Bitmap
palette Color
mode GraphicsMode
리턴 byte[]

toGBAcolor() 공개 정적인 메소드

public static toGBAcolor ( Color color ) : ushort
color Color
리턴 ushort

toGBAcolor() 공개 정적인 메소드

public static toGBAcolor ( int red, int green, int blue ) : ushort
red int
green int
blue int
리턴 ushort

toPalette() 공개 정적인 메소드

public static toPalette ( byte data, int offset, int amountOfColours ) : Color[]
data byte
offset int
amountOfColours int
리턴 Color[]

toRawGBAPalette() 공개 정적인 메소드

public static toRawGBAPalette ( Color palette ) : byte[]
palette Color
리턴 byte[]