mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
op/clip: export Path's current pen position
Signed-off-by: Sebastien Binet <s@sbinet.org>
This commit is contained in:
committed by
Elias Naur
parent
7054ba622a
commit
3fe0f62fa3
@@ -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.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user