C# Class NScumm.Scumm.Smush.SmushFont

Inheritance: NScumm.Scumm.Graphics.NutRenderer
Afficher le fichier Open project: scemino/nscumm Class Usage Examples

Méthodes publiques

Méthode Description
DrawString ( string str, byte buffer, int dst_width, int dst_height, int x, int y, bool center ) : void
DrawStringWrap ( string str, byte buffer, int dst_width, int dst_height, int x, int y, int left, int right, bool center ) : void
DrawSubstring ( string str, byte buffer, int dst_width, int x, int y ) : void
SmushFont ( ScummEngine vm, string filename, bool use_original_colors, bool new_colors ) : System.Diagnostics

Private Methods

Méthode Description
DrawChar ( byte buffer, int dst_width, int x, int y, char chr ) : int
GetStringHeight ( string str ) : int
GetStringWidth ( string str ) : int

Method Details

DrawString() public méthode

public DrawString ( string str, byte buffer, int dst_width, int dst_height, int x, int y, bool center ) : void
str string
buffer byte
dst_width int
dst_height int
x int
y int
center bool
Résultat void

DrawStringWrap() public méthode

public DrawStringWrap ( string str, byte buffer, int dst_width, int dst_height, int x, int y, int left, int right, bool center ) : void
str string
buffer byte
dst_width int
dst_height int
x int
y int
left int
right int
center bool
Résultat void

DrawSubstring() public méthode

public DrawSubstring ( string str, byte buffer, int dst_width, int x, int y ) : void
str string
buffer byte
dst_width int
x int
y int
Résultat void

SmushFont() public méthode

public SmushFont ( ScummEngine vm, string filename, bool use_original_colors, bool new_colors ) : System.Diagnostics
vm ScummEngine
filename string
use_original_colors bool
new_colors bool
Résultat System.Diagnostics