ScummVM API documentation
Ultima::Ultima8::JPRenderedText Class Reference
Inheritance diagram for Ultima::Ultima8::JPRenderedText:
Ultima::Ultima8::RenderedText

Public Member Functions

 JPRenderedText (Std::list< PositionedText > &lines, int width, int height, int vlead, ShapeFont *font, unsigned int fontnum)
 
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)
 
- Public Member Functions inherited from Ultima::Ultima8::RenderedText
virtual void getSize (int &x, int &y) const
 
virtual int getVlead ()
 Get vlead.
 

Protected Attributes

Std::list< PositionedText_lines
 
ShapeFont_font
 
unsigned int _fontNum
 
- Protected Attributes inherited from Ultima::Ultima8::RenderedText
int _width
 
int _height
 
int _vLead
 

Member Function Documentation

◆ draw()

void Ultima::Ultima8::JPRenderedText::draw ( RenderSurface surface,
int  x,
int  y,
bool  destmasked = false 
)
overridevirtual

Draw self to a rendersurface.

Parameters
surfaceThe surface to draw to
xX coordinate of target
yY coordinate of target. This will be the top baseline.

Implements Ultima::Ultima8::RenderedText.


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