A FilledPath represents the data needed to draw a path filled. It contains -all- the data needed to fill a path regardless of the fill rule.
More...
#include <filled_path.hpp>
A FilledPath represents the data needed to draw a path filled. It contains -all- the data needed to fill a path regardless of the fill rule.
Definition at line 52 of file filled_path.hpp.
◆ bounding_box()
const Rect& fastuidraw::FilledPath::bounding_box |
( |
void |
| ) |
const |
◆ number_subsets()
unsigned int fastuidraw::FilledPath::number_subsets |
( |
void |
| ) |
const |
◆ root_subset()
Subset fastuidraw::FilledPath::root_subset |
( |
void |
| ) |
const |
◆ select_subsets()
unsigned int fastuidraw::FilledPath::select_subsets |
( |
ScratchSpace & |
scratch_space, |
|
|
c_array< const vec3 > |
clip_equations, |
|
|
const float3x3 & |
clip_matrix_local, |
|
|
unsigned int |
max_attribute_cnt, |
|
|
unsigned int |
max_index_cnt, |
|
|
c_array< unsigned int > |
dst |
|
) |
| const |
Fetch those Subset objects that have triangles that intersect a region specified by clip equations.
- Parameters
-
| scratch_space | scratch space for computations. |
| clip_equations | array of clip equations |
| clip_matrix_local | 3x3 transformation from local (x, y, 1) coordinates to clip coordinates. |
| max_attribute_cnt | only allow those Subset objects for which Subset::painter_data() have no more than max_attribute_cnt attributes. |
| max_index_cnt | only allow those Subset objects for which Subset::painter_data() have no more than max_index_cnt attributes. |
[out] | dst | location to which to write the Subset ID values |
- Returns
- the number of Subset object ID's written to dst, that number is guaranteed to be no more than number_subsets().
◆ select_subsets_no_culling()
unsigned int fastuidraw::FilledPath::select_subsets_no_culling |
( |
unsigned int |
max_attribute_cnt, |
|
|
unsigned int |
max_index_cnt, |
|
|
c_array< unsigned int > |
dst |
|
) |
| const |
In contrast to select_subsets() which performs hierarchical culling against a set of clip equations, this routine performs no culling and returns the subsets needed to draw all of the FilledPath.
- Parameters
-
| max_attribute_cnt | only allow those chunks for which have no more than max_attribute_cnt attributes |
| max_index_cnt | only allow those chunks for which have no more than max_index_cnt indices |
[out] | dst | location to which to write the Subset ID values |
- Returns
- the number of Subset object ID's written to dst, that number is guaranteed to be no more than number_subsets().
◆ subset()
Subset fastuidraw::FilledPath::subset |
( |
unsigned int |
I | ) |
const |
The documentation for this class was generated from the following file:
- /home/kevin/fastuidraw.krogueintel/inc/fastuidraw/painter/attribute_data/filled_path.hpp