pub fn stroke<P: Pixel>(
bitmap: &mut Bitmap<P>,
clip: &Clip,
path: &Path,
pipe: &PipeState<'_>,
src: &PipeSrc<'_>,
matrix: &[f64; 6],
params: &StrokeParams<'_>,
)Expand description
Top-level stroke entry point.
Mirrors Splash::stroke.
Steps:
- Flatten curves.
- Apply dashing if a dash array is set.
- Choose hairline (zero line-width) or wide rendering.