Re: [gtk-list] Re: drawing pixel ??



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. 



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