Drawing method and device
A drawing method and graphics technology, applied in the field of drawing, can solve the problems of shortening the drawing time, improper value selection, unguaranteed graphics accuracy, etc., and achieve the effect of shortening the drawing time and reducing the number of drawings.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] An embodiment of the present invention provides a drawing method, such as figure 1 As shown, the method includes:
[0046] 101. Convert all the original data points included in the graphics to be drawn into corresponding screen pixel points, and each screen pixel point corresponds to its respective screen pixel column and screen pixel row.
[0047] Wherein, the conversion of all the original data points contained in the graph to be drawn into the corresponding screen pixel points may adopt any method in the prior art, which is not limited in the embodiment of the present invention; for example, it will be necessary to draw The following methods can be used to convert all the original data points contained in the graphics into corresponding screen pixels, which include:
[0048] From all the original data points contained in the graph that needs to be drawn i (x i ,y i ) to obtain the ordinate value y of the original data point with the smallest ordinate min and the...
Embodiment 2
[0101] An embodiment of the present invention provides a drawing method, such as Figure 6 As shown, the method includes:
[0102] 401. Convert all the original data points included in the graphics to be drawn into corresponding screen pixel points, and each screen pixel point corresponds to a respective screen pixel column and screen pixel row.
[0103] Among them, the conversion of all the original data points contained in the graphics to be drawn into corresponding screen pixels can be referred to figure 1 The corresponding description in step 101 in , will not be repeated here in this embodiment of the present invention.
[0104] 402. Select four screen pixel points from each screen pixel row, and the four screen pixel points are respectively the first screen pixel point and the abscissa point corresponding to the original data point with the smallest abscissa among the original data points before the coordinate conversion The second screen pixel corresponding to the lar...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 