mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
Added changes for the zoom to animate relative to the cursor position. Also made the first changes to make sure the animation has a frame rate equal to the screen refresh.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2341 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
3b9cc41832
commit
ce632b1496
4 changed files with 248 additions and 37 deletions
|
@ -61,8 +61,10 @@ namespace GreenshotPlugin.UnmanagedHelpers {
|
|||
public static extern int GetClipBox(IntPtr hdc, out RECT lprc);
|
||||
[DllImport("gdi32", SetLastError = true)]
|
||||
public static extern uint GetPixel(IntPtr hdc, int nXPos, int nYPos);
|
||||
[DllImport("gdi32")]
|
||||
[DllImport("gdi32", SetLastError = true)]
|
||||
public static extern IntPtr CreateRoundRectRgn(int x1, int y1, int x2, int y2, int cx, int cy);
|
||||
[DllImport("gdi32", SetLastError = true)]
|
||||
public static extern int GetDeviceCaps(IntPtr hdc, DeviceCaps nIndex);
|
||||
|
||||
/// <summary>
|
||||
/// Doesn't work?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue