mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 03:55:28 +00:00
20 lines
531 B
Plaintext
20 lines
531 B
Plaintext
|
//
|
||
|
// 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);
|
||
|
|
||
|
public static Gnome.CanvasPoints New (double[] coords)
|
||
|
{
|
||
|
return New (gtksharp_gnome_canvas_points_new_from_array ((uint) coords.Length / 2, coords));
|
||
|
}
|
||
|
|