Gorgon Game Engine
Dimension.h File Reference
Include dependency graph for Dimension.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Dimension
 Dimension data for components. Allows relative position and sizing. More...
 

Namespaces

 Gorgon
 Root namespace for Gorgon Game Engine.
 
 Gorgon::UI
 This namespace contains User interface related functionality.
 

Typedefs

using Margin = Geometry::basic_Margin< Dimension >
 This class stores the margin information for a box object. More...
 
using Point = Geometry::basic_Point< Dimension >
 This class stores the location information for a box object. More...
 
using Size = Geometry::basic_Size< Dimension >
 This class stores the size information for a box object. More...
 

Functions

Geometry::Margin Convert (const Margin &m, const Geometry::Size &parent, int emwidth=10)
 Converts a dimension based margin to pixel based margin. More...
 
Geometry::Point Convert (const Point &p, const Geometry::Size &parent, int emwidth=10)
 Converts a dimension based point to pixel based point. More...
 
Geometry::Size Convert (const Size &s, const Geometry::Size &parent, int emwidth=10)
 Converts a dimension based size to pixel based size. More...