A Subset represents a handle to a portion of a FilledPath. The handle is invalid once the FilledPath from which it comes goes out of scope. Do not save these handle values without also saving a handle of the FilledPath from which they come.
More...
#include <filled_path.hpp>
A Subset represents a handle to a portion of a FilledPath. The handle is invalid once the FilledPath from which it comes goes out of scope. Do not save these handle values without also saving a handle of the FilledPath from which they come.
Definition at line 64 of file filled_path.hpp.
◆ aa_fuzz_type_t
Enumeration to specify type for an attribute of aa_fuzz_painter_data().
Enumerator |
---|
aa_fuzz_type_on_path | Point is a point on the path.
|
aa_fuzz_type_on_boundary | Point is a point on the boundary of the aa-fuzz
|
aa_fuzz_type_on_boundary_miter | Point is a point on the boundary of the aa-fuzz as a miter-join point.
|
Definition at line 71 of file filled_path.hpp.
◆ aa_fuzz_chunk_from_winding_number()
static unsigned int fastuidraw::FilledPath::Subset::aa_fuzz_chunk_from_winding_number |
( |
int |
w | ) |
|
|
static |
◆ aa_fuzz_painter_data()
Returns the PainterAttributeData to draw the anti-alias fuzz for the portion of the FilledPath the Subset represents. The aa-fuzz is drawn as a quad (of two triangles) per edge of the boudnary of a filled component. The attribute data is packed as follows:
◆ bounding_box()
const Rect& fastuidraw::FilledPath::Subset::bounding_box |
( |
void |
| ) |
const |
Returns the bounding box of the Subset.
◆ bounding_path()
const Path& fastuidraw::FilledPath::Subset::bounding_path |
( |
void |
| ) |
const |
Returns the bounding box realized as a Path.
◆ fill_chunk_from_fill_rule()
◆ fill_chunk_from_winding_number()
static unsigned int fastuidraw::FilledPath::Subset::fill_chunk_from_winding_number |
( |
int |
w | ) |
|
|
static |
◆ painter_data()
◆ winding_numbers()
c_array<const int> fastuidraw::FilledPath::Subset::winding_numbers |
( |
void |
| ) |
const |
Returns an array listing what winding number values there are triangle in this Subset. To get the indices for those triangle with winding number N, use the chunk computed from chunk_from_winding_number(N). The same attribute chunk, 0, is used regardless of which index chunk.
The documentation for this class was generated from the following file:
- /home/kevin/fastuidraw.krogueintel/inc/fastuidraw/painter/attribute_data/filled_path.hpp