[aisleriot] themes: Speed up KDE themes
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot] themes: Speed up KDE themes
- Date: Mon, 5 Dec 2011 21:44:25 +0000 (UTC)
commit ae58d11b058c52a539a0c730f95def97e0667bee
Author: Christian Persch <chpe gnome org>
Date: Mon Dec 5 22:43:48 2011 +0100
themes: Speed up KDE themes
Set the tolerance to 1.
src/lib/ar-card-theme-kde.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/lib/ar-card-theme-kde.c b/src/lib/ar-card-theme-kde.c
index 7ab35c0..0424163 100644
--- a/src/lib/ar-card-theme-kde.c
+++ b/src/lib/ar-card-theme-kde.c
@@ -204,6 +204,7 @@ ar_card_theme_kde_get_card_extents (ArCardThemeKDE *theme,
surface = cairo_recording_surface_create (CAIRO_CONTENT_ALPHA, NULL);
cr = cairo_create (surface);
+ cairo_set_tolerance (cr, 1.);
ar_profilestart ("getting ink extents for node %s", node);
rsvg_handle_render_cairo_sub (RSVG_HANDLE (svg), cr, node);
ar_profileend ("getting ink extents for node %s", node);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]