sammycage / Plutosvg
Licence: mit
Tiny SVG rendering library in C
Stars: ✭ 149
Programming Languages
c
50402 projects - #5 most used programming language
Labels
Projects that are alternatives of or similar to Plutosvg
Styled Icons
💅 Popular icon packs like Font Awesome, Material Design, and Octicons, available as React Styled Components
Stars: ✭ 1,878 (+1160.4%)
Mutual labels: svg
Pyecharts Snapshot
renders the output of pyecharts as png, jpeg, gif, svg, eps, pdf and raw base64
Stars: ✭ 142 (-4.7%)
Mutual labels: svg
React Content Loader
⚪ SVG-Powered component to easily create skeleton loadings.
Stars: ✭ 11,830 (+7839.6%)
Mutual labels: svg
Gantt
Gantt chart library using jsx support SVG, Canvas and SSR
Stars: ✭ 148 (-0.67%)
Mutual labels: svg
Glyphs
A dynamic design system for managing large icon sets in Figma and using them on the web
Stars: ✭ 140 (-6.04%)
Mutual labels: svg
Svg Banners
Styled banners for your Readme made with html/css in SVG !!
Stars: ✭ 145 (-2.68%)
Mutual labels: svg
Drawbot
Drawing robot capable of rendering SVG paths over WebSockets. Powered by a Raspberry Pi running Node.js.
Stars: ✭ 142 (-4.7%)
Mutual labels: svg
Vivid
a JavaScript library which is built to easily customize and use the SVG Icons with a blaze.
Stars: ✭ 1,797 (+1106.04%)
Mutual labels: svg
Coreui Icons
CoreUI Free Icons - Premium designed free icon set with marks in SVG, Webfont and raster formats
Stars: ✭ 1,813 (+1116.78%)
Mutual labels: svg
PlutoSVG
plutosvg is a tiny SVG rendering library in C
Features
- Basic Shapes : rect, circle, ellipse, line, polyline, polygon, path
- Paint Servers : solidColor, linearGradient, radialGradient, pattern(TODO)
- Document Structures: defs, svg, g, use, symbol
- Texts (TODO) : text, tspan, tref
- Image (TODO)
Example
#include <plutosvg.h>
#include <stdlib.h>
#include <stdio.h>
int main(void)
{
plutovg_surface_t* surface = plutosvg_load_from_file("camera.svg", NULL, 0, 0, 96.0);
if(surface == NULL)
{
printf("Load failed\n");
return -1;
}
plutovg_surface_write_to_png(surface, "camera.png");
plutovg_surface_destroy(surface);
return 0;
}
output :
Build
Install cmake if not already installed
git clone --recursive https://github.com/sammycage/plutosvg.git
cd plutosvg
mkdir build
cd build
cmake ..
make
Support
If you like what we do, you can buy us a coffee
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].