2 Star 11 Fork 5

yzhu / Gato

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Gato图形库 (v0.0.1)

Gato是一个轻量级抗锯齿矢量图形库,支持svg path语法,矢量字体渲染,可以实现阴影,模糊等特效。

优势

纯软件渲染,可移植性强。代码精简,cloc结果如下

➜  Gato git:(master) ✗ cloc render 
      10 text files.
      10 unique files.                              
       5 files ignored.

github.com/AlDanial/cloc v 1.88  T=0.03 s (179.7 files/s, 81239.7 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
C                                5            274              9           1977
-------------------------------------------------------------------------------
SUM:                             5            274              9           1977
-------------------------------------------------------------------------------

使用说明

  • 准备

Ubuntu

sudo apt-get install libsdl2-dev

Mac

brew install sdl2
brew install pkg-config
  • 编译
make                            #默认编译examples/ui.c
make MAIN=examples/example_1.c  #编译examples/example_1.c
  • 运行
./Gato

联系

QQ群: 934213566

MIT License Copyright (c) 2020 ZhUyU同心协力 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

目标:轻量级C语言GUI框架, 状态:开发图形组件 展开 收起
C
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C
1
https://gitee.com/891085309/Gato.git
git@gitee.com:891085309/Gato.git
891085309
Gato
Gato
master

搜索帮助