mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 05:25:33 +00:00
b922fdc99b
* gnome/CanvasPoints.custom : make New overload a ctor overload. * gnome/Gnome.metadata : mark CanvasPoints as opaque * gnome/gnome-api.xml : regenerated. [Fixes #37256] svn path=/trunk/gtk-sharp/; revision=19145
17 lines
507 B
Plaintext
17 lines
507 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 CanvasPoints (double[] coords) : this (gtksharp_gnome_canvas_points_new_from_array ((uint) coords.Length / 2, coords)) {}
|
|
|