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

A drawing method and device

A drawing method and charting technology, applied in the computer field, can solve problems such as tediousness and inconsistent data formats, and achieve the effect of simplifying the drawing process and improving drawing efficiency

Active Publication Date: 2020-06-09
ADVANCED NEW TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the illustration part needs to be drawn separately, and its data description format may not be consistent with the data format of the main map part. For example, instead of the GeoJSON format, SVG is used to draw the illustration and obtain the path points of the illustration; this will result in the need to modify the illustration when drawing the map It is more cumbersome to process differently from the main picture

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] When drawing a chart, usually the drawing program can be used to automatically load the chart data, and draw a corresponding chart according to the chart data, and display it on a WEB page, and the WEB page can be a page on a PC terminal or a mobile terminal. One of the types of diagrams, can be diagrams that include illustrations. by Figure 1a Take the example map of the United States as an example. The map of the United States includes the main part 11 of the territory and the independent part 12 of the Alaska territory. If the main part 11 and the part 12 of the Alaska territory are drawn on the same scale, the primary and secondary differences of the territory will not be reflected. The expression effect is not good.

[0028] Therefore, it is usually possible to follow the Figure 1b For example, the map of the United States is designed as a "chart with illustrations", that is, if all the territories of the United States are viewed as a whole, then a part of the t...

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 drawing method and device. The method comprises the steps that graph data is loaded; whether graph transformation properties are included in the graph data is judged, wherein the graph transformation properties are used for defining transformation operation performed on a graph; when the judgment result is yes, coordinates of graph sampling points in the graph data are transformed according to the graph transformation properties; when the judgment result is not or after the coordinates are transformed when the judgment result is yes, a bounding box is calculated according to the coordinates of the graph sampling points; metrics are calculated according to the width and height of the bounding box and canvas; the coordinates of the graph sampling points are transformed into canvas coordinates, displayed on the canvas, of the graph sampling points according to the metrics; and a graph corresponding to the graph data is drawn according to the canvas coordinates. Through the drawing method and device, the drawing process is simplified, and drawing efficiency is improved.

Description

technical field [0001] The present disclosure relates to computer technology, in particular to a drawing method and device. Background technique [0002] In diagramming, one of the types of diagrams can be called an illustration, and the illustration is a supplement to the main diagram, which is equivalent to a small diagram attached to the main diagram; the role of the illustration can include: forming a clear contrast with the main diagram, or avoiding contrast Illustrations can also provide readers with more comprehensive information, helping to understand and analyze the content of the main picture. Insets can often be displayed adjacent to the main figure. Take the drawing of map illustrations as an example. For example, a country’s map contains a wide range of territories. For example, the map of the United States includes the independent Alaska territory. The primary and secondary distinction is not obvious and the effect is poor, so the territory of Alaska can be r...

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): G06F16/957G06F9/455
CPCG06F9/45529G06F16/957
Inventor 章伟星
Owner ADVANCED NEW TECH CO LTD
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