- Jun 12, 2020
-
-
Paul Asmuth authored
-
- Jun 10, 2020
-
-
Paul Asmuth authored
-
Paul Asmuth authored
-
Paul Asmuth authored
-
- Jun 09, 2020
-
-
Paul Asmuth authored
-
Paul Asmuth authored
-
Paul Asmuth authored
-
- Jun 07, 2020
-
-
Paul Asmuth authored
-
Paul Asmuth authored
- Add the new (class ...) statement - Move the existing commands into the plot and draw namespaces - Update the documentation
-
- Jun 02, 2020
-
-
Paul Asmuth authored
- Add a logo - Improve the page layout slightly and change link colours - Update the favicon - Update the readme demo chart
-
- May 29, 2020
-
-
Paul Asmuth authored
-
Paul Asmuth authored
- Set the output precision of all numbers to three digits after the decimal point, except for integers, which are formatted as integers - Always use {fill, stroke}-opacity instead of #RGBA hex codes - Remove the redundant fill-opacity=1, stroke-opactity=1 and fill=black attributes
-
Paul Asmuth authored
-
- May 24, 2020
-
-
Paul Asmuth authored
-
Paul Asmuth authored
In contrast to most of the other parts of the codebase, the "sexpr" utility and manipulation code deals with a lot of raw pointers. This change adds a number of runtime assertions and null pointer checks so that potential future bugs in consumers of the API will trigger an exception instead of generating invalid memory reads or writes. Still, correct could should never trigger any of the newly added runtime errors; every thrown exception is considered a bug.
-
Paul Asmuth authored
-
- May 22, 2020
-
-
Paul Asmuth authored
The new syntax is more consistent and allows users to specify multiple stroke/fill types per draw command. This change also introduces new drawing style structs. Note that the new type names use snake case and don't follow the previous naming convention of using capitalized names for types. This will eventually be cleaned up by either changing everything to snake case or by capitalizing the new type names.
-
- May 20, 2020
-
-
Paul Asmuth authored
-
- May 18, 2020
-
-
Paul Asmuth authored
-
Paul Asmuth authored
-
Paul Asmuth authored
-
Paul Asmuth authored
The `fill_style_read` method would previously not accept color specifications of the form ({rgb, rgba} ...).
-
Paul Asmuth authored
The "old" method for converting units was to store numerical values alongside their units in a "Measure" struct which was then passed through the various layers of the code, from parsing to the graphics backend. The problem with that approach was that we now have a big mess where unit conversions are scattered throughout the whole codebase and it's often unclear at which point a given value should be converted. The new approach will be to convert all user-specified values into internal (unitless) numbers as soon as possible; ideally right after parsing. The conversion from all user-specifiable units to the internal unit system is clearly defined using the UnitConvMap struct. During export, all values should then be converted back from the internal unitless system to the requested output coordinate system and units. This change only adds the first parts of the new unit conversion system. The refactoring of all existing commands to use the new mechanism is yet to be done.
-
- May 15, 2020
-
-
Paul Asmuth authored
-
Paul Asmuth authored
-
Paul Asmuth authored
-
- May 14, 2020
-
-
Paul Asmuth authored
- Update the "Getting Started" page - Update the examples page - Add automatic page titles for all documentation pages - Add new URI redirects for the wwwdocs
-
Paul Asmuth authored
Convert the DrawCommandList into a simple, flat vector of draw command structs. A mechanism for piping semantic text information through to the output file will be reimplemented later. This change also removes the dependency on std::variant, which is a C++17 feature, but is not supported on macOS 10.13.
-
Paul Asmuth authored
-
Paul Asmuth authored
-
Paul Asmuth authored
-
Paul Asmuth authored
-
Paul Asmuth authored
std::optional is part of C++17, which is not supported on macOS 10.13
-
Paul Asmuth authored
-
Paul Asmuth authored
-
Paul Asmuth authored
-
Paul Asmuth authored
-
Paul Asmuth authored
- move examples into a separate repository - restructure the documentation - add a new front page
-
- May 10, 2020
-
-
Paul Asmuth authored
-
Paul Asmuth authored
-