tcanvas

NAME

   tcanvas - an extension of the canvas widget 

VERSION

   1.0

LICENSE

   GPL

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)

Read more:

  • README.txt [L1 ]
  • tcanvas.txt [L2 ]

http://web.tiscali.it/irrational/tcl/tcanvas1.0/demo.gif


Download:

  • tcanvas1.0.zip [L3 ]

APN An updated version with a less restrictive license is at [L4 ].