Method: TECSCDE::View::CairoMatrix#set_rotate0

Defined in:
lib/tecscde/view/cairo_matrix.rb

#set_rotate0(x = 0, y = 0) ⇒ Object

CairoMatrix#set_rotate0

no rotate, then shift (x, y)



71
72
73
74
# File 'lib/tecscde/view/cairo_matrix.rb', line 71

def set_rotate0(x = 0, y = 0)
  set(1, 0, 0, 1, x, y)
  self
end