ScummVM API documentation
Voyeur::DisplayResource Class Reference
Inheritance diagram for Voyeur::DisplayResource:
Voyeur::PictureResource Voyeur::ViewPortResource

Public Member Functions

 DisplayResource (VoyeurEngine *vm)
 
void sFillBox (int width, int height)
 
int drawText (const Common::String &msg)
 
int textWidth (const Common::String &msg)
 
bool clipRect (Common::Rect &rect)
 

Public Attributes

uint32 _flags
 

Protected Attributes

VoyeurEngine_vm
 

Member Function Documentation

◆ sFillBox()

void Voyeur::DisplayResource::sFillBox ( int  width,
int  height 
)

Fill a box of the given size at the current _drawPtr location

◆ drawText()

int Voyeur::DisplayResource::drawText ( const Common::String msg)

Draw text at the current pen position

◆ textWidth()

int Voyeur::DisplayResource::textWidth ( const Common::String msg)

Return the width of a given text in the current font

◆ clipRect()

bool Voyeur::DisplayResource::clipRect ( Common::Rect rect)

Clip the given rectangle by the currently viewable area


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