decltype(std::declval< const Primitive * >() ->edges()) Type
Definition Utility.hpp:25
Definition RepeatShape.hpp:20
const RepeatShape * mRepeatShape
Definition RepeatShape.hpp:41
Edges(const RepeatShape *repeatShape) noexcept
Definition RepeatShape.hpp:49
bool done() const noexcept
Definition RepeatShape.hpp:22
EdgeGeneratorType< Shape >::Type mEdges
Definition RepeatShape.hpp:43
int mDelta
Definition RepeatShape.hpp:47
Edge generate() const
Definition RepeatShape.hpp:24
void next() noexcept
Definition RepeatShape.hpp:30
int mIndex
Definition RepeatShape.hpp:45
friend int count(const Edges &generator) noexcept
Definition RepeatShape.hpp:60
int countEdges() const noexcept
Definition RepeatShape.hpp:53
Definition RepeatShape.hpp:65
bool done() const noexcept
Definition RepeatShape.hpp:67
void next()
Definition RepeatShape.hpp:75
int countVertices() const noexcept
Definition RepeatShape.hpp:98
const RepeatShape * mRepeatShape
Definition RepeatShape.hpp:90
ShapeVertex generate() const
Definition RepeatShape.hpp:69
friend int count(const Vertices &generator) noexcept
Definition RepeatShape.hpp:105
Vertices(const RepeatShape *repeatShape)
Definition RepeatShape.hpp:86
int mIndex
Definition RepeatShape.hpp:94
VertexGeneratorType< Shape >::Type mVertices
Definition RepeatShape.hpp:92
Vector2 mDelta
Definition RepeatShape.hpp:96
Repeats the same shape a given number of time at given intervals.
Definition RepeatShape.hpp:18
RepeatShape(Shape shape, const int instances, const Vector2 &delta) noexcept
Definition RepeatShape.hpp:113
Vector2 mDelta
Definition RepeatShape.hpp:125
Shape mShape
Definition RepeatShape.hpp:121
Edges edges() const noexcept
Definition RepeatShape.hpp:116
Vertices vertices() const noexcept
Definition RepeatShape.hpp:118
int mInstances
Definition RepeatShape.hpp:123
int mVertexCount
Definition RepeatShape.hpp:127
A point on a path.
Definition ShapeVertex.hpp:16
decltype(std::declval< const Primitive * >() ->vertices()) Type
Definition Utility.hpp:39
A type that describes a conjunction of shapes that can be filled and stroked.
Definition Shape.hpp:198
Definition AnyGenerator.hpp:12
RepeatShape< Shape > repeatShape(Shape shape, int instances, const Vector2 &delta) noexcept
Definition RepeatShape.hpp:130
constexpr CountAlgorithmFunctor count
Returns the number of elements matching an element.
Definition Count.hpp:82
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25