Version 1 of tcanvas

Updated 2004-02-14 21:44:56

NAME : tcanvas - an extension of the canvas widget

VERSION
1.0
SYNOPSIS
tcanvas pathName ?options?
   INTRODUCTION : tcanvas (Tiled-canvas) is an extension of the canvas widget.

A Tiled-canvas is simply a canvas with an image item acting as background.

STANDARD OPTIONS
all "canvas" options are supported.
   TCANVAS-SPECIFIC OPTIONS   : 
  -bgimage _image_
    Specifies an image to display as background, which must have been created 
    with the "image create" command. 
    If _image_ is the empty string, the background is disabled
  -bgzoom _n_
    _n_ is an integer value (default 1). With this option, each pixel in the
    source image will be expanded into a block of n x n pixels.
  -bgmargin _n_
    _n_ is an integer value ( _n_ >= 0 ; default is 0).
    the background image will cover all the canvas visible surface,
    leaving a margin of _n_ pixels.
WIDGET COMMANDS
.. all "canvas" widget commands are supported.
   EXTENDED COMMANDS :
   pathName clean
    delete all items on canvas (leaving the background-image intact)


Download: