Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for redrawing two-dimension vector graphics

A two-dimensional vector and graphics technology, applied in the field of graphics redrawing, can solve the problems of slow indexing speed of two-dimensional vector graphics, insufficient search and positioning, and affecting the redrawing speed of two-dimensional vector graphics, so as to save power consumption and speed up The effect of redraw speed

Active Publication Date: 2013-04-10
ASAT CHINA TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The inventors of the present invention found that the indexing speed of the current two-dimensional vector graphics is still relatively slow, complex mathematical operations are required in the mapping process, and the search and positioning is not fast enough, thus affecting the redrawing speed of the two-dimensional vector graphics

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for redrawing two-dimension vector graphics
  • Method and device for redrawing two-dimension vector graphics
  • Method and device for redrawing two-dimension vector graphics

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the purpose, technical solution and advantages of the present invention clearer, the following will further describe the implementation of the present invention in detail in conjunction with the accompanying drawings.

[0059] The first embodiment of the present invention relates to a method for redrawing two-dimensional vector graphics, the flow chart of which is as follows figure 1 As shown, in step 101, the two-dimensional vector graphic is drawn as a bitmap and cached. Specifically, all the visual primitive objects in the two-dimensional vector graphics are drawn to the picture buffer, and the coordinates of the outer frame of all the visual primitive objects are calculated to determine the size of the rectangular area required to contain all the primitive objects, that is, to ensure All primitive objects fall within the rectangular area of ​​this range. When creating a picture buffer, the size of the picture buffer can be determined according to th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for redrawing two-dimension vector graphics. The method comprises the following steps: drawing all visual graphic primitive objects in two-dimension vector graphics in a buffer zone, buffering the visual graphic primitive objects in form of raster graphics, dividing the buffered raster graphics into at least two zones, and storing the mapping relationship between the zones and the visual graphic primitive objects in the two-dimension vector graphics in the zones; when the visual graphic primitive objects in the two-dimension vector graphics changes, determining the corresponding zones of changed graphic primitive objects before the change according to the mapping relation between the visual graphic primitive objects and the zones; determining the corresponding zones of the changed graphic primitive objects after the change according to the position and / or size of the changed graphic primitive objects; and redrawing the raster graphics of the corresponding zones of the graphic primitive objects before and after the change on a display screen. The amount of data to be processed is reduced due to local redrawing, so the redrawing of the two-dimension vector graphics is speeded up.

Description

technical field [0001] The invention relates to a graphics redrawing technology, in particular to a method and device for redrawing two-dimensional vector graphics. Background technique [0002] The graphics displayed in the computer can generally be divided into two categories - vector graphics and bitmaps. Vector graphics use straight lines and curves to describe graphics. The elements of these graphics (that is, primitive objects) are some points, lines, rectangles, polygons, circles, and arcs, etc., which are all calculated by mathematical formulas. For example, a vector graphic of a flower is actually composed of line segments to form an outer frame outline, and the color of the flower is determined by the color of the outer frame and the color enclosed by the outer frame. Because vector graphics can be calculated by formulas, the file size of vector graphics is generally small. The biggest advantage of vector graphics is that it will not be distorted no matter how zo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T11/00
Inventor 林吉毛礼荣俞高宇
Owner ASAT CHINA TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products