Method: TECSCDE::View::CairoMatrix#set_rotate90

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

#set_rotate90(x, y) ⇒ Object

CairoMatrix#set_rotate90

rotate 90 around (0, 0) then shift (x, y)



78
79
80
81
# File 'lib/tecscde/view/cairo_matrix.rb', line 78

def set_rotate90(x, y)
  set(0, -1, 1, 0, x, y)
  self
end