项目
在 GitHub 查看 Graphics
PistonDevelopers/graphics
关于
一个用 Rust 编写、支持多个后端的 2D 图形库。
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Graphics

A library for 2D graphics, written in Rust, that works with multiple back-ends.
Maintainers: @bvssvni
| Back-ends |
|---|
| opengl_graphics |
| gfx_graphics |
| glium_graphics |
Motivation
Sharing graphics source code across projects in Rust
Rust is programming language developed by Mozilla and the Rust community. It is fast, safe, concurrent and cross platform. Because of the many numbers of potential platforms (read: all kinds of computers), it would be nice to have a 2D graphics library that works with multiple back-ends, so you don't have to invent a new graphics engine for each platform you are working on.
One trait for all back-ends
To write your own back-end, use the Graphics trait. The Graphics trait implements default behavior for some methods,
which can be overridden for higher quality or better performance.
Goals
- Easy to use
- Minimal dependencies
- Vector graphics
- Images
- Text
- Clipping
- To have a feature complete library for 2D graphics in general
Non-Goals
- Image formats
- Backward compatibility (expect lot of breaking)
- Platform or back-end specific code
- 3D
- Physics
- Node tree
- One-to-one correspondence with standards
- Integration with platform GUI
- Resolution detection
Used by
Dependencies

探索相关项目
加载中…