LablTk: canvas

Module Canvas allows to put several kinds of figures in a window: rectangles, ovals, polygons, lines, bitmap images, texts...

A polygon, an oval and a bitmap in the same window

For the polygon: xys specifies the list of coordinates of the vertices.

For the oval: we give the coordinates of the center,
the abscissa of the rightmost point, and the ordinate of the lowest point.
        

The file describing the bitmap is the same as in the bitmap section: gs_l.xbm.



François Thomasset -- INRIA, Rocquencourt -- November 2007
Email: Francois dot Thomasset at inria dot fr