1
0
Fork 0
Commit Graph

42 Commits

Author SHA1 Message Date
Hans-Joerg Schurr 1820b7217b Move some transform related enums 2021-06-05 23:14:27 +02:00
Hans-Joerg Schurr e39473e4fb Return error if the pointer for a return value is NULL 2021-06-05 23:14:27 +02:00
Hans-Joerg Schurr 1ec380ae54 Add ccls-cache to gitignore 2021-06-05 23:14:24 +02:00
Hans-Joerg Schurr f4b8574728 Add API to inspect paths 2021-04-26 22:57:18 +02:00
Hans-Joerg Schurr 50305e7f5e Use color expressed as a struct
This is nicer for the external API.
2021-04-25 20:53:40 +02:00
Hans-Joerg Schurr a22aea9293 Implement API to inspect styles
- Expose necessary stucts and enums.
- Add functions to get number of styles, shapes, paths.
- Add functions to retrieve style information.
2021-04-25 20:32:26 +02:00
Hans-Joerg Schurr 0bb035050f Update README
- Remove rasterizer mention, this is no longer in scope
- Clarify goal
2021-04-24 23:36:24 +02:00
Hans-Joerg Schurr 98042a2b6a Tweak Readme 2020-05-30 22:24:44 +02:00
Hans-Joerg Schurr 220b2e117a Bump version to 0.1.0 2020-05-30 22:07:26 +02:00
Hans-Joerg Schurr 4b5684295d Update README
- Add compilation introduction for realease
- Add comparision pictures
- Add LICENSE of icons taken from haiku
2020-05-30 22:04:53 +02:00
Hans-Joerg Schurr 5d60e46cd1 Update configure.ac with autscan results 2020-05-30 21:54:22 +02:00
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 127875a0e4 Add README.md and LICENSE to make dist 2020-05-29 23:31:52 +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 1a5245e4db License under MIT license 2020-05-29 20:40:43 +02:00
Hans-Joerg Schurr 43d13d3d89 Fix open path are closed 2020-05-29 20:35:09 +02:00
Hans-Joerg Schurr 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
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 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
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 02fde603c0 Add valgrind to nix-shell 2020-03-29 19:40:07 +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 8e6234b1be Add gdb package 2020-03-22 17:08:37 +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
Hans-Joerg Schurr 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