/////////////////////////////////////////////////////////////////////////////////
// Paint.NET //
// Copyright (C) dotPDN LLC, Rick Brewster, Tom Jackson, and contributors. //
// Portions Copyright (C) Microsoft Corporation. All Rights Reserved. //
// See src/Resources/Files/License.txt for full licensing and attribution //
// details. //
// . //
/////////////////////////////////////////////////////////////////////////////////
using System;
using System.Drawing;
using System.Windows.Forms;
namespace PaintDotNet.SystemLayer{
public interface IInkHooks
{
void PerformDocumentMouseMove(MouseButtons button, int clicks, float x, float y, int delta, float pressure);
void PerformDocumentMouseUp(MouseButtons button, int clicks, float x, float y, int delta, float pressure);
void PerformDocumentMouseDown(MouseButtons button, int clicks, float x, float y, int delta, float pressure);
System.Drawing.Graphics CreateGraphics();
PointF ScreenToDocument(PointF pointF);
}
}
|