ScummVM API documentation
Nancy::Script::ScriptRect Struct Reference

Public Member Functions

 ScriptRect (int32 l, int32 t, int32 r, int32 b)
 
 ScriptRect (const Common::Rect &rect)
 
int32 width () const
 
int32 height () const
 
bool isEmpty () const
 
bool contains (int32 x, int32 y) const
 
void translate (int32 dx, int32 dy)
 
bool operator== (const ScriptRect &other) const
 
Common::Rect toRect () const
 

Public Attributes

int32 left = 0
 
int32 top = 0
 
int32 right = 0
 
int32 bottom = 0
 

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