summaryrefslogtreecommitdiff
path: root/src/cairo/cdcairoctx.h
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-04 20:48:52 +0000
committerscuri <scuri>2010-06-04 20:48:52 +0000
commit306655136dd2eae3e6baab5eb51b68d5d6385877 (patch)
tree361b8f1b5aad39c2eaffc8b43df4aa7aaf540eea /src/cairo/cdcairoctx.h
parent1bad658bce4895bab21b2aab65c82544871fa551 (diff)
*** empty log message ***
Diffstat (limited to 'src/cairo/cdcairoctx.h')
-rw-r--r--src/cairo/cdcairoctx.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/cairo/cdcairoctx.h b/src/cairo/cdcairoctx.h
index 97a8707..03a719c 100644
--- a/src/cairo/cdcairoctx.h
+++ b/src/cairo/cdcairoctx.h
@@ -8,6 +8,7 @@
#define __CDCAIROCTX_H
#include <cairo.h>
+#include <pango/pango.h>
#include "cd.h"
#include "cd_private.h"
@@ -27,14 +28,17 @@ struct _cdCtxCanvas
cairo_t* cr;
- cairo_scaled_font_t* font;
+ /* text attributes */
+ PangoContext *fontcontext;
+ PangoFontDescription *fontdesc;
+ PangoLayout *fontlayout;
+ char* strLastConvertUTF8;
+ /* fill attributes */
cairo_pattern_t *pattern, *solid;
int last_source;
int hatchboxsize;
- char* cairoLastConvertUTF8;
-
/* custom attributes */
int img_format;