Method: Transform#apply

Defined in:
lib/transform.rb

#apply(p) ⇒ Object



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