|
| TTFRenderedText (Graphics::ManagedSurface *texture, int width, int height, int vlead, int baseline, bool antiAliased) |
|
void | draw (RenderSurface *surface, int x, int y, bool destmasked=false) override |
|
void | drawBlended (RenderSurface *surface, int x, int y, uint32 col, bool destmasked=false) override |
| Draw self to a rendersurface blended (0xAABBGGRR, alpha is blend level)
|
|
virtual void | getSize (int &x, int &y) const |
|
virtual int | getVlead () |
| Get vlead.
|
|
◆ draw()
void Ultima::Ultima8::TTFRenderedText::draw |
( |
RenderSurface * |
surface, |
|
|
int |
x, |
|
|
int |
y, |
|
|
bool |
destmasked = false |
|
) |
| |
|
overridevirtual |
Draw self to a rendersurface.
- Parameters
-
surface | The surface to draw to |
x | X coordinate of target |
y | Y coordinate of target. This will be the top baseline. |
Implements Ultima::Ultima8::RenderedText.
The documentation for this class was generated from the following file: