C# Класс NScumm.Scumm.Graphics.CharsetRenderer

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BlitAlso bool
Center bool
DisableOffsX bool
FirstChar bool
HasMask bool
Left int
Right int
TextScreen VirtScreen
Top int

Защищенные свойства (Protected)

Свойство Тип Описание
Color byte
CurId int
Vm ScummEngine

Открытые методы

Метод Описание
AddLinebreaks ( int a, System str, int pos, int maxwidth ) : void
DrawChar ( int chr, Surface s, int x, int y ) : void
GetCharHeight ( int chr ) : int
GetCharWidth ( int chr ) : int
GetCurId ( ) : int
GetFontHeight ( ) : int
GetStringWidth ( int arg, System text, int pos ) : int
PrintChar ( int chr, bool ignoreCharsetMask ) : void
SetColor ( byte color ) : void
SetCurID ( int id ) : void

Защищенные методы

Метод Описание
CharsetRenderer ( ScummEngine vm ) : NScumm.Core.Graphics

Описание методов

AddLinebreaks() публичный Метод

public AddLinebreaks ( int a, System str, int pos, int maxwidth ) : void
a int
str System
pos int
maxwidth int
Результат void

CharsetRenderer() защищенный Метод

protected CharsetRenderer ( ScummEngine vm ) : NScumm.Core.Graphics
vm ScummEngine
Результат NScumm.Core.Graphics

DrawChar() публичный абстрактный Метод

public abstract DrawChar ( int chr, Surface s, int x, int y ) : void
chr int
s NScumm.Core.Graphics.Surface
x int
y int
Результат void

GetCharHeight() публичный Метод

public GetCharHeight ( int chr ) : int
chr int
Результат int

GetCharWidth() публичный абстрактный Метод

public abstract GetCharWidth ( int chr ) : int
chr int
Результат int

GetCurId() публичный Метод

public GetCurId ( ) : int
Результат int

GetFontHeight() публичный абстрактный Метод

public abstract GetFontHeight ( ) : int
Результат int

GetStringWidth() публичный Метод

public GetStringWidth ( int arg, System text, int pos ) : int
arg int
text System
pos int
Результат int

PrintChar() публичный абстрактный Метод

public abstract PrintChar ( int chr, bool ignoreCharsetMask ) : void
chr int
ignoreCharsetMask bool
Результат void

SetColor() публичный Метод

public SetColor ( byte color ) : void
color byte
Результат void

SetCurID() публичный абстрактный Метод

public abstract SetCurID ( int id ) : void
id int
Результат void

Описание свойств

BlitAlso публичное свойство

public bool BlitAlso
Результат bool

Center публичное свойство

public bool Center
Результат bool

Color защищенное свойство

protected byte Color
Результат byte

CurId защищенное свойство

protected int CurId
Результат int

DisableOffsX публичное свойство

public bool DisableOffsX
Результат bool

FirstChar публичное свойство

public bool FirstChar
Результат bool

HasMask публичное свойство

true if "removable" text is visible somewhere (should be called _hasText or so).
public bool HasMask
Результат bool

Left публичное свойство

public int Left
Результат int

Right публичное свойство

public int Right
Результат int

TextScreen публичное свойство

The virtual screen on which the text is visible.
public VirtScreen,NScumm.Scumm.Graphics TextScreen
Результат VirtScreen

Top публичное свойство

public int Top
Результат int

Vm защищенное свойство

protected ScummEngine Vm
Результат ScummEngine