Spatial index method of two-dimension vector graphics and device thereof
A two-dimensional vector and spatial indexing technology, which is applied in the field of spatial indexing of two-dimensional vector graphics, can solve the problems of insufficient fast search and positioning, slow indexing speed, and inability to dynamically create spatial indexes, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] see figure 1 and figure 2 , the spatial indexing method for two-dimensional vector graphics in this embodiment begins with drawing the original two-dimensional vector graphics as a bitmap, that is, drawing all the visual primitive objects in the original two-dimensional vector graphics to the image buffer, and calculating the included The coordinates of the outer frame of all visual primitive objects make sure that all graphics fall within the rectangular area of this range. When creating the image buffer, the size of the image buffer can be determined according to the size of the rectangular area; during the drawing process, the two In the dimensional vector graphics, the corresponding pixels of each different visual primitive object in the bitmap are set to different colors 101, for example, the figure 2 In the shown original two-dimensional vector graphics, set the straight line primitive object to red, set the triangle primitive object to blue, and set the elli...
Embodiment 2
[0068] see image 3 and Figure 4 , the spatial indexing method for two-dimensional vector graphics in this embodiment also begins with drawing the original two-dimensional vector graphics as a bitmap, that is, drawing all the visual primitive objects in the original two-dimensional vector graphics to the picture buffer, and during the drawing process, Set the corresponding pixels in the bitmap to different colors 201 for each different visual primitive object in the two-dimensional vector graphics, and then divide the bitmap into 16 regions 202 on average according to 4*4, and then save each visual primitive Objects, the colors set for each visual primitive object and the corresponding relationship 203 between the regions, for example, the straight line primitive object in the original two-dimensional vector graphics is set to red, the triangle primitive object is set to blue, and the The ellipse primitive setting is green; the bitmap is divided into 16 areas on average acco...
Embodiment 3
[0071] see Figure 5 As shown, the difference from the first embodiment of the spatial indexing method is that the original two-dimensional vector graphics move on the display screen. At this time, the spatial indexing method of the two-dimensional vector graphics in this embodiment also starts from the original two-dimensional vector graphics Draw as a bitmap, that is, draw all the visual primitive objects in the original two-dimensional vector graphics to the picture buffer, and set the corresponding pixel points in the bitmap of each different visual primitive objects in the two-dimensional vector graphics to Different colors 301, and then save the corresponding relationship 302 between each visual primitive object and its set color, after the original two-dimensional vector graphics are opened, the original two-dimensional vector graphics will be displayed on the screen, and the original two-dimensional vector graphics will be displayed on the screen position 303 displayed...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com