ScummVM API documentation
Saga::Font Class Referenceabstract
Inheritance diagram for Saga::Font:
Saga::DefaultFont Saga::SJISFont

Public Member Functions

 Font (SagaEngine *vm)
 
int getStringWidth (KnownFont font, const char *text, size_t count, FontEffectFlags flags)
 
int getHeight (KnownFont font)
 
int getHeight (KnownFont font, const char *text, int width, FontEffectFlags flags)
 
void textDraw (KnownFont font, const char *string, const Common::Point &point, int color, int effectColor, FontEffectFlags flags)
 
void textDrawRect (KnownFont font, const char *text, const Common::Rect &rect, int color, int effectColor, FontEffectFlags flags)
 
virtual void setFontMapping (int)
 

Protected Types

enum  FontId {
  kSmallFont, kMediumFont, kBigFont, kIHNMUnknown,
  kIHNMFont8, kIHNMUnknown2, kIHNMMainFont
}
 

Protected Attributes

SagaEngine_vm
 

The documentation for this class was generated from the following file: