mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 13:05:49 +00:00
d58e384ec1
* gnome/CanvasProxy.cs: * gnome/GtkSharp.BoundsHandler.cs: * gnome/GtkSharp.DrawHandler.cs: * gnome/GtkSharp.PointHandler.cs: * gnome/GtkSharp.RenderHandler.cs: * gnome/GtkSharp.UpdateHandler.cs: C# glue for subclassing CanvasItems. * glue/canvas-proxy-marshal.c: * glue/canvas-proxy-marshal.h: * glue/canvas-proxy-marshal.list: * glue/canvas-proxy.c: Added the coverage signal. svn path=/trunk/gtk-sharp/; revision=6708
46 lines
782 B
C#
46 lines
782 B
C#
//
|
|
// GtkSharp.CanvasUpdateHandler.cs
|
|
//
|
|
// Author: Duncan Mak (duncan@ximian.com)
|
|
//
|
|
// 2002 (C) Copyright, Ximian, Inc.
|
|
//
|
|
|
|
namespace GtkSharp {
|
|
|
|
using System;
|
|
|
|
/// <summary> CanvasUpdateHandler Delegate </summary>
|
|
/// <remarks>
|
|
/// Delegate signature for CanvasUpdate Event handlers
|
|
/// </remarks>
|
|
|
|
public delegate void UpdateHandler (object o, UpdateArgs args);
|
|
|
|
/// <summary> CanvasUpdateArgs Class </summary>
|
|
/// <remarks>
|
|
/// Arguments for CanvasUpdate Event handlers
|
|
/// </remarks>
|
|
|
|
public class UpdateArgs : GtkSharp.SignalArgs {
|
|
|
|
public double [] Affine {
|
|
get {
|
|
return (double []) Args [0];
|
|
}
|
|
}
|
|
|
|
public Art.SVP ClipPath {
|
|
get {
|
|
return (Art.SVP) Args [1];
|
|
}
|
|
}
|
|
|
|
public int Flags {
|
|
get {
|
|
return (int) Args [2];
|
|
}
|
|
}
|
|
}
|
|
}
|