Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xboot/libcg

The tiny C library of 2D computer graphics.
https://github.com/xboot/libcg

2d c vg

Last synced: 4 days ago
JSON representation

The tiny C library of 2D computer graphics.

Awesome Lists containing this project

README

        

***
# libcg
The tiny `C` library of 2D computer graphics.

## Getting Started

The library's .c and .h files can be dropped into a project and compiled along with it. Just type `make` at the root directory, you will see a static library and some binary of [examples](examples) for usage.

```shell
cd libcg
make
```
## Screenshots

![arc](screenshots/arc.png)
![arc_negative](screenshots/arc_negative.png)
![clip](screenshots/clip.png)
![clip_image](screenshots/clip_image.png)
![curve_rectangle](screenshots/curve_rectangle.png)
![curve_to](screenshots/curve_to.png)
![dash](screenshots/dash.png)
![fill_and_stroke](screenshots/fill_and_stroke.png)
![fill_style](screenshots/fill_style.png)
![gradient](screenshots/gradient.png)
![image](screenshots/image.png)
![lines](screenshots/lines.png)
![multi_segment_caps](screenshots/multi_segment_caps.png)
![rounded_rectangle](screenshots/rounded_rectangle.png)
![set_line_cap](screenshots/set_line_cap.png)
![set_line_join](screenshots/set_line_join.png)
![smile](screenshots/smile.png)
![texture_tiled](screenshots/texture_tiled.png)

## License

This library is free software; you can redistribute it and or modify it under the terms of the MIT license. See [MIT License](LICENSE) for details.