Skia是一个开源的二维图形库,提供各种常用的API,并可在多种软硬件平台上运行。谷歌Chrome浏览器、Chrome OS、安卓、火狐浏览器、火狐操作系统以及其它许多产品都使用它作为图形引擎。
Skia由谷歌出资管理,任何人都可基于BSD免费软件许可证使用Skia。Skia开发团队致力于开发其核心部分, 并广泛采纳各方对于Skia的开源贡献。
点击以下任意图像查看生成该图像的源代码。
几何形状 | 贝塞尔曲线 |
---|---|
<th><!-- Translations and Rotations -->平移与旋转</th>
<th><!-- Text Rendering -->文字渲染</th>
<td>
<a href='https://fiddle.skia.org/c/@rotations'>
<img src='https://fiddle.skia.org/i/@rotations_raster.png'>
</a>
</td>
<td>
<a href='https://fiddle.skia.org/c/@text_rendering'>
<img src='https://fiddle.skia.org/i/@text_rendering_raster.png'>
</a>
</td>
<th><!-- Discrete Path Effects -->离散路径特效</th>
<th><!-- Composed Path Effects -->合成路径特效</th>
<td>
<a href='https://fiddle.skia.org/c/@discrete_path'>
<img src='https://fiddle.skia.org/i/@discrete_path_raster.png'>
</a>
</td>
<td>
<a href='https://fiddle.skia.org/c/@compose_path'>
<img src='https://fiddle.skia.org/i/@compose_path_raster.png'>
</a>
</td>
<td>
<a href='https://fiddle.skia.org/c/@sum_path_effect'>
<img src='https://fiddle.skia.org/i/@sum_path_effect_raster.png'>
</a>
</td>
<td>
<a href='https://fiddle.skia.org/c/@shader'>
<img src='https://fiddle.skia.org/i/@shader_raster.png'>
</a>
</td>
如果想大概了解我们接下来6-12个月会触及的项目,请查看该文档。 请注意,该文档会根据我们用户的需求实时更新。