MCPcopy
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
8func fix(x float64) fixed.Int26_6 {
9 return fixed.Int26_6(x * 64)
10}
11
12func fixp(x, y float64) fixed.Point26_6 {
13 return fixed.Point26_6{fix(x), fix(y)}

Callers 2

RasterizeMethod · 0.85
fixpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected