1. Pixmap woes

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

new topic     » topic index » view message » categorize

2. Re: Pixmap woes

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu