Glimmr Canvas-Based Drawing

version 2/101030 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Part - Default canvas-based drawing rule

    A window-drawing rule for a graphics g-window (called the window) (this is the default canvas-based drawing rule):
        if the window is g-present:
            #if utilizing Glimmr debugging;
            say "[>console][paragraph break][CBD]Following the default canvas-based drawing rule for the window [i][window][/i].[<]";
            #end if;
            carry out the scaling activity with the window;
            carry out the offset calculation activity with the window;
            carry out the window-framing adjustment activity with the window;
            clear the window;
            carry out the drawing the canvas background activity with the window;
            carry out the drawing the active elements activity with the window.

    The default canvas-based drawing rule is listed last in the window-drawing rules.

    The window-drawing rules have default success.