gtk+ 中的图像内存
我是 gtk+ 领域的新手。我的问题是有没有办法在 gtk 中快速渲染图像???我的意思是有没有办法直接改变帧缓冲区或视频内存或类似的东西中的图像数据? pixbufs 做同样的事情吗?我需要将其应用于滚动示例。 cairo 适合快速渲染图像吗?
I'm new in the field of gtk+. My question is that is there a way to render images very fast in gtk??? I mean is there a way to directly alter the image data in frame buffer or video ram or something like that? Do pixbufs do the same thing?? I need to apply this for a scrolling example. Is cairo good for fast rendering of images?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
GTK 是一个高级工具包,这意味着您无法进行此类低级操作。然而,GTK 内置了大量用于快速滚动的工具。您还可以将图像渲染到内存中的 Cairo 表面。你到底想做什么?
GTK is a high-level toolkit, which means that you can't do that sort of low-level manipulation. However, GTK has plenty of facilities for fast scrolling built in. You can also render images to Cairo surfaces in memory. What are you trying to do exactly?