25 path->setFillType(fillType);
29 return path->getFillType();
53 path->quadTo(x1, y1, x2, y2);
61 path->rQuadTo(x1, y1, x2, y2);
71 path->cubicTo(x1, y1, x2, y2, x3, y3);
81 path->rCubicTo(x1, y1, x2, y2, x3, y3);
90 path->conicTo(x1, y1, x2, y2,
w);
99 path->rConicTo(x1, y1, x2, y2,
w);
107 path->arcTo(*rect, startAngle, sweepAngle, forceMoveTo);
118 path->arcTo(rx, ry, xAxisRotate, arcSize, pathDirection,
x,
y);
129 path->rArcTo(rx, ry, xAxisRotate, arcSize, pathDirection,
x,
y);
133 path->addRect(*rect);
144 path->addArc(*oval, startAngle, sweepAngle);
162 path->addPath(*other,
createMatrix(matrix33), extendPath);
174 return path->contains(
x,
y);
182 *rect = path->getBounds();
static const int points[]
static void operation(T operation, uint32_t &a, uint32_t b, uint32_t c, uint32_t d, uint32_t x, uint8_t s, uint32_t t)
SkPathFillType getFillType() const
SkRRect createRRect(const SkScalar *f)
SkMatrix createMatrix(const SkScalar *f)
SKWASM_EXPORT SkPath * path_copy(SkPath *path)
SKWASM_EXPORT void path_relativeArcToRotated(SkPath *path, SkScalar rx, SkScalar ry, SkScalar xAxisRotate, SkPath::ArcSize arcSize, SkPathDirection pathDirection, SkScalar x, SkScalar y)
SKWASM_EXPORT void path_addRect(SkPath *path, const SkRect *rect)
SKWASM_EXPORT void path_addPolygon(SkPath *path, const SkPoint *points, int count, bool close)
SKWASM_EXPORT SkPath * path_combine(SkPathOp operation, const SkPath *path1, const SkPath *path2)
SKWASM_EXPORT void path_getBounds(SkPath *path, SkRect *rect)
SKWASM_EXPORT SkPath * path_create()
SKWASM_EXPORT void path_arcToOval(SkPath *path, const SkRect *rect, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo)
SKWASM_EXPORT void path_relativeQuadraticBezierTo(SkPath *path, SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2)
SKWASM_EXPORT void path_close(SkPath *path)
SKWASM_EXPORT void path_reset(SkPath *path)
SKWASM_EXPORT void path_quadraticBezierTo(SkPath *path, SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2)
SKWASM_EXPORT void path_addArc(SkPath *path, const SkRect *oval, SkScalar startAngle, SkScalar sweepAngle)
SKWASM_EXPORT void path_relativeLineTo(SkPath *path, SkScalar x, SkScalar y)
SKWASM_EXPORT void path_setFillType(SkPath *path, SkPathFillType fillType)
SKWASM_EXPORT void path_addRRect(SkPath *path, const SkScalar *rrectValues)
SKWASM_EXPORT void path_dispose(SkPath *path)
SKWASM_EXPORT void path_addPath(SkPath *path, const SkPath *other, const SkScalar *matrix33, SkPath::AddPathMode extendPath)
SKWASM_EXPORT void path_relativeConicTo(SkPath *path, SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar w)
SKWASM_EXPORT void path_transform(SkPath *path, const SkScalar *matrix33)
SKWASM_EXPORT bool path_contains(SkPath *path, SkScalar x, SkScalar y)
SKWASM_EXPORT void path_cubicTo(SkPath *path, SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar x3, SkScalar y3)
SKWASM_EXPORT void path_conicTo(SkPath *path, SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar w)
SKWASM_EXPORT void path_lineTo(SkPath *path, SkScalar x, SkScalar y)
SKWASM_EXPORT SkPathFillType path_getFillType(SkPath *path)
SKWASM_EXPORT void path_relativeCubicTo(SkPath *path, SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar x3, SkScalar y3)
SKWASM_EXPORT void path_moveTo(SkPath *path, SkScalar x, SkScalar y)
SKWASM_EXPORT void path_addOval(SkPath *path, const SkRect *oval)
SKWASM_EXPORT void path_arcToRotated(SkPath *path, SkScalar rx, SkScalar ry, SkScalar xAxisRotate, SkPath::ArcSize arcSize, SkPathDirection pathDirection, SkScalar x, SkScalar y)
SKWASM_EXPORT void path_relativeMoveTo(SkPath *path, SkScalar x, SkScalar y)