summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormiklosh <miklosh@users.sourceforge.net>2006-10-01 13:56:17 +0000
committermiklosh <miklosh@users.sourceforge.net>2006-10-01 13:56:17 +0000
commite9f39eaba4eab5ccc0c8b03652a9a957d879f7aa (patch)
treef898b0770619fb0fb118cdd9b2711222339262e1 /src
parentInitial commit of Cairo renderer for PDF export (diff)
downloadinkscape-e9f39eaba4eab5ccc0c8b03652a9a957d879f7aa.tar.gz
inkscape-e9f39eaba4eab5ccc0c8b03652a9a957d879f7aa.zip
Initial commit of Cairo renderer for PDF export
(bzr r1736)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/libnrtype/Layout-TNG.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/libnrtype/Layout-TNG.h b/src/libnrtype/Layout-TNG.h
index 072aef878..48b01eae5 100755
--- a/src/libnrtype/Layout-TNG.h
+++ b/src/libnrtype/Layout-TNG.h
@@ -19,6 +19,18 @@
#include <pango/pango-break.h>
#include <vector>
+#ifdef HAVE_CAIRO_PDF
+namespace Inkscape {
+ namespace Extension {
+ namespace Internal {
+ class CairoRenderContext;
+ }
+ }
+}
+
+using Inkscape::Extension::Internal::CairoRenderContext;
+#endif
+
class SPStyle;
class Shape;
class NRArenaGroup;
@@ -326,6 +338,13 @@ public:
*/
void print(SPPrintContext *ctx, NRRect const *pbox, NRRect const *dbox, NRRect const *bbox, NRMatrix const &ctm) const;
+#ifdef HAVE_CAIRO_PDF
+ /** Renders all the glyphs to the given Cairo rendering context.
+ \param ctx The Cairo rendering context to be used
+ */
+ void showGlyphs(CairoRenderContext *ctx) const;
+#endif
+
/** debug and unit test method. Creates a textual representation of the
contents of this object. The output is designed to be both human-readable
and comprehensible when diffed with a known-good dump. */