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

Method GTK2.GdkDrawable()->draw_point()


Method draw_point

GDK2.Drawable draw_point(GTK2.GdkGC gc, int x, int y)

Description

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