21 #ifndef GF_COORDINATES_H
22 #define GF_COORDINATES_H
29 #ifndef DOXYGEN_SHOULD_SKIP_THIS
94 #ifndef DOXYGEN_SHOULD_SKIP_THIS
Vector2f getRelativePoint(Vector2f percent) const
Compute a relative point.
Vector2f getRelativeSize(Vector2f percent) const
Compute a relative size.
Base class for all render targets (window, texture, ...)
Definition: RenderTarget.h:65
Coordinates(Vector2u size)
Constructor with size.
Helper to compute coordinates in HUD.
Definition: Coordinates.h:38
Vector2f getCenter() const
Get the center of the window.
unsigned getRelativeCharacterSize(float percent) const
Compute a relative character size.
The namespace for gf classes.
Definition: Action.h:34
Vector2f getAbsolutePoint(Vector2f distance, Anchor anchor) const
Compute an absolute point.
Anchor
An anchor of a box.
Definition: Anchor.h:41
#define GF_API
Definition: Portability.h:35
Coordinates(RenderTarget &target)
Constructor with render target.