diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-12-27 11:46:55 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-12-27 11:46:55 +0100 |
| commit | 45a7a8a40da1231f00c2fcd15b370dabe71e3f8e (patch) | |
| tree | 2e28725e931c60a937c6d386cde6ab5dd33890d7 /src/Cairo | |
| parent | ab207070b2755d07f89106611cf34da34970e529 (diff) | |
replace Debug.WriteLine with consoleMonoEmbed
Diffstat (limited to 'src/Cairo')
| -rw-r--r-- | src/Cairo/CairoHelpers.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Cairo/CairoHelpers.cs b/src/Cairo/CairoHelpers.cs index 44060259..e2aec1ae 100644 --- a/src/Cairo/CairoHelpers.cs +++ b/src/Cairo/CairoHelpers.cs @@ -80,8 +80,6 @@ namespace Crow } public static void DrawRoundedRectangle(Cairo.Context gr, double x, double y, double width, double height, double radius) { - gr.Save(); - if ((radius > height / 2) || (radius > width / 2)) radius = min(height / 2, width / 2); @@ -94,7 +92,6 @@ namespace Crow gr.LineTo(x + radius, y + height); gr.Arc(x + radius, y + height - radius, radius, Math.PI / 2, Math.PI); gr.ClosePath(); - gr.Restore(); } public static void StrokeRaisedRectangle(Cairo.Context gr, Rectangle r, double width = 1) { |