op/clip: export Path's current pen position

Signed-off-by: Sebastien Binet <s@sbinet.org>
This commit is contained in:
Sebastien Binet
2020-08-27 11:55:00 +00:00
committed by Elias Naur
parent 7054ba622a
commit 3fe0f62fa3
+3
View File
@@ -28,6 +28,9 @@ type Path struct {
start f32.Point
}
// Pos returns the current pen position.
func (p *Path) Pos() f32.Point { return p.pen }
// Op sets the current clip to the intersection of
// the existing clip with this clip.
//