![]() |
Skia
2D Graphics Library
|
Functions | |
| SK_API bool | FillPathWithPaint (const SkPath &src, const SkPaint &paint, SkPath *dst, const SkRect *cullRect, SkScalar resScale=1) |
| Returns the filled equivalent of the stroked path. More... | |
| 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) |
| SK_API bool skpathutils::FillPathWithPaint | ( | const SkPath & | src, |
| const SkPaint & | paint, | ||
| SkPath * | dst | ||
| ) |
| SK_API bool skpathutils::FillPathWithPaint | ( | const SkPath & | src, |
| const SkPaint & | paint, | ||
| SkPath * | dst, | ||
| const SkRect * | cullRect, | ||
| const SkMatrix & | ctm | ||
| ) |
| SK_API 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 |