Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sammycage authored Jan 6, 2021
1 parent 9150634 commit e6eb1c3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
## lunasvg

lunasvg is a standalone c++ library to create, animate, manipulate and render SVG files.

![svg2png generated PNG](luna.png)

## example

```cpp
#include <lunasvg/svgdocument.h>

Expand All @@ -24,14 +26,17 @@ int main()
```

## features

- Basic Shapes : rect, circle, ellipse, line, polyline, polygon, path.
- Paint Servers : solidColor, linearGradient, radialGradient, pattern.
- Clipping, Masking and Compositing : clipPath, mask, group opacity.
- Document Structures: defs, svg, g, use, symbol.
- Coordinate Systems, Transformations and Units.
- Markers.
- Texts.
- Animations (TODO) : animate, animateColor, animateMotion, animateTransform.
- Animations (TODO)
- Filters (TODO)
- Image (TODO)

## build

Expand All @@ -56,6 +61,7 @@ make install
```

## demo

While building lunasvg example it generates a simple SVG to PNG converter which can be used to convert SVG file to PNG file.

Run Demo.
Expand All @@ -64,6 +70,7 @@ svg2png [filename] [resolution] [bgColor]
```

## support

If you like the work lunasvg is doing please consider a small donation:

<a href="https://www.buymeacoffee.com/sammycage" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 51px !important;width: 217px !important;" ></a>

0 comments on commit e6eb1c3

Please sign in to comment.