17 this->setX1(SkSVGAttributeParser::parse<SkSVGLength>(
"x1", n, v)) ||
18 this->setY1(SkSVGAttributeParser::parse<SkSVGLength>(
"y1", n, v)) ||
19 this->setX2(SkSVGAttributeParser::parse<SkSVGLength>(
"x2", n, v)) ||
20 this->setY2(SkSVGAttributeParser::parse<SkSVGLength>(
"y2", n, v));
24 return std::make_tuple(
34 std::tie(p0, p1) = this->resolve(lctx);
#define INHERITED(method,...)
void drawLine(SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const SkPaint &paint)
static SkPath Line(const SkPoint a, const SkPoint b)
SkScalar resolve(const SkSVGLength &, LengthType) const
SkPath onAsPath(const SkSVGRenderContext &) const override
void onDraw(SkCanvas *, const SkSVGLengthContext &, const SkPaint &, SkPathFillType) const override
bool parseAndSetAttribute(const char *, const char *) override
virtual bool parseAndSetAttribute(const char *name, const char *value)
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
static constexpr SkPoint Make(float x, float y)