[Gtk-sharp-list] CanvasLine
Glenn Pierce
glennpierce@connectfree.co.uk
14 Apr 2003 22:40:13 +0100
--=-ls8LvUJxVLfyafSpzhM3
Content-Type: multipart/alternative; boundary="=-CZJV9G/ox92NaEju4mdP"
--=-CZJV9G/ox92NaEju4mdP
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
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
_____________________________
--=-CZJV9G/ox92NaEju4mdP
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.1.10">
</HEAD>
<BODY>
Sorry I didn't see it had an example had been sent today <IMG SRC="cid:1050356412.4466.12.camel@salem" ALIGN="middle" ALT=":)" BORDER="0"><BR>
<BR>
Thanks anyway.<BR>
<BR>
<BR>
On Mon, 2003-04-14 at 22:19, Glenn Pierce wrote:
<BLOCKQUOTE TYPE=CITE>
<FONT COLOR="#737373" SIZE="3"><I>Sorry if this has been answered already, I have search the archives but found little.<BR>
<BR>
Are there any examples of how to get draw lines onto a canvas the code I have does not display the line.<BR>
<BR>
<BR>
Canvas canvas = new Canvas();<BR>
CanvasLine item1 = new CanvasLine(canvas.Root());<BR>
double[] coords = {100,100,300,500};<BR>
<BR>
item1.Points = CanvasPoints.New(coords);<BR>
item1.FillColor = "black";<BR>
item1.WidthPixels= 1;<BR>
item1.WidthUnits = 1.0;<BR>
item1.ArrowShapeA = 3.0;<BR>
<BR>
<BR>
Thanks for the help.<BR>
</I></FONT><BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Glenn Pierce <<A HREF="mailto:glennpierce@connectfree.co.uk">glennpierce@connectfree.co.uk</A>>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<FONT COLOR="#6c51e8">_____________________________</FONT><BR>
<FONT COLOR="#6c51e8" SIZE="2"><B>Glenn Pierce</B></FONT><BR>
<BR>
<FONT COLOR="#6c51e8" SIZE="2">home phone:</FONT><FONT COLOR="#808080" SIZE="2"> 0208 279 4624</FONT><BR>
<FONT COLOR="#6c51e8" SIZE="2">email:</FONT><FONT COLOR="#808080" SIZE="2"> </FONT><A HREF="mailto:glennpierce@connectree.co.uk"><FONT SIZE="2">glennpierce@connectree.co.uk</FONT></A><BR>
<FONT COLOR="#6c51e8">_____________________________</FONT>
</TD>
</TR>
</TABLE>
<BR>
<BR>
</TD>
</TR>
</TABLE>
<BR>
<BR>
</BODY>
</HTML>
--=-CZJV9G/ox92NaEju4mdP--
--=-ls8LvUJxVLfyafSpzhM3
Content-ID: <1050356412.4466.12.camel@salem>
Content-Disposition: attachment; filename=smiley-3.png
Content-Type: image/png; name=smiley-3.png
Content-Transfer-Encoding: base64
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAC+klEQVR42n2TbUjVdxTHP/+H69Xd
a2VWlFe69rzthZJUoxeNOWoFGxEhYRRFmZSVW2u9ab2Kej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