push_stroke
Description:
Strokes the given path
with the attributes given by stroke
and an image.
The image is recorded until the next call to [method@Gtk.Snapshot.pop].
Note that the strokes are subject to the same transformation as everything else, so uneven scaling will cause horizontal and vertical strokes to have different widths.
If you want to stroke the path with a color, [method@Gtk.Snapshot.append_stroke] may be more convenient.
Parameters:
this |
a Snapshot |
path |
The path to stroke |
stroke |
The stroke attributes |