diff options
| author | johnce <johnce@users.sourceforge.net> | 2009-08-05 05:40:36 +0000 |
|---|---|---|
| committer | johnce <johnce@users.sourceforge.net> | 2009-08-05 05:40:36 +0000 |
| commit | 8b04d0db6c55e36935690d37defb6f9b68945796 (patch) | |
| tree | 3909eb7f8201b43f6a4dcfcc854eda2fbc72b17e /src/gradient-chemistry.cpp | |
| parent | Scour extension added to Makefile.am and POTFILE.in (inkscape.pot updated). (diff) | |
| download | inkscape-8b04d0db6c55e36935690d37defb6f9b68945796.tar.gz inkscape-8b04d0db6c55e36935690d37defb6f9b68945796.zip | |
SPDocument->Document
(bzr r8404)
Diffstat (limited to 'src/gradient-chemistry.cpp')
| -rw-r--r-- | src/gradient-chemistry.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gradient-chemistry.cpp b/src/gradient-chemistry.cpp index 4abd7483f..85e4e2c55 100644 --- a/src/gradient-chemistry.cpp +++ b/src/gradient-chemistry.cpp @@ -92,7 +92,7 @@ sp_gradient_ensure_vector_normalized(SPGradient *gr) */ static SPGradient * -sp_gradient_get_private_normalized(SPDocument *document, SPGradient *vector, SPGradientType type) +sp_gradient_get_private_normalized(Document *document, SPGradient *vector, SPGradientType type) { g_return_val_if_fail(document != NULL, NULL); g_return_val_if_fail(vector != NULL, NULL); @@ -199,7 +199,7 @@ sp_gradient_fork_private_if_necessary(SPGradient *gr, SPGradient *vector, return gr; } - SPDocument *doc = SP_OBJECT_DOCUMENT(gr); + Document *doc = SP_OBJECT_DOCUMENT(gr); SPObject *defs = SP_DOCUMENT_DEFS(doc); if ((gr->has_stops) || @@ -245,7 +245,7 @@ sp_gradient_fork_vector_if_necessary (SPGradient *gr) return gr; if (SP_OBJECT_HREFCOUNT(gr) > 1) { - SPDocument *doc = SP_OBJECT_DOCUMENT(gr); + Document *doc = SP_OBJECT_DOCUMENT(gr); Inkscape::XML::Document *xml_doc = sp_document_repr_doc(doc); Inkscape::XML::Node *repr = SP_OBJECT_REPR (gr)->duplicate(xml_doc); @@ -1210,7 +1210,7 @@ sp_gradient_repr_set_link(Inkscape::XML::Node *repr, SPGradient *link) */ SPGradient * -sp_document_default_gradient_vector(SPDocument *document, guint32 color) +sp_document_default_gradient_vector(Document *document, guint32 color) { SPDefs *defs = (SPDefs *) SP_DOCUMENT_DEFS(document); Inkscape::XML::Document *xml_doc = sp_document_repr_doc(document); @@ -1271,7 +1271,7 @@ Return the preferred vector for \a o, made from (in order of preference) its cur current fill or stroke color, or from desktop style if \a o is NULL or doesn't have style. */ SPGradient * -sp_gradient_vector_for_object(SPDocument *const doc, SPDesktop *const desktop, +sp_gradient_vector_for_object(Document *const doc, SPDesktop *const desktop, SPObject *const o, bool const is_fill) { guint32 rgba = 0; |
