[9161] 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 17:28:37 1998

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

Hi Brandon, could I abuse of your amability?

I had moditecated the scribble-simple program.

And I made this:
	In function where draw a small box (draw_brush) I add that:
		
		etc...

		GdkGC *color;
		color = GetPen (100,0,0)

		etc....

	 	gdk_draw_point (pixmap,color,update_rect.x, update_rect.y ); 

		gtk_widget_draw (widget, &update_rect);


But it continua drawing a BLACK pixel. I couldn't change his color? Why
please?

Sorry but there isn't a manual for gdk ? I don't find nothing in internet.

Thanks. 

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


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