C# Class H2Font.H2FontClass.CharInfo

Data located in the UTF table
Show file Open project: troymac1ure/Entity

Public Methods

Method Description
CharInfo ( int index ) : System
Read ( BinaryReader br ) : void
Write ( BinaryWriter bw ) : void
getImage ( bool forceImageReload ) : Bitmap
getImageRaw ( ) : byte[]

Private Methods

Method Description
decodeData ( ) : void
drawPixels ( int offset, byte runData, Color color ) : void

This will draw a pixel run into a bitmap's raw BitmapData in a A8R8G8B8 format

Method Details

CharInfo() public method

public CharInfo ( int index ) : System
index int
return System

Read() public method

public Read ( BinaryReader br ) : void
br BinaryReader
return void

Write() public method

public Write ( BinaryWriter bw ) : void
bw BinaryWriter
return void

getImage() public method

public getImage ( bool forceImageReload ) : Bitmap
forceImageReload bool
return Bitmap

getImageRaw() public method

public getImageRaw ( ) : byte[]
return byte[]