Method: Processing::GraphicsContext#translate
- Defined in:
- lib/processing/graphics_context.rb
#translate(x, y) ⇒ nil #translate(x, y, z) ⇒ nil
Applies translation matrix to current transformation matrix.
1065 1066 1067 1068 1069 |
# File 'lib/processing/graphics_context.rb', line 1065 def translate(x, y, z = 0) assertDrawing__ @painter__.translate x, y, z nil end |