I draw a picture with 2 layers and I set the layer modus of the second layer to 'reflect' and then Paint.NET crashes. Here the crash-log:
Crash log for Paint.NET v2.6 (Alpha 1 Release Build 2.6.2172.30793)
Time of crash: 15.12.2005 17:18:27
OS version: 5.1.2600.131072
.NET Framework version: 2.0.50727.42 X86
Processor count: 1
Exception details:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at PaintDotNet.UserBlendOps.ReflectBlendOp.Apply(ColorBgra* dst, ColorBgra* src, Int32 length)
at PaintDotNet.BitmapLayer.RenderImpl(RenderArgs args, Rectangle[] rois, Int32 startIndex, Int32 length)
at PaintDotNet.Document.Render(RenderArgs args, Rectangle[] roi, Int32 startIndex, Int32 length, Boolean clearBackground)
at PaintDotNet.Document.Update(RenderArgs dst)
at PaintDotNet.DocumentView.surfaceBox_PrePaint(Object sender, PaintEventArgs2 e)
at PaintDotNet.SurfaceBox.OnPrePaint(PaintEventArgs2 e)
at PaintDotNet.SurfaceBox.OnPaintImpl(PaintEventArgs2 e)
at PaintDotNet.SurfaceBox.OnPaint(PaintEventArgs e)
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 PaintDotNet.SurfaceBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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)
------------------------------------------------------------------------------