Vector line segment contouring method applicable to mobile terminal
A vector line segment, mobile terminal technology, applied in the field of computer vector graphics rendering, can solve problems such as burden and complex filling operation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0074] Figure 5 It is the outline diagram when the vector line segment has only one vertex in step (3).
[0075] Such as Figure 5 As shown, the vector line segment has only one vertex p, its coordinates are (x, y), and the line width is w. When contouring, take the polygon contour point coordinates:
[0076] (x-w / 2, y-w / 2), (x+w / 2, y-w / 2), (x+w / 2, y+w / 2), (x-w / 2, y+w / 2);
[0077] Image 6 It is the outline diagram when the number of vertices of the vector line segment in step (3) is greater than 1.
[0078] Such as Image 6 As shown, if the number of vertices of the vector line segment is n, and n>1, the vertex is p 0 , P 1 …P n-1 , The line width is w, from p 0 Initially, each vertex is calculated in turn with the next vertex in the vertex sequence as follows:
[0079] The coordinates of adjacent vertices are (x a , Y a ), (x b , Y b ),Such as Image 6 As shown in figure (a), if it is satisfied:
[0080] | x a - x b | | y a - y b | > 1...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 