[Gtk-sharp-list] CanvasLine

Steve Homer stephen.homer1@ntlworld.com
31 May 2003 20:21:24 +0100


Was this ever resolved? It doesn't seem to work with current cvs.

On Mon, 2003-04-14 at 22:40, Glenn Pierce wrote:
> Sorry I didn't see it had an example had been sent today :)
> 
> Thanks anyway.
> 
> 
> On Mon, 2003-04-14 at 22:19, Glenn Pierce wrote: 
> > Sorry if this has been answered already, I have search the archives
> > but found little.
> > 
> > Are there any examples of how to get draw lines onto a canvas the
> > code I have does not display the line.
> > 
> > 
> > Canvas canvas = new Canvas();
> > CanvasLine item1 = new CanvasLine(canvas.Root());
> > double[] coords = {100,100,300,500};
> >                                                                                                                                      
> > item1.Points = CanvasPoints.New(coords);
> > item1.FillColor = "black";
> > item1.WidthPixels= 1;
> > item1.WidthUnits = 1.0;
> > item1.ArrowShapeA = 3.0;
> > 
> > 
> > Thanks for the help.
> > 
> > -- 
> > Glenn Pierce <glennpierce@connectfree.co.uk>
> _____________________________
> Glenn Pierce
> 
> home phone: 0208 279 4624
> email: glennpierce@connectree.co.uk
> _____________________________
> 
>