# File lib/gd2/canvas.rb, line 41 def transform!(matrix) @x, @y = (Matrix.row_vector([@x, @y, 1]) * matrix)[0, 0..1] self end