implemented font slanting via psfont.map
[PyX/mjg.git] / examples / drawing2 / clipping.txt
blob6467b783a852bb021d660086e06e33eeb738a005
1 Clipping a canvas
3 This example shows how drawing on a canvas can be clipped to a predefined
4 region. The thick line is drawn two times, first in black onto an ordinary
5 canvas, the second time in red onto a canvas which is clipped to the indicated
6 circle. ...
8 The clipping property of a canvas must be specified on creation with an
9 instance of `canvas.clip`, which takes a path as an argument. Note that this
10 way of clipping will probably be removed in future releases of PyX. Instead, it
11 will become part of the [box concept ../../roadmap.html].