Skia
2D Graphics Library
|
#include <SkSVGFeTurbulence.h>
Public Member Functions | |
SVG_ATTR(TurbulenceType, SkSVGFeTurbulenceType, SkSVGFeTurbulenceType(SkSVGFeTurbulenceType::Type::kTurbulence)) protected std::vector< SkSVGFeInputType > | getInputs () const override |
bool | parseAndSetAttribute (const char *, const char *) override |
sk_sp< SkImageFilter > | makeImageFilter (const SkSVGRenderContext &ctx, const SkSVGFilterContext &fctx) const |
SkRect | resolveFilterSubregion (const SkSVGRenderContext &, const SkSVGFilterContext &) const |
virtual SkSVGColorspace | resolveColorspace (const SkSVGRenderContext &, const SkSVGFilterContext &) const |
Resolves the colorspace within which this filter effect should be applied. More... | |
void | applyProperties (SkSVGRenderContext *) const |
Propagates any inherited presentation attributes in the given context. More... | |
void | appendChild (sk_sp< SkSVGNode >) override |
void | setTransform (const SkSVGTransformType &t) |
SkSVGTag | tag () const |
void | render (const SkSVGRenderContext &) const |
bool | asPaint (const SkSVGRenderContext &, SkPaint *) const |
SkPath | asPath (const SkSVGRenderContext &) const |
SkRect | objectBoundingBox (const SkSVGRenderContext &) const |
void | setAttribute (SkSVGAttribute, const SkSVGValue &) |
bool | setAttribute (const char *attributeName, const char *attributeValue) |
bool | unique () const |
May return true if the caller is the only owner. More... | |
void | ref () const |
Increment the reference count. More... | |
void | unref () const |
Decrement the reference count. More... | |
Static Public Member Functions | |
static sk_sp< SkSVGFeTurbulence > | Make () |
static bool | IsFilterEffect (const sk_sp< SkSVGNode > &node) |
Protected Member Functions | |
virtual sk_sp< SkImageFilter > | onMakeImageFilter (const SkSVGRenderContext &, const SkSVGFilterContext &) const =0 |
void | onRender (const SkSVGRenderContext &) const final |
SkPath | onAsPath (const SkSVGRenderContext &) const override |
SkRect | onObjectBoundingBox (const SkSVGRenderContext &) const override |
bool | hasChildren () const final |
bool | onPrepareToRender (SkSVGRenderContext *) const override |
void | onSetAttribute (SkSVGAttribute, const SkSVGValue &) override |
void | mapToParent (SkPath *) const |
void | mapToParent (SkRect *) const |
virtual bool | onAsPaint (const SkSVGRenderContext &, SkPaint *) const |
Static Protected Member Functions | |
static SkMatrix | ComputeViewboxMatrix (const SkRect &, const SkRect &, SkSVGPreserveAspectRatio) |
Protected Attributes | |
skia_private::STArray< 1, sk_sp< SkSVGNode >, true > | fChildren |
Implements SkSVGNode.
Reimplemented in SkSVGFeLightSource.
|
inherited |
Propagates any inherited presentation attributes in the given context.
|
inherited |
|
inherited |
|
staticprotectedinherited |
|
inlineoverridevirtual |
Implements SkSVGFe.
|
finalprotectedvirtualinherited |
Reimplemented from SkSVGNode.
|
inlinestatic |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
inlineprotectedvirtualinherited |
Reimplemented in SkSVGPattern, and SkSVGGradient.
|
overrideprotectedvirtualinherited |
Implements SkSVGNode.
|
protectedpure virtualinherited |
|
overrideprotectedvirtualinherited |
Reimplemented from SkSVGNode.
|
overrideprotectedvirtualinherited |
|
inlinefinalprotectedvirtualinherited |
Reimplemented from SkSVGContainer.
|
overrideprotectedvirtualinherited |
Reimplemented from SkSVGNode.
|
overridevirtual |
Reimplemented from SkSVGFe.
|
inlineinherited |
Increment the reference count.
Must be balanced by a call to unref().
|
inherited |
|
virtualinherited |
Resolves the colorspace within which this filter effect should be applied.
Spec: https://www.w3.org/TR/SVG11/painting.html#ColorInterpolationProperties 'color-interpolation-filters' property.
Reimplemented in SkSVGFeDisplacementMap.
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
May return true if the caller is the only owner.
Ensures that all previous owner's actions are complete.
|
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.