Re: A simple GdkDrawingArea question



Thanks. That was a problem of colormaps. Using
gdk_gc_set_rgb_fg_color() made it.


On Fri, 29 Oct 2004 14:28:22 +0200, Sven Neumann <sven gimp org> wrote:
> Hi,
> 
> José Antonio Sánchez <getaceres gmail com> writes:
> 
> > I need a pointer to a graphic context and that's my problem. I don't
> > know how to create a custom graphic context. I don't know how to parse
> > a foreground or background color to the graphic context.
> 
> gdk_gc_new() is described in
> http://developer.gnome.org/doc/API/2.0/gdk/gdk-Graphics-Contexts.html
> It also features gdk_gc_set_rgb_fg_color() and
> gdk_gc_set_rgb_bg_color().
> 
> 
> Sven
>



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