Skia
2D Graphics Library
|
#include <SkSVGFeImage.h>
Public Member Functions | |
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< SkSVGFeImage > | Make () |
static bool | IsFilterEffect (const sk_sp< SkSVGNode > &node) |
Protected Member Functions | |
bool | parseAndSetAttribute (const char *, const char *) override |
sk_sp< SkImageFilter > | onMakeImageFilter (const SkSVGRenderContext &, const SkSVGFilterContext &) const override |
std::vector< SkSVGFeInputType > | getInputs () const override |
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 |
|
inlineoverrideprotectedvirtual |
Implements SkSVGFe.
|
finalprotectedvirtualinherited |
Reimplemented from SkSVGNode.
|
inlinestatic |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
inlineprotectedvirtualinherited |
Reimplemented in SkSVGPattern, and SkSVGGradient.
|
overrideprotectedvirtualinherited |
Implements SkSVGNode.
|
overrideprotectedvirtual |
Implements SkSVGFe.
|
overrideprotectedvirtualinherited |
Reimplemented from SkSVGNode.
|
overrideprotectedvirtualinherited |
|
inlinefinalprotectedvirtualinherited |
Reimplemented from SkSVGContainer.
|
overrideprotectedvirtualinherited |
Reimplemented from SkSVGNode.
|
overrideprotectedvirtual |
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.