8 #ifndef SkSVGImage_DEFINED
9 #define SkSVGImage_DEFINED
25 SkDebugf(
"cannot append child nodes to this element.\n");
50 bool parseAndSetAttribute(const
char*, const
char*) override;
SkSVGTag
Definition: SkSVGNode.h:23
#define SVG_ATTR(attr_name, attr_type, attr_default)
Definition: SkSVGNode.h:203
SkPath contain geometry.
Definition: SkPath.h:58
Definition: SkSVGTypes.h:152
Definition: SkSVGImage.h:18
void onRender(const SkSVGRenderContext &) const override
bool onPrepareToRender(SkSVGRenderContext *) const override
SkPath onAsPath(const SkSVGRenderContext &) const override
static sk_sp< SkSVGImage > Make()
Definition: SkSVGImage.h:20
void appendChild(sk_sp< SkSVGNode >) override
Definition: SkSVGImage.h:24
SkRect onObjectBoundingBox(const SkSVGRenderContext &) const override
static ImageInfo LoadImage(const sk_sp< skresources::ResourceProvider > &, const SkSVGIRI &, const SkRect &, SkSVGPreserveAspectRatio)
Definition: SkSVGTypes.h:116
Definition: SkSVGRenderContext.h:61
Shared pointer class to wrap classes that support a ref()/unref() interface.
Definition: SkRefCnt.h:220
skresources::ResourceProvider ResourceProvider
Definition: Skottie.h:42
Definition: SlotManager.h:23
SkRect holds four float coordinates describing the upper and lower bounds of a rectangle.
Definition: SkRect.h:582
Definition: SkSVGImage.h:33
SkRect fDst
Definition: SkSVGImage.h:35
sk_sp< SkImage > fImage
Definition: SkSVGImage.h:34
Definition: SkSVGTypes.h:585