pub fn fill_path_with_paint<'a>(
src: &Path,
paint: &Paint,
dst: &mut Path,
cull_rect: impl Into<Option<&'a Rect>>,
ctm: impl Into<Option<Matrix>>,
) -> bool
Expand description
Returns the filled equivalent of the stroked path.
src
-Path
read to create a filled versionpaint
- uses settings for stroke cap, width, miter, join, and patheffect.dst
- results are written to this builder.cull_rect
- optional limit passed tocrate::PathEffect
ctm
- matrix to take into acount for increased precision (if it scales up).
Returns: true
if the result can be filled, or false
if it is a hairline (to be stroked).