Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andlabs/ui
/ SetIdentity
Method
SetIdentity
draw.go:335–342 ·
view source on GitHub ↗
TODO
()
Source
from the content-addressed store, hash-verified
333
334
// TODO
335
func
(m *DrawMatrix) SetIdentity() {
336
m.M11 = 1
337
m.M12 = 0
338
m.M21 = 0
339
m.M22 = 1
340
m.M31 = 0
341
m.M32 = 0
342
}
343
344
func
(m *DrawMatrix) toLibui() *C.uiDrawMatrix {
345
cm := C.pkguiAllocMatrix()
Callers
1
DrawNewMatrix
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected