[longomatch] Close paths when drawing text
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Close paths when drawing text
- Date: Wed, 24 Sep 2014 20:22:36 +0000 (UTC)
commit 06bd330fac3143ac7bd55b37104bc0444263a82c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Sep 2 18:37:10 2014 +0200
Close paths when drawing text
LongoMatch.Drawing.Cairo/CairoBackend.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Drawing.Cairo/CairoBackend.cs b/LongoMatch.Drawing.Cairo/CairoBackend.cs
index 51c6aa9..2bf7d9d 100644
--- a/LongoMatch.Drawing.Cairo/CairoBackend.cs
+++ b/LongoMatch.Drawing.Cairo/CairoBackend.cs
@@ -363,6 +363,7 @@ namespace LongoMatch.Drawing.Cairo
layout.GetPixelExtents (out inkRect, out logRect);
CContext.MoveTo (point.X, point.Y + height / 2 - (double)logRect.Height / 2);
Pango.CairoHelper.ShowLayout (CContext, layout);
+ CContext.NewPath();
}
public void DrawImage (Image image)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]