[Gtk-sharp-list] gnome canvas line / polygon

Max Stekelenburg max.stekelenburg@planet.nl
Wed, 02 Apr 2003 05:47:01 +0200

I seem to unable to figure out how to get a line or a polygon in the
canvas. CanvasRect,CanvasEllipse and CanvasText work fine.

I tried using just gnome# e.g:

CanvasPolygon poly=new CanvasPolygon(canvas.Root());
double [] pts2={95,5,95,45,115,45};

I also tried to create it by calling the libraries directly but get
stuck when i try to create the CanvasPoints.

BTW CanvasPoints prints the provided array of doubles to the console