A method and system for implementing an eraser capable of erasing strokes in a local area of the top layer
A local area and implementation method technology, applied in the field of human-computer interaction, to achieve the effect of improving painting editing efficiency and improving painting erasing experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0079] The preferred embodiments of the present invention will be further described in detail below.
[0080] like figure 1 As shown, an eraser implementation method for erasing strokes in a top-level local area includes the following steps:
[0081] Step S1, establishing a pixel index list; specifically, step S1 includes the following sub-steps:
[0082] Sub-step S11, according to the resolution of the drawing interface, obtain the actual pixel width and pixel height of the drawing interface;
[0083] Sub-step S12, open up and draw a one-dimensional array space as a pixel index list, the space size is equal to the total pixel size of the drawing interface, and initialize the pixel index list;
[0084] In sub-step S13, two new stroke lists are created, which are the original collection stroke list and the interpolation smooth stroke list respectively.
[0085] Step S2, collecting the original point set of the user's drawing process through the touch screen, and then perform...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


