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

Method fromLibui

draw.go:355–363  ·  view source on GitHub ↗
(cm *C.uiDrawMatrix)

Source from the content-addressed store, hash-verified

353}
354
355func (m *DrawMatrix) fromLibui(cm *C.uiDrawMatrix) {
356 m.M11 = float64(cm.M11)
357 m.M12 = float64(cm.M12)
358 m.M21 = float64(cm.M21)
359 m.M22 = float64(cm.M22)
360 m.M31 = float64(cm.M31)
361 m.M32 = float64(cm.M32)
362 C.pkguiFreeMatrix(cm)
363}
364
365// TODO
366func (m *DrawMatrix) Translate(x float64, y float64) {

Callers 6

TranslateMethod · 0.95
ScaleMethod · 0.95
RotateMethod · 0.95
SkewMethod · 0.95
MultiplyMethod · 0.95
InvertMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected