X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=README;h=de4639035b9888c49025672eef19822db8a86c62;hb=a5bf4ea6e6f6f3f9623cb63963e591f030396fa7;hp=82a5df8ac9630c1ce7b7a0c675e488baedc52dc4;hpb=ced1bcad78ea063413b302a413e2747f81321e12;p=libsvgtiny.git diff --git a/README b/README index 82a5df8..de46390 100644 --- a/README +++ b/README @@ -58,6 +58,7 @@ following additional libraries are required: - libwapcaplet - libdom + - libcss To compile libsvgtiny, use the command @@ -161,8 +162,16 @@ error. The error is recorded in diagram->error_message and the line that caused it in diagram->error_line. svgtiny_LIBDOM_ERROR indicates that parsing the XML failed. The -returned diagram will contain no shapes. svgtiny_NOT_SVG means that -the XML did not contain a top-level element. +returned diagram will contain no shapes. + +svgtiny_LIBCSS_ERROR indicates that something went wrong in +libcss. Either it failed to initialize, or it failed to parse +something within the SVG, or it failed un-initialize (free +resources). Except in the last case, the returned diagram will be +empty. + +svgtiny_NOT_SVG means that the XML did not contain a top-level + element. To free memory used by a diagram, use svgtiny_free():