2002-08-12 19:14:44 +00:00
|
|
|
//
|
|
|
|
// Gnome.CanvasPoints.custom - Gnome CanvasPoints class customizations
|
|
|
|
//
|
|
|
|
// Author: Rachel Hestilow <hestilow@ximian.com>
|
|
|
|
//
|
|
|
|
// Copyright (C) 2002 Rachel Hestilow
|
|
|
|
//
|
|
|
|
// This code is inserted after the automatically generated code.
|
|
|
|
//
|
|
|
|
|
|
|
|
[DllImport("gtksharpglue")]
|
|
|
|
static extern System.IntPtr
|
|
|
|
gtksharp_gnome_canvas_points_new_from_array (uint num_points, double[] coords);
|
|
|
|
|
2003-10-17 20:23:24 +00:00
|
|
|
public CanvasPoints (double[] coords) : this (gtksharp_gnome_canvas_points_new_from_array ((uint) coords.Length / 2, coords)) {}
|
2002-08-12 19:14:44 +00:00
|
|
|
|