Unlock instant, AI-driven research and patent intelligence for your innovation.

Graph drawing method and device

A graphics drawing and graphics technology, which is applied in the computer field, can solve problems such as badness, and achieve the effect of simple software interface and convenient graphics drawing

Inactive Publication Date: 2017-09-08
LAUNCH SOFTWARE DEV
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But there is a problem with this, that is, when the background of the interface changes, the white background is displayed again
like image 3 shown figure 2 The effect picture after the background of the middle interface changes, which is very bad
[0004] The other is to draw only irregular graphics in the code according to the image location area in detail when drawing the control, such as figure 1 The eye part in the picture, but this method also has a disadvantage, that is, if you change a picture, the code has to be rewritten, because the content of the irregular area in each picture is different

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
  • Graph drawing method and device
  • Graph drawing method and device
  • Graph drawing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0038] see Figure 4 , Figure 4 It is a schematic flow chart of a graph drawing method provided by an embodiment of the present invention, and the method includes the following steps:

[0039] S101. Store a mask image corresponding to a graph to be drawn.

[0040] In this embodiment, each figure to be drawn has a corresponding mask map, and the mask map corresponding to the figure to be drawn is stored in advance before drawing the figure. This step is an optional step, and other steps are connected by dotted lines in the figure. It can be understood that the mask map may not be stored in advance, and the mask map corresponding to the current graphics to be drawn may be obtained from the network in real time.

[0041] S102. According to the plurality of pixels included in...

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 graph drawing method and device. The method comprises the steps of: aiming at a pixel point at each position, obtaining a color of a pixel point at a corresponding position of a mask code image corresponding to a to-be-drawn graph according to a plurality of pixel points included in the to-be-drawn graph; and determining whether to draw the pixel point at the position according to the obtained color. Through the mask code image, the to-be-displayed part of the to-be-drawn graph is controlled, the to-be-drawn graph corresponds to the mask code image, if the to-be-drawn graph needs to be changed, the operators only need to update the mask code image, so that graph drawing can be simply and conveniently carried out on a software interface.

Description

technical field [0001] The invention relates to the field of computers, in particular to a graphic drawing technology of a software interface. Background technique [0002] Now the software interface of the computer is very important, and there are more and more controls and pictures showing irregular graphics on the interface, such as pictures of eyes. We need to draw any area in a picture, instead of drawing all the graphics. For example, if figure 1 The rendering effect diagram of the irregular graphics shown, there are figure 1 The picture on the left is eye.bmp, and then we need to draw the eyes inside to the interface to realize figure 1 For the effect shown on the right, only draw the eyes, without any gray background. There are generally two implementation methods commonly used now: [0003] One is to make a rectangular control, and the parts around the eyes in the graphics are drawn in the same color as the background color, so that it looks like only an irregu...

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): G06T11/40
CPCG06T11/40
Inventor 刘均庄文龙
Owner LAUNCH SOFTWARE DEV