Summary of the invention
Embodiments provide a kind of vertex edit method and device, solve the summit of editing graph
Time, the position on summit can only be judged by observing, such as to judge the lateral attitude of C point whether A,
Between B 2, can only be judged by observation, there is no concrete numerical value and embody the pass of itself and two summits of A, B
System, and cause the accurate not technical problem in position of editor.
A kind of vertex edit method that the embodiment of the present invention provides, including:
Extract the summit coordinate figure based on interface selected;
Carry out the generation of described coordinate figure text box in side, described summit according to described coordinate figure;
It is extracted in the amended new coordinate figure of described text box;
Described summit is carried out position adjustment according to described new coordinate figure.
Preferably, extract the summit coordinate figure based on interface selected to specifically include:
Get editor summit state triggering command, and determine the described top corresponding with described triggering command
Point;
Extract the summit abscissa value based on interface and ordinate value selected.
Preferably, carry out the generation tool of described coordinate figure text box in side, described summit according to described coordinate figure
Body includes:
Corresponding described abscissa value and described ordinate value is shown in side, described summit;
By capturing coordinate edit instruction in one of described abscissa value and described ordinate value;
Carry out and described abscissa value and described vertical coordinate in side, described summit according to described coordinate edit instruction
It is worth the generation of described text box.
Preferably, it is extracted in the amended new coordinate figure of described text box to specifically include:
It is extracted in the amended new abscissa value of described text box and new ordinate value.
Preferably, according to described new coordinate figure, described summit is carried out position adjustment to specifically include:
Described summit is carried out position adjustment according to described new abscissa value and described new ordinate value.
A kind of vertex edit device provided in the embodiment of the present invention, including:
First extraction unit, for extracting the summit coordinate figure based on interface of selection;
Signal generating unit, for carrying out described coordinate figure text box according to described coordinate figure in side, described summit
Generate;
Second extraction unit, is used for being extracted in the amended new coordinate figure of described text box;
Adjustment unit, for carrying out position adjustment by described summit according to described new coordinate figure.
Preferably, described first extraction unit specifically includes:
Determine subelement, be used for getting editor summit state triggering command, and determine and refer to described triggering
Make corresponding described summit;
First extracts subelement, for extracting summit abscissa value based on interface and the ordinate value of selection.
Preferably, signal generating unit specifically includes:
Display subelement, for showing corresponding described abscissa value and described vertical seat in side, described summit
Scale value;
Catch subelement, for by capturing seat in one of described abscissa value and described ordinate value
Mark edit instruction;
Generate subelement, for carrying out and described horizontal seat in side, described summit according to described coordinate edit instruction
The generation of text box described in scale value and described ordinate value.
Preferably, the second extraction unit, specifically for being extracted in the amended new abscissa of described text box
Value and new ordinate value.
Preferably, adjustment unit, specifically for by described summit according to described new abscissa value and described newly
Ordinate value carries out position adjustment.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
Embodiments provide a kind of vertex edit method and device, wherein, vertex edit method bag
Include: extract the summit coordinate figure based on interface selected;Coordinate figure literary composition is carried out in side, summit according to coordinate figure
The generation of this frame;It is extracted in the amended new coordinate figure of text box;Summit is carried out position according to new coordinate figure
Put adjustment.In the present embodiment, the summit coordinate figure based on interface selected by extraction;According to coordinate figure
The generation of coordinate figure text box is carried out in side, summit;It is extracted in the amended new coordinate figure of text box;Will top
Point carries out position adjustment according to new coordinate figure, when just achieving graphics vertex editor, is accurate to coordinate figure
Adjust, when solving the summit of editing graph, the position on summit can only be judged by observing, such as to
Judge that the lateral attitude of C point, whether between A, B, can only be judged by observation at 2, there is no concrete
Numerical value embodies the relation of itself and two summits of A, B, and causes the accurate not technical problem in position of editor.
Detailed description of the invention
Embodiments provide a kind of vertex edit method and device, solve the summit of editing graph
Time, the position on summit can only be judged by observing, such as to judge the lateral attitude of C point whether A,
Between B 2, can only be judged by observation, there is no concrete numerical value and embody the pass of itself and two summits of A, B
System, and cause the accurate not technical problem in position of editor.
For making the goal of the invention of the present invention, feature, the advantage can be the most obvious and understandable, below will
In conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground describes, it is clear that the embodiments described below are only a part of embodiment of the present invention, and not all
Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creativeness
The all other embodiments obtained under work premise, broadly fall into the scope of protection of the invention.
Refer to Fig. 1, an embodiment bag of a kind of vertex edit method provided in the embodiment of the present invention
Include:
101, the summit coordinate figure based on interface selected is extracted;
In the present embodiment, when needs opposite vertexes carries out accurate edits, need extract select summit based on
The coordinate figure at interface.
102, carry out the generation of coordinate figure text box in side, summit according to coordinate figure;
After extracting the summit coordinate figure based on interface selected, need to enter in side, summit according to coordinate figure
The generation of row-coordinate value text box.
103, the amended new coordinate figure of text box it is extracted in;
When according to coordinate figure after side, summit carries out the generation of coordinate figure text box, need to be extracted in text
The amended new coordinate figure of frame.
104, summit is carried out position adjustment according to new coordinate figure.
After being extracted in the amended new coordinate figure of text box, need to carry out summit according to new coordinate figure
Position adjustment.
In the present embodiment, the summit coordinate figure based on interface selected by extraction;According to coordinate figure on top
Point side carries out the generation of coordinate figure text box;It is extracted in the amended new coordinate figure of text box;By summit root
Carry out position adjustment according to new coordinate figure, when just achieving graphics vertex editor, be accurate to the adjustment of coordinate figure,
When solving the summit of editing graph, can only be by observing the position judging summit, such as to judge C
Whether the lateral attitude of point, between A, B 2, can only be judged by observation, there is no concrete numerical value and embodies
The relation on itself and two summits of A, B, and cause the accurate not technical problem in position of editor.
The above is that the process of opposite vertexes edit methods is described in detail, and will exist to according to coordinate figure below
The process of the generation that side, summit carries out coordinate figure text box is described in detail, and refers to Fig. 2, the present invention
Another embodiment of a kind of vertex edit method provided in embodiment includes:
201, get editor summit state triggering command, and determine the summit corresponding with triggering command;
In the present embodiment, when needs opposite vertexes carries out accurate edits, need to get editor summit state
Triggering command, and determine the summit corresponding with triggering command.
202, the summit abscissa value based on interface selected and ordinate value are extracted;
After getting editor summit state triggering command, and determining the summit corresponding with triggering command,
Need to extract the summit abscissa value based on interface selected and ordinate value.
203, corresponding abscissa value and ordinate value are shown in side, summit;
After extracting the summit abscissa value based on interface and ordinate value selected, need in side, summit
Show corresponding abscissa value and ordinate value.
204, by capturing coordinate edit instruction in one of abscissa value and ordinate value;
After showing corresponding abscissa value and ordinate value in side, summit, need by abscissa
Coordinate edit instruction is captured in one of value and ordinate value.
205, carry out and abscissa value and the life of ordinate value text box in side, summit according to coordinate edit instruction
Become;
After capturing coordinate edit instruction in one of abscissa value and ordinate value, need basis
Coordinate edit instruction is carried out in side, summit and abscissa value and the generation of ordinate value text box.
206, the amended new abscissa value of text box and new ordinate value it are extracted in;
When carrying out and abscissa value and the generation of ordinate value text box in side, summit according to coordinate edit instruction
Afterwards, need to be extracted in the amended new abscissa value of text box and new ordinate value.
207, summit is carried out position adjustment according to new abscissa value and new ordinate value.
After being extracted in the amended new abscissa value of text box and new ordinate value, need by summit according to
New abscissa value and new ordinate value carry out position adjustment.
In the present embodiment, the summit coordinate figure based on interface selected by extraction;According to coordinate figure on top
Point side carries out the generation of coordinate figure text box;It is extracted in the amended new coordinate figure of text box;By summit root
Carry out position adjustment according to new coordinate figure, when just achieving graphics vertex editor, be accurate to the adjustment of coordinate figure,
When solving the summit of editing graph, can only be by observing the position judging summit, such as to judge C
Whether the lateral attitude of point, between A, B 2, can only be judged by observation, there is no concrete numerical value and embodies
The relation on itself and two summits of A, B, and cause the accurate not technical problem in position of editor, meanwhile,
By abscissa and the adjustment of vertical coordinate so that vertex edit is more accurate.
Refer to Fig. 3, an embodiment bag of a kind of vertex edit device provided in the embodiment of the present invention
Include:
First extraction unit 301, for extracting the summit coordinate figure based on interface of selection;
Signal generating unit 302, for carrying out the generation of coordinate figure text box according to coordinate figure in side, summit;
Second extraction unit 303, is used for being extracted in the amended new coordinate figure of text box;
Adjustment unit 304, for carrying out position adjustment by summit according to new coordinate figure.
In the present embodiment, extracted the summit coordinate figure based on interface selected by the first extraction unit 301;
Signal generating unit 302 carries out the generation of coordinate figure text box according to coordinate figure in side, summit;Second extraction unit
303 are extracted in the amended new coordinate figure of text box;Summit is carried out by adjustment unit 304 according to new coordinate figure
Position adjustment, when just achieving graphics vertex editor, is accurate to the adjustment of coordinate figure, solves editor's figure
During the summit of shape, can only be by observing the position that judge summit, such as to judge the lateral attitude of C point
Whether between A, B 2, can only be judged by observation, there is no concrete numerical value and embody itself and A, B two
The relation on individual summit, and cause the accurate not technical problem in position of editor.
The above is that each unit of opposite vertexes editing device is described in detail, and is carried out by sub-unit below
Detailed description, refers to Fig. 4, a reality of a kind of vertex edit device provided in the embodiment of the present invention
Execute example to include:
First extraction unit 401, for extracting the summit coordinate figure based on interface of selection;
First extraction unit 401 can further include:
Determine subelement 4011, be used for getting editor summit state triggering command, and determine and refer to triggering
Make corresponding summit;
First extracts subelement 4012, for extracting the summit abscissa value based on interface of selection and vertical seat
Scale value.
Signal generating unit 402, for carrying out the generation of coordinate figure text box according to coordinate figure in side, summit;
Signal generating unit 402 can further include:
Display subelement 4021, for showing corresponding abscissa value and ordinate value in side, summit;
Catch subelement 4022, for by capturing coordinate volume in one of abscissa value and ordinate value
Collect instruction;
Generate subelement 4023, for carrying out in side, summit and abscissa value and indulging according to coordinate edit instruction
The generation of coordinate figure text box.
Second extraction unit 403, is used for being extracted in the amended new coordinate figure of text box, the second extraction unit
403, specifically for being extracted in the amended new abscissa value of text box and new ordinate value;
Adjustment unit 404, for summit is carried out position adjustment according to new coordinate figure, adjustment unit 404,
Specifically for summit is carried out position adjustment according to new abscissa value and new ordinate value.
In the present embodiment, extracted the summit coordinate figure based on interface selected by the first extraction unit 401;
Signal generating unit 402 carries out the generation of coordinate figure text box according to coordinate figure in side, summit;Second extraction unit
403 are extracted in the amended new coordinate figure of text box;Summit is carried out by adjustment unit 404 according to new coordinate figure
Position adjustment, when just achieving graphics vertex editor, is accurate to the adjustment of coordinate figure, solves editor's figure
During the summit of shape, can only be by observing the position that judge summit, such as to judge the lateral attitude of C point
Whether between A, B 2, can only be judged by observation, there is no concrete numerical value and embody itself and A, B two
The relation on individual summit, and cause the accurate not technical problem in position of editor, meanwhile, pass through abscissa
Adjustment with vertical coordinate so that vertex edit is more accurate.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches
The specific works process of the system stated, device and unit, is referred to the correspondence in preceding method embodiment
Process, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, device and
Method, can realize by another way.Such as, device embodiment described above is only shown
Meaning property, such as, the division of described unit, be only a kind of logic function and divide, actual can when realizing
There to be other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another
System, or some features can ignore, or do not perform.Another point, shown or discussed each other
Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit
Or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, makees
The parts shown for unit can be or may not be physical location, i.e. may be located at a place,
Or can also be distributed on multiple NE.Can select according to the actual needs part therein or
The whole unit of person realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit,
Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a list
In unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ software function list
The form of unit realizes.
If described integrated unit realizes and as independent production marketing using the form of SFU software functional unit
Or when using, can be stored in a computer read/write memory medium.Based on such understanding, this
The part that the most in other words prior art contributed of technical scheme of invention or this technical scheme
Completely or partially can embody with the form of software product, this computer software product is stored in one
In storage medium, including some instructions with so that computer equipment (can be personal computer,
Server, or the network equipment etc.) perform completely or partially walking of method described in each embodiment of the present invention
Suddenly.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD
Etc. the various media that can store program code.
The above, above example only in order to technical scheme to be described, is not intended to limit;
Although being described in detail the present invention with reference to previous embodiment, those of ordinary skill in the art should
Work as understanding: the technical scheme described in foregoing embodiments still can be modified by it, or to it
Middle part technical characteristic carries out equivalent;And these amendments or replacement, do not make appropriate technical solution
Essence depart from various embodiments of the present invention technical scheme spirit and scope.