You must refresh the contents of the canvas whenever they become damaged. This is necessary because Photon doesn't keep track of the widget's raw contents for you. It's more efficient to have you, as application programmer, maintain the original data structure and redraw the contents of the canvas. If it takes a long time to render the contents of the canvas, consider rendering them into an image and copying the image into the canvas when it's damaged.
请问红色粗体字这句话如何理解？How to render them into an image?
中文QNX 讨论: 欢迎大家灌水，讨论有关QNX 问题。
1 帖子 • 分页： 1 / 1