Johannes Wolf

Results 53 issues of Johannes Wolf

**WIP** This adds a `center` anchor to closed lines (polygons). **TODO** Add calculation to `merge-path` for closed paths, sample curves first. @Enivex @fenjalien Should this anchor be called "centroid"? We...

core:draw :pencil2:

This allows other libs checking the cetz version number at runtime for compat. Code can require a minimum version using the new `assert-version` element (as long as the internal API...

feature :gift:

Implements #544. This PR is a _first step_ in improving the legend implementation by decoupling it from plot internals and thus allowing use outsides the plot API. Positioning is very...

feature :gift:

Implements #465. This PR is a WIP implementation on how to implement decorations as style option for all (but grid and mark) elements. The idea: - The context has a...

enhancement :arrow_up:
core:draw :pencil2:
core:styling

This PR implements boolean path operations. The implementation is handled by a C++ library: contourklip.

enhancement :arrow_up:
feature :gift:
core:draw :pencil2:

Fixes #488. See linked issue for description and current problems.

bug :bug:
core:draw :pencil2:

Allow to register custom marks to the canvas context. Idea: ``` define-mark(, { // Draw left facing mark here (size (1x1)) }) ```

feature :gift:
core:draw :pencil2:

Add mark support for `coil`, `wave`, `zigzag`.

feature :gift:

Add anchor aliases `"above"` and `"below"` that point to south and north.

feature :gift:
core:draw :pencil2:

Currently `smooth` calculates a catmull curve for the data and samples that to draw it using straight lines. Instead, smooth data should be drawn using bezier curves. This requires bezier...

enhancement :arrow_up:
lib:plot