8 9 10
# File 'lib/transform.rb', line 8 def apply(p) { :x => @origin[:x] + p[:x] * @scale[:x], :y => @origin[:y] + p[:y] * @scale[:y]} end