diff options
| author | miklosh <miklosh@users.sourceforge.net> | 2006-10-01 13:56:17 +0000 |
|---|---|---|
| committer | miklosh <miklosh@users.sourceforge.net> | 2006-10-01 13:56:17 +0000 |
| commit | e9f39eaba4eab5ccc0c8b03652a9a957d879f7aa (patch) | |
| tree | f898b0770619fb0fb118cdd9b2711222339262e1 /src/libnrtype | |
| parent | Initial commit of Cairo renderer for PDF export (diff) | |
| download | inkscape-e9f39eaba4eab5ccc0c8b03652a9a957d879f7aa.tar.gz inkscape-e9f39eaba4eab5ccc0c8b03652a9a957d879f7aa.zip | |
Initial commit of Cairo renderer for PDF export
(bzr r1736)
Diffstat (limited to 'src/libnrtype')
| -rwxr-xr-x | src/libnrtype/Layout-TNG.h | 19 |
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. */ |
