diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2007-12-19 22:42:06 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2007-12-19 22:42:06 +0000 |
| commit | 377be2b170e6d762bf3ee6bcb3901fc56a01bc26 (patch) | |
| tree | 3d1ac62a1c9a353181b26701efd2fa12021fa300 /src/xml/repr.h | |
| parent | rename guide parameters to match snapping code naming convention. (diff) | |
| download | inkscape-377be2b170e6d762bf3ee6bcb3901fc56a01bc26.tar.gz inkscape-377be2b170e6d762bf3ee6bcb3901fc56a01bc26.zip | |
guides: switch from using one position coordinate to Geom::Point point_on_line
(bzr r4258)
Diffstat (limited to 'src/xml/repr.h')
| -rw-r--r-- | src/xml/repr.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xml/repr.h b/src/xml/repr.h index 497cda119..2b5f4ad1e 100644 --- a/src/xml/repr.h +++ b/src/xml/repr.h @@ -21,6 +21,8 @@ #include "xml/document.h" #include "xml/sp-css-attr.h" +#include <2geom/point.h> + #define SP_SODIPODI_NS_URI "http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" #define SP_BROKEN_SODIPODI_NS_URI "http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" #define SP_INKSCAPE_NS_URI "http://www.inkscape.org/namespaces/inkscape" @@ -127,6 +129,10 @@ * Kees Cook 2004-07-01, updated MenTaLguY 2005-01-25 */ +namespace Geom { +class Point; +} + /* SPXMLNs */ char const *sp_xml_ns_uri_prefix(gchar const *uri, gchar const *suggested); char const *sp_xml_ns_prefix_uri(gchar const *prefix); @@ -215,6 +221,7 @@ unsigned sp_repr_set_boolean(Inkscape::XML::Node *repr, gchar const *key, unsign unsigned sp_repr_set_int(Inkscape::XML::Node *repr, gchar const *key, int val); unsigned sp_repr_set_css_double(Inkscape::XML::Node *repr, gchar const *key, double val); unsigned sp_repr_set_svg_double(Inkscape::XML::Node *repr, gchar const *key, double val); +unsigned sp_repr_set_svg_point(Inkscape::XML::Node *repr, gchar const *key, Geom::Point val); /// \deprecated ! double sp_repr_get_double_attribute(Inkscape::XML::Node *repr, gchar const *key, double def); |
