C# 클래스 NScumm.Scumm.Smush.SmushFont

상속: NScumm.Scumm.Graphics.NutRenderer
파일 보기 프로젝트 열기: scemino/nscumm 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
DrawChar ( byte buffer, int dst_width, int x, int y, char chr ) : int
GetStringHeight ( string str ) : int
GetStringWidth ( string str ) : int

메소드 상세

DrawString() 공개 메소드

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
리턴 void

DrawStringWrap() 공개 메소드

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
리턴 void

DrawSubstring() 공개 메소드

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
리턴 void

SmushFont() 공개 메소드

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
리턴 System.Diagnostics