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

bool is_url ( char const *  p  ) 

Todo:
FIXME: I'm not sure if this applies to SVG as well, but CSS2 says any URIs in property values must start with 'url('.

Definition at line 4046 of file style.cpp.

Referenced by sp_css_attr_unset_uris().

{
    if (p == NULL)
        return false;
/** \todo
 * FIXME: I'm not sure if this applies to SVG as well, but CSS2 says any URIs
 * in property values must start with 'url('.
 */
    return (g_ascii_strncasecmp(p, "url(", 4) == 0);
}


Generated by  Doxygen 1.6.0   Back to index