Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Static Protected Member Functions | Protected Attributes

Inkscape::Extension::Print Class Reference

Inheritance diagram for Inkscape::Extension::Print:
Inheritance graph
[legend]
Collaboration diagram for Inkscape::Extension::Print:
Collaboration graph
[legend]

List of all members.

Public Types

enum  state_t { STATE_LOADED, STATE_UNLOADED, STATE_DEACTIVATED }

Public Member Functions

Gtk::Widget * autogui (SPDocument *doc, Inkscape::XML::Node *node, sigc::signal< void > *changeSignal=NULL)
 A function to automatically generate a GUI using the parameters.
unsigned int begin (SPDocument *doc)
unsigned int bind (Geom::Matrix const *transform, float opacity)
virtual bool check (void)
 A function to check the validity of the extension.
unsigned int comment (const char *comment)
void deactivate (void)
 This function diactivates the extension (which makes it unusable, but not deleted)
bool deactivated (void)
 Find out the status of the extension.
unsigned int fill (Geom::PathVector const &pathv, Geom::Matrix const *ctm, SPStyle const *style, NRRect const *pbox, NRRect const *dbox, NRRect const *bbox)
unsigned int finish (void)
bool fontEmbedded (void)
gchar const * get_help (void)
 Gets the help string for this extension.
Gtk::VBox * get_help_widget (void)
gchar * get_id (void)
 Get the ID of this extension - not a copy don't delete!
Implementation::Implementationget_imp (void)
Gtk::VBox * get_info_widget (void)
gchar * get_name (void)
 Get the name of this extension - not a copy don't delete!
bool get_param_bool (const gchar *name, const SPDocument *doc=NULL, const Inkscape::XML::Node *node=NULL)
 Gets a parameter identified by name with the bool placed in value.
guint32 get_param_color (const gchar *name, const SPDocument *doc=NULL, const Inkscape::XML::Node *node=NULL)
 Gets a parameter identified by name with the float placed in value.
const gchar * get_param_enum (const gchar *name, const SPDocument *doc=NULL, const Inkscape::XML::Node *node=NULL)
float get_param_float (const gchar *name, const SPDocument *doc=NULL, const Inkscape::XML::Node *node=NULL)
 Gets a parameter identified by name with the float placed in value.
int get_param_int (const gchar *name, const SPDocument *doc=NULL, const Inkscape::XML::Node *node=NULL)
 Gets a parameter identified by name with the integer placed in value.
const gchar * get_param_string (const gchar *name, const SPDocument *doc=NULL, const Inkscape::XML::Node *node=NULL)
 Gets a parameter identified by name with the string placed in value. It isn't duplicated into the value string.
Gtk::VBox * get_params_widget (void)
Inkscape::XML::Nodeget_repr (void)
 A getter for the internal Repr, does not add a reference.
state_t get_state (void)
 A getter for the state variable.
unsigned int image (unsigned char *px, unsigned int w, unsigned int h, unsigned int rs, Geom::Matrix const *transform, SPStyle const *style)
bool loaded (void)
 A quick function to test the state of the extension.
unsigned int param_count ()
 A function to get the the number of parameters that the extension has.
unsigned int param_visible_count ()
 A function to get the the number of parameters that are visible to the user that the extension has.
void paramListString (std::list< std::string > &retlist)
 A function to get the parameters in a string form.
 Print (Inkscape::XML::Node *in_repr, Implementation::Implementation *in_imp)
void printFailure (Glib::ustring reason)
 A quick function to print out a standard start of extension errors in the log.
unsigned int release (void)
bool set_param_bool (const gchar *name, bool value, SPDocument *doc=NULL, Inkscape::XML::Node *node=NULL)
 Sets a parameter identified by name with the boolean in the parameter value.
guint32 set_param_color (const gchar *name, guint32 color, SPDocument *doc=NULL, Inkscape::XML::Node *node=NULL)
 Sets a parameter identified by name with the string in the parameter value.
float set_param_float (const gchar *name, float value, SPDocument *doc=NULL, Inkscape::XML::Node *node=NULL)
 Sets a parameter identified by name with the integer in the parameter value.
int set_param_int (const gchar *name, int value, SPDocument *doc=NULL, Inkscape::XML::Node *node=NULL)
 Sets a parameter identified by name with the integer in the parameter value.
const gchar * set_param_string (const gchar *name, const gchar *value, SPDocument *doc=NULL, Inkscape::XML::Node *node=NULL)
 Sets a parameter identified by name with the string in the parameter value.
unsigned int set_preview (void)
void set_state (state_t in_state)
 A function to set whether the extension should be loaded or unloaded.
unsigned int setup (void)
unsigned int stroke (Geom::PathVector const &pathv, Geom::Matrix const *transform, SPStyle const *style, NRRect const *pbox, NRRect const *dbox, NRRect const *bbox)
unsigned int text (char const *text, Geom::Point p, SPStyle const *style)
bool textToPath (void)

Static Public Member Functions

static void error_file_close (void)
 A function to close the error log file.
static void error_file_open (void)
 A function to open the error log file.

Public Attributes

NRArenaarena
SPItembase
unsigned int dkey
NRArenaItemroot

Static Public Attributes

static std::vector< const gchar * > search_path

Static Protected Member Functions

static void add_val (Glib::ustring labelstr, Glib::ustring valuestr, Gtk::Table *table, int *row)

Protected Attributes

Implementation::Implementationimp
Inkscape::XML::Noderepr
ExpirationTimertimer

Detailed Description

Definition at line 21 of file print.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index