Lomse library. API documentation  0.30.0
GmoBoxDocument Class Reference

#include <lomse_gm_basic.h>

Inheritance diagram for GmoBoxDocument:
GmoBox GmoObj

Detailed Description

GmoBoxDocument is a container for enclosing the whole document, and contains one or more instances of GmoDocPage objects, representing each page of the document.

GmoBoxDocument is the root of the GraphicModel and only one instance exist for a document. It is simply a container, with no further responsibilities, and its only purpose is to store and manage its GmoBoxDocPage children.

Its bounding box delimits the visual space occupied by the complete document but margins or padding values in its base GmoBox are useless and are ignored.

Additional Inherited Members

- Public Member Functions inherited from GmoObj
LUnits get_width ()
 
LUnits get_height ()
 
LUnits get_left () const
 
LUnits get_top () const
 
LUnits get_right () const
 
LUnits get_bottom () const
 
bool bounds_contains_point (UPoint &p)
 
URect get_bounds ()
 
UPoint get_origin ()
 
USize get_size ()