FastUIDraw
Public Member Functions | Friends | List of all members
fastuidraw::PartitionedTessellatedPath::SubsetSelection Class Reference

#include <partitioned_tessellated_path.hpp>

Inheritance diagram for fastuidraw::PartitionedTessellatedPath::SubsetSelection:
Inheritance graph
[legend]

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
 

Detailed Description

A SubsetSelection represents what Subset objects intersect a clipped region.

Definition at line 177 of file partitioned_tessellated_path.hpp.

Constructor & Destructor Documentation

◆ SubsetSelection()

fastuidraw::PartitionedTessellatedPath::SubsetSelection::SubsetSelection ( )

Ctor.

Member Function Documentation

◆ apply_path_effect()

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.

Parameters
effectPathEffect to apply
dstPathEffect::Storage to which to add results

◆ clear()

void fastuidraw::PartitionedTessellatedPath::SubsetSelection::clear ( const reference_counted_ptr< const PartitionedTessellatedPath > &  src = reference_counted_ptr< const PartitionedTessellatedPath >())

Clears the SubsetSelection to be empty.

Parameters
srcvalue for source() to return

◆ join_subset_ids()

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.

◆ source()

const reference_counted_ptr<const PartitionedTessellatedPath>& fastuidraw::PartitionedTessellatedPath::SubsetSelection::source ( void  ) const

Returns the source for the data.

◆ subset_ids()

c_array<const unsigned int> fastuidraw::PartitionedTessellatedPath::SubsetSelection::subset_ids ( void  ) const

The ID's of what Subset objects are selected.


The documentation for this class was generated from the following file: