Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 gtk+ 领域的新手。我的问题是有没有办法在 gtk 中快速渲染图像???我的意思是有没有办法直接改变帧缓冲区或视频内存中的图像数据或类似的东西?pixbufs做同样的事情吗?我需要将此应用于滚动示例。cairo 是否适合快速渲染图像?
GTK 是一个高级工具包,这意味着您不能进行那种低级操作。但是,GTK 有很多内置的快速滚动功能。您还可以将图像渲染到内存中的 Cairo 表面。你到底想做什么?