MCPcopy Create free account
hub / github.com/egonelbre/exp / Add

Method Add

textinput/font.go:12–17  ·  view source on GitHub ↗
(b Point)

Source from the content-addressed store, hash-verified

10type Point struct{ X, Y float32 }
11
12func (a Point) Add(b Point) Point {
13 return Point{
14 a.X + b.X,
15 a.Y + b.Y,
16 }
17}
18
19type GlyphRect struct {
20 Advance float32

Callers 1

LoadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected