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

A PDF arrow line graph drawing method and device

A technology of line graphics and graphics, applied in the field of PDF drawing arrow graphics, to achieve the effect of quick adjustment

Inactive Publication Date: 2019-05-07
ZHUHAI KINGSOFT OFFICE SOFTWARE +2
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides a method and device for drawing arrow graphics in PDF, which solves the problem of graphics drawing in PDF software

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 PDF arrow line graph drawing method and device
  • A PDF arrow line graph drawing method and device
  • A PDF arrow line graph drawing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0095] Such as image 3 As shown, the process of drawing an open triangle arrow is as follows:

[0096] 1.1: By knowing the coordinates of the two endpoints of the line segment (point A and point B), the length of the open triangle arrow (the length of line segment AD and line segment AB), and the angle between the open triangle arrow and the line segment (angle BAD and Angle BAC), to determine the coordinates of the two endpoints of the open triangle arrow (point C and point D).

[0097] 1.2: Taking point D as an example, using line segment AD and line segment AB as vectors, an equation can be obtained from the vector cosine formula, and the length of line segment AD can be obtained from an equation by the distance formula between two points, and the point D can be obtained by combining the two equations coordinate. Similarly, the coordinates of point C can be obtained.

[0098] 1.3: In the PDF software, first set the starting point of drawing as point B, and use point A a...

Embodiment 2

[0101] Such as Figure 5 As shown, the process of drawing a closed triangle arrow is as follows:

[0102] 2.1: By knowing the coordinates of the two endpoints of the line segment (point A and point B), the length of the closed triangle arrow (the length of line segment AD and line segment AB), and the angle between the closed triangle arrow and the line segment (angle BAD and Angle BAC), to determine the coordinates of the two endpoints of the closed triangle arrow (point C and point D).

[0103] 2.2: Taking point D as an example, using line segment AD and line segment AB as vectors, an equation can be obtained from the vector cosine formula, and the length of line segment AD can be obtained from the formula of the distance between two points, and the point D can be obtained by combining the two equations coordinate. Similarly, the coordinates of point C can be obtained.

[0104] 2.3: After obtaining two coordinate points (point C and point D), then draw a line segment with...

Embodiment 3

[0110] Such as Figure 7 As shown, the process of drawing a reverse closed triangle arrow is as follows:

[0111] 3.1: By knowing the coordinates of the two endpoints of the line segment (point A and point B), and the length of the reverse closed triangle arrow (the length of line segment AD and line segment AB), and the angle between the reverse closed triangle arrow and the line segment (angle BAD and angle BAC), to determine the coordinates (point C and point D) of the two endpoints of the reverse closed triangle arrow.

[0112] 3.2: Taking point D as an example, using line segment AD and line segment AB as vectors, an equation can be obtained from the vector cosine formula, the length of line segment AD can be obtained from the distance formula between two points, and the point D can be obtained by combining the two equations coordinate. Similarly, the coordinates of point C can be obtained.

[0113] 3.3: After obtaining two coordinate points (point C and point D), then...

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 PDF arrow line graph drawing method and device, and the method comprises the steps: detecting the dragging operation of a mouse, and enabling a coordinate point when a mouse key is pressed to serve as a starting point of graph drawing; taking a coordinate point when the mouse key is released as an ending point for drawing a graph; connecting the starting point and the ending point according to a preset line structure; and drawing a preset shape at the ending point. The arrow line drawing problem in PDF software is solved, the arrow line style such as the line type, theline color and the line thickness can be adjusted, the arrow length and the arrow angle of the arrow line can be adjusted, and adjustment is rapid.

Description

technical field [0001] The invention relates to the field of computer applications, in particular to a method and device for drawing arrow graphics in PDF. Background technique [0002] PDF is the name of a file format developed by Adobe Corporation of the United States, and its full name is Portable Document Format, referred to as PDF. It is an important and typical word processing tool in the field of daily office work. As the application of PDF becomes more and more extensive, the demand for its functions is gradually increasing, and the performance requirements for PDF editability are also getting higher and higher. When it comes to the application of graphics drawing, among the drawing instructions of PDF software, there are instructions for setting the starting point of drawing and instructions for setting the end point of drawing and drawing a straight line, but it is impossible to perform other operations directly on the basis of the drawn straight line, such as dra...

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): G06F3/0487G06F9/451
Inventor 邓斌
Owner ZHUHAI KINGSOFT OFFICE SOFTWARE