Method and system for synchronizing strokes between different platforms
A stroke and platform technology, applied in the field of image processing, can solve problems such as distortion of special types of strokes, and achieve the effect of increasing portability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0078] Please refer to figure 2 , the present embodiment provides a method for synchronizing strokes between different platforms, including:
[0079] S1: Obtain the coordinates of the corresponding pixels of each writing point on the screen of the operation terminal according to the drawing sequence of the strokes; specifically, through the sequence of drawing trigger events in response to ACTION MOVE on the screen of the operation terminal device, obtain the sequence of each writing point in operation The coordinates P(x,y) of the corresponding pixel on the end screen; suppose the coordinates of two adjacent writing points are pn-1(x,y) and pn(x2,y2);
[0080] S2: According to the coordinates, obtain the minimum enclosing rectangular area of two adjacent writing points; the minimum enclosing rectangular area is the enclosing primitive, that is, the maximum abscissa of each vertex in the given two-dimensional shape of the two writing points, The minimum abscissa, maximum o...
Embodiment 2
[0108] Please refer to Figure 4 , the present embodiment provides a system for synchronizing strokes between different platforms, including:
[0109]The first acquisition module 1 is used to acquire the coordinates of the corresponding pixels of each writing point on the screen of the operation terminal according to the drawing sequence of the strokes; specifically, it is used to sequentially acquire the coordinates of the drawing trigger events on the screen of the operation terminal. The writing point corresponding to the trigger event corresponds to the pixel coordinates on the screen of the operation terminal.
[0110] The second acquisition module 2 is used to obtain the minimum surrounding rectangular area of two adjacent writing points according to the coordinates; the second acquisition module includes: a first comparison unit 21, which is used to compare the two adjacent writing points. The size of the abscissa, the smaller abscissa mark of the numerical value is ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


