alpha for text?

2005-07-15 Thread Paul Pogonyshev
Hi, Has anyone rendered text with alpha channel (i.e. semitransparent text) in GDK framework? So far my best solution is to render black on white to a GdkImage, get it back in a GdkPixbuf and then add color/transparency manually. Not actually too difficult, but I want to ask in case somebody can

Re: alpha for text?

2005-07-15 Thread John Cupitt
On 7/15/05, Paul Pogonyshev <[EMAIL PROTECTED]> wrote: > Has anyone rendered text with alpha channel (i.e. semitransparent text) > in GDK framework? So far my best solution is to render black on white > to a GdkImage, get it back in a GdkPixbuf and then add color/transparency > manually. Not actu

Re: alpha for text?

2005-07-15 Thread Paul Pogonyshev
John Cupitt wrote: > On 7/15/05, Paul Pogonyshev <[EMAIL PROTECTED]> wrote: > > Has anyone rendered text with alpha channel (i.e. semitransparent text) > > in GDK framework? So far my best solution is to render black on white > > to a GdkImage, get it back in a GdkPixbuf and then add color/transpa

Re: alpha for text?

2005-07-15 Thread John Cupitt
Hi again, On 7/16/05, Paul Pogonyshev <[EMAIL PROTECTED]> wrote: > John Cupitt wrote: > > On 7/15/05, Paul Pogonyshev <[EMAIL PROTECTED]> wrote: > > > Has anyone rendered text with alpha channel (i.e. semitransparent text) > > > in GDK framework? So far my best solution is to render black on whit

Re: alpha for text?

2005-07-16 Thread Paul Pogonyshev
John Cupitt wrote: > Hi again, > > On 7/16/05, Paul Pogonyshev <[EMAIL PROTECTED]> wrote: > > John Cupitt wrote: > > > On 7/15/05, Paul Pogonyshev <[EMAIL PROTECTED]> wrote: > > > > Has anyone rendered text with alpha channel (i.e. semitransparent > > > > text) in GDK framework? So far my best sol

Re: alpha for text?

2005-07-18 Thread Olexiy Avramchenko
Paul Pogonyshev wrote: I have not coded it yet, just pondered about it. I was going to render with gdk_draw_layout() to a GdkImage (which is a client-side GdkDrawable, as said in the reference.) And that proceed with GdkPixbuf. So, like you described, except that layout is rendered directly to

Re: alpha for text?

2005-07-18 Thread Paul Pogonyshev
Olexiy Avramchenko wrote: > Paul Pogonyshev wrote: > > I have not coded it yet, just pondered about it. I was going to render > > with gdk_draw_layout() to a GdkImage (which is a client-side GdkDrawable, > > as said in the reference.) And that proceed with GdkPixbuf. So, like > > you described,