Method and device for redrawing two-dimension vector graphics

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

Active Publication Date: 2009-12-02
ASAT CHINA TECH
View PDF0 Cites 21 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 oper

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

[0060] In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0061] The first embodiment of the present invention relates to a method for redrawing two-dimensional vector graphics. The flowchart is as follows: figure 1 As shown, in step 101, the two-dimensional vector graphics are drawn as bitmaps and buffered. Specifically, to draw all visualization primitive objects in the two-dimensional vector graphics to the picture buffer, when drawing, by calculating the outer frame coordinates of all visualization primitive objects, determine the size of the rectangular area required to contain all primitive objects, that is, to ensure All primitive objects fall within the rectangular area of ​​this range. When creating the picture buffer, the size of the picture buffer can be determined according to the size of...

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 present 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 (ie, primitive objects) are points, lines, rectangles, polygons, circles, and arcs, etc., all of which are calculated by mathematical formulas. For example, a vector graphic of a flower actually forms the outline of the outer frame by line segments, and the color of the flower is determined by the color of the outer frame and the color enclosed by the outer frame. Since vector graphics can be calculated by formulas, vector graphics files are generally small. The biggest advantage of vector graphics is that it will not be distorted whether it is enlarged, reduced or rotated...

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
IPC IPC(8): G06T11/00
Inventor 林吉毛礼荣俞高宇
Owner ASAT CHINA TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products