Re: drawing text and GdkPixbuf

>  Here's the situation. I have a GdkPixbuf. I want to draw some text and
>  overlay it on top of the existing stuff in the pixbuf within a particular
>  rectangle. How can I do that? Can I create a GdkBitmap and draw into that
>  and then composite that into the GdkPixbuf somehow? Is this whole thing just
>  a misguided X novice problem?
>  Do I have to suck fonts out of the X server like the GnomeCanvasText canvas
>  item does?

You can do that, but it is gross and slow.

What do you need this for?  There may be an efficient way to do it all


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]