|
FastUIDraw
|
A Storage is to where TessellatedPath::segment, TessellatedPath::join and TessellatedPath::cap values are stored from being processed by a PathEffect. More...
#include <path_effect.hpp>

Public Member Functions | |
| Storage & | add_cap (const cap &cap) |
| Storage & | add_join (const join &join) |
| Storage & | add_segment (const TessellatedPath::segment &segment) |
| Storage & | begin_chain (const TessellatedPath::segment *prev_segment) |
| c_array< const cap > | caps (void) const |
| segment_chain | chain (unsigned int I) const |
| void | clear (void) |
| c_array< const join > | joins (void) const |
| unsigned int | number_chains (void) const |
A Storage is to where TessellatedPath::segment, TessellatedPath::join and TessellatedPath::cap values are stored from being processed by a PathEffect.
Definition at line 68 of file path_effect.hpp.
Add a cap to the Storage
| cap | TessellatedPath::cap to add |
Add a join to the Storage
| join | TessellatedPath::join to add |
| Storage& fastuidraw::PathEffect::Storage::add_segment | ( | const TessellatedPath::segment & | segment | ) |
Add a segment to the current chain being built.
| segment | segment to add |
| Storage& fastuidraw::PathEffect::Storage::begin_chain | ( | const TessellatedPath::segment * | prev_segment | ) |
Begin a segment_chain.
| prev_segment | if non-null, then the chain will have that segment_chain::m_prev_to_start will point to a -COPY- of *prev_segment. |
| segment_chain fastuidraw::PathEffect::Storage::chain | ( | unsigned int | I | ) | const |
Returns the named segment_chain of the storage. The return value is only guaranteed to be valid until the next call to add_segment() or begin_chain().
| I | which segment_chain with 0 <= I <= number_chains(). |
| void fastuidraw::PathEffect::Storage::clear | ( | void | ) |
Clear the Storage of all content
Returns the joins of the Storage added by add_join(). The return value is only guaranteed to be valid until the next call to add_join().
| unsigned int fastuidraw::PathEffect::Storage::number_chains | ( | void | ) | const |
returns the number of segment_chain the Storage has.
1.8.13