Jump to content

Crash in Layers Rotate/Zoom


Recommended Posts

Entering a large value for pan x crashes Paint.NET.

OK, nobody will do this, just me ;-)


Exception details:
System.OverflowException: Overflow error.
   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.DrawLine(Pen pen, Single x1, Single y1, Single x2, Single y2)
   at PaintDotNet.Effects.PanControl.DrawToGraphics(Graphics g) in D:\src\pdn\pdn_35x\src\Effects\PanControl.cs:line 247
   at PaintDotNet.Effects.PanControl.CheckRenderSurface() in D:\src\pdn\pdn_35x\src\Effects\PanControl.cs:line 160
   at PaintDotNet.Effects.PanControl.DoPaint(Graphics g) in D:\src\pdn\pdn_35x\src\Effects\PanControl.cs:line 168
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

midoras signature.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...