plutovg icon indicating copy to clipboard operation
plutovg copied to clipboard

Tiny 2D vector graphics library in C

Results 21 plutovg issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/36979284/164890241-ab671638-c8c2-4378-8508-1bd7f0492478.png) ```c for (int x = 0; x < 10; x++) { for (int y = 0; y < 10; y++) { float rx = 10 + x * 40,...

bug

fr: 100, cr: 5 ```c #include "plutovg.h" int main(void) { const int width = 150; const int height = 150; plutovg_surface_t *surface = plutovg_surface_create(width, height); plutovg_t *pluto = plutovg_create(surface); plutovg_save(pluto);...

bug

``` Your browser does not support the canvas element. var canvas = document.getElementById("myCanvas"); var ctx = canvas.getContext("2d"); ctx.fillStyle = "#FF0000"; ctx.fillRect(0,0,150,75); ctx.fillStyle = "#00FF00"; ctx.fillRect(50,50,150,75); ctx.fillStyle = "#0000FF"; ctx.fillRect(100,100,150,75); ```...

# Example : ```c plutovg_font_book_t* book = plutovg_font_book_create(); plutovg_font_book_add_from_file(book, "fonts/Helvetica.ttf", "Helvetica", plutovg_font_style_normal); plutovg_font_book_add_from_file(book, "fonts/Helvetica-Bold.ttf", "Helvetica", plutovg_font_style_bold); ``` ### Setting Font : ```c plutovg_surface_t* surface = plutovg_surface_create(128, 128); plutovg_t* pluto =...

``` static unsigned int __inline clz(unsigned int x) { int c = 31; x &= ~x + 1; if (n & 0x0000FFFF) c -= 16; if (n & 0x00FF00FF) c...

documentation
enhancement

This declares the version of the library to be 1.0 and enables proper `find_package` usage by consuming projects. Versioning is required to not produce broken CMake packages that have no...

Hello, I am experimenting with this library to implement a simple embedded graphic UI by creating a surface at the frame buffer address. Everything works fine as long as I...

Resolves #31 After introducing the updates from lunasvg, plutovg can be used as a submodule from lunasvg.