[pygtk] Problems with coordinates in a drawing area control

2011-10-14 Thread craf
Hi everyone! I'm trying to learn PyCairo, and using the following code, I created a window with a scale of 200 x 200 CODE:- #!/usr/bin/python import gtk class Window(): def __init__(self): self.window = gtk.Window()

Re: [pygtk] Problems with coordinates in a drawing area control

2011-10-14 Thread Jamie Bliss
The X requires no change. Just flip and translate the Y. On Fri, Oct 14, 2011 at 12:52 PM, craf pyclut...@gmail.com wrote: Hi everyone! I'm trying to learn PyCairo, and using the following code, I created a window with a scale of 200 x 200 CODE:-

Re: [pygtk] Problems with coordinates in a drawing area control

2011-10-14 Thread craf
: Re: [pygtk] Problems with coordinates in a drawing area control Fecha: Fri, 14 Oct 2011 18:32:03 -0400 The X requires no change. Just flip and translate the Y. On Fri, Oct 14, 2011 at 12:52 PM, craf pyclut...@gmail.com wrote: Hi everyone! I'm trying to learn PyCairo, and using the following

Re: [pygtk] Problems with coordinates in a drawing area control

2011-10-14 Thread Jamie Bliss
...@gmail.com Para: craf pyclut...@gmail.com Cc: Pygtk pygtk@daa.com.au Asunto: Re: [pygtk] Problems with coordinates in a drawing area control Fecha: Fri, 14 Oct 2011 18:32:03 -0400 The X requires no change. Just flip and translate the Y. On Fri, Oct 14, 2011 at 12:52 PM, craf pyclut...@gmail.com wrote