[wxPython] HELP on (wx)Canvas - Affine Transf. - wxPython

Hi,

I'm considering using wxWindows (actually wxPython) in a simple
game-like (carrom) program, to be written in Python. I hope to be
able to use wxWindows for all my future (Python) programming involving
some GUI, so this simple app is also a learning tool.

My drawing needs are: interactive canvas (with some mouse interaction)
for the game and printing (EPS to be included in LaTeX docs).

I made some RTFM work and demo browsing (mainly wxPython, I'll prefere
to skip C++) but I have not seens any support for affine
transformations (with push and pop of local coordinates systems) or OO
construction of complex objects.

I think I'm missing something!

  Any advice?
  TIA, Luca.

PS

The only think I've (ok: Google has) found is the wxCanvas work of
Klaas Holwerda [1] but it seems to be still a work-in-progress. Is it
possible to have a look at it?

[1] Google copy has no images, and the original link
www.xs4all.nl/~kholwerd/wxstuff/canvas/htmldocbook/aap.html seems to
be broken. Where can I find a complete copy of the article?

The only think I've (ok: Google has) found is the wxCanvas work of
Klaas Holwerda [1] but it seems to be still a work-in-progress. Is it
possible to have a look at it?

[1] Google copy has no images, and the original link
www.xs4all.nl/~kholwerd/wxstuff/canvas/htmldocbook/aap.html seems to
be broken. Where can I find a complete copy of the article?

http://www.xs4all.nl/~kholwerd/wxstuff/canvas/

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

G'day,

For affine transformations at near-C++/C speed, see the Numeric package
(numeric.SourceForge.Net, I think). I understand that wxPython is shortly to
be able to take Numeric arrays as arguments to some new functions (see a
recent message on this list), which is really rather cool...

Just my U.S. 0.997whether cents worth...

Chris

···

-------------------------------------------------------------------------
Chris Fama <mailto:Chris.Fama@whollysnakes.com>
         or <mailto:Chris.Fama@uq.net.au>
Brisbane, Australia
Phone: (0/+61)(7) 3870 5639 {10am-10pm GMT+10 on both these numbers please}
Mobile: (0/+61)(400) 833 700
Chat with me as "crazypythonnut" using Yahoo! Instant Messenger.
-------------------------------------------------------------------------
Business page: <http://whollysnakes.com>
Personal page: <http://uq.net.au/~zzcfama&gt;
-------------------------------------------------------------------------

----- Original Message -----
From: "Luca Manini" <manini@eclipse-net.it>
To: "wx-py-users" <wxpython-users@lists.wxwindows.org>
Sent: Tuesday, November 27, 2001 1:14 AM
Subject: [wxPython] HELP on (wx)Canvas - Affine Transf. - wxPython

Hi,

I'm considering using wxWindows (actually wxPython) in a simple
game-like (carrom) program, to be written in Python. I hope to be
able to use wxWindows for all my future (Python) programming involving
some GUI, so this simple app is also a learning tool.

My drawing needs are: interactive canvas (with some mouse interaction)
for the game and printing (EPS to be included in LaTeX docs).

I made some RTFM work and demo browsing (mainly wxPython, I'll prefere
to skip C++) but I have not seens any support for affine
transformations (with push and pop of local coordinates systems) or OO
construction of complex objects.

I think I'm missing something!

Any advice?
TIA, Luca.

PS

The only think I've (ok: Google has) found is the wxCanvas work of
Klaas Holwerda [1] but it seems to be still a work-in-progress. Is it
possible to have a look at it?

[1] Google copy has no images, and the original link
www.xs4all.nl/~kholwerd/wxstuff/canvas/htmldocbook/aap.html seems to
be broken. Where can I find a complete copy of the article?

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

Chris Fama wrote:

G'day,

For affine transformations at near-C++/C speed, see the Numeric package
(numeric.SourceForge.Net, I think). I understand that wxPython is shortly to
be able to take Numeric arrays as arguments to some new functions (see a
recent message on this list), which is really rather cool...

Can you post some Numeric code for doing matrix transformation operations on array of 2D points for example?

regards,
Niki Spahiev