diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Cairo/CairoHelpers.cs | 3 | ||||
| -rw-r--r-- | src/GraphicObjects/GraphicObject.cs | 2 |
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 { |