Apply a dash effect to the child geometry.
More...
#include <SkSGGeometryEffect.h>
Apply a dash effect to the child geometry.
Follows the same semantics as SkDashPathEffect, with one minor tweak: when the number of intervals is odd, they are repeated once more to attain an even sequence (same as SVG stroke-dasharray: https://www.w3.org/TR/SVG11/painting.html#StrokeDasharrayProperty).
◆ InvalTraits
Enumerator |
---|
kBubbleDamage_Trait | |
kOverrideDamage_Trait | |
◆ asPath()
SkPath sksg::GeometryNode::asPath |
( |
| ) |
const |
|
inherited |
◆ bounds()
const SkRect& sksg::Node::bounds |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ clip()
void sksg::GeometryNode::clip |
( |
SkCanvas * |
, |
|
|
bool |
antiAlias |
|
) |
| const |
|
inherited |
◆ contains()
bool sksg::GeometryNode::contains |
( |
const SkPoint & |
| ) |
const |
|
inherited |
◆ draw()
◆ hasInval()
bool sksg::Node::hasInval |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ invalidate()
void sksg::Node::invalidate |
( |
bool |
damage = true | ) |
|
|
inherited |
◆ Make()
◆ observeInval()
void sksg::Node::observeInval |
( |
const sk_sp< Node > & |
| ) |
|
|
protectedinherited |
◆ onAsPath()
SkPath sksg::GeometryEffect::onAsPath |
( |
| ) |
const |
|
finalprotectedvirtualinherited |
◆ onClip()
void sksg::GeometryEffect::onClip |
( |
SkCanvas * |
, |
|
|
bool |
antiAlias |
|
) |
| const |
|
finalprotectedvirtualinherited |
◆ onContains()
bool sksg::GeometryEffect::onContains |
( |
const SkPoint & |
| ) |
const |
|
finalprotectedvirtualinherited |
◆ onDraw()
|
finalprotectedvirtualinherited |
◆ onRevalidate()
|
finalprotectedvirtualinherited |
◆ ref()
void SkRefCntBase::ref |
( |
| ) |
const |
|
inlineinherited |
Increment the reference count.
Must be balanced by a call to unref().
◆ revalidate()
◆ unique()
bool SkRefCntBase::unique |
( |
| ) |
const |
|
inlineinherited |
May return true if the caller is the only owner.
Ensures that all previous owner's actions are complete.
◆ unobserveInval()
void sksg::Node::unobserveInval |
( |
const sk_sp< Node > & |
| ) |
|
|
protectedinherited |
◆ unref()
void SkRefCntBase::unref |
( |
| ) |
const |
|
inlineinherited |
Decrement the reference count.
If the reference count is 1 before the decrement, then delete the object. Note that if this is the case, then the object needs to have been allocated via new, and not on the stack.
◆ fInvalObserver
Node* sksg::Node::fInvalObserver |
|
inherited |
◆ fInvalObserverArray
std::vector<Node*>* sksg::Node::fInvalObserverArray |
|
inherited |
The documentation for this class was generated from the following file: