有没有这样的图形库?
有没有满足以下要求的图库?
- 可以画点、线、圆。
- 画布尺寸可以自动扩展。
- 支持负坐标。
- 可以输出到 png 或任何矢量图(如 svg)。
- 可以绘制字符(仅限英文)(甚至以一定角度旋转的字符),
例如 我画了 2 个点 (-1,-1) (1,1)。 它会输出一张 2x2 大小的图片。这个左上角就是点(-1,-1)。右下角是点 (1,1)
谢谢。
IS there any graphic library meeting the following requirement.
- can draw a point, a line, and a circle.
- the size of canvas can be extended automatically.
- support negative coordinates.
- can output to png or any vectorgraph(like svg).
- can draw characters (english only) (even characters rotated at a certain angle)
for e.g.
I draw 2 point (-1,-1) (1,1).
it will output a 2x2 sized picture. This left-top is the point(-1,-1). and the right-bottom is the point (1,1)
thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,当然有几个。我建议你看一下并学习 OpenGL。您可以在 Windows、Mac、Linux、iOS、Android 上运行它。
它支持 2D 和 3D 渲染,尽管比 CoreGraphics 等常规 2D 图形库更复杂,但它也更强大。
Yes, of course there are a couple of them. I would suggest you take a look and learn OpenGL. You can run it on Windows, Mac, Linux, iOS, Android, you name it.
It supports 2D and 3D rendering, and, even though is more complex than a regular 2D graphics library like CoreGraphics, it also more powerful.