X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=README;h=de4639035b9888c49025672eef19822db8a86c62;hb=2ab992653e814ac7252d127128c4ae88f8efb8cc;hp=36f384259e222fee6e4e461f6269b7465dcba14e;hpb=e528a85a0f2dc8db3fca85527e05cdbcfe7650f0;p=libsvgtiny.git diff --git a/README b/README index 36f3842..de46390 100644 --- a/README +++ b/README @@ -162,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():