Flutter Engine
The Flutter Engine
|
Functions | |
SK_API bool | FillPathWithPaint (const SkPath &src, const SkPaint &paint, SkPath *dst, const SkRect *cullRect, SkScalar resScale=1) |
SK_API bool | FillPathWithPaint (const SkPath &src, const SkPaint &paint, SkPath *dst, const SkRect *cullRect, const SkMatrix &ctm) |
SK_API bool | FillPathWithPaint (const SkPath &src, const SkPaint &paint, SkPath *dst) |
Definition at line 19 of file SkPathUtils.cpp.
bool skpathutils::FillPathWithPaint | ( | const SkPath & | src, |
const SkPaint & | paint, | ||
SkPath * | dst, | ||
const SkRect * | cullRect, | ||
const SkMatrix & | ctm | ||
) |
Definition at line 29 of file SkPathUtils.cpp.
bool skpathutils::FillPathWithPaint | ( | const SkPath & | src, |
const SkPaint & | paint, | ||
SkPath * | dst, | ||
const SkRect * | cullRect, | ||
SkScalar | resScale = 1 |
||
) |
Returns the filled equivalent of the stroked path.
src | SkPath read to create a filled version |
paint | SkPaint, from which attributes such as stroke cap, width, miter, and join, as well as pathEffect will be used. |
dst | resulting SkPath; may be the same as src, but may not be nullptr |
cullRect | optional limit passed to SkPathEffect |
resScale | if > 1, increase precision, else if (0 < resScale < 1) reduce precision to favor speed and size |
Definition at line 23 of file SkPathUtils.cpp.