CN111461993A - Object rotation method, system, terminal and storage medium - Google Patents
Object rotation method, system, terminal and storage medium Download PDFInfo
- Publication number
- CN111461993A CN111461993A CN201910055244.2A CN201910055244A CN111461993A CN 111461993 A CN111461993 A CN 111461993A CN 201910055244 A CN201910055244 A CN 201910055244A CN 111461993 A CN111461993 A CN 111461993A
- Authority
- CN
- China
- Prior art keywords
- rotation
- rotating
- providing
- clockwise
- operation option
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000000694 effects Effects 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
- G06T3/60—Rotation of a whole image or part thereof
Abstract
The invention discloses a method, a system, a terminal and a storage medium for rotating an object, wherein the method comprises the following steps: when the object is selected, at least the following operation options are provided; rotating the object once clockwise, rotating the object once counterclockwise, and a settable rotation angle; and when the one-time operation option of the clockwise rotating object or the anticlockwise rotating object is selected, executing the rotation operation of a corresponding angle on the selected object according to the settable one-time rotation angle. The invention can realize convenient and fast rotation of the object to achieve the desired effect, and improves the user experience.
Description
Technical Field
The present invention relates to an object arrangement technology, and more particularly, to a method, system, terminal, and storage medium for rotating an object.
Background
It is often necessary to rotate the inserted picture when editing a document. A commonly used method of rotating pictures includes:
1, selecting a picture and then adjusting a control point at the top of the picture by using a mouse, as shown in figure 1; in the method, an operator manually controls the rotation angle in the picture rotation process, so that accurate control cannot be realized, and the desired effect can be achieved only by performing multiple rotation operations; in the rotating process, an operator only perceives the angle by vision and personal feeling, and even if the rotating angle finally completed by multiple operations deviates from the actually-desired rotating angle, the situation can occur;
2, setting a rotation angle in another window, as shown in fig. 2; although the method can obtain the accurate rotation angle, the window needs to be popped out first, the rotation angle and the rotation direction need to be set on the window every time the rotation angle and the rotation direction are changed, the operation is complex, and the user experience is poor.
Disclosure of Invention
In order to solve the technical problems, the invention provides an object rotation method, an object rotation system, an object rotation terminal and a storage medium, which can realize convenient and rapid object rotation to achieve a desired effect and improve user experience.
In order to achieve the object of the present invention, the present invention provides an object rotating method, comprising:
when the object is selected, at least the following operation options are provided;
rotating the object once clockwise, rotating the object once counterclockwise, and a settable rotation angle;
and when the one-time operation option of the clockwise rotating object or the anticlockwise rotating object is selected, executing the rotation operation of a corresponding angle on the selected object according to the settable one-time rotation angle.
As an implementation manner, when the object is selected, providing an operation option includes:
and when the object is selected, popping up a dialog window beside the object, and providing operation options by the dialog window.
As one implementation, the providing, by the dialog window, the operation option includes:
providing a clockwise rotation object one-time operation option and a counterclockwise rotation object one-time operation option by different key dialog boxes respectively;
an operation option of one rotation angle which can be set is provided by the editable dialog box.
An embodiment of the present invention further provides an object rotation system, including:
the command providing module is used for providing at least the following operation options after the object is selected;
rotating the object once clockwise, rotating the object once counterclockwise, and a settable rotation angle;
and the command execution module is used for executing the rotation operation of a corresponding angle on the selected object according to the settable one-time rotation angle after the one-time operation option of the clockwise rotation object or the anticlockwise rotation object is selected.
As an implementation manner, the command providing module is configured to provide an operation option after the object is selected, including:
and when the object is selected, popping up a dialog window beside the object, and providing operation options by the dialog window.
As one implementation, the providing, by the dialog window, the operation option includes:
providing a clockwise rotation object one-time operation option and a counterclockwise rotation object one-time operation option by different key dialog boxes respectively;
an operation option of one rotation angle which can be set is provided by the editable dialog box.
An embodiment of the present invention further provides an object rotation terminal, including:
a memory for storing computer executable instructions;
a processor for executing the computer executable instructions to implement the steps of the object rotation method as described above.
Embodiments of the present invention also provide a computer-readable storage medium, where the medium stores computer-executable instructions, and the computer-executable instructions, when executed by a processor, implement the steps of the object rotation method as described above.
Compared with the prior art, the invention comprises the following steps: when the object is selected, at least the following operation options are provided; rotating the object once clockwise, rotating the object once counterclockwise, and a settable rotation angle; and when the one-time operation option of the clockwise rotating object or the anticlockwise rotating object is selected, executing the rotation operation of a corresponding angle on the selected object according to the settable one-time rotation angle. The embodiment of the invention can realize convenient and quick rotation of the object to achieve the desired effect, and improves the user experience.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a schematic diagram of a conventional object rotation method;
FIG. 2 is a schematic diagram of another conventional object rotation method;
FIG. 3 is a flowchart of an object rotation method according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating an effect of the object rotation method according to the present invention after clicking a picture according to an application example of the present invention;
FIG. 5 is a diagram illustrating the effect of one counterclockwise rotation of the click of FIG. 4 in an exemplary application of the present invention;
FIG. 6 is a diagram illustrating the effect of one clockwise rotation of the click of FIG. 4 in an exemplary application of the present invention;
fig. 7 is a block diagram of an object rotation system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
An embodiment of the present invention provides an object rotation method, as shown in fig. 3, the method includes:
s301, judging whether the object is selected, and if so, providing at least the following operation options;
rotating the object once clockwise, rotating the object once counterclockwise, and a settable rotation angle;
the object can be any object supporting rotation, such as a picture, a discretionary graphic (i.e., a shape), a text box;
as an implementation manner, when the object is selected, providing an operation option includes:
and when the object is selected, popping up a dialog window beside the object, and providing operation options by the dialog window.
The providing of the operation options by the dialog window includes:
providing a clockwise rotation object one-time operation option and a counterclockwise rotation object one-time operation option by different key dialog boxes respectively;
an operation option of one rotation angle which can be set is provided by the editable dialog box.
S302, after the operation option of rotating the object clockwise once or rotating the object anticlockwise once is selected, rotating the selected object by a corresponding angle according to a settable rotation angle.
In the embodiment of the invention, the rotation angle can be set when the object is rotated, so that the accurate rotation control is realized; in addition, the embodiment of the invention not only can set the rotation angle, but also provides the rotation direction option, when the rotation angle is not changed, the rotation conversion can be realized by selecting the rotation direction option, and the frequent setting of the rotation angle is avoided.
The following describes an embodiment of the present invention with a specific application example.
As shown in fig. 4, a small window pops up beside the selected picture, and the small window includes two buttons and an edit box thereon, which respectively represent that the picture is rotated once counterclockwise, the picture is rotated once clockwise, and the angle of rotation can be set once. The values in the edit box can be modified. The value of the edit box in fig. 4 is set to 90. The effect of clicking once counter-clockwise for figure 4 is shown in figure 5. The effect of one clockwise rotation of the click of fig. 4 is shown in fig. 6.
An embodiment of the present invention further provides an object rotation system, as shown in fig. 7, including:
a command providing module 701, configured to provide at least the following operation options after the object is selected;
rotating the object once clockwise, rotating the object once counterclockwise, and a settable rotation angle; the object can be any object supporting rotation, such as a picture, a discretionary graphic (i.e., a shape), a text box;
as an implementation manner, the command providing module 701 is configured to provide an operation option after the object is selected, where the operation option includes: and when the object is selected, popping up a dialog window beside the object, and providing operation options by the dialog window.
The providing of the operation options by the dialog window includes: providing a clockwise rotation object one-time operation option and a counterclockwise rotation object one-time operation option by different key dialog boxes respectively; an operation option of one rotation angle which can be set is provided by the editable dialog box.
And the command executing module 702 is configured to, after the operation option for rotating the object clockwise once or rotating the object counterclockwise once is selected, execute a rotation operation of a corresponding angle on the selected object according to a settable rotation angle.
In the embodiment of the invention, the rotation angle can be set when the object is rotated, so that the accurate rotation control is realized; in addition, the embodiment of the invention not only can set the rotation angle, but also provides the rotation direction option, when the rotation angle is not changed, the rotation conversion can be realized by selecting the rotation direction option, and the frequent setting of the rotation angle is avoided.
An embodiment of the present invention further provides an object rotation terminal, including:
a memory for storing computer executable instructions;
a processor for executing the computer executable instructions to implement the steps of the object rotation method as described in the previous embodiments.
Embodiments of the present invention further provide a computer-readable storage medium, where computer-executable instructions are stored, and when executed by a processor, the computer-executable instructions implement the steps of the object rotation method according to the foregoing embodiments.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Claims (8)
1. An object rotation method, comprising:
when the object is selected, at least the following operation options are provided;
rotating the object once clockwise, rotating the object once counterclockwise, and a settable rotation angle;
and when the one-time operation option of the clockwise rotating object or the anticlockwise rotating object is selected, executing the rotation operation of a corresponding angle on the selected object according to the settable one-time rotation angle.
2. The object rotation method according to claim 1, wherein when the object is selected, providing operation options comprises:
and when the object is selected, popping up a dialog window beside the object, and providing operation options by the dialog window.
3. The object rotation method according to claim 2, wherein the providing of the operation option by the dialog window comprises:
providing a clockwise rotation object one-time operation option and a counterclockwise rotation object one-time operation option by different key dialog boxes respectively;
an operation option of one rotation angle which can be set is provided by the editable dialog box.
4. An object rotation system, comprising:
the command providing module is used for providing at least the following operation options after the object is selected;
rotating the object once clockwise, rotating the object once counterclockwise, and a settable rotation angle;
and the command execution module is used for executing the rotation operation of a corresponding angle on the selected object according to the settable one-time rotation angle after the one-time operation option of the clockwise rotation object or the anticlockwise rotation object is selected.
5. The object rotation system of claim 4, wherein the command providing module is configured to provide operation options after the object is selected, and the operation options include:
and when the object is selected, popping up a dialog window beside the object, and providing operation options by the dialog window.
6. The object rotation system of claim 5, wherein the providing of operational options by a dialog window comprises:
providing a clockwise rotation object one-time operation option and a counterclockwise rotation object one-time operation option by different key dialog boxes respectively;
an operation option of one rotation angle which can be set is provided by the editable dialog box.
7. An object rotation terminal, comprising:
a memory for storing computer executable instructions;
a processor for executing the computer-executable instructions to implement the steps of the object rotation method of any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that the medium stores computer-executable instructions which, when executed by a processor, implement the steps of the object rotation method of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910055244.2A CN111461993A (en) | 2019-01-21 | 2019-01-21 | Object rotation method, system, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910055244.2A CN111461993A (en) | 2019-01-21 | 2019-01-21 | Object rotation method, system, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111461993A true CN111461993A (en) | 2020-07-28 |
Family
ID=71684081
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910055244.2A Pending CN111461993A (en) | 2019-01-21 | 2019-01-21 | Object rotation method, system, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111461993A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103268187A (en) * | 2013-05-22 | 2013-08-28 | 北京小米科技有限责任公司 | Method and device for unlocking and mobile terminal |
CN103501455A (en) * | 2013-09-18 | 2014-01-08 | 深圳市龙视传媒有限公司 | Picture processing method and digital television terminal |
CN105389011A (en) * | 2015-12-01 | 2016-03-09 | 深圳还是威健康科技有限公司 | Display rotation control method and intelligent wearable device |
CN106250022A (en) * | 2016-07-29 | 2016-12-21 | 努比亚技术有限公司 | Content choice method of adjustment, device and terminal |
CN107885708A (en) * | 2016-09-30 | 2018-04-06 | 珠海金山办公软件有限公司 | Object editing method and device, electronic equipment |
CN107885412A (en) * | 2016-09-30 | 2018-04-06 | 珠海金山办公软件有限公司 | Object editing method and device, electronic equipment |
-
2019
- 2019-01-21 CN CN201910055244.2A patent/CN111461993A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103268187A (en) * | 2013-05-22 | 2013-08-28 | 北京小米科技有限责任公司 | Method and device for unlocking and mobile terminal |
CN103501455A (en) * | 2013-09-18 | 2014-01-08 | 深圳市龙视传媒有限公司 | Picture processing method and digital television terminal |
CN105389011A (en) * | 2015-12-01 | 2016-03-09 | 深圳还是威健康科技有限公司 | Display rotation control method and intelligent wearable device |
CN106250022A (en) * | 2016-07-29 | 2016-12-21 | 努比亚技术有限公司 | Content choice method of adjustment, device and terminal |
CN107885708A (en) * | 2016-09-30 | 2018-04-06 | 珠海金山办公软件有限公司 | Object editing method and device, electronic equipment |
CN107885412A (en) * | 2016-09-30 | 2018-04-06 | 珠海金山办公软件有限公司 | Object editing method and device, electronic equipment |
Non-Patent Citations (1)
Title |
---|
国家职业技能鉴定专家委员会计算机专业委员会: "《办公软件应用office2007应试指南 高级操作员级》", pages: 63 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180349107A1 (en) | Preview Changes To Mobile Applications At Different Display Resolutions | |
AU2013277005B2 (en) | Method for running camera and electronic device thereof | |
CN107430768B (en) | Image editing and inpainting | |
CN110764850A (en) | Interface display method, parameter assignment method, system and equipment | |
EP2874054B1 (en) | Application text adjusting method, device, and terminal | |
US9256919B2 (en) | Systems and methods for image processing using a resizing template | |
US20170237936A1 (en) | Information processing apparatus, method for controlling the information processing apparatus, and recording medium | |
CN111382289A (en) | Picture display method and device, computer equipment and storage medium | |
CN112527226A (en) | Method, system, medium and intelligent terminal for acquiring display picture suitable for vehicle-mounted screen | |
CN114121131A (en) | External flash self-adaption method, device, equipment and medium | |
CN105468706A (en) | Page display method and device | |
CN111461993A (en) | Object rotation method, system, terminal and storage medium | |
CN112749030A (en) | Clipboard control method and device and readable storage medium | |
CN111752454A (en) | Skin control method, device, terminal and medium for application program interface | |
CN114995699B (en) | Interface interaction method and device | |
CN110457110A (en) | System theme management method, device, equipment and storage medium | |
CN110502296B (en) | Method, equipment and storage medium for displaying firmware upgrading command | |
CN114518821A (en) | Application icon management method and device and electronic equipment | |
CN108563485B (en) | Input panel display method and device | |
US9665926B2 (en) | Method for object displaying and electronic device thereof | |
CN111489418A (en) | Image processing method, device, equipment and computer readable storage medium | |
CN112784538A (en) | Document page editing method and device | |
CN110968706A (en) | Method, system and terminal for controlling slide playing animation | |
CN110825450B (en) | APP configuration modification method and device, electronic equipment and storage medium | |
CN112837211B (en) | Picture processing method and device, electronic equipment and readable storage medium |
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 |