Skip Navigation
Zig Programming Language @lemm.ee cryptocode @lemm.ee

[New project] z2d - Pure Zig 2D graphics library

github.com GitHub - vancluever/z2d: Pure Zig 2D graphics library

Pure Zig 2D graphics library. Contribute to vancluever/z2d development by creating an account on GitHub.

GitHub - vancluever/z2d: Pure Zig 2D graphics library

From the README:

z2d is a 2D graphics library primarily designed around rasterizing vector primitives like lines and cubic Beziers. In other words, it's designed around supporting operations that you would see in SVG or other vector languages like PostScript or PDF.

Our drawing model is (loosely) inspired by Cairo: most operations take place through the Context, which connect Patterns (pixel/color sources) and Surfaces (drawing targets/buffers). Paths contain the vector data for filling and stroking operations. Additionally, surfaces can be interfaced with directly.

0
0 comments