# File lib/gd2/canvas.rb, line 284 def translate(tx, ty, &block) affine_transform(1, 0, 0, 1, tx, ty, &block) end