Strokes the given path with the attributes given by stroke and an image.
The image is recorded until the next call to gtk.snapshot.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, gtk.snapshot.Snapshot.appendStroke may be more convenient.
The path to stroke
The stroke attributes
Strokes the given path with the attributes given by stroke and an image.
The image is recorded until the next call to gtk.snapshot.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, gtk.snapshot.Snapshot.appendStroke may be more convenient.