Summary of the invention
The embodiment of the invention provides a kind of object swing method of adjustment and devices, solve current rotating graphs, text
When the objects such as this frame, it is not known that the practical rotation angle of figure needs to carry out multiple steps in property window just find figure
The practical rotation angle of shape is specifically how many and carries out accurate subtle rotation angular adjustment, inconvenient, caused by
Adjustment can not exactly determined technical problem.
A kind of object swing method of adjustment provided in an embodiment of the present invention, comprising:
S1: object swing adjustment instruction is got, and enters accurate adjustment modes;
S2: display swing text corresponding with the object swing adjustment instruction;
S3: capturing cursor rotational trajectory, and the swing text is consistent with the actual value of the rotational trajectory;
S4: object is rotated according to the cursor rotational trajectory.
Preferably, step S1 is specifically included:
Object swing adjustment instruction is got, and enters accurate adjustment modes;
It whether is accurate to the object swing adjustment instruction by getting click that the spin button triggered
Adjustment modes are judged, if it is not, thening follow the steps S2, and are shown and are increased button and reduce button, and execute and get
Operation increases button or reduces the instruction of increase corresponding to button or reduce instruction.
Preferably, display increases button and reduces button, and execution increases button with the operation got or reduces button
Corresponding increase instruction or reduction instruction specifically includes:
Show the increase button, and the behaviour for executing and getting according to (rotation angle=figure rotates angle+N) formula
Make the instruction that n times increase button, so that object rotation corresponding with the operation n times increase instruction of button;
Show the reduction button, and the behaviour for executing and getting according to (rotation angle=figure rotates angle-N) formula
Make the instruction that n times increase button, so that object rotation corresponding with the operation n times reduction instruction of button.
Preferably, by get click that the spin button triggered to the object swing adjustment instruction whether
Judged for accurate adjustment modes, if so, hiding the swing text, the increase button and the reduction button.
Preferably, object swing adjustment instruction is got, and is specifically included into accurate adjustment modes:
After Object Selection, spin button is shown above the object;
Get the swing adjustment instruction by clicking or dragging the spin button triggering.
A kind of object swing adjustment device provided in the embodiment of the present invention, comprising:
Acquiring unit for getting object swing adjustment instruction, and enters accurate adjustment modes;
Display unit, for showing swing text corresponding with the object swing adjustment instruction;
Capture unit, for capturing cursor rotational trajectory, the actual value one of the swing text and the rotational trajectory
It causes;
Rotary unit is rotated for object according to the cursor rotational trajectory.
Preferably, the acquiring unit specifically includes:
Subelement is obtained, for getting object swing adjustment instruction, and enters accurate adjustment modes;
Judgment sub-unit, for by getting adjusting to the object swing of clicking that the spin button triggered
Whether instruction is that accurate adjustment modes are judged, if it is not, then triggering display unit and the first display unit;
First display unit increases button and reduction button for showing, and executes and increase with the operation got
Button reduces the instruction of increase corresponding to button or reduces instruction.
Preferably, display increases button and reduces button, and execution increases button with the operation got or reduces button
Corresponding increase instruction or reduction instruction specifically includes:
Show the increase button, and the behaviour for executing and getting according to (rotation angle=figure rotates angle+N) formula
Make the instruction that n times increase button, so that object rotation corresponding with the operation n times increase instruction of button;
Show the reduction button, and the behaviour for executing and getting according to (rotation angle=figure rotates angle-N) formula
Make the instruction that n times increase button, so that object rotation corresponding with the operation n times reduction instruction of button.
Preferably, by get click that the spin button triggered to the object swing adjustment instruction whether
Judged for accurate adjustment modes, if so, hiding the swing text, the increase button and the reduction button.
Preferably, subelement is obtained to specifically include:
Display module, for showing spin button above the object after Object Selection;
Module is obtained, for getting the swing adjustment instruction by clicking or dragging the spin button triggering.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
The embodiment of the invention provides a kind of object swing method of adjustment and devices, wherein object swing adjustment side
Method includes: S1: getting object swing adjustment instruction, and enters accurate adjustment modes;S2: display is adjusted with object swing
Instruct corresponding swing text;S3: capturing cursor rotational trajectory, and swing text is consistent with the actual value of rotational trajectory;
S4: object is rotated according to cursor rotational trajectory.It is corresponding with object swing adjustment instruction by showing in the present embodiment
Swing text, capture cursor rotational trajectory, swing text is consistent with the actual value of rotational trajectory, then object is according to cursor
Rotational trajectory is rotated, and the function that can judge that whether object correctly accurately rotates according to swing text is just realized,
When solving the objects such as current rotating graphs, text box, it is not known that the practical rotation angle of figure, need in property window into
The multiple steps of row can just find the practical rotation angle of figure and be specifically how many and carry out accurate subtle rotation angle tune
Section, it is inconvenient, caused by adjustment can not exactly determined technical problem.
Specific embodiment
The embodiment of the invention provides a kind of object swing method of adjustment and devices, solve current rotating graphs, text
When the objects such as this frame, it is not known that the practical rotation angle of figure needs to carry out multiple steps in property window just find figure
The practical rotation angle of shape is specifically how many and carries out accurate subtle rotation angular adjustment, inconvenient, caused by
Adjustment can not exactly determined technical problem.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below
Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field
Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention
Range.
Referring to Fig. 1, a kind of one embodiment of the object swing method of adjustment provided in the embodiment of the present invention includes:
S1: object swing adjustment instruction is got, and enters accurate adjustment modes;
In the present embodiment, when needing to rotate object, such as figure, it needs to get the adjustment of object swing and refers to
It enables, and enters accurate adjustment modes.
S2: display swing text corresponding with object swing adjustment instruction;
When getting object swing adjustment instruction, and enter after accurate adjustment modes, display and object swing tune
It is whole to instruct corresponding swing text.
S3: capturing cursor rotational trajectory, and swing text is consistent with the actual value of rotational trajectory;
After obtaining display swing text corresponding with object swing adjustment instruction, then cursor rotation rail is captured
Mark, swing text are consistent with the actual value of rotational trajectory.
S4: object is rotated according to cursor rotational trajectory.
When capturing cursor rotational trajectory, after swing text is consistent with the actual value of rotational trajectory, then object is according to light
Mark rotational trajectory is rotated.
In the present embodiment, by showing swing text corresponding with object swing adjustment instruction, cursor rotation is captured
Transition mark, swing text is consistent with the actual value of rotational trajectory, then object is rotated according to cursor rotational trajectory, just realizes
The function whether object correctly accurately rotates can be judged according to swing text, solve current rotating graphs, text
When the objects such as frame, it is not known that the practical rotation angle of figure needs to carry out multiple steps in property window just find figure
Practical rotation angle be specifically how many and carry out accurate subtle rotation angular adjustment, it is inconvenient, caused by adjust
It is whole can not exactly determined technical problem.
The above is that the process of object swing method of adjustment is described in detail, and will be carried out below to accurate model in detail
Thin description, referring to Fig. 2, a kind of another embodiment packet of the object swing method of adjustment provided in the embodiment of the present invention
It includes:
201, after Object Selection, spin button is shown above object;;
In the present embodiment, when needing to rotate object, such as figure, it needs after Object Selection, above object
It shows spin button, can be highlighted display mode, and enter accurate adjustment modes.
202, the swing adjustment instruction by clicking or dragging spin button triggering is got;
After Object Selection, after showing spin button above object, need to get by clicking or dragging rotation
The swing adjustment instruction of button triggering.
It 203, whether is accurately to adjust to object swing adjustment instruction by getting click that spin button triggered
Mode is judged, if it is not, 204 are thened follow the steps, if so, thening follow the steps 205;
When getting object swing adjustment instruction, spin button is shown above object, and enter accurate adjustment modes
It later, whether is that accurate adjustment modes carry out to object swing adjustment instruction by getting click that spin button triggered
Judgement, if it is not, 204 are thened follow the steps, if so, thening follow the steps 207.
204, swing text corresponding with object swing adjustment instruction is shown, display increases button and reduction is pressed
Button, and execute to increase button with the operation got or reduce the instruction of increase corresponding to button or reduce and instruct;
When whether being accurate adjustment mould to object swing adjustment instruction by getting click that spin button triggered
When formula is judged not as accurate adjustment modes, then swing text corresponding with object swing adjustment instruction is shown, it is aobvious
Show and increase button and reduce button, and execute increase button with the operation that gets or reduce increase corresponding to button instruct or
Reduce instruction.
It should be noted that above-mentioned show swing text corresponding with object swing adjustment instruction, display increases
Add button and reduce button, and executes and increase button with the operation got or reduce the instruction of increase corresponding to button or reduce
Instruction may further be that display increases button, and executes and obtain according to (rotation angle=figure rotates angle+N) formula
The operation n times arrived increase the instruction of button, so that object rotation corresponding with the operation n times increase instruction of button;
Or the operation for showing and reducing button, and execute and get according to (rotation angle=figure rotates angle-N) formula
N times increase the instruction of button, so that object rotation corresponding with the operation n times reduction instruction of button.
205, cursor rotational trajectory is captured, swing text is consistent with the actual value of rotational trajectory;
After obtaining display swing text corresponding with object swing adjustment instruction, then cursor rotation rail is captured
Mark, swing text are consistent with the actual value of rotational trajectory.
206, object is rotated according to cursor rotational trajectory.
When capturing cursor rotational trajectory, after swing text is consistent with the actual value of rotational trajectory, then object is according to light
Mark rotational trajectory is rotated.
207, swing text is hidden, button is increased and reduces button.
When whether being accurate adjustment mould to object swing adjustment instruction by getting click that spin button triggered
When formula carries out being judged as accurate model, then swing text is hidden, increases button and reduces button, and the volume of rotation angle is set
The mode of collecting is succinct mode.
It should be noted that whenever being once clicked order by spin button capture, then being needed again in the present embodiment
Execute step 203.
In the present embodiment, by showing swing text corresponding with object swing adjustment instruction, cursor rotation is captured
Transition mark, swing text is consistent with the actual value of rotational trajectory, then object is rotated according to cursor rotational trajectory, just realizes
The function whether object correctly accurately rotates can be judged according to swing text, solve current rotating graphs, text
When the objects such as frame, it is not known that the practical rotation angle of figure needs to carry out multiple steps in property window just find figure
Practical rotation angle be specifically how many and carry out accurate subtle rotation angular adjustment, it is inconvenient, caused by adjust
It is whole can not exactly determined technical problem, meanwhile, display increases button and reduces button, and executes and increase with the operation that gets
Button reduces the instruction of increase corresponding to button or reduces instruction, further improves accuracy when object rotation.
Referring to Fig. 3, a kind of one embodiment of the object swing adjustment device provided in the embodiment of the present invention includes:
Acquiring unit 301 for getting object swing adjustment instruction, and enters accurate adjustment modes;
Display unit 302, for showing swing text corresponding with object swing adjustment instruction;
Capture unit 303, for capturing cursor rotational trajectory, swing text is consistent with the actual value of rotational trajectory;
Rotary unit 304 is rotated for object according to cursor rotational trajectory.
In the present embodiment, swing text corresponding with object swing adjustment instruction is shown by display unit 302,
Capture unit 303 captures cursor rotational trajectory, and swing text is consistent with the actual value of rotational trajectory, then rotary unit 304 will
Object is rotated according to cursor rotational trajectory, and just realizing can judge whether object is correctly accurate according to swing text
The function of rotation, when solving the objects such as current rotating graphs, text box, it is not known that the practical rotation angle of figure needs
Multiple steps are carried out in property window just can find the practical rotation angle of figure is specifically how many and carries out accurate subtle
Rotate angular adjustment, it is inconvenient, caused by adjustment can not exactly determined technical problem.
The above is that each unit of object swing adjustment device is described in detail, and is below carried out sub-unit detailed
Thin description, referring to Fig. 4, a kind of another embodiment packet of the object swing adjustment device provided in the embodiment of the present invention
It includes:
Acquiring unit 401 for getting object swing adjustment instruction, and enters accurate adjustment modes, gets pair
Object swing adjustment instruction is got as swing adjustment instruction can be, spin button is shown above object;
Acquiring unit 401 specifically includes:
Subelement 4012 is obtained, for getting object swing adjustment instruction, and enters accurate adjustment modes;
Obtaining subelement 4012 can further include:
Display module 4012a, for showing spin button above object after Object Selection;
Module 4012b is obtained, for getting the swing adjustment instruction by clicking or dragging spin button triggering.
Judgment sub-unit 4011, for judging whether object swing adjustment instruction is accurate adjustment modes, if it is not, then touching
Display unit 402 and the first display unit 405 are sent out, when judgment sub-unit 4011 clicks what spin button was triggered by getting
It whether is that accurate adjustment modes judge to object swing adjustment instruction, if so, hiding swing text, increasing button
With reduction button.
First display unit 405 increases button and reduces button for showing, and execute with the operation that gets increase by
Button reduces the instruction of increase corresponding to button or reduces instruction.
It should be noted that display increases button and reduces button, and executes and increase button with the operation got or subtract
Increase instruction or reduction instruction corresponding to few button specifically include:
The operation N for showing and increasing button, and execute and get according to (rotation angle=figure rotates angle+N) formula
The secondary instruction for increasing button, so that object rotation corresponding with the operation n times increase instruction of button;
The operation N for showing and reducing button, and execute and get according to (rotation angle=figure rotates angle-N) formula
The secondary instruction for increasing button, so that object rotation corresponding with the operation n times reduction instruction of button.
Display unit 402, for showing swing text corresponding with object swing adjustment instruction;
Capture unit 403, for capturing cursor rotational trajectory, swing text is consistent with the actual value of rotational trajectory;
Rotary unit 404 is rotated for object according to cursor rotational trajectory.
In the present embodiment, swing text corresponding with object swing adjustment instruction is shown by display unit 402,
Capture unit 403 captures cursor rotational trajectory, and swing text is consistent with the actual value of rotational trajectory, then rotary unit 404 will
Object is rotated according to cursor rotational trajectory, and just realizing can judge whether object is correctly accurate according to swing text
The function of rotation, when solving the objects such as current rotating graphs, text box, it is not known that the practical rotation angle of figure needs
Multiple steps are carried out in property window just can find the practical rotation angle of figure is specifically how many and carries out accurate subtle
Rotate angular adjustment, it is inconvenient, caused by adjustment can not exactly determined technical problem, meanwhile, display increase button
With reduce button, and execute and increase button with the operation that gets or reduce the instruction of increase corresponding to button or reduce instruction,
Further improve accuracy when object rotation.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.