Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK
GTK.DrawingArea

Method GTK.DrawingArea()->draw_point()


Method draw_point

GTK.DrawingArea draw_point(GDK.GC gc, int x, int y)

Description

img_begin w = GTK.DrawingArea()->set_usize(10,10); delay: g = GDK.GC(w)->set_foreground( GDK.Color(255,0,0) ); delay: for(int x = 0; x<10; x++) w->draw_point(g, x, x); img_end