![]() |
Gorgon Game Engine
|
Go to the source code of this file.
Classes | |
class | SizeController |
This class allows control over a sizable object. More... | |
class | TextureSource |
This interface represents a GL texture source. More... | |
Namespaces | |
Gorgon | |
Root namespace for Gorgon Game Engine. | |
Gorgon::Graphics | |
Contains generic 2D graphics related data structures and functions. | |
Gorgon::Graphics::internal | |
Functions inside this namespace is designed for internal use, however, they might be used externally and will not have any impact on inner workings of the system. | |
Enumerations | |
enum | Alignment { Start, Center, End } |
Defines how an object is aligned. More... | |
enum | Orientation { Horizontal, Vertical } |
2D orientation constants More... | |
enum | Placement { TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter, MiddleRight, BottomLeft, BottomCenter, BottomRight } |
Defines how an object is placed in a 2D axis system. More... | |
enum | TextAlignment { Left, Center, Right } |
Defines how a text is aligned. More... | |
enum | Tiling { None, Horizontal, Vertical, Both } |
Details which directions a texture should tile. More... | |
Functions | |
void | ActivateQuadVertices () |
Geometry::Point | CalculateOffset (Placement place, Geometry::Size remainder) |
Returns the offset of the object according to the given placement rule when there is the given remainder between object size and the area its being drawn on. More... | |
void | DrawQuadVertices () |
Alignment | GetHorizontal (Placement placement) |
Returns horizontal alignment from a placement. More... | |
Alignment | GetVertical (Placement placement) |
Returns vertical alignment from a placement. More... | |
void | Initialize () |
Initializes Graphics module, should be performed after an OpenGL context is created. More... | |
Tiling | Tile (bool horizontal, bool vertical) |
Creates a Tiling class from the given horizontal, vertical tiling info. More... | |
Variables | |
GL::Texture | LastTexture |