Glimmr Canvas-Based Drawing

version 2/101030 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Direct image-maps

    A direct image-map is a kind of image-map.

    The specification of a direct image-map is "A direct image-map is specified using a list of lists of figure names called the 'figure-array'. Each row in the list is a list of figures within the list of lists. Authors may use the entry 'Figure of Null' to draw nothing for a given tile of a direct image-map.

    An author must specify the dimensions in canvas units of each cell of the grid; if necessary, all images will be resized to fit into the provided dimensions. This is done by setting the 'tile-width' and 'tile-height' of the image-map.

    In order to take advantage of automated construction of 'linked command arrays' using the provided phrase, authors must provide a translation table, with a 'figure' column containing a figure name, and a 'linked command' column specifying the text of the replacement command to be associated with the hyperlinked image."

    A direct image-map has a list of lists of figure names called the figure-array. The figure-array is {}.

    A direct image-map has a number called the tile-width. The tile-width is usually 1.
    A direct image-map has a number called the tile-height. The tile-height is usually 1.