Canvas rendering method and device, electronic equipment and medium
CN121962300APending Publication Date: 2026-05-01BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2024-10-28
- Publication Date
- 2026-05-01
Smart Images

Figure CN121962300A_ABST
Abstract
The invention relates to a canvas rendering method and device, electronic equipment and a medium. The method comprises the steps of obtaining target position information of a canvas in response to a movement operation on the canvas; the target position information is used for representing position information after the canvas is moved; determining a to-be-rendered area based on the target position information; the to-be-rendered region is used for representing a newly added region of the first rendering region compared with a second rendering region, the first rendering region is a rendering region after the canvas is moved, and the second rendering region is a rendering region before the canvas is moved; and rendering the to-be-rendered area. According to the method and the device, only the first rendering area is rendered compared with the newly-added area of the second rendering area, so that local rendering of the canvas is realized, the problems of large memory occupation and lagging caused by large-range rendering operation are avoided, the rendering speed and the rendering efficiency are improved, the rendering process without perception of a user is realized, and the user experience is improved. And the use experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art