1. Pixmap woes
- Posted by Greg Haberek <g.haberek at comcast.net> Apr 03, 2003
- 322 views
I take it Rect routines do not work on Pixmaps? I keep getting errors when trying to getRect() or setRect() of a Pixmap. Is there something I'm doing wrong? Or am I missing something? I want to use a Pixmap as a buffer for drawing text on a window without flashing. Please help! ~Greg g.haberek at comcast.net
2. Re: Pixmap woes
- Posted by Derek Parnell <ddparnell at bigpond.com> Apr 03, 2003
- 315 views
On Wed, 02 Apr 2003 23:55:08 -0500, Greg Haberek <g.haberek at comcast.net> wrote: > > I take it Rect routines do not work on Pixmaps? I keep getting errors > when trying to getRect() > or setRect() of a Pixmap. Is there something I'm doing wrong? Or am I > missing something? I want > to use a Pixmap as a buffer for drawing text on a window without > flashing. Please help! > Well getRect() should work for PixMaps. What is the error you are getting? setRect() will not work on PixMaps. Use setCtlSize instead. For PixMaps, you can't set the top and left attributes because they don't exist, you can only set the width and height. However, I really should just quietly redirect setRect to setCtlSize for PixMaps. -- cheers, Derek Parnell