Vector graph operating method and device applied to webpage

A technology of vector graphics and operation methods, applied in the field of vector graphics operation methods and devices, can solve problems such as misoperation, not supporting pixel-level erasing, and the effect of the eraser is not realistic enough, so as to improve the operation effect and erasure the effect of the effect

Active Publication Date: 2013-10-09
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because the existing solutions only support erasing at the stroke level and not at the pixel level, the following problems arise: First, the efficiency of the erasing operation is low. For example, the erasing method on ppt is: use the brush tool to perform After the key content is marked once, click the "Eraser" to erase the marked track at one time, which cannot be erased on demand and in quantity, which is easy to cause misoperation, and the user may need to mark again; second, the eraser The effect is not realistic enough
[0003] In addition, although the drawing tool provided by the operating system (for example, windows) can erase the pixel level of the graphics, this tool is only applied locally on the PC through the PC programming technology, and cannot be applied to the network based on the flash technology. Therefore, the drawing tool is only aimed at desktop users, but it can do nothing for Internet users who use browsers to surf the Internet.

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
  • Vector graph operating method and device applied to webpage
  • Vector graph operating method and device applied to webpage
  • Vector graph operating method and device applied to webpage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0024] According to one aspect of the present invention, a method for operating vector graphics applied to web pages is provided.

[0025] Please refer to image 3 , image 3 It is a flowchart of an operation method for vector graphics applied to web pages according to a preferred embodiment of the present invention.

[0026] Such as image 3 As shown, the method for operating vector graphics applied to webpages provided by the present invention includes the following steps:

[0027] Step S301 , triggering a drawing or erasing state in response to the user's operation on the brush tool or the erasing tool in the webpage sketchpad.

[0028] Specifically, the user selects various graphics operation tools, including a brush tool and a graphics erasing tool (typically such as an eraser), in the web page drawing board through such as a mouse, a touch screen de...

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 provides a vector graph operating method applied to a webpage. The vector graph operating method applied to the webpage comprises the following steps that operation to drawing tools or erasing tools in a webpage drawing board by a user is responded, and a drawing state or an erasing state is triggered; when the drawing state is triggered, the operation positions of the drawing tools are obtained based on the flash technology, drawing traces of the drawing tools are recorded, and vector graphs are drawn; when the erasing state is triggered, drawn graphs are cached in a bitmap mode, the operation positions of the erasing tools are obtained based on the flash technology, erasing traces of the erasing tools are recorded, and bitmap graphs are erased. Correspondingly, the invention further provides a vector graph operating method applied to the webpage. The vector graph operating method and device applied to the webpage can effectively achieve drawing of the vector graphs and erasing in the pixel level, and improve graphic operation experience of the user.

Description

technical field [0001] The invention relates to graphics operation technology, in particular to a method and device for operating vector graphics applied to web pages. Background technique [0002] In the prior art, although the drawing method of vector graphics is adopted when manipulating graphics, the position and shape of each stroke are saved during the drawing process, but when the graphics are erased, only each stroke can be erased, such as widely used in The slideshow (power point, ppt for short) brush tool on the computer (pc) desktop, when the ppt is in the show state, you can select different brush tools for various annotations through the pointer option, and erase them by selecting the "eraser" tool label. However, because the existing solutions only support erasing at the stroke level and not at the pixel level, the following problems arise: First, the efficiency of the erasing operation is low. For example, the erasing method on ppt is: use the brush tool to p...

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 Applications(China)
IPC IPC(8): G06F9/44
Inventor 李衡张东宁刘洪敏
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
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