2003-02-12 02:14:42 +00:00
<Type Name= "CanvasPoints" FullName= "Gnome.CanvasPoints" >
2003-02-15 03:08:25 +00:00
<TypeSignature Language= "C#" Value= "public sealed struct CanvasPoints;" Maintainer= "auto" />
2003-02-12 02:14:42 +00:00
<AssemblyInfo >
<AssemblyName > gnome-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 02:14:42 +00:00
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
2003-10-28 00:48:23 +00:00
<AssemblyCulture > neutral</AssemblyCulture>
2003-02-12 02:14:42 +00:00
<Attributes />
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2003-02-12 02:14:42 +00:00
<Docs >
2004-04-11 18:45:51 +00:00
<summary > A structure to manage an array of points (X and Y coordinates). </summary>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
<Base >
<BaseTypeName > System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members >
2003-10-28 00:48:23 +00:00
<Member MemberName= "Ref" >
<MemberSignature Language= "C#" Value= "public Gnome.CanvasPoints Ref ();" />
<MemberType > Method</MemberType>
2003-02-12 02:14:42 +00:00
<ReturnValue >
<ReturnType > Gnome.CanvasPoints</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-01-07 20:55:53 +00:00
<returns > To be added: an object of type 'Gnome.CanvasPoints'</returns>
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "Free" >
<MemberSignature Language= "C#" Value= "public void Free ();" />
<MemberType > Method</MemberType>
2003-02-12 02:14:42 +00:00
<ReturnValue >
2003-10-28 00:48:23 +00:00
<ReturnType > System.Void</ReturnType>
2003-02-12 02:14:42 +00:00
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public CanvasPoints (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
2003-02-12 02:14:42 +00:00
<Parameters >
2003-10-28 00:48:23 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-02-12 02:14:42 +00:00
<Docs >
<summary > To be added</summary>
2003-10-28 00:48:23 +00:00
<param name= "raw" > a <see cref= "T:System.IntPtr" /> </param>
<returns > a <see cref= "T:Gnome.CanvasPoints" /> </returns>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public CanvasPoints (int num_points);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
2003-02-12 02:14:42 +00:00
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "num_points" Type= "System.Int32" />
</Parameters>
2003-02-12 02:14:42 +00:00
<Docs >
<summary > To be added</summary>
2003-10-28 00:48:23 +00:00
<param name= "num_points" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:Gnome.CanvasPoints" /> </returns>
2005-01-07 20:55:53 +00:00
<remarks > To be added</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public CanvasPoints (double [] coords);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "coords" Type= "System.Double[]" />
</Parameters>
2003-02-12 02:14:42 +00:00
<Docs >
2004-04-11 18:45:51 +00:00
<summary > Creates canvas points from x and y coordinates stored in array.</summary>
<param name= "coords" >
<see cref= "T:System.Double[]" /> array of coordinates (num_points * 2 in size), X coordinates are stored in the even-numbered indices, and Y coordinates are stored in the odd-numbered indices.</param>
2003-10-28 00:48:23 +00:00
<returns > a <see cref= "T:Gnome.CanvasPoints" /> </returns>
2004-04-11 18:45:51 +00:00
<remarks >
<example >
<code lang= "C#" >
// LineExample.cs - Displays triangle using gnome canvas
// Compile: mcs -r gtk-sharp.dll -r gnome-sharp.dll LineExample.cs
namespace GnomeSamples {
using System;
using Gtk;
using Gnome;
public class LineExample {
public static int Main (string[] args) {
Application.Init ();
Gtk.Window win = new Gtk.Window ("Canvas line example");
win.DeleteEvent += new DeleteEventHandler (Window_Delete);
Canvas canvas = new Canvas ();
win.Add (canvas);
CanvasLine line = new CanvasLine (canvas.Root ());
line.Points = new CanvasPoints (new double[]{40,0, 0,80, 80,80, 40,0});
win.ShowAll ();
Application.Run ();
return 0;
}
static void Window_Delete (object obj, DeleteEventArgs args) {
Application.Quit ();
args.RetVal = true;
}
}
}
</code>
</example>
</remarks>
2003-02-12 02:14:42 +00:00
</Docs>
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2003-12-24 01:35:30 +00:00
<returns > a <see cref= "T:GLib.GType" /> </returns>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gnome.CanvasPoints" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2003-02-12 02:14:42 +00:00
</Members>
2003-09-17 21:56:59 +00:00
</Type>