Re: Text Animation since gdk_draw_text
- From: Muthu <dearestchum yahoo co in>
- To: gtk-app-devel-list gnome org
- Subject: Re: Text Animation since gdk_draw_text
- Date: Fri, 8 Oct 2004 00:58:28 -0700 (PDT)
Hi!
I did a marquee widget not so long ago.
There I used to save the text onto a pixmap
after pango rendered it, using the gdk_draw_text.
Then apply effects to the pixmap.
Finally on the expose event just copy the pixmap
onto the screen.
I used the pango_layout to create new text,
and then set pango_attributes so that I could
finish the rendering and draw to a pixmap.
Try this, it will work.
Cheers
Muthu.
I Love GTK+.
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]