|
|
| ShapeFont (const uint8 *data, uint32 size, const ConvertShapeFormat *format, const uint16 flexId, const uint32 shapenum) |
| |
|
int | getHeight () override |
| | get the height of the font
|
| |
|
int | getBaseline () override |
| | get the baseline of the font (relative from the top)
|
| |
|
int | getBaselineSkip () override |
| | get the baselineskip of the font (distance between two baselines)
|
| |
|
int | getWidth (char c) |
| |
|
int | getVlead () const |
| |
|
int | getHlead () const |
| |
|
void | setVLead (int vl) |
| |
|
void | setHLead (int hl) |
| |
|
int | charToFrameNum (char c) const |
| |
| void | getStringSize (const Std::string &text, int32 &width, int32 &height) override |
| |
| RenderedText * | renderText (const Std::string &text, unsigned int &remaining, int32 width=0, int32 height=0, TextAlign align=TEXT_LEFT, bool u8specials=false, bool pagebreaks=false, Std::string::size_type cursor=Std::string::npos) override |
| |
| virtual void | getTextSize (const Std::string &text, int32 &resultwidth, int32 &resultheight, unsigned int &remaining, int32 width=0, int32 height=0, TextAlign align=TEXT_LEFT, bool u8specials=false, bool pagebreaks=false) |
| |
|
void | setHighRes (bool hr) |
| |
|
bool | isHighRes () const |
| |
|
| Shape (const uint8 *data, uint32 size, const ConvertShapeFormat *format, const uint16 flexId, const uint32 shapenum) |
| |
|
| Shape (Common::SeekableReadStream *src, const ConvertShapeFormat *format) |
| |
|
void | setPalette (const Palette *pal) |
| |
|
const Palette * | getPalette () const |
| |
|
uint32 | frameCount () const |
| |
| void | getTotalDimensions (int32 &w, int32 &h, int32 &x, int32 &y) const |
| |
|
const ShapeFrame * | getFrame (unsigned int frame) const |
| |
|
void | getShapeId (uint16 &flexId, uint32 &shapenum) const |
| |