Glimmr Simple Graphics Window

version 1/100805 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Section: Using GSGW with Glimmr Canvas-Based Drawing

    When used with Glimmr Canvas-Based Drawing, GSGW will automatically create a canvas and associate it with the graphics-window. This canvas is called the "graphics-canvas". If we don't assign a size or a background image to the graphics-canvas, it will be sized at 600 by 450. Any g-elements created will automatically be associated with the graphics-canvas unless otherwise specified in the declaration of the element.

    To change the canvas, set the properties described in Glimmr Canvas-Based Drawing, e.g.:

        The canvas-width of the graphics-canvas is 400.
        The canvas-height of the graphics-canvas is 900.