[9156] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: drawing pixel ??

daemon@ATHENA.MIT.EDU (Francisco Cespedes Moreno)
Sat Oct 10 14:32:36 1998

Date: Sat, 10 Oct 1998 03:53:00 +0200 (CET)
From: fullpull@larural.es (Francisco Cespedes Moreno)
To: Brandon Long <blong@fiction.net>
cc: gtk-list@redhat.com
In-Reply-To: <19981009170235.B25859@shell9.ba.best.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


Brandon, to much thanks for your help, and sorry for my English, I'm
Spanish.

Well, now I can draw pixels, but how can I define his color?

I must do for my University a program who read a pic, and apply to it
filters. I think that I could do it draw pixel to pixel in a window. But I
don know how to change this:
>=20
> da =3D gtk_drawing_area_new ();
> gtk_drawing_area_size (GTK_DRAWING_AREA (da), 50, 50);
> gtk_container_add (GTK_CONTAINER (window), da);
> gtk_realize_widget (da);
> gdk_draw_point (da->window, da->style->black_gc, 10, 10);
=09=09=09=09^
=09=09=09=09|
=09=09=09 THAT IS THIS
>=20
How can I change this option, because I think that the color, doesn't it?

Well, too much thanks.
__________________________________________________________________________
Enrique Fco. C=E9spedes S=E1nchez
fullpull@larural.es
from Almer=EDa (Andaluc=EDa), Spain
__________________________________________________________________________
Politics is the ability to foretell what is going to happen tomorrow, next
week, next month and next year.  And to have the ability afterwards to
explain why it didn't happen.
                -- Winston Churchil

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post