/** DGui project file. Copyright: Trogu Antonio Davide 2011-2013 License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: Trogu Antonio Davide */ module dgui.core.events.painteventargs; public import dgui.core.events.eventargs; import dgui.core.geometry; import dgui.canvas; class PaintEventArgs: EventArgs { private Canvas _canvas; private Rect _clipRectangle; public this(Canvas c, Rect r) { this._canvas = c; this._clipRectangle = r; } @property public final Canvas canvas() { return this._canvas; } @property public final Rect clipRectangle() { return this._clipRectangle; } }