summaryrefslogtreecommitdiff
path: root/src/svgtiny_internal.h
Commit message (Collapse)AuthorAgeFilesLines
* Build: Include gperf-generated code directly.Michael Drake2017-04-201-5/+0
| | | | | | | Previously we built the generated code separatly and then linked to it. However, this caused problems with certain compilers and gperf versions. This change includes the generated code directly in svgtiny.c instead, which is the only place its used.
* Parse: Make the parse state have two sets of gradient details.Michael Drake2016-10-261-8/+16
| | | | | | | | | | | | | | | | | | One for fills and another for strokes. This stops an SVG such as <svg viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg"> <defs> <linearGradient id="foo"> <stop stop-color="#69f" offset="0"/> <stop stop-color="#468" offset="1"/> </linearGradient> </defs> <path fill="url(#foo)" stroke='url(#bar)' d='M10 10 H 90 V 90 H 10 Z' /> </svg> from getting its fill gradient details trampled when we reset the gradient for the the missing bar gadient definition. Note, we only handle linearGradient on the fill anyway.
* Fix build with certain C libraries.Michael Drake2015-11-011-1/+1
|
* The library now buildsDaniel Silverstone2012-11-031-1/+1
|
* More work towards libdom conversionDaniel Silverstone2012-11-031-4/+3
|
* Make more svg elements parse againDaniel Silverstone2012-11-031-1/+1
|
* More work to bring svgtiny into the libdom eraDaniel Silverstone2012-11-031-0/+6
|
* Begin conversion to libdomDaniel Silverstone2012-11-031-2/+4
|
* s/strndup/svgtiny_strndupJohn Mark Bell2011-01-021-1/+2
| | | | svn path=/trunk/libsvgtiny/; revision=11186
* Use built-in strndup if the platform we're targetting doesn't have oneJohn Mark Bell2010-12-291-0/+6
| | | | svn path=/trunk/libsvgtiny/; revision=11140
* Squash warningsJohn Mark Bell2009-08-241-0/+4
| | | | svn path=/trunk/libsvgtiny/; revision=9423
* Beginnings of port to core buildsystemJohn Mark Bell2009-08-241-0/+84
svn path=/trunk/libsvgtiny/; revision=9419