1
0
Fork 0
Commit Graph

24 Commits

Author SHA1 Message Date
Hans-Joerg Schurr a0873c9369 Simplify buildsystem
This rolls everything into one Makefile.am and fixes
`make distcheck`.
2020-05-30 21:47:13 +02:00
Hans-Joerg Schurr 56f7176c91 Change buildsystem to build a library
- Build a library and a binary.
- Remove lto for now.
- Remove some other compiler arguments.
- Mention that cairo is a dependency for now in README.
2020-05-29 23:27:03 +02:00
Hans-Joerg Schurr 43d13d3d89 Fix open path are closed 2020-05-29 20:35:09 +02:00
Hans-Joerg Schurr d4208de6f9 Add documentation on the cairo interface and final newline 2020-05-05 21:33:48 +02:00
Hans-Joerg Schurr 70fa69c465 Add some documentation
- Document hvif-light.h
- Partialy document hvif-cairo.h
- Tweak Doxyfile
2020-05-05 00:07:39 +02:00
Hans-Joerg Schurr 504c5fe606 Cleanup and extension of CAIRO renderer
- Add support for LODs
- Error handling
- Nicer API
- Extend command line tool
- Marking unsupported features
2020-04-28 21:30:58 +02:00
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 afa96fdf12 Implement conical gradient, fix diamond gradient
- Diamond gradient did not respect the offsets
- Ensure the gradient is correct if the first stop is not 0.0 and the last
  stop is not 1.0
2020-04-24 22:59:03 +02:00
Hans-Joerg Schurr 62a5bd08f9 Add support for diamond gradient for the cairo renderer 2020-04-23 22:08:06 +02:00
Hans-Joerg Schurr bd8bb0065d Work on gradients: linear and radial
- Color space is wrong
- No proper error handling
2020-04-23 00:43:10 +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 9dd3cb9f3b Support files as argumetns, make error reporting more informative 2020-03-29 19:41:18 +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 795ab27bc4 Revert accidental reformat of Makefile 2020-02-25 21:05: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