Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/primitive
/ fix
Function
fix
primitive/raster.go:8–10 ·
view source on GitHub ↗
(x float64)
Source
from the content-addressed store, hash-verified
6
)
7
8
func
fix(x float64) fixed.Int26_6 {
9
return
fixed.Int26_6(x * 64)
10
}
11
12
func
fixp(x, y float64) fixed.Point26_6 {
13
return
fixed.Point26_6{fix(x), fix(y)}
Callers
2
Rasterize
Method · 0.85
fixp
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected