index 4197c6784398e5a7d63688e3e5e0d1b57aecbc2b..7fa7c7ff5fad95ac6c9da0e42b1cc7579274784a 100644 (file)
/*
* Authors:
* Miklos Erdelyi <erdelyim@gmail.com>
+ * Abhishek Sharma
*
* Copyright (C) 2006 Miklos Erdelyi
*
//#include "libnrtype/font-instance.h"
#include "style.h"
-
+#include "sp-item.h"
#include <cairo.h>
class SPClipPath;
void applyMask(CairoRenderContext *ctx, SPMask const *mask);
/** Initializes the CairoRenderContext according to the specified
- Document. A set*Target function can only be called on the context
+ SPDocument. A set*Target function can only be called on the context
before setupDocument. */
- bool setupDocument(CairoRenderContext *ctx, Document *doc, bool pageBoundingBox, SPItem *base);
+ bool setupDocument(CairoRenderContext *ctx, SPDocument *doc, bool pageBoundingBox, SPItem *base);
/** Traverses the object tree and invokes the render methods. */
void renderItem(CairoRenderContext *ctx, SPItem *item);
+
+ /** If _omitText is true, no text will be output to the PDF document.
+ The PDF will be exactly the same as if the text was written to it and then erased. */
+ bool _omitText;
};
// FIXME: this should be a static method of CairoRenderer
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :