vg: consider migrating vg.Length and vg.Point to x/image/math/fixed
Open
enhancement
question
- Dominant language
- Go
- Stars
- 3k
- Forks
- 201
- PR merge metrics
- No merged PRs in 30d
Description
The package [`golang.org/x/image/math/fixed`](https://godoc.org/golang.org/x/image/math/fixed) defines fixed point integer types such as `fixed.Int26_6` and `fixed.Int52_12` (and corresponding `Point` and `Rectangle` struct types).
migrating `vg.Length` from:
``` go
package vg
type Length float64
```
to:
``` go
package vg
import "golang.org/x/image/math/fixed"
type Length fixed.Int26_6
```
would (_perhaps_) ease interoperabiliy with all the other 2D packages.
Contributor guide
Assessment
This issue has not been assessed yet.