The following four functions return drawing surface descriptors for various target devices.

Subsections

  1. graphics.newwindow(w,h,[title])
  2. graphics.newimage(...)
  3. graphics.newps(w,h,filename)
  4. graphics.newpdf(w,h,filename)