|
FastUIDraw
|
A Subset represents a handle to a portion of a PartitionedTessellatedPath. The handle is invalid once the PartitionedTessellatedPath from which it comes goes out of scope. Do not save these handle values without also saving a handle of the PartitionedTessellatedPath from which they come. More...
#include <partitioned_tessellated_path.hpp>
Public Member Functions | |
| Subset (void) | |
| const Rect & | bounding_box (void) const |
| c_array< const cap > | caps (void) const |
| vecN< Subset, 2 > | children (void) const |
| bool | has_children (void) const |
| unsigned int | ID (void) const |
| c_array< const join > | joins (void) const |
| operator unspecified_bool_type () const | |
| c_array< const segment_chain > | segment_chains (void) const |
Friends | |
| class | PartitionedTessellatedPath |
A Subset represents a handle to a portion of a PartitionedTessellatedPath. The handle is invalid once the PartitionedTessellatedPath from which it comes goes out of scope. Do not save these handle values without also saving a handle of the PartitionedTessellatedPath from which they come.
Definition at line 83 of file partitioned_tessellated_path.hpp.
|
inline |
Ctor to initialize value to "null" handle.
Definition at line 92 of file partitioned_tessellated_path.hpp.
| const Rect& fastuidraw::PartitionedTessellatedPath::Subset::bounding_box | ( | void | ) | const |
Returns the bounding box.
Returns the caps within this Subset
Returns the children of this Subset. It is an error to call this if has_children() returns false.
| bool fastuidraw::PartitionedTessellatedPath::Subset::has_children | ( | void | ) | const |
| unsigned int fastuidraw::PartitionedTessellatedPath::Subset::ID | ( | void | ) | const |
Returns the ID of this Subset, i.e. the value to feed to PartitionedTessellatedPath::subset() to get this Subset.
Returns the joins within this Subset
|
inline |
Allows one to legally write to test if Subset is a null-handle:
Definition at line 113 of file partitioned_tessellated_path.hpp.
| c_array<const segment_chain> fastuidraw::PartitionedTessellatedPath::Subset::segment_chains | ( | void | ) | const |
Returns the segments that are within this Subset
1.8.13