diff --git a/src/Greenshot.Editor/Drawing/EllipseContainer.cs b/src/Greenshot.Editor/Drawing/EllipseContainer.cs
index c421515d9..927e4ae77 100644
--- a/src/Greenshot.Editor/Drawing/EllipseContainer.cs
+++ b/src/Greenshot.Editor/Drawing/EllipseContainer.cs
@@ -74,7 +74,7 @@ namespace Greenshot.Editor.Drawing
Color fillColor = GetFieldValueAsColor(FieldType.FILL_COLOR);
bool shadow = GetFieldValueAsBool(FieldType.SHADOW);
var rect = new NativeRect(Left, Top, Width, Height).Normalize();
- DrawEllipse(rect, graphics, renderMode, lineThickness, lineColor, fillColor, shadow);
+ DrawEllipse(rect, graphics, lineThickness, lineColor, fillColor, shadow);
}
///
@@ -82,12 +82,11 @@ namespace Greenshot.Editor.Drawing
///
///
///
- ///
///
///
///
///
- public static void DrawEllipse(NativeRect rect, Graphics graphics, RenderMode renderMode, int lineThickness, Color lineColor, Color fillColor, bool shadow)
+ public static void DrawEllipse(NativeRect rect, Graphics graphics, int lineThickness, Color lineColor, Color fillColor, bool shadow)
{
bool lineVisible = lineThickness > 0 && Colors.IsVisible(lineColor);
// draw shadow before anything else
diff --git a/src/Greenshot.Editor/Drawing/StepLabelContainer.cs b/src/Greenshot.Editor/Drawing/StepLabelContainer.cs
index e5d93e514..10d4d1710 100644
--- a/src/Greenshot.Editor/Drawing/StepLabelContainer.cs
+++ b/src/Greenshot.Editor/Drawing/StepLabelContainer.cs
@@ -202,7 +202,7 @@ namespace Greenshot.Editor.Drawing
}
else
{
- EllipseContainer.DrawEllipse(rect, graphics, rm, 0, Color.Transparent, fillColor, false);
+ EllipseContainer.DrawEllipse(rect, graphics, 0, Color.Transparent, fillColor, false);
}
float fontSize = Math.Min(Math.Abs(Width), Math.Abs(Height)) / 1.4f;
diff --git a/src/Greenshot.Editor/Drawing/Surface.cs b/src/Greenshot.Editor/Drawing/Surface.cs
index 8ec5f4a3e..4be43ca33 100644
--- a/src/Greenshot.Editor/Drawing/Surface.cs
+++ b/src/Greenshot.Editor/Drawing/Surface.cs
@@ -2136,7 +2136,7 @@ namespace Greenshot.Editor.Drawing
}
else
{
- ConfirmSelectedConfirmableElements(confirm);
+ ConfirmSelectedConfirmableElements();
}
}
@@ -2147,7 +2147,7 @@ namespace Greenshot.Editor.Drawing
/// For crop-container there is a dedicated method .
///
/// bool
- public void ConfirmSelectedConfirmableElements(bool confirm)
+ public void ConfirmSelectedConfirmableElements()
{
// create new collection so that we can iterate safely (selectedElements might change due with confirm/cancel)
List selectedDCs = new List(selectedElements);