#include <SkSVGEllipse.h>
|
bool | parseAndSetAttribute (const char *, const char *) override |
|
void | onDraw (SkCanvas *, const SkSVGLengthContext &, const SkPaint &, SkPathFillType) const override |
|
SkPath | onAsPath (const SkSVGRenderContext &) const override |
|
| SkSVGShape (SkSVGTag) |
|
void | onRender (const SkSVGRenderContext &) const final |
|
virtual void | onDraw (SkCanvas *, const SkSVGLengthContext &, const SkPaint &, SkPathFillType) const =0 |
|
| SkSVGTransformableNode (SkSVGTag) |
|
bool | onPrepareToRender (SkSVGRenderContext *) const override |
|
void | onSetAttribute (SkSVGAttribute, const SkSVGValue &) override |
|
void | mapToParent (SkPath *) const |
|
void | mapToParent (SkRect *) const |
|
| SkSVGNode (SkSVGTag) |
|
virtual bool | onPrepareToRender (SkSVGRenderContext *) const |
|
virtual void | onRender (const SkSVGRenderContext &) const =0 |
|
virtual bool | onAsPaint (const SkSVGRenderContext &, SkPaint *) const |
|
virtual SkPath | onAsPath (const SkSVGRenderContext &) const =0 |
|
virtual void | onSetAttribute (SkSVGAttribute, const SkSVGValue &) |
|
virtual bool | hasChildren () const |
|
virtual SkRect | onObjectBoundingBox (const SkSVGRenderContext &) const |
|
Definition at line 16 of file SkSVGEllipse.h.
◆ Make()
◆ onAsPath()
Implements SkSVGNode.
Definition at line 46 of file SkSVGEllipse.cpp.
46 {
49
51}
static SkPath Oval(const SkRect &, SkPathDirection=SkPathDirection::kCW)
const SkSVGLengthContext & lengthContext() const
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
◆ onDraw()
◆ parseAndSetAttribute()
bool SkSVGEllipse::parseAndSetAttribute |
( |
const char * |
n, |
|
|
const char * |
v |
|
) |
| |
|
overrideprotectedvirtual |
Reimplemented from SkSVGNode.
Definition at line 16 of file SkSVGEllipse.cpp.
16 {
18 this->setCx(SkSVGAttributeParser::parse<SkSVGLength>("cx", n, v)) ||
19 this->setCy(SkSVGAttributeParser::parse<SkSVGLength>("cy", n, v)) ||
20 this->setRx(SkSVGAttributeParser::parse<SkSVGLength>("rx", n, v)) ||
21 this->setRy(SkSVGAttributeParser::parse<SkSVGLength>("ry", n, v));
22}
virtual bool parseAndSetAttribute(const char *name, const char *value)
The documentation for this class was generated from the following files: