Glimmr Drawing Commands

version 2/101030 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Short form of figure image-map

    To image-map (IMG_MAP - a list of lists of figure names) at (COORD1 - a list of numbers) tile-size/size (W - a number) by/x (H - a number) pixel/pixels/px/--, backgrounded:
        if the type of the current graphics window is g-graphics:
            let x1 be entry 1 of coord1;
            let y1 be entry 2 of coord1;
            if backgrounded:
                display an image-map in (current graphics window) at (X1) by (Y1) using (IMG_MAP) with tile-size (W) by (H) and background (current background-color);
            otherwise:
                display an image-map in (current graphics window) at (X1) by (Y1) using (IMG_MAP) with tile-size (W) by (H) px;
        otherwise:
            say "*** Error: Short-form image-map drawing directive ignored. The current graphics window global was not correctly specified."