1. RE: Win32lib graphics routines and pixmaps
- Posted by ddparnell at bigpond.com Feb 21, 2001
- 388 views
- Last edited Feb 22, 2001
Hi, have you actually tried them with a PixMap? I know the docs say "window", but often that just means a control. I can't test this myself at the moment, so I'm just guessing that they might work. If, after testing, they still don't work give me another reminder to investigate. --------- cheers Derek > -----Original Message----- > From: keroltarr at HOTMAIL.COM [mailto:keroltarr at HOTMAIL.COM] > Sent: Thursday, February 22, 2001 1:34 PM > To: EUforum > Subject: Win32lib graphics routines and pixmaps > > > The following Win32lib routines don't work on Pixmaps: > > setPenColor() > setPenPosition() > drawRectangle() > wPuts() > setFont() > drawEllipse() > > I need them to. I use pixmaps as virtual screens in a game I am > writing in Win32lib. I want to be able to draw all my graphics > and text to a virtual screen and then blit it to the window > but these routines need a Window handle in the first parmeter. > > later, > Lewis Townsend
2. RE: Win32lib graphics routines and pixmaps
- Posted by keroltarr at HOTMAIL.COM Feb 22, 2001
- 380 views
Hello Derek, David, all, >Hi, >have you actually tried them with a PixMap? I know the docs say "window", >but often that just means a control. I can't test this myself at the >moment, >so I'm just guessing that they might work. If, after testing, they still >don't work give me another reminder to investigate. >--------- >cheers >Derek My bad. I just tried them and they DO work. The reason I thought they didn't was because the first time I tried, I forgot to set the pen color and so black on black doesn't show up too well. I checked the doc and saw that they wanted a WINDOW handle so I dind't even try any more. Thanks for fixing my problem even though it was a "user error" instead of a bug. later, Lewis Townsend. PS: my game is coming along nicely now. I should have a demo ready soon. No, it's not the Karitaren game I have been working on forever but a different one. A sort of "classic" game, revamped, use your imaginations.
3. RE: Win32lib graphics routines and pixmaps
- Posted by ddparnell at bigpond.com Feb 22, 2001
- 397 views
- Last edited Feb 23, 2001
Hi Lewis, > Thanks for fixing my problem even though it was a "user error" > instead of a bug. It probably means that the docs could be improved though. --- cheers Derek.