#include #include "svgtiny.h" #include "svgtiny_internal.h" /** * Resolve a relative URL to an absolute one by doing nothing. This is * the simplest possible implementation of a URL resolver, needed for * parsing CSS. */ css_error svgtiny_resolve_url(void *pw, const char *base, lwc_string *rel, lwc_string **abs) { UNUSED(pw); UNUSED(base); /* Copy the relative URL to the absolute one (the return value) */ *abs = lwc_string_ref(rel); return CSS_OK; }