Inkscape
Vector Graphics Editor
|
#include <cairo-ps-out.h>
Public Member Functions | |
bool | check (Inkscape::Extension::Extension *module) override |
Verify any dependencies. | |
void | save (Inkscape::Extension::Output *mod, SPDocument *doc, gchar const *filename) override |
This function calls the output module with the filename. | |
bool | textToPath (Inkscape::Extension::Print *ext) override |
Tell the printing engine whether text should be text or path. | |
![]() | |
Implementation ()=default | |
virtual | ~Implementation ()=default |
virtual bool | load (Inkscape::Extension::Extension *) |
virtual void | unload (Inkscape::Extension::Extension *) |
virtual ImplementationDocumentCache * | newDocCache (Inkscape::Extension::Extension *, SPDesktop *) |
Create a new document cache object. | |
virtual bool | cancelProcessing () |
virtual void | commitDocument () |
virtual std::unique_ptr< SPDocument > | new_from_template (Inkscape::Extension::Template *) |
virtual void | get_template_presets (const Template *tmod, TemplatePresets &presets) const |
virtual void | resize_to_template (Inkscape::Extension::Template *tmod, SPDocument *doc, SPPage *page) |
virtual bool | match_template_size (Inkscape::Extension::Template *tmod, double width, double height) |
virtual std::unique_ptr< SPDocument > | open (Inkscape::Extension::Input *module, char const *filename, bool is_importing) |
Open a file. | |
virtual void | export_raster (Inkscape::Extension::Output *module, const SPDocument *doc, std::string const &png_file, gchar const *filename) |
Convert from PNG to raster format. | |
virtual Gtk::Widget * | prefs_effect (Inkscape::Extension::Effect *module, SPDesktop *desktop, sigc::signal< void()> *changeSignal, ImplementationDocumentCache *docCache) |
Find out information about the file. | |
virtual void | effect (Inkscape::Extension::Effect *, ExecutionEnv *, SPDesktop *, ImplementationDocumentCache *) |
virtual void | effect (Inkscape::Extension::Effect *, ExecutionEnv *, SPDocument *document) |
virtual bool | apply_filter (Inkscape::Extension::Effect *module, SPItem *item) |
virtual unsigned | setup (Inkscape::Extension::Print *) |
virtual unsigned | set_preview (Inkscape::Extension::Print *) |
virtual unsigned | begin (Inkscape::Extension::Print *, SPDocument *) |
virtual unsigned | finish (Inkscape::Extension::Print *) |
virtual bool | fontEmbedded (Inkscape::Extension::Print *) |
Get "fontEmbedded" param, i.e. | |
virtual unsigned | bind (Inkscape::Extension::Print *, Geom::Affine const &, float) |
virtual unsigned | release (Inkscape::Extension::Print *) |
virtual unsigned | fill (Inkscape::Extension::Print *, Geom::PathVector const &, Geom::Affine const &, SPStyle const *, Geom::OptRect const &, Geom::OptRect const &, Geom::OptRect const &) |
virtual unsigned | stroke (Inkscape::Extension::Print *, Geom::PathVector const &, Geom::Affine const &, SPStyle const *, Geom::OptRect const &, Geom::OptRect const &, Geom::OptRect const &) |
virtual unsigned | image (Inkscape::Extension::Print *, unsigned char *, unsigned int, unsigned int, unsigned int, Geom::Affine const &, SPStyle const *) |
virtual unsigned | text (Inkscape::Extension::Print *, char const *, Geom::Point const &, SPStyle const *) |
virtual void | processPath (Inkscape::XML::Node *) |
virtual void | setDetachBase (bool detach) |
If detach = true, when saving to a file, don't store URIs relative to the filename. | |
Static Public Member Functions | |
static void | init () |
A function allocate a copy of this function. | |
Definition at line 24 of file cairo-ps-out.h.
|
overridevirtual |
Verify any dependencies.
Reimplemented from Inkscape::Extension::Implementation::Implementation.
Definition at line 46 of file cairo-ps-out.cpp.
References Inkscape::Extension::db.
|
static |
A function allocate a copy of this function.
This is the definition of Cairo PS out. This function just calls the extension system with the memory allocated XML that describes the data.
Definition at line 275 of file cairo-ps-out.cpp.
References Inkscape::Extension::build_from_mem().
Referenced by Inkscape::Extension::init().
|
overridevirtual |
This function calls the output module with the filename.
mod | unused |
doc | Document to be saved |
filename | Filename to save to (probably will end in .ps) |
Reimplemented from Inkscape::Extension::Implementation::Implementation.
Definition at line 120 of file cairo-ps-out.cpp.
References Inkscape::Extension::db, Inkscape::Extension::DB::get(), Inkscape::Extension::Internal::latex_render_document_text_to_file(), and Inkscape::Extension::Internal::ps_print_document_to_file().
|
overridevirtual |
Tell the printing engine whether text should be text or path.
Default value is false because most printing engines will support paths more than they'll support text. (at least they do today)
true | Render the text as a path |
false | Render text using the text function (above) |
Reimplemented from Inkscape::Extension::Implementation::Implementation.
Definition at line 254 of file cairo-ps-out.cpp.
References Inkscape::Extension::Extension::get_param_bool().