KingDownloads

vkvg

by jpbruyere 811 stars MITDesign & Graphics
Download

About vkvg

vkvg is a 2D graphics library that uses Vulkan as its backend. Written in C, it follows a similar API pattern to Cairo but may introduce new functions and drawing mechanics. The library is currently in alpha development with a mostly stabilized core API.

vkvg supports various 2D graphics operations including filling, stroking, and painting. It includes a font system with caching, supports linear and radial gradients, and handles line caps, joins, and dashes. The library also features image loading and writing capabilities using the stb library.

Key features

  • Fill operations with stencil even-odd and non-zero modes
  • Stroke operations with line caps and joins
  • Basic painting operations
  • Font system with caching
  • Linear and radial gradients
  • Dashed lines support
  • Image loading and writing with stb library
  • SVG rendering with built-in renderer or nanoSVG

Download v0.2.1

Dec 21, 2021
View all 2 versions

Frequently asked questions

Is vkvg free?
Yes. vkvg is free and open-source software, distributed under the MIT license.
Which platforms does vkvg support?
vkvg provides downloads for Windows, Linux.
What is the latest version of vkvg?
The latest version is v0.2.1, released on Dec 21, 2021.
What platforms does vkvg support?
vkvg requires Vulkan (version >= 1.1) and CMake (version >= 3.16) for building. It optionally supports FontConfig, Freetype, and Harfbuzz for text rendering.
How can I build vkvg?
To build vkvg, clone the repository, create a build directory, run CMake configuration, and then build the project. Detailed instructions are provided in the README, including options for configuring the build.
What is the license for vkvg?
vkvg is open-source, but the specific license is not mentioned in the provided README.
Is vkvg thread-safe?
The context in vkvg should be thread-safe, but extensive testing is required to confirm this.

More Design & Graphics