CN109725811A - A kind of method and apparatus that PDF draws arrow figure - Google Patents

A kind of method and apparatus that PDF draws arrow figure Download PDF

Info

Publication number
CN109725811A
CN109725811A CN201711023454.0A CN201711023454A CN109725811A CN 109725811 A CN109725811 A CN 109725811A CN 201711023454 A CN201711023454 A CN 201711023454A CN 109725811 A CN109725811 A CN 109725811A
Authority
CN
China
Prior art keywords
point
arrow
shape
coordinate points
mousebutton
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711023454.0A
Other languages
Chinese (zh)
Inventor
邓斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology Co Ltd
Guangzhou Jinshan Mobile Technology Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Jinshan Mobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd, Guangzhou Jinshan Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201711023454.0A priority Critical patent/CN109725811A/en
Publication of CN109725811A publication Critical patent/CN109725811A/en
Pending legal-status Critical Current

Links

Abstract

The application proposes a kind of method and apparatus that PDF draws arrow figure, which comprises the drag operation for detecting mouse, coordinate points when mousebutton is pressed are as the starting point of graphing;Coordinate points when mousebutton is decontroled are as the terminating point of graphing;The starting point and ending point is connected according to default linear;In the termination point-rendering preset shape.The drafting problem of the arrow in PDF software, and adjustable arrow pattern, such as lines line style, line color and line weight are not only solved, the arrow length of arrow can also be adjusted, arrow angle adjusts fast.

Description

A kind of method and apparatus that PDF draws arrow figure
Technical field
The present invention relates to computer application fields, and in particular to a kind of method and apparatus that PDF draws arrow figure.
Background technique
PDF is a kind of title of file format, and this document format is developed by Adobe company, the U.S., full name Portable Document Format, referred to as PDF.It is that routine office work field is important, typical word processing tool.As PDF is applied It is more and more extensive, the demand to its function also gradually increases, and performance requirement editable for PDF is also higher and higher.It is related to To graphic plotting in application, in the drafting instruction of PDF software, there is setting to draw the instruction of starting point and be arranged and draw terminal and draw The instruction of straight line processed, but other operations can not be carried out directly on the basis of the straight line of drafting, such as draw opening triangle Shape arrow figure.
Summary of the invention
The present invention provides a kind of PDF method and apparatus for drawing arrow figure, solves asking for graphic plotting in PDF software Topic.
In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is as follows:
First aspect present invention provides a kind of method that PDF draws arrow figure, comprising:
The drag operation of mouse is detected, coordinate points when mousebutton is pressed are as the starting point of graphing;By mouse Mark terminating point of coordinate points when key is decontroled as graphing;
The starting point and ending point is connected according to default linear;
In the termination point-rendering preset shape.
Preferably, the default linear includes: lines line style, line color and line weight.
Preferably, the preset shape includes following one:
Opening triangle arrow, closo triangle arrow, reversed closed type triangle arrow, reversed opening triangle Shape arrow, diamond shape arrow, forward type arrow, bias type arrow, circular arrow, square arrow.
It preferably, before include: the detection PDF text according to the connection of default linear by the starting point and ending point This state in which executes the operation of the connection when in arrow state is drawn.
Preferably, the method also includes:
Adjust the shape for terminating point-rendering.
Preferably, the shape for terminating point-rendering is adjusted:
Detection mouse presses the operation of the endpoint or lines of the shape;
It detects the drag operation of mouse and determines the coordinate points that mousebutton is decontroled;The endpoint of the shape or lines are moved The coordinate points that dynamic or rotation to mousebutton is decontroled.
Preferably, the coordinate points that the endpoint of the shape or lines movement or rotation to mousebutton are decontroled also are wrapped later It includes:
According to the coordinate points that the mobile mousebutton of the endpoint of the shape or lines is decontroled, the shape equal proportion is contracted It puts.
Second aspect, the present invention also provides the devices that a kind of PDF draws arrow figure, comprising:
Detection module is set as the drag operation of detection mouse, and coordinate points when mousebutton is pressed are as drafting figure The starting point of shape;Coordinate points when mousebutton is decontroled are as the terminating point of graphing;
Link block is set as connecting the starting point and ending point according to default linear;
Drafting module is set as in the termination point-rendering preset shape.
Preferably, the detection module is also configured to detect the PDF text state in which, when in drafting arrow When state, the link block is triggered.
Preferably, the device further include:
Module is adjusted, is set as adjusting the shape for terminating point-rendering.
Preferably, it includes: that detection mouse presses the shape that the adjustment module, which adjusts the shape for terminating point-rendering, Endpoint or lines operation;
It detects the drag operation of mouse and determines the coordinate points that mousebutton is decontroled;The endpoint of the shape or lines are moved The coordinate points that dynamic or rotation to mousebutton is decontroled.
Preferably, the adjustment module is also configured to:
According to the coordinate points that the mobile mousebutton of the endpoint of the shape or lines is decontroled, the shape equal proportion is contracted It puts.
The third aspect, the present invention also provides the devices that a kind of PDF draws arrow figure, comprising:
Memory and processor,
The memory, for saving executable instruction;
The processor, the executable instruction saved for executing the memory, proceeds as follows:
The drag operation of mouse is detected, coordinate points when mousebutton is pressed are as the starting point of graphing;By mouse Mark terminating point of coordinate points when key is decontroled as graphing;
The starting point and ending point is connected according to default linear;
In the termination point-rendering preset shape.
Compared to the prior art the present invention, has the following beneficial effects:
Technical solution of the present invention not only solves the drafting problem of the arrow in PDF software, and adjustable arrow Pattern, such as lines line style, line color and line weight, can also adjust the arrow length of arrow, and arrow angle adjusts ratio It is relatively quick.
Detailed description of the invention
Fig. 1 is the flow chart that the PDF of the embodiment of the present invention draws the method for arrow figure;
Fig. 2 is the structural schematic diagram that the PDF of the embodiment of the present invention draws the device of arrow figure;
Fig. 3 is the drawing process figure of the opening triangle arrow of the embodiment of the present invention 1;
Fig. 4 is the drafting effect picture of the opening triangle arrow of the embodiment of the present invention 1;
Fig. 5 is the drawing process figure of the opening triangle arrow of the embodiment of the present invention 2;
Fig. 6 is the drafting effect picture of the opening triangle arrow of the embodiment of the present invention 2;
Fig. 7 is the drawing process figure of the opening triangle arrow of the embodiment of the present invention 3;
Fig. 8 is the drafting effect picture of the opening triangle arrow of the embodiment of the present invention 3;
Fig. 9 is the drawing process figure of the opening triangle arrow of the embodiment of the present invention 4;
Figure 10 is the drafting effect picture of the opening triangle arrow of the embodiment of the present invention 4;
Figure 11 is the drawing process figure of the opening triangle arrow of the embodiment of the present invention 5;
Figure 12 is the drafting effect picture of the opening triangle arrow of the embodiment of the present invention 5;
Figure 13 is the drawing process figure of the opening triangle arrow of the embodiment of the present invention 6;
Figure 14 is the drafting effect picture of the opening triangle arrow of the embodiment of the present invention 6;
Figure 15 is the drawing process figure of the opening triangle arrow of the embodiment of the present invention 7;
Figure 16 is the drafting effect picture of the opening triangle arrow of the embodiment of the present invention 7;
Figure 17 is the drawing process figure of the opening triangle arrow of the embodiment of the present invention 8;
Figure 18 is the drafting effect picture of the opening triangle arrow of the embodiment of the present invention 8;
Figure 19 is the drawing process figure of the opening triangle arrow of the embodiment of the present invention 9;
Figure 20 is the drafting effect picture of the opening triangle arrow of the embodiment of the present invention 9.
Specific embodiment
To keep goal of the invention of the invention, technical scheme and beneficial effects more clear, with reference to the accompanying drawing to this The embodiment of invention is illustrated, it should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
As shown in Figure 1, the embodiment of the present invention provides a kind of 1, PDF method for drawing arrow figure, comprising:
S101, the drag operation for detecting mouse, coordinate points when mousebutton is pressed are as the starting point of graphing; Coordinate points when mousebutton is decontroled are as the terminating point of graphing;
S102, the starting point and ending point is connected according to default linear;
S103, in the termination point-rendering preset shape.
Initially entered in the embodiment of the present invention creation arrow process, user using when first click on it is corresponding in PDF software Button presses the coordinate points of mousebutton as starting point, keeps down state, mobile, release into the state for drawing arrow The coordinate points of mousebutton complete the creation operation of arrow, wherein the type of arrow is last use as terminating point at this time The type of family setting.If necessary to change arrow types, process is to choose arrow, presses right mouse button, and Selective type is set It sets.
Wherein, the default linear includes: lines line style, line color and line weight.The preset shape packet Include following one:
Opening triangle arrow, closo triangle arrow, reversed closed type triangle arrow, reversed opening triangle Shape arrow, diamond shape arrow, forward type arrow, bias type arrow, circular arrow, square arrow.
It include: locating for the detection PDF text before the starting point and ending point is connected according to default linear State, when in draw arrow state when, execute the operation of the connection.
The method also includes:
S104, the adjustment shape for terminating point-rendering.
Preferably, the shape for terminating point-rendering is adjusted:
S1041, detection mouse press the operation of the endpoint or lines of the shape;
S1042, the drag operation for detecting mouse simultaneously determine the coordinate points that mousebutton is decontroled;By the endpoint of the shape or Lines are mobile or rotate the coordinate points decontroled to mousebutton.
After the coordinate points that the endpoint of the shape or lines movement or rotation are decontroled to mousebutton further include:
S1043, the coordinate points decontroled according to the mobile mousebutton of the endpoint or lines of the shape, by described shape etc. Scaling.
As shown in Fig. 2, the embodiment of the present invention also provides a kind of device of PDF graphing, comprising:
Detection module is set as the drag operation of detection mouse, and coordinate points when mousebutton is pressed are as drafting figure The starting point of shape;Coordinate points when mousebutton is decontroled are as the terminating point of graphing;
Link block is set as connecting the starting point and ending point according to default linear;
Drafting module is set as in the termination point-rendering preset shape.
The detection module is also configured to detect the PDF text state in which, when in arrow state is drawn, Trigger the link block.
The device further include:
Module is adjusted, is set as adjusting the shape for terminating point-rendering.
It is described adjustment module adjust it is described terminate point-rendering shape include: detect mouse press the shape endpoint or The operation of lines;
It detects the drag operation of mouse and determines the coordinate points that mousebutton is decontroled;The endpoint of the shape or lines are moved The coordinate points that dynamic or rotation to mousebutton is decontroled.
The adjustment module is also configured to:
According to the coordinate points that the mobile mousebutton of the endpoint of the shape or lines is decontroled, the shape equal proportion is contracted It puts.
The embodiment of the present invention also provides a kind of device of PDF drafting arrow figure, comprising:
Memory and processor,
The memory, for saving executable instruction;
The processor, the executable instruction saved for executing the memory, proceeds as follows:
The drag operation of mouse is detected, coordinate points when mousebutton is pressed are as the starting point of graphing;By mouse Mark terminating point of coordinate points when key is decontroled as graphing;
The starting point and ending point is connected according to default linear;
In the termination point-rendering preset shape.
Embodiment 1
As shown in figure 3, the process for drawing opening triangle arrow is as follows:
1.1: passing through the coordinate (point A and point B) of known two endpoints of line segment, and the length (line of opening triangle arrow The length of section AD and line segment AB), and the angle (angle BAD and angle BAC) of opening triangle arrow and line segment, to determine opening The coordinate (point C and point D) of two endpoints of type triangle arrow.
1.2: by taking point D as an example, using line segment AD and line segment AB as vector, an equation can be obtained by vector cosine formula, The length of line segment AD obtains an equation by distance between two points formula, and the coordinate of point D can be solved by combining two equations.Similarly, The coordinate of point C can be acquired.
1.3: the starting point that drafting is first arranged in PDF software is point B, carries out primary draw as end point using point A and operates. Then, the starting point that drafting is arranged is point D, carries out primary draw as end point using point A and operates, carries out one by end point of point C Secondary drafting operation.
It is as shown in Figure 4 to draw effect.
Embodiment 2
As shown in figure 5, the process for drawing closo triangle arrow is as follows:
2.1: passing through the length (line of coordinate (point A and the point B) and closo triangle arrow of known two endpoints of line segment Section AD and line segment AB length) and closo triangle arrow and line segment angle (angle BAD and angle BAC), come determine closure The coordinate (point C and point D) of two endpoints of type triangle arrow.
2.2: by taking point D as an example, using line segment AD and line segment AB as vector, an equation can be obtained by vector cosine formula, The length of line segment AD obtains an equation by distance between two points formula, and the coordinate of point D can be solved by combining two equations.Similarly, The coordinate of point C can be acquired.
2.3: acquiring after two coordinate points (point C and point D), then using point D as starting point, point A is terminating point, draws one Line segment.
2.4: using point A as starting point, point C is terminating point, draws a line segment.
2.6: using point C as starting point, point D is terminating point, draws a line segment.
2.6: triangle ACD is filled.
It is as shown in Figure 6 to draw effect.
Embodiment 3
As shown in fig. 7, the process for drawing reversed closed type triangle arrow is as follows:
3.1: passing through the length of coordinate (point A and the point B) and reversed closed type triangle arrow of known two endpoints of line segment The angle (angle BAD and angle BAC) of (length of line segment AD and line segment AB) and reversed closed type triangle arrow and line segment comes Determine the coordinate (point C and point D) of reversed closed two endpoints of type triangle arrow.
3.2: by taking point D as an example, using line segment AD and line segment AB as vector, an equation can be obtained by vector cosine formula, The length of line segment AD obtains an equation by distance between two points formula, and the coordinate of point D can be solved by combining two equations.Similarly, The coordinate of point C can be acquired.
3.3: acquiring after two coordinate points (point C and point D), then using point D as starting point, point A is terminating point, draws one Line segment.
3.4: using point A as starting point, point C is terminating point, draws a line segment.
3.5: using point C as starting point, point D is terminating point, draws a line segment.
3.6: triangle ACD is filled.
It is as shown in Figure 8 to draw effect.
Embodiment 4
As shown in figure 9, the process for drawing reversed opening triangle arrow is as follows:
4.1: passing through the coordinate (point A and point B) of known two endpoints of line segment, and the length (line of opening triangle arrow The length of section AD and line segment AB), and the angle (angle BAD and angle BAC) of opening triangle arrow and line segment, to determine opening The coordinate (point C and point D) of two endpoints of type triangle arrow.
4.2: by taking point D as an example, using line segment AD and line segment AB as vector, an equation can be obtained by vector cosine formula, The length of line segment AD obtains an equation by distance between two points formula, and the coordinate of point D can be solved by combining two equations.Similarly, The coordinate of point C can be acquired.
4.3: acquiring after two coordinate points (point C and point D), then using point D as starting point, point A is terminating point, draws one Line segment.
4.4: using point A as starting point, point C is terminating point, draws a line segment.
It is as shown in Figure 10 to draw effect.
Embodiment 5
As shown in figure 11, the process for drawing reversed opening triangle arrow is as follows:
5.1: passing through length (line segment AC, the line segment of coordinate (point A and the point B) and diamond shape arrow of known two endpoints of line segment AD, line segment AE, line segment AF, the length of line segment AB) and the angle of diamond shape arrow and line segment (angle BAD and angle BAF are 90 degree, angle BAC is 0 degree, and angle BAE is 180 degree), to determine the coordinate (point C, point D, point E, point F) of four endpoints of diamond shape arrow.
5.2: by taking point D as an example, using line segment AD and line segment AB as vector, an equation can be obtained by vector cosine formula, The length of line segment AD obtains an equation by distance between two points formula, and the coordinate of point D can be solved by combining two equations.Similarly, Point C, point E, the coordinate of point F can be acquired.
5.3: acquiring after coordinate points (point C, point D, point E, point F), then using point C as starting point, point D is terminating point, is drawn One line segment.
5.4: using point D as starting point, point E is terminating point, draws a line segment.
5.5: using point E as starting point, point F is terminating point, draws a line segment.
5.6: using point F as starting point, point C is terminating point, draws a line segment.
5.7: diamond shape CDEF is filled.
It is as shown in figure 12 to draw effect.
Embodiment 6
As shown in figure 13, the process for drawing reversed opening triangle arrow is as follows:
6.1: passing through the coordinate (point A and point B) of known two endpoints of line segment, and the length (line of opening triangle arrow The length of section AD and line segment AB), and the angle (angle BAD and angle BAC are 90 degree) of opening triangle arrow and line segment, To determine the coordinate (point C and point D) of opening two endpoints of triangle arrow.
6.2: by taking point D as an example, using line segment AD and line segment AB as vector, an equation can be obtained by vector cosine formula, The length of line segment AD obtains an equation by distance between two points formula, and the coordinate of point D can be solved by combining two equations.Similarly, The coordinate of point C can be acquired.
6.3: acquiring after two coordinate points (point C and point D), then using point C as starting point, point D is terminating point, draws one Line segment.
It is as shown in figure 14 to draw effect.
Embodiment 7
As shown in figure 15, the process for drawing reversed opening triangle arrow is as follows:
7.1: passing through the length (line of coordinate (point A and the point B) and bias type triangle arrow of known two endpoints of line segment Section AD, the length of line segment AC and line segment AB) and the angle of bias type triangle arrow and line segment (angle BAD is 45 degree, angle CAD For 180 degree), to determine the coordinate (point C and point D) of two endpoints of bias type triangle arrow.
7.2: by taking point D as an example, using line segment AD and line segment AB as vector, an equation can be obtained by vector cosine formula, The length of line segment AD obtains an equation by distance between two points formula, and the coordinate of point D can be solved by combining two equations.Similarly, The coordinate of point C can be acquired.
7.3: acquiring after two coordinate points (point C and point D), then using point C as starting point, point D is terminating point, draws one Line segment.
It is as shown in figure 16 to draw effect.
Embodiment 8
As shown in figure 17, the process for drawing reversed opening triangle arrow is as follows:
8.1: circular instruction is not drawn directly because drawing in instruction, resolves into four parts using by a circle, Then each quadrant is instructed using three rank Beziers to draw.It is to draw a quadrant below Example.
8.2: passing through length (line segment AC, the line segment of coordinate (point A and the point B) and circular arrow of known two endpoints of line segment AF, the length of line segment AB), angle CAB is 0 degree, and angle FAB is 90 degree, and triangle ACD and triangle AFE are right angled triangles, and Angle ACD and angle AFE is 90 degree, and angle CAD and angle EAF are 28.9 degree, to determine the starting point point C of the quadrant, control point Point D, point E, the coordinate of terminating point point tetra- points of F.
8.3: by taking point D as an example, using line segment AD and line segment AB as vector, an equation can be obtained by vector cosine formula, The length of line segment AD obtains an equation by distance between two points formula, and the coordinate of point D can be solved by combining two equations.Similarly, Point C, point E, the coordinate of point F can be acquired.
8.4: it acquires after coordinate points (point C, point D, point E, point F), then using point C as starting point, point D, point E are control point, Point F is to terminate one three rank bezier curve of point-rendering.
8.5: similarly, the terminating point of the above quadrant is drawn as the starting point of next quadrant Remaining three quadrants.
8.6: the circle is filled.
It is as shown in figure 18 to draw effect.
Embodiment 9
As shown in figure 19, the process for drawing reversed opening triangle arrow is as follows:
9.1: passing through the coordinate (point A and point B) of known two endpoints of line segment, and length (line segment AC, the line of square arrow Section AD, line segment AE, line segment AF, the length of line segment AB), and (angle BAD and angle BAE are 135 to the angle of square arrow and line segment Degree, angle BAC and angle BAF are 45 degree), to determine the coordinate (point C, point D, point E, point F) of square four endpoints of arrow.
9.2: by taking point D as an example, using line segment AD and line segment AB as vector, an equation can be obtained by vector cosine formula, The length of line segment AD obtains an equation by distance between two points formula, and the coordinate of point D can be solved by combining two equations.Similarly, Point C, point E, the coordinate of point F can be acquired.
9.3: acquiring after coordinate points (point C, point D, point E, point F), then using point C as starting point, point D is terminating point, is drawn One line segment.
9.4: using point D as starting point, point E is terminating point, draws a line segment.
9.5: using point E as starting point, point F is terminating point, draws a line segment.
9.6: using point F as starting point, point C is terminating point, draws a line segment.
9.7: square CDEF is filled.
It is as shown in figure 20 to draw effect.
Although disclosed embodiment is as above, its content is only to facilitate understand technical side of the invention Case and the embodiment used, are not intended to limit the present invention.Any those skilled in the art to which this invention pertains, not Under the premise of being detached from disclosed core technology scheme, any modification and change can be made in form and details in implementation Change, but protection scope defined by the present invention, the range that the appended claims that must still be subject to limits.

Claims (13)

1. a kind of method that PDF draws arrow figure characterized by comprising
The drag operation of mouse is detected, coordinate points when mousebutton is pressed are as the starting point of graphing;Mouse is pressed Terminating point of the coordinate points as graphing when key is decontroled;
The starting point and ending point is connected according to default linear;
In the termination point-rendering preset shape.
2. the method as described in claim 1, it is characterised in that: the default linear includes: lines line style, line color And line weight.
3. the method as described in claim 1, it is characterised in that: the preset shape includes following one:
Opening triangle arrow, closo triangle arrow, reversed closed type triangle arrow, reversed opening triangle arrow Head, diamond shape arrow, forward type arrow, bias type arrow, circular arrow, square arrow.
4. the method as described in claim 1, it is characterised in that: connect the starting point and ending point according to default linear It include: that the detection PDF text state in which executes the operation of the connection when in arrow state is drawn before connecing.
5. the method as described in claim 1, it is characterised in that: the method also includes:
Adjust the shape for terminating point-rendering.
6. method as claimed in claim 5, it is characterised in that: the adjustment shape for terminating point-rendering:
Detection mouse presses the operation of the endpoint or lines of the shape;
It detects the drag operation of mouse and determines the coordinate points that mousebutton is decontroled;By the endpoint of the shape or lines it is mobile or Rotate the coordinate points decontroled to mousebutton.
7. method as claimed in claim 6, it is characterised in that: by the endpoint of the shape or lines movement or rotate to mouse After the coordinate points that key is decontroled further include:
According to the coordinate points that the mobile mousebutton of the endpoint of the shape or lines is decontroled, the shape equal proportion is scaled.
8. the device that a kind of PDF draws arrow figure, it is characterised in that: include:
Detection module is set as the drag operation of detection mouse, and coordinate points when mousebutton is pressed are as graphing Starting point;Coordinate points when mousebutton is decontroled are as the terminating point of graphing;
Link block is set as connecting the starting point and ending point according to default linear;
Drafting module is set as in the termination point-rendering preset shape.
9. device as claimed in claim 8, it is characterised in that:
The detection module is also configured to detect the PDF text state in which, when in arrow state is drawn, triggering The link block.
10. device as claimed in claim 8, it is characterised in that: further include:
Module is adjusted, is set as adjusting the shape for terminating point-rendering.
11. device as claimed in claim 10, it is characterised in that: the adjustment module adjusts the shape for terminating point-rendering It include: the operation for detecting endpoint or lines that mouse presses the shape;
It detects the drag operation of mouse and determines the coordinate points that mousebutton is decontroled;By the endpoint of the shape or lines it is mobile or Rotate the coordinate points decontroled to mousebutton.
12. device as claimed in claim 10, it is characterised in that: the adjustment module is also configured to:
According to the coordinate points that the mobile mousebutton of the endpoint of the shape or lines is decontroled, the shape equal proportion is scaled.
13. the device that a kind of PDF draws arrow figure, it is characterised in that: include:
Memory and processor,
The memory, for saving executable instruction;
The processor, the executable instruction saved for executing the memory, proceeds as follows:
The drag operation of mouse is detected, coordinate points when mousebutton is pressed are as the starting point of graphing;Mouse is pressed Terminating point of the coordinate points as graphing when key is decontroled;
The starting point and ending point is connected according to default linear;
In the termination point-rendering preset shape.
CN201711023454.0A 2017-10-27 2017-10-27 A kind of method and apparatus that PDF draws arrow figure Pending CN109725811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711023454.0A CN109725811A (en) 2017-10-27 2017-10-27 A kind of method and apparatus that PDF draws arrow figure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711023454.0A CN109725811A (en) 2017-10-27 2017-10-27 A kind of method and apparatus that PDF draws arrow figure

Publications (1)

Publication Number Publication Date
CN109725811A true CN109725811A (en) 2019-05-07

Family

ID=66291689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711023454.0A Pending CN109725811A (en) 2017-10-27 2017-10-27 A kind of method and apparatus that PDF draws arrow figure

Country Status (1)

Country Link
CN (1) CN109725811A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110378282A (en) * 2019-07-18 2019-10-25 北京字节跳动网络技术有限公司 Image processing method and device
CN115167735A (en) * 2020-09-24 2022-10-11 Oppo广东移动通信有限公司 Image generation method and device, terminal and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04248617A (en) * 1991-01-31 1992-09-04 Nec Home Electron Ltd Arrow drawing method
CN1669047A (en) * 2003-08-21 2005-09-14 微软公司 Electronic ink processing
CN101986249A (en) * 2010-07-14 2011-03-16 上海无戒空间信息技术有限公司 Method for controlling computer by using gesture object and corresponding computer system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04248617A (en) * 1991-01-31 1992-09-04 Nec Home Electron Ltd Arrow drawing method
CN1669047A (en) * 2003-08-21 2005-09-14 微软公司 Electronic ink processing
CN101986249A (en) * 2010-07-14 2011-03-16 上海无戒空间信息技术有限公司 Method for controlling computer by using gesture object and corresponding computer system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SKY叶子2017: "怎么样才能给PDF文件页面添加箭头的标志", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/E52E3615665FCB40C60C51BF.HTML》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110378282A (en) * 2019-07-18 2019-10-25 北京字节跳动网络技术有限公司 Image processing method and device
CN110378282B (en) * 2019-07-18 2021-11-02 北京字节跳动网络技术有限公司 Image processing method and device
CN115167735A (en) * 2020-09-24 2022-10-11 Oppo广东移动通信有限公司 Image generation method and device, terminal and readable storage medium

Similar Documents

Publication Publication Date Title
EP2866129B1 (en) Cursor display position determination method and device
CN103995788A (en) Method and device for controlling camera of touch screen terminal to rotate
CN109725811A (en) A kind of method and apparatus that PDF draws arrow figure
US20160349983A1 (en) Terminal screen shot method and terminal
EP2703984A3 (en) Zooming display method and apparatus
CN106296760B (en) Picture clipping method and device
CN101799737B (en) Method and terminal for displaying picture/interface
US10332236B2 (en) Method and apparatus for adsorbing straight line/line segment, method and apparatus for constructing polygon
US9678638B2 (en) Guiding gesture operations
CN104461322A (en) Display method and system for user interface of handheld device
CN106527955B (en) Method and device for controlling page sliding
US20190096139A1 (en) Method, Apparatus and Electronic Device for Displaying an Image and Storage Medium
US20160188275A1 (en) Vehicle-mounted terminal and method for obtaining resolution of a screen of a handheld terminal
CN105739824A (en) Application icon display method and apparatus
WO2015169017A1 (en) Method and apparatus for realizing human-machine interaction
US20150253943A1 (en) Method and Apparatus for Implementing Remote Browsing
CN106201293B (en) Text selection method and device and text processing method and device
CN104636068B (en) The operating method and touch control terminal of application icon
US10013631B2 (en) Collaboration system with raster-to-vector image conversion
WO2014075540A1 (en) Touchscreen scroll control system and method
CN108681428A (en) A kind of rolling screenshotss method under windows systems
CN103108242B (en) A kind of method solving the application of intelligent television video class and television video conflict
CN105528152A (en) Image rotation display method and system
JP6889686B2 (en) Information processing equipment, information processing system, information processing program and information processing method
CN106775342A (en) Picture method of cutting out and device based on pressure sensitive technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190507

RJ01 Rejection of invention patent application after publication