add a very basic cusp removal unit test
[PyX.git] / manual / color.py
blob380dd2c73e236d61f788889e4df5f4be3ca39b5c
1 from pyx import *
3 c = canvas.canvas()
4 c.fill(path.rect(0, 0, 7, 3), [color.gray(0.8)])
5 c.fill(path.rect(1, 1, 1, 1), [color.rgb.red])
6 c.fill(path.rect(3, 1, 1, 1), [color.rgb.green])
7 c.fill(path.rect(5, 1, 1, 1), [color.rgb.blue])
8 c.writePDFfile()