mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 03:25:36 +00:00
4d5ffe430c
(CanvasItem.SetValist): (CanvasItem.Construct): Hidden, because we don't support va_list params. (CanvasItem): Hid the constructor, as each subclass has their own contsructor and we don't support va_list params. (CanvasItem.W2i): (CanvasItem.I2w): Marked parameters as ref, so they can be used as in/out parameters. (Canvas.GetMiterPoints): (Canvas.GetColor): Fixed return type to be 'bool' instead of 'int'. (CanvasClipgroup.Wind): Fixed property type. It should be an Art.WindRule enum, not a UInt. (Canvas.W2cAffine): (CanvasItem.AffineAbsolute): (CanvasItem.AffineRelative): (CanvasItem.I2wAffine): (CanvasItem.I2cAffine): Hidden, use the impl. in the custom file instead. * gnome/Canvas.custom: Added for W2cAffine. * gnome/CanvasItem.custom: Reformatted. Added AffineRelative, AffineAbsolute, I2wAffine, I2cAffine. These are needed because of the 'const double affine[6]' parameter. svn path=/trunk/gtk-sharp/; revision=16876
18 lines
467 B
Plaintext
18 lines
467 B
Plaintext
//
|
|
// Gnome.Canvas.custom - Gnome Canvas class customizations
|
|
//
|
|
// Author: Duncan Mak (duncan@ximian.com)
|
|
//
|
|
// Copyright (C) 2003 Duncan Mak
|
|
//
|
|
// This code is inserted after the automatically generated code.
|
|
//
|
|
|
|
[DllImport("gnomecanvas-2")]
|
|
static extern void gnome_canvas_w2c_affine(IntPtr raw, double[] affine);
|
|
|
|
public void W2cAffine(out double[] affine) {
|
|
affine = new double [6];
|
|
gnome_canvas_w2c_affine(Handle, affine);
|
|
}
|