# File lib/as_transform2d.rb, line 8 def self.scale(x, y) AS::Transform2D[ [x, 0, 0, 0], [0, y, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1], ] end