Searched refs:ns (Results 1 - 10 of 10) sorted by relevance

/inkscape/share/filters/
H A Dsamplify.py25 u'rdf' :u'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
32 def addNS(tag, ns=None):
34 if ns!=None and len(ns)>0 and NSS.has_key(ns) and len(tag)>0 and tag[0]!='{':
35 val = "{%s}%s" % (NSS[ns], tag)
/inkscape/src/xml/
H A Drepr-util.cpp158 start = "ns";
195 SPXMLNs *ns; local
218 ns = g_new(SPXMLNs, 1);
219 g_assert( ns != NULL );
220 ns->uri = g_quark_from_string(uri);
221 ns->prefix = g_quark_from_string(new_prefix);
225 ns->next = namespaces;
226 namespaces = ns;
228 prefix = g_quark_to_string(ns->prefix);
H A Drepr-io.cpp55 static gint sp_repr_qualified_name (gchar *p, gint len, xmlNsPtr ns, const xmlChar *name, const gchar *default_ns, std::map<std::string, std::string> &prefix_map);
372 // For some reason, failed ns loading results in this
374 if(rdoc && strcmp(rdoc->root()->name(), "ns:svg") == 0) {
542 gint sp_repr_qualified_name (gchar *p, gint len, xmlNsPtr ns, const xmlChar *name, const gchar */*default_ns*/, std::map<std::string, std::string> &prefix_map) argument
545 if (ns){
546 if (ns->href ) {
547 prefix = reinterpret_cast<const xmlChar*>( sp_xml_ns_uri_prefix(reinterpret_cast<const gchar*>(ns->href),
548 reinterpret_cast<const char*>(ns->prefix)) );
549 prefix_map[reinterpret_cast<const char*>(prefix)] = reinterpret_cast<const char*>(ns->href);
606 sp_repr_qualified_name (c, 256, node->ns, nod
[all...]
/inkscape/share/extensions/
H A Dinkex.py41 u'cc' :u'http://creativecommons.org/ns#',
45 u'rdf' :u'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
133 def addNS(tag, ns=None):
135 if ns is not None and len(ns) > 0 and ns in NSS and len(tag) > 0 and tag[0] != '{':
136 val = "{%s}%s" % (NSS[ns], tag)
/inkscape/src/display/
H A Dcairo-utils.cpp808 cairo_surface_t *ns = ink_cairo_surface_create_identical(s); local
815 memcpy(cairo_image_surface_get_data(ns), cairo_image_surface_get_data(s), stride * h);
816 cairo_surface_mark_dirty(ns);
819 cairo_t *ct = cairo_create(ns);
826 return ns;
837 cairo_surface_t *ns = ink_cairo_surface_create_same_size(s, cairo_surface_get_content(s)); local
838 cairo_surface_set_user_data(ns, &ink_color_interpolation_key, cairo_surface_get_user_data(s, &ink_color_interpolation_key), NULL);
839 return ns;
845 cairo_surface_t *ns = cairo_surface_create_similar(s, c, local
847 return ns;
[all...]
/inkscape/src/2geom/
H A Dpath-intersection.cpp180 double ns = s - soln[0]; local
183 if (ns<0) ns=0;
184 else if (ns>1) ns=1;
188 as = A.pointAndDerivatives(ns, 2);
196 s = ns;
H A Dbasic-intersection.cpp303 double ns = s - soln[0]; local
306 as = A.valueAndDerivatives(ns, 2);
315 s = ns;
/inkscape/share/extensions/ink2canvas/
H A Dsvg.py25 def attr(self, val, ns=""):
26 if ns:
27 val = inkex.addNS(val, ns)
/inkscape/src/libnrtype/
H A DTextWrapper.cpp650 unsigned const ns = AddBoundary(is); local
652 bounds[ns].start = true;
653 bounds[ns].other = ne;
655 bounds[ne].other = ns;
/inkscape/
H A Dbuildtool.cpp1062 Namespace ns(prefix, namespaceURI);
1063 namespaces.push_back(ns);

Completed in 77 milliseconds