FastUIDraw
|
#include <partitioned_tessellated_path.hpp>
Public Member Functions | |
SubsetSelection () | |
void | apply_path_effect (const PathEffect &effect, PathEffect::Storage &dst) const |
void | clear (const reference_counted_ptr< const PartitionedTessellatedPath > &src=reference_counted_ptr< const PartitionedTessellatedPath >()) |
c_array< const unsigned int > | join_subset_ids (void) const |
const reference_counted_ptr< const PartitionedTessellatedPath > & | source (void) const |
c_array< const unsigned int > | subset_ids (void) const |
Friends | |
class | PartitionedTessellatedPath |
A SubsetSelection represents what Subset objects intersect a clipped region.
Definition at line 177 of file partitioned_tessellated_path.hpp.
fastuidraw::PartitionedTessellatedPath::SubsetSelection::SubsetSelection | ( | ) |
Ctor.
void fastuidraw::PartitionedTessellatedPath::SubsetSelection::apply_path_effect | ( | const PathEffect & | effect, |
PathEffect::Storage & | dst | ||
) | const |
Apply a PathEffect to the segments, joins and caps of the Subset values within this SubsetSelection.
effect | PathEffect to apply |
dst | PathEffect::Storage to which to add results |
void fastuidraw::PartitionedTessellatedPath::SubsetSelection::clear | ( | const reference_counted_ptr< const PartitionedTessellatedPath > & | src = reference_counted_ptr< const PartitionedTessellatedPath >() | ) |
Clears the SubsetSelection to be empty.
src | value for source() to return |
c_array<const unsigned int> fastuidraw::PartitionedTessellatedPath::SubsetSelection::join_subset_ids | ( | void | ) | const |
ID's of what Subset objects are selected for joins. This value is different from subset_ids() only when PartitionedTessellatedPath::select_subset_ids() was specified to enlarge the join footprints for miter-join stroking.
const reference_counted_ptr<const PartitionedTessellatedPath>& fastuidraw::PartitionedTessellatedPath::SubsetSelection::source | ( | void | ) | const |
Returns the source for the data.
c_array<const unsigned int> fastuidraw::PartitionedTessellatedPath::SubsetSelection::subset_ids | ( | void | ) | const |
The ID's of what Subset objects are selected.