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

Method Rotate

draw.go:382–386  ·  view source on GitHub ↗

TODO

(x float64, y float64, amount float64)

Source from the content-addressed store, hash-verified

380
381// TODO
382func (m *DrawMatrix) Rotate(x float64, y float64, amount float64) {
383 cm := m.toLibui()
384 C.uiDrawMatrixRotate(cm, C.double(x), C.double(y), C.double(amount))
385 m.fromLibui(cm)
386}
387
388// TODO
389func (m *DrawMatrix) Skew(x float64, y float64, xamount float64, yamount float64) {

Callers

nothing calls this directly

Calls 2

toLibuiMethod · 0.95
fromLibuiMethod · 0.95

Tested by

no test coverage detected