Glimmr Canvas Editor

version 1/100805 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter - Command for drawing a text string

    Drawing a string is an action applying to one value. Understand "draw a [g-string]" or "draw [g-string]" or "paint [g-string]" or "paint a [g-string]" or "text-paint [a g-string]" or "text-paint a [g-string]" as drawing a string.

    Carry out drawing a string:
        now the element-selection set is {};
        follow the window-drawing rules for the working window;
        say "Click in the editor window to set the location of the [g-string understood].";
        now drawing mode is true;
        make active the button of the g-string understood;
        follow the window-drawing rules for the drawing-window;
        follow the window-drawing rules for the help-window;
        change the currently drawn element to the progenitor of the g-string understood;
        suspend line input.