Lines Matching refs:url
45 String SVGURIReference::getTarget(const String& url)
47 if (url.startsWith("url(")) { // URI References, ie. fill:url(#target)
48 size_t start = url.find('#') + 1;
49 size_t end = url.reverseFind(')');
50 return url.substring(start, end - start);
52 if (url.find('#') != notFound) { // format is #target
53 size_t start = url.find('#') + 1;
54 return url.substring(start, url.length() - start);
57 // The url doesn't have any target.