FastUIDraw
|
A TessellationParams stores how finely to tessellate the curves of a path. More...
#include <tessellated_path.hpp>
Public Member Functions | |
TessellationParams (void) | |
TessellationParams & | max_distance (float p) |
TessellationParams & | max_recursion (unsigned int v) |
Public Attributes | |
float | m_max_distance |
unsigned int | m_max_recursion |
A TessellationParams stores how finely to tessellate the curves of a path.
Definition at line 123 of file tessellated_path.hpp.
|
inline |
Ctor, initializes values.
Definition at line 129 of file tessellated_path.hpp.
|
inline |
Provided as a conveniance. Equivalent to
p | value to which to assign to m_max_distance |
Definition at line 142 of file tessellated_path.hpp.
|
inline |
Set the value of m_max_recursion.
v | value to which to assign to m_max_recursion |
Definition at line 153 of file tessellated_path.hpp.
float fastuidraw::TessellatedPath::TessellationParams::m_max_distance |
Maximum distance to attempt between the actual curve and the tessellation. A value less than or equal to zero indicates to accept any distance value between the tessellation and the curve. Default value is -1.0 (i.e. accept any distance value).
Definition at line 165 of file tessellated_path.hpp.
unsigned int fastuidraw::TessellatedPath::TessellationParams::m_max_recursion |
Maximum number of times to perform recursion to tessellate an edge. Default value is 5.
Definition at line 171 of file tessellated_path.hpp.