[pygtk] Re: [cairo] pycairo - translate question

2008-07-09 Thread Carl Worth
On Mon, 5 Nov 2007 19:57:58 +0200, Donn wrote: > Thanks. Having fun so far! That warms my heart. > Is there a way to set the drawing origin of a set of commands> such that it starts at 0,0 but in the center of the "page"? (Or > should that be "context", I am still fuzzy about that.) Center of t

[pygtk] Re: [cairo] pycairo - translate question

2008-07-09 Thread Carl Worth
On Mon, 5 Nov 2007 17:38:19 +0200, Donn wrote: > Hi, not sure if this is the appropriate list. Yes, definitely the right list. Welcome, Donn! > Can one, within a single cairo context, do this: > > while True: > ctx.translate(0,0) > > ctx.translate(10,10) > > ctx.translate(50,50) >