Cairo

Cairo是一个支持多输出设备的2D图形库。(Cairo is a 2D graphics library with support for multiple outputdevices. )

  • 所有者: D-Programming-Deimos/cairo
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Cairo是一个支持多输出设备的2D图形库。当前支持的输出目标包括X Window系统(通过Xlib和XCB),Quartz,Win32,image buffers,PostScript,PDF和SVG文件输出。实验后端包括OpenGL,BeOS,OS/2和DirectFB。

Cairo旨在在所有输出媒体上产生一致的输出,同时利用显示硬件加速(如通过 X Render Extension)。cairo API提供与PostScript和PDF的绘图操作类似的操作。在开罗的操作包括抚摸和填充立方Bézier样条,转换和合成半透明图像,和抗锯齿文本渲染。所有绘图操作可以通过任何仿射变换(比例,旋转,剪切等)。Cairo实现为用C编程语言编写的库,但绑定可用于几种不同的编程语言。Cairo是免费软件,可根据GNU宽通用公共许可证(LGPL)2.1或Mozilla公共许可证(MPL)1.1版的条款重新分发和/或修改。

主要指标

概览
名称与所有者D-Programming-Deimos/cairo
主编程语言C
编程语言C++ (语言数: 3)
平台
许可证
所有者活动
创建于2012-04-27 02:12:17
推送于2016-06-08 23:45:57
最后一次提交2016-06-08 23:45:56
发布数0
用户参与
星数15
关注者数15
派生数9
提交数22
已启用问题?
问题数0
打开的问题数0
拉请求数5
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?

cairo

Cairo is a 2D graphics library with support for multiple output devices. Currently supported output
targets include the X Window System (via both Xlib and XCB), Quartz, Win32, image buffers,
PostScript, PDF, and SVG file output. Experimental backends include OpenGL, BeOS, OS/2, and
DirectFB.

Alterations to Original interface

Enums have been renamed to allow for a more sane invocation. The enum types have been camel-cased
and the members have been shortened appropriately. If shortening the name would result in a syntax
error (such as it shortening to 1_2) then an underscore is added to the beginning.

D-specific keywords have an _ appended to the name to prevent syntax errors.

Limitations

Currently many surfaces are un-implemented, all planned surfaces are in the c/ directory, supported
ones are listed in the deimos/cairo/ directory.

Some existing bindings are unsupported due to a lack of complementary bindings to other libraries.

The features list is currently just set to a common set, you will have to manually edit this to suit
your needs. This will later be replaced with an script that automatically generated the list from
your existing Cairo install.

Dependencies

The basic usage has no dependencies, however some of the backends have dependencies that require you
to have other deimos bindings installed.

  • The Xlib and XRender surfaces require deimos.X11.