24 #include "Portability.h" 25 #include "Transformable.h" 27 #include "VertexArray.h" 28 #include "VertexBuffer.h" 31 #ifndef DOXYGEN_SHOULD_SKIP_THIS 88 void setColor(
const Color4f& color);
105 m_lineWidth = lineWidth;
128 RectF getLocalBounds()
const;
140 void setAnchor(
Anchor anchor);
155 void updateGeometry();
165 #ifndef DOXYGEN_SHOULD_SKIP_THIS
Vector2i getGridSize() const noexcept
Get the grid size.
Definition: Grid.h:63
A set of primitives.
Definition: VertexArray.h:65
Vector2f getCellSize() const noexcept
Get the cell size.
Definition: Grid.h:79
float getLineWidth() const noexcept
Get the width of the grid frame.
Definition: Grid.h:113
void setLineWidth(float lineWidth) noexcept
Set the width of the grid frame.
Definition: Grid.h:104
Base class for all render targets (window, texture, ...)
Definition: RenderTarget.h:73
Define the states used for drawing to a RenderTarget.
Definition: RenderStates.h:82
Data in the graphics memory.
Definition: VertexBuffer.h:77
The namespace for gf classes.
Definition: Action.h:35
A square grid.
Definition: Grid.h:39
A 4D vector.
Definition: Vector.h:838
const Color4f & getColor() const noexcept
Get the color of the grid frame.
Definition: Grid.h:95
Anchor
An anchor of a box.
Definition: Anchor.h:38