fn setup_cr_for_stroke(cr: &Context, stroke: &Stroke)