Compare commits
1 Commits
4dc3773459
...
34e652cb5e
Author | SHA1 | Date | |
---|---|---|---|
34e652cb5e |
@ -288,7 +288,8 @@ func (r *Renderer) Line(p, q geom.PointF32, color color.Color, thickness float32
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *Renderer) Location() geom.Point {
|
func (r *Renderer) Location() geom.Point {
|
||||||
return geom.Pt(r.disp.Position()...)
|
x, y := r.disp.Position()
|
||||||
|
return geom.Pt(x, y)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *Renderer) Move(to geom.Point) {
|
func (r *Renderer) Move(to geom.Point) {
|
||||||
|
Loading…
Reference in New Issue
Block a user