@@ -9,54 +9,54 @@ module UIng
99 end
1010
1111 def set_identity : self
12- LibUI .draw_matrix_set_identity(self . to_unsafe)
12+ LibUI .draw_matrix_set_identity(to_unsafe)
1313 self
1414 end
1515
1616 def translate (x : Float64 , y : Float64 ) : self
17- LibUI .draw_matrix_translate(self . to_unsafe, x, y)
17+ LibUI .draw_matrix_translate(to_unsafe, x, y)
1818 self
1919 end
2020
2121 def scale (x_center : Float64 , y_center : Float64 , x : Float64 , y : Float64 ) : self
22- LibUI .draw_matrix_scale(self . to_unsafe, x_center, y_center, x, y)
22+ LibUI .draw_matrix_scale(to_unsafe, x_center, y_center, x, y)
2323 self
2424 end
2525
2626 def rotate (x : Float64 , y : Float64 , amount : Float64 ) : self
27- LibUI .draw_matrix_rotate(self . to_unsafe, x, y, amount)
27+ LibUI .draw_matrix_rotate(to_unsafe, x, y, amount)
2828 self
2929 end
3030
3131 def skew (x : Float64 , y : Float64 , x_amount : Float64 , y_amount : Float64 ) : self
32- LibUI .draw_matrix_skew(self . to_unsafe, x, y, x_amount, y_amount)
32+ LibUI .draw_matrix_skew(to_unsafe, x, y, x_amount, y_amount)
3333 self
3434 end
3535
3636 def multiply (src : Matrix ) : self
37- LibUI .draw_matrix_multiply(self . to_unsafe, src.to_unsafe)
37+ LibUI .draw_matrix_multiply(to_unsafe, src.to_unsafe)
3838 self
3939 end
4040
4141 def invertible ? : Bool
42- LibUI .draw_matrix_invertible(self . to_unsafe)
42+ LibUI .draw_matrix_invertible(to_unsafe)
4343 end
4444
4545 def invert : Bool
46- LibUI .draw_matrix_invert(self . to_unsafe)
46+ LibUI .draw_matrix_invert(to_unsafe)
4747 end
4848
4949 def transform_point (x : Float64 , y : Float64 ) : {Float64 , Float64 }
5050 x2 = x
5151 y2 = y
52- LibUI .draw_matrix_transform_point(self . to_unsafe, pointerof (x2), pointerof (y2))
52+ LibUI .draw_matrix_transform_point(to_unsafe, pointerof (x2), pointerof (y2))
5353 {x2, y2}
5454 end
5555
5656 def transform_size (x : Float64 , y : Float64 ) : {Float64 , Float64 }
5757 x2 = x
5858 y2 = y
59- LibUI .draw_matrix_transform_size(self . to_unsafe, pointerof (x2), pointerof (y2))
59+ LibUI .draw_matrix_transform_size(to_unsafe, pointerof (x2), pointerof (y2))
6060 {x2, y2}
6161 end
6262
0 commit comments