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>>,
) -> boolExpand description
Returns the filled equivalent of the stroked path.
src-Pathread 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::PathEffectctm- 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).