aboutsummaryrefslogtreecommitdiffstatsci
path: root/src
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-12-27 11:46:55 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-12-27 11:46:55 +0100
commit45a7a8a40da1231f00c2fcd15b370dabe71e3f8e (patch)
tree2e28725e931c60a937c6d386cde6ab5dd33890d7 /src
parentab207070b2755d07f89106611cf34da34970e529 (diff)
replace Debug.WriteLine with consoleMonoEmbed
Diffstat (limited to 'src')
-rw-r--r--src/Cairo/CairoHelpers.cs3
-rw-r--r--src/GraphicObjects/GraphicObject.cs2
2 files changed, 1 insertions, 4 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)
{
diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs
index 6118e8c4..be41455f 100644
--- a/src/GraphicObjects/GraphicObject.cs
+++ b/src/GraphicObjects/GraphicObject.cs
@@ -546,7 +546,7 @@ namespace Crow
RegisterForRedraw ();
}
}
- [XmlAttributeAttribute()][DefaultValue("sans,10")]
+ [XmlAttributeAttribute()][DefaultValue("sans,12")]
public virtual Font Font {
get { return font; }
set {