[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    KRootPixmap usage
From:       Roberto Alsina <ralsina () conectiva ! com ! ar>
Date:       2001-04-06 0:10:35
[Download RAW message or body]


I've been playing with KRootPixmap, and I just don't get how to use it.

Specifically, how can I draw text on a widget using it?

If I draw in transparent mode, when I overwrite the text, the old one is
not erased (that's to be expected :-)

But if I draw in opaque mode, the pixmap is obscured!

I guess I should somehow clear the area before drawing, but how?
If I use eraseRect() it draws a solid square?

I tried looking at Konsole's sources, but I didn't understand how they do
it.

 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  ralsina@conectiva.com.ar
 (_Y_.)' ._   ) `._`.  " -.-'   Director t=E9cnico
  _..`-'_..-_/ /-'_.'           Conectiva SA
(l)-'' ((i).' ((!.'             Buenos Aires - Argentina
                                KDE Developer (MFCH)
Futuaris nisi irrisus ridebis. (Carlton, De rerum comoedia)

 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic