# File lib/as_canvas.rb, line 61
  def set
    GL.MatrixMode(GL::PROJECTION)
    GL.LoadIdentity
    GLU.Ortho2D(0, @w, 0, @h)
    GL.Translate(@kx, @ky, 0)
    GL.Rotate(@angle, 0,0,1)
    GL.Scale(@scale, @scale, 1)
    GL.Translate(-@pos.x, -@pos.y, 0)
    GL.MatrixMode(GL::MODELVIEW)
  end