CN1517954A - Method of drawing routing path drawing using mouse coordinate - Google Patents

Method of drawing routing path drawing using mouse coordinate Download PDF

Info

Publication number
CN1517954A
CN1517954A CNA031015581A CN03101558A CN1517954A CN 1517954 A CN1517954 A CN 1517954A CN A031015581 A CNA031015581 A CN A031015581A CN 03101558 A CN03101558 A CN 03101558A CN 1517954 A CN1517954 A CN 1517954A
Authority
CN
China
Prior art keywords
wiring path
drawn
coordinate
coordinates
mouse
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.)
Granted
Application number
CNA031015581A
Other languages
Chinese (zh)
Other versions
CN1279495C (en
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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN 03101558 priority Critical patent/CN1279495C/en
Publication of CN1517954A publication Critical patent/CN1517954A/en
Application granted granted Critical
Publication of CN1279495C publication Critical patent/CN1279495C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

A method for using the mouse coordinate to draw the routing profile features that the coordinate values at turning points in moving mouse are used to calculate the final routings of wires. Its advantage is high efficiency.

Description

Utilize mouse coordinates to carry out the method that wiring path is drawn
Technical field
The present invention relates to the method that a kind of layout operation (layout) is drawn, be meant a kind of mouse moving turnover of in drawing lead (guide) process, using especially, draw cabling (trace) route method.
Background technology
Past, layout slip-stick artist (layout engineer) draws lead to draw in the wiring path in the layout operation, normally can produce one section wiring path by the mode of specifying starting point coordinate and terminal point coordinate, and after the affirmation again through the layout slip-stick artist, can really finish the drafting operation of cabling, yet such mode of manipulating is when occurring in wiring path complicated situation following time comparatively, layout slip-stick artist is in order to draw next section wiring path, the action that then must reassign starting point coordinate and terminal point coordinate again and confirm, this will cause the layout slip-stick artist usually must carry out same appointment repeatedly and confirm action, will seem very inefficent on wiring path is drawn.
Moreover, in case when walking circuit and in drawing process, make a mistake, often the layout slip-stick artist just must turn one's head again one section one section came again, but though cause is to draw but be still in the process that many wiring paths are drawn by assisting of computing machine executive software to carry out intellectuality and hommization inadequately by people's mode.Therefore, to how to utilize the computer hardware technique of present prosperity, propose a cover complete computers at the wiring path drawing process in the layout operation especially and can carry out auxiliary method, solving the problem points of above-mentioned existence by the intelligent supplementary mode of computer software, should be a considerable problem.
Summary of the invention
In order to address the above problem, the objective of the invention is in order to propose a kind of by operation control to mouse, carry out the method that wiring path is drawn with mouse coordinates, it mainly is the mouse action control custom of utilizing present computing machine user to be familiar with, add definition on the mouse function and setting, can can carry out the layout operation at computing machine draws in the process of lead, according to the user for the operation of mouse, move and the computing of wiring path is carried out in turnover automatically, to finish the method that produces wiring path and drawn.And, save the time that many wiring paths are drawn, and then promote the layout efficiency of operation by the operation that the auxiliary layout slip-stick artist of the method finishes the wiring path drafting fast.For reaching above-mentioned purpose, the mouse coordinates that utilizes provided by the present invention carries out the method that wiring path is drawn, and includes following content:
A kind of mouse coordinates that utilizes carries out the method that wiring path is drawn, this method is by definition and setting to mouse, when the stage of lead is drawn in the layout operation, transfers according to mouse moving and to carry out the computing of wiring path, draw to finish wiring path, this method comprises the following step:
Read a definition setting table;
Detect one and draw the driving behavior;
Write down an initial coordinate;
Carry out the detection record of a plurality of turnover coordinates; And
Writing down the end coordinate walking along the street of going forward side by side directly draws;
Wherein, this origin coordinates is to be legal tracerse point, and this origin coordinates and this end coordinate are different.
When this origin coordinates is not legal tracerse point, also comprise the step that message is chosen in demonstration again.
This definition setting table comprises a driving mute key setting, writing time setting at least, a turnover scope is set and storage area size setting.
This turnover scope is meant between current coordinate figure and last coordinate figure the absolute value distance with the coordinate axis difference.
This storage area is the two-dimensional array data structure.
This writes down this end coordinate step that walking along the street directly draws of going forward side by side, when path drawing imperfect tense also comprises the step that shows wrong routing message.
This carries out the step of the detection record of a plurality of turnover coordinates, also comprises the following step:
(a) wait for also computing time;
(b) satisfy this writing time, capture a current coordinate figure and perform calculations;
(c) surpassing this turnover scope sets;
(d) write down this turnover coordinate; And
(e) move this and store queue value;
Wherein, when not detecting a drafting termination behavior as yet, will repeat to carry out in regular turn the step of above-mentioned (a) to (e).
When not detecting this drafting termination behavior as yet, also comprise the step that this writing time is made zero in execution.
This step (c) is to judge with the absolute value distance with the coordinate axis difference between current coordinate figure and last coordinate figure.
This step (e) is to be undertaken by the pointer mode.
The present invention has following advantage compared to existing technology:
The present invention mainly is a mouse action control custom of utilizing present computing machine user to be familiar with, add definition on the mouse function and setting, can can carry out the layout operation at computing machine draws in the process of lead, according to the user for the operation of mouse, move and the computing of wiring path is carried out in turnover automatically, to finish the generation wiring path and to be drawn, can assist the layout slip-stick artist to finish the operation that wiring path is drawn fast, save the time that many wiring paths are drawn, and then promote the layout efficiency of operation.
Description of drawings
Fig. 1 a is the main operation workflow figure that utilizes mouse coordinates to carry out the method for wiring path drafting provided by the present invention; And
Fig. 1 b is the turning point detection record process flow diagram that utilizes mouse coordinates to carry out the method for wiring path drafting provided by the present invention.
Embodiment
The present invention also will be described in further detail in conjunction with the accompanying drawings:
The present invention carries out the method that wiring path is drawn for a kind of mouse coordinates that utilizes, the inventive method builds in the computing machine executable platform software, mainly be by definition and setting to mouse, when the stage of lead is drawn in the layout operation, transfer according to mouse moving and to carry out the computing of wiring path, draw to finish wiring path.
Fig. 1 a is the main operation workflow figure that utilizes mouse coordinates to carry out the method for wiring path drafting provided by the present invention, below will cooperate graphic part to describe:
At first, the inventive method can read definition setting table (step 100), this table is by user's predefined, wherein include at least and drive mute key setting (comprising: drive the setting of key and mute key), set writing time (be meant and how long will carry out operation of recording one time), the turnover scope is set and (to be meant between current coordinate and the last coordinate figure absolute value distance with the coordinate axis difference, just the setpoint distance difference what above just must write down) and the storage area size set contents such as (normally the data structure with two-dimensional array exist), in order to control as mouse action and the wiring path drafting on basis for estimation; Then, begin to detect the driving behavior (step 200) of drawing, just detect and receive action and the user's mouse position coordinate that the user pushes the driving key; Do you judge that it is legal tracerse point that user's desire is drawn the starting point of wiring path? the message (step 800) that (step 300) chosen again if not display requirement user then, come back to step 200 place then, if legal tracerse point, then record start coordinate (step 400); Begin to carry out the detection record (step 500) of turnover coordinate then, this some will be done further explanation by Fig. 1 b following; In the whole wiring path of record, after the value of last end coordinate, just begin to carry out the action (step 600) that whole wiring path is drawn at last; Do you judge that whole wiring path completes? (step 700) is illustrated in walking in the circuit warp of record and may runs into obstacle (as: assembly, perforation if do not finish smoothly ...); Can show that wrong routing message is to user's (step 900) this moment; Then export the message (step 800) that requires the user to choose again again, return step 200 place equally; If finish smoothly, then finish the whole mouse coordinates that utilizes and carry out the main flow process of method that wiring path is drawn.
Fig. 1 b is the turning point detection record process flow diagram that utilizes mouse coordinates to carry out the method for wiring path drafting provided by the present invention, illustrates that how the inventive method carries out detection and the recording process to the cabling turning point, is described as follows:
After the record of finishing origin coordinates, enter into the flow process of this turnover coordinate detection record, wait for the also action (step 510) of computing time this moment; Judge whether to satisfy the writing time that the user sets? (step 520) if not then stay on and wait at step 510 place, if when arriving the writing time of setting, then captures current coordinate figure perform calculations (step 530); Judged whether above turnover scope setting value? (step 540) so-called turnover scope setting value is also describedly judged with the absolute value of coordinate axis difference with current coordinate figure and last coordinate figure between the two with top.When surpassing the turnover scope, just the point with current mouse place is considered as the coordinate of transferring, and target value (step 550) is sat in the record turnover; Move then and store queue value (step 560), just the position with current pointer (pointer) place moves on to the place, next storage area that stores in the formation, waits for storing next turning point coordinate; If when not surpassing the turnover scope, perhaps move when finishing when having write down a turnover coordinate and having stored queue value, just judge whether to detect user's drafting termination behavior? do (step 570) just user have the action of pushing mute key? if do not have, the action of then representing pre-rendered wiring path does not finish as yet, just enter into step 580 place and carry out the action that to make zero writing time, and then get back to detection and the record that step 510 place proceeds next turning point, if have then represent that the user has finished the action of whole pre-rendered wiring path, just get back to after step 600 place gets off the value record of last end coordinate point in the whole wiring path the whole wiring path of the actual drafting of beginning this moment.

Claims (10)

1, a kind of mouse coordinates that utilizes carries out the method that wiring path is drawn, this method is by definition and setting to mouse, when the stage of lead is drawn in the layout operation, transfer according to mouse moving and to carry out the computing of wiring path, draw to finish wiring path, this method comprises the following step:
Read a definition setting table;
Detect one and draw the driving behavior;
Write down an initial coordinate;
Carry out the detection record of a plurality of turnover coordinates; And
Writing down the end coordinate walking along the street of going forward side by side directly draws;
Wherein, this origin coordinates is to be legal tracerse point, and this origin coordinates and this end coordinate are different.
2, the mouse coordinates that utilizes as claimed in claim 1 carries out the method that wiring path is drawn, and it is characterized in that also comprising the step that message is chosen in demonstration again when this origin coordinates is not legal tracerse point.
3, the mouse coordinates that utilizes as claimed in claim 1 carries out the method that wiring path is drawn, and it is characterized in that this definition setting table comprises a driving mute key setting, writing time setting at least, a turnover scope is set and storage area size setting.
4, the mouse coordinates that utilizes as claimed in claim 3 carries out the method that wiring path is drawn, and it is characterized in that this turnover scope is meant between current coordinate figure and last coordinate figure the absolute value distance with the coordinate axis difference.
5, the mouse coordinates that utilizes as claimed in claim 3 carries out the method that wiring path is drawn, and it is characterized in that this storage area is the two-dimensional array data structure.
6, the mouse coordinates that utilizes as claimed in claim 1 carries out the method that wiring path is drawn, and it is characterized in that this writes down this end coordinate step that walking along the street directly draws of going forward side by side, when path drawing imperfect tense also comprises the step that shows wrong routing message.
7, the mouse coordinates that utilizes as claimed in claim 1 carries out the method that wiring path is drawn, and it is characterized in that this carries out the step of the detection record of a plurality of turnover coordinates, also comprises the following step:
(a) wait for also computing time;
(b) satisfy this writing time, capture a current coordinate figure and perform calculations;
(c) surpassing this turnover scope sets;
(d) write down this turnover coordinate; And
(e) move this and store queue value;
Wherein, when not detecting a drafting termination behavior as yet, will repeat to carry out in regular turn the step of above-mentioned (a) to (e).
8, the mouse coordinates that utilizes as claimed in claim 7 carries out the method that wiring path is drawn, and it is characterized in that also comprising the step that this writing time is made zero in execution when not detecting this drafting termination behavior as yet.
9, the mouse coordinates that utilizes as claimed in claim 7 carries out the method that wiring path is drawn, and it is characterized in that this step (c) is to judge with the absolute value distance with the coordinate axis difference between current coordinate figure and last coordinate figure.
10, the mouse coordinates that utilizes as claimed in claim 7 carries out the method that wiring path is drawn, and it is characterized in that this step (e) is to be undertaken by the pointer mode.
CN 03101558 2003-01-15 2003-01-15 Method of drawing routing path drawing using mouse coordinate Expired - Fee Related CN1279495C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03101558 CN1279495C (en) 2003-01-15 2003-01-15 Method of drawing routing path drawing using mouse coordinate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03101558 CN1279495C (en) 2003-01-15 2003-01-15 Method of drawing routing path drawing using mouse coordinate

Publications (2)

Publication Number Publication Date
CN1517954A true CN1517954A (en) 2004-08-04
CN1279495C CN1279495C (en) 2006-10-11

Family

ID=34281420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03101558 Expired - Fee Related CN1279495C (en) 2003-01-15 2003-01-15 Method of drawing routing path drawing using mouse coordinate

Country Status (1)

Country Link
CN (1) CN1279495C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566867A (en) * 2010-12-24 2012-07-11 北京普源精电科技有限公司 Method and device for treating mouse drawn wave
CN106095139A (en) * 2016-05-30 2016-11-09 安徽慧视金瞳科技有限公司 A kind of method promoting lines drafting speed in projection interactive system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566867A (en) * 2010-12-24 2012-07-11 北京普源精电科技有限公司 Method and device for treating mouse drawn wave
CN102566867B (en) * 2010-12-24 2016-12-21 北京普源精电科技有限公司 The processing method and processing device of mouse drawn wave
CN106095139A (en) * 2016-05-30 2016-11-09 安徽慧视金瞳科技有限公司 A kind of method promoting lines drafting speed in projection interactive system
CN106095139B (en) * 2016-05-30 2018-10-12 安徽慧视金瞳科技有限公司 A method of it promoting lines in projecting interactive system and draws speed

Also Published As

Publication number Publication date
CN1279495C (en) 2006-10-11

Similar Documents

Publication Publication Date Title
US7810042B2 (en) Page bar control
US8098879B2 (en) Information processing device, image movement instructing method, and information storage medium
US7167165B2 (en) Temporary lines for writing
US7770129B2 (en) Viewable document section
CN102902480B (en) Control area for a touch screen
CN100336053C (en) Original handwriting
US20090090567A1 (en) Gesture determination apparatus and method
JP2003208416A (en) Handwriting character batch conversion device, recording medium recording program readable by central processing unit executing handwriting character batch conversion method, and program
KR20100135281A (en) Method and tool for recognizing a hand-drawn table
JP4850646B2 (en) Display control apparatus and control method thereof
US20090278801A1 (en) Method For Executing Command Associated With Mouse Gesture
WO2004097722A1 (en) Hand-written character input device and hand-written character input processing method
KR20090055982A (en) Method and system for producing and managing documents based on multi-layer on touch-screens
CN1445646A (en) Recognition trigger with pen when near and hand wiriting when far
CN1279495C (en) Method of drawing routing path drawing using mouse coordinate
US5617520A (en) Three-dimensional pattern editing apparatus having moving distance calculator and/or a dragging pattern holding unit
US7280693B2 (en) Document information input apparatus, document information input method, document information input program and recording medium
CN1873602A (en) System and methods for navigating displayed content
CN113849106B (en) Page turning handwriting processing method, device, electronic device and storage medium
CN113035157B (en) Graphical music editing method, system and storage medium
US20090174661A1 (en) Gesture based modeling system and method
JP4931138B2 (en) Information display device and information display method
CN1129840C (en) Cursor controller
WO2024065345A1 (en) Air gesture editing method and apparatus, display system, and medium
JP3047851B2 (en) Apparatus and method for displaying dimension values of figures

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20061011

Termination date: 20110115