1
0
Commit Graph

29 Commits

Author SHA1 Message Date
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
1a5245e4db License under MIT license 2020-05-29 20:40:43 +02:00
43d13d3d89 Fix open path are closed 2020-05-29 20:35:09 +02:00
3307b1b22a Add README.md and make index page on Doxygen. Ignore .c files in doc
- Add README.md with some basic information.
- Ignore *.c and config.h in the generated html docu. The docu is
  intended as API documentation.
- Make the README.md the index of the HTML docu.
2020-05-26 23:49:45 +02:00
d4208de6f9 Add documentation on the cairo interface and final newline 2020-05-05 21:33:48 +02:00
70fa69c465 Add some documentation
- Document hvif-light.h
- Partialy document hvif-cairo.h
- Tweak Doxyfile
2020-05-05 00:07:39 +02:00
4ebb4d8379 Add support for building html documentation with Doxygen
- Add check during building
- `make html` builds documentation into ./docs/html
- Refine header checks in general
2020-05-04 23:13:55 +02:00
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
76afd0b903 Implement basic cairo rendering loop 2020-04-27 19:54:27 +02:00
6b14f544e7 Fix warning strict alignment break 2020-04-24 23:00:08 +02:00
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
62a5bd08f9 Add support for diamond gradient for the cairo renderer 2020-04-23 22:08:06 +02:00
bd8bb0065d Work on gradients: linear and radial
- Color space is wrong
- No proper error handling
2020-04-23 00:43:10 +02:00
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
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
6818012f69 Start implementation of cairo rasterizer (for testing purposes) 2020-03-31 22:16:17 +02:00
9dd3cb9f3b Support files as argumetns, make error reporting more informative 2020-03-29 19:41:18 +02:00
e3f971c636 Add parser for shapes, fix bugs, and add some debug prints 2020-03-29 19:40:55 +02:00
02fde603c0 Add valgrind to nix-shell 2020-03-29 19:40:07 +02:00
4ed81b2aa1 Add debug prints 2020-03-22 17:14:23 +01:00
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
8e6234b1be Add gdb package 2020-03-22 17:08:37 +01:00
2913fd751f Finish parsing of styles 2020-03-18 22:39:25 +01:00
cb5c2ccab4 Add partial code for gradients and tranformations 2020-03-17 22:03:12 +01:00
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
795ab27bc4 Revert accidental reformat of Makefile 2020-02-25 21:05:42 +01:00
e79d365498 Add parsing of magic number 2020-02-21 20:34:29 +01:00
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
e522d98bef Add configuration files for dev environment
- clang-format options that I like
- cquery config that worked in another project
- some .gitignore
- a shell.nix file
2020-02-21 18:50:27 +01:00