MCPcopy Create free account
hub / github.com/andlabs/ui / Scale

Method Scale

draw.go:373–379  ·  view source on GitHub ↗

TODO

(xCenter float64, yCenter float64, x float64, y float64)

Source from the content-addressed store, hash-verified

371
372// TODO
373func (m *DrawMatrix) Scale(xCenter float64, yCenter float64, x float64, y float64) {
374 cm := m.toLibui()
375 C.uiDrawMatrixScale(cm,
376 C.double(xCenter), C.double(yCenter),
377 C.double(x), C.double(y))
378 m.fromLibui(cm)
379}
380
381// TODO
382func (m *DrawMatrix) Rotate(x float64, y float64, amount float64) {

Callers

nothing calls this directly

Calls 2

toLibuiMethod · 0.95
fromLibuiMethod · 0.95

Tested by

no test coverage detected