1
0
Fork 0
Commit Graph

13 Commits

Author SHA1 Message Date
Hans-Joerg Schurr 76afd0b903 Implement basic cairo rendering loop 2020-04-27 19:54:27 +02:00
Hans-Joerg Schurr 6b14f544e7 Fix warning strict alignment break 2020-04-24 23:00:08 +02:00
Hans-Joerg Schurr 69229b956f Fix parsing of unsigned values, transformation matrix, export commands
- Parse unsigned values using uint8_t instead of signed char
- Correctly parse floats and give transformation matrix entries good names
- Fix default matrix (for translation, identity)
- Export `path_command_at` in INTERNAL_DATSTRUCTURES mode
2020-04-23 00:40:33 +02:00
Hans-Joerg Schurr a5c305d98c Continue test rasterizer
- Support for creating .cquery file via "make cquery"
- Render some path for testing purposes
- Fix bugs in path parser
2020-04-01 23:24:51 +02:00
Hans-Joerg Schurr 6818012f69 Start implementation of cairo rasterizer (for testing purposes) 2020-03-31 22:16:17 +02:00
Hans-Joerg Schurr e3f971c636 Add parser for shapes, fix bugs, and add some debug prints 2020-03-29 19:40:55 +02:00
Hans-Joerg Schurr 4ed81b2aa1 Add debug prints 2020-03-22 17:14:23 +01:00
Hans-Joerg Schurr fd0148ec21 Add parser for path
- Adds parser for path
- Fix bug: read wrong number of bytes for matrix
- Fix bug: checked wrong number of bytes read by fread in many places
- Rename _read macros to _decode
2020-03-22 17:12:39 +01:00
Hans-Joerg Schurr 2913fd751f Finish parsing of styles 2020-03-18 22:39:25 +01:00
Hans-Joerg Schurr cb5c2ccab4 Add partial code for gradients and tranformations 2020-03-17 22:03:12 +01:00
Hans-Joerg Schurr 6486b516db Implement parsing of colors for styles
- Change error reporting format
- Add color type and helper macros
- Add parser for all styles that are solid colors
2020-02-25 21:10:42 +01:00
Hans-Joerg Schurr e79d365498 Add parsing of magic number 2020-02-21 20:34:29 +01:00
Hans-Joerg Schurr 8f6d3f6897 Add build system
This adds a autoconfig base build system and some test files.
To build:

1) autoreconf
2) ./configure
3) make
2020-02-21 19:12:20 +01:00