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

Re: render fonts and get back the image by pixels



	I think GtkImag / GdkImage is what you want. But I'm not sure if
you can render fonts into it -- I've never used it myself. Look it up in
the tutorial. Hope it helps.

On Thu, 28 Oct 1999, Berci Norbert wrote:

> 
> Hi !
> 
> I have already sent a letter to this list, but unfortunately I have not
> received any replies to it. :( I thought this list is a forum of non trivial
> questions and the people who knows the answer. If my question is RTFM, or
> so beginner, tell me. But getting no answer is a very bad thing.
> 
> So please tell me which widget and which function(s) I have to use for
> the following:
> 
> 1. I want to draw on the widget both colour pixels and colour primitives
>    (lines, circles, etc.) by the gdk_draw_ series of functions.
> 
> 2. I want render colour fonts on it (e.g. display text on it)
> 
> 3. I want it displayed in the application's window, of course ;)
> 
> 4. I want to get the whole image by RGB values (or by colormap indexes,
>    but in this case I want to know the colormap index => RGB mappings,
>    obviously) so I can save it in a file for post processing.
> 
> I hope this time I receive an answer.
> 
> Thank you in advance
> 
> 

-- 
Gustavo J.A.M. Carneiro
World::Portugal::FEUP::DEEC::LEEC::TEC
[reinolinux.fe.up.pt/~ee96090]
                                       



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