CN105975188B - Picture position adjusting method and device - Google Patents

Picture position adjusting method and device Download PDF

Info

Publication number
CN105975188B
CN105975188B CN201610281330.1A CN201610281330A CN105975188B CN 105975188 B CN105975188 B CN 105975188B CN 201610281330 A CN201610281330 A CN 201610281330A CN 105975188 B CN105975188 B CN 105975188B
Authority
CN
China
Prior art keywords
picture
reference line
specified
moving operation
adjusting
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.)
Active
Application number
CN201610281330.1A
Other languages
Chinese (zh)
Other versions
CN105975188A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610281330.1A priority Critical patent/CN105975188B/en
Publication of CN105975188A publication Critical patent/CN105975188A/en
Application granted granted Critical
Publication of CN105975188B publication Critical patent/CN105975188B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a picture position adjusting method, which belongs to the technical field of terminals and comprises the following steps: when a selection instruction of a specified picture is received, displaying a picture editing menu, wherein the picture editing menu comprises a picture position adjusting option; when a position adjustment instruction is received based on the picture position adjustment option, detecting a moving operation for the specified picture; adjusting the position of the designated picture based on the direction of the moving operation. In the disclosure, when the terminal receives a position adjustment instruction based on a picture position adjustment option in a picture editing menu, a moving operation for the specified picture can be detected, and the position of the specified picture is adjusted according to the direction of the moving operation, so that the operation of a user is simplified, the operation burden of the terminal is reduced, and the operation efficiency of the terminal is improved.

Description

Picture position adjusting method and device
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for adjusting a picture position.
Background
With the development of technology, when people use an application for recording information on a terminal, in order to ensure the beauty of a recording page, a picture is usually added to the recording page. However, since it is impossible to predict whether the position of the picture can ensure the beauty of the recorded page, the position of the picture is often required to be adjusted after the picture is added.
At present, when the position of a picture needs to be adjusted, the original picture is usually deleted, and the picture is newly added at the position where the picture needs to be added. And when the position of the current picture needs to be adjusted again, the operations of deleting the picture and adding the picture are executed again.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method and an apparatus for adjusting a picture position.
According to a first aspect of the embodiments of the present disclosure, there is provided a picture position adjustment method, the method including:
when a selection instruction of a specified picture is received, displaying a picture editing menu, wherein the picture editing menu comprises a picture position adjusting option;
when a position adjustment instruction is received based on the picture position adjustment option, detecting a moving operation for the specified picture;
adjusting the position of the designated picture based on the direction of the moving operation.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the method is applied to an information recording application installed in an intelligent operating system, where the information recording application is used to record information, and the information recording application includes a note application, a cloud note application, or a memo application.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the detecting, when a position adjustment instruction is received based on the picture position adjustment option, a moving operation for the specified picture includes:
when the position adjusting instruction is received based on the picture position adjusting option, the designated picture is reduced according to a designated reduction rule;
and detecting a moving operation aiming at the specified picture based on the reduced specified picture.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the reducing the specified picture according to a specified reduction rule when the position adjustment instruction is received based on the picture position adjustment option includes:
when the position adjustment instruction is received based on the picture position adjustment option, reducing the specified picture to a specified size.
With reference to the second possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the reducing the specified picture according to a specified reduction rule when the position adjustment instruction is received based on the picture position adjustment option includes:
and when the position adjusting instruction is received based on the picture position adjusting option, reducing the specified picture according to a specified proportion.
With reference to any one of the first possible implementation manner of the first aspect to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, after the reducing the specified picture according to a specified reduction rule, the method further includes:
displaying a position reference line of the designated picture, wherein the position reference line comprises a first reference line or a second reference line, the direction of the first reference line is transverse, and the direction of the second reference line is longitudinal;
correspondingly, the adjusting the position of the designated picture based on the direction of the moving operation comprises:
when the moving operation direction is longitudinal or transverse, judging whether the moving operation direction is vertical to the position reference line direction;
when the direction of the moving operation is not vertical to the direction of the position reference line, adjusting the direction of the position reference line to be a direction which is vertical to the moving operation direction;
and adjusting the position of the designated picture based on the position of the adjusted position reference line.
With reference to the first aspect, in a sixth possible implementation manner of the first aspect, the adjusting the position of the designated picture based on the direction of the moving operation includes:
when the moving operation direction is vertical, displaying a first reference line of the appointed picture;
adjusting the position of the specified picture based on the position of a first reference line of the specified picture;
when the direction of the moving operation is horizontal, displaying a second reference line of the designated picture;
adjusting the position of the designated picture based on the position of a second reference line of the designated picture;
when the moving operation direction is an oblique direction, displaying a first reference line and a second reference line of the appointed picture, wherein the oblique direction is a direction which forms an included angle with the longitudinal direction which is larger than a first appointed angle and smaller than a second appointed angle, and the included angle between the oblique direction and the longitudinal direction is an acute angle;
and adjusting the position of the specified picture based on the position of the first reference line and the position of the second reference line of the specified picture.
According to a second aspect of the embodiments of the present disclosure, there is provided a picture position adjustment apparatus, the apparatus including:
the display module is used for displaying a picture editing menu when a selection instruction of a specified picture is received, wherein the picture editing menu comprises a picture position adjusting option;
the detection module is used for detecting the moving operation aiming at the specified picture when a position adjusting instruction is received based on the picture position adjusting option;
and the adjusting module is used for adjusting the position of the specified picture based on the direction of the moving operation.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the apparatus is applied to an information recording application installed in an intelligent operating system, where the information recording application is used to record information, and the information recording application includes a note application, a cloud note application, and a memo application.
With reference to the second aspect, in a second possible implementation manner of the second aspect, the detecting module includes:
a reduction unit configured to reduce the specified picture according to a specified reduction rule when the position adjustment instruction is received based on the picture position adjustment option;
a detection unit configured to detect a moving operation for the specified picture based on the reduced specified picture.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the reducing unit includes:
a first reducing subunit, configured to reduce the specified picture to a specified size when the position adjustment instruction is received based on the picture position adjustment option.
With reference to the second possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the reducing unit includes:
and the second reducing subunit is used for reducing the specified picture according to a specified proportion when the position adjusting instruction is received based on the picture position adjusting option.
With reference to any possible implementation manner of the second aspect to the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the detecting module further includes:
the first display unit is used for displaying position reference lines of the specified picture, the position reference lines comprise first reference lines or second reference lines, the direction of the first reference lines is transverse, and the direction of the second reference lines is longitudinal;
accordingly, the adjustment module comprises:
a determination unit configured to determine whether the direction of the movement operation is perpendicular to the direction of the position reference line when the direction of the movement operation is longitudinal or transverse;
a first adjusting unit configured to adjust a direction of the position reference line to a direction perpendicular to the movement operation direction when the direction of the movement operation is not perpendicular to the direction of the position reference line;
and the second adjusting unit is used for adjusting the position of the designated picture based on the position of the adjusted position reference line.
With reference to the second aspect, in a sixth possible implementation manner of the second aspect, the adjusting module includes:
a second display unit, configured to display a first reference line of the designated picture when the direction of the moving operation is a vertical direction, where the direction of the first reference line is a horizontal direction;
a third adjusting unit, configured to adjust a position of the specified picture based on a position of a first reference line of the specified picture;
a third display unit, configured to display a second reference line of the designated picture when the direction of the moving operation is a horizontal direction, where the direction of the second reference line is a vertical direction;
a fourth adjusting unit, configured to adjust a position of the specified picture based on a position of a second reference line of the specified picture;
the fourth display unit is used for displaying the first reference line and the second reference line of the appointed picture when the moving operation direction is an oblique direction, the oblique direction is a direction which forms an included angle with the longitudinal direction which is larger than a first appointed angle and smaller than a second appointed angle, and the included angle between the oblique direction and the longitudinal direction is an acute angle;
and the fifth adjusting unit is used for adjusting the position of the specified picture based on the position of the first reference line and the position of the second reference line of the specified picture.
According to a third aspect of the embodiments of the present disclosure, there is provided a picture position adjustment apparatus, the apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a selection instruction of a specified picture is received, displaying a picture editing menu, wherein the picture editing menu comprises a picture position adjusting option;
when a position adjustment instruction is received based on the picture position adjustment option, detecting a moving operation for the specified picture;
adjusting the position of the designated picture based on the direction of the moving operation.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: in the embodiment of the disclosure, when the terminal receives a position adjustment instruction based on a picture position adjustment option in a picture editing menu, a moving operation for the specified picture may be detected, and the position of the specified picture may be adjusted according to the direction of the moving operation, thereby simplifying the operation of a user, reducing the operation burden of the terminal, and improving the operation efficiency of the terminal.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a picture position adjustment method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating another picture position adjustment method according to an exemplary embodiment.
Fig. 3 is a diagram illustrating a display interface of a picture editing menu according to an exemplary embodiment.
Fig. 4 is a diagram illustrating a display interface for specifying a zoom-out instant of a picture according to an example embodiment.
FIG. 5 is a diagram of a display interface showing a first reference line according to an example embodiment.
Fig. 6 is a block diagram illustrating a configuration of a picture position adjustment apparatus according to an exemplary embodiment.
FIG. 7 is a block diagram illustrating a detection module according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a structure of a reduction unit according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating a structure of another reducing unit according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating a structure of an adjustment module according to an example embodiment.
Fig. 11 is a block diagram illustrating a configuration of a picture position adjustment apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Before explaining the embodiments of the present disclosure in detail, an application scenario of the embodiments of the present disclosure will be described. Currently, when a user uses an application for recording information on a terminal, such as an application of a note, a memo, a cloud note, etc., since only characters included in a recording page may be unattractive, a picture is usually added to the recording page in order to record the beauty of the page. However, the recording page may still be unsightly due to the location of the picture, and therefore, the picture needs to be deleted from the original location and added again to the new location. When the recorded page is still not beautiful, the operations of deleting and adding pictures need to be repeated until the user is satisfied, so that the operation of the user becomes complicated, the operation burden of the terminal is increased, and the operation efficiency of the terminal is further reduced. Therefore, the embodiment of the present disclosure provides a method for adjusting a picture position, so that the operation of a user can be simplified, the operation load of a terminal is reduced, and the operation efficiency of the terminal is improved.
Fig. 1 is a flowchart illustrating a picture position adjustment method according to an exemplary embodiment, which is used in a terminal, as shown in fig. 1, and includes the following steps.
In step 101, when a selection instruction for specifying a picture is received, a picture editing menu is displayed, wherein the picture editing menu includes a picture position adjustment option.
In step 102, when a position adjustment instruction is received based on the picture position adjustment option, a moving operation for the specified picture is detected.
In step 103, the position of the designated picture is adjusted based on the direction of the moving operation.
In the embodiment of the disclosure, when the terminal receives a position adjustment instruction based on a picture position adjustment option in a picture editing menu, a moving operation for the specified picture may be detected, and the position of the specified picture may be adjusted according to the direction of the moving operation, thereby simplifying the operation of a user, reducing the operation burden of the terminal, and improving the operation efficiency of the terminal.
In another embodiment of the present disclosure, the method is applied to an information recording application installed in an intelligent operating system, the information recording application being used for recording information, and the information recording application includes a note application, a cloud note application, and a memo application.
In another embodiment of the present disclosure, when a position adjustment instruction is received based on the picture position adjustment option, detecting a moving operation for the specified picture includes:
when the position adjusting instruction is received based on the picture position adjusting option, the appointed picture is reduced according to an appointed reducing rule;
and detecting a moving operation aiming at the specified picture based on the reduced specified picture.
In another embodiment of the present disclosure, when receiving the position adjustment instruction based on the picture position adjustment option, zooming out the specified picture according to a specified zoom-out rule includes:
and when the position adjusting instruction is received based on the picture position adjusting option, reducing the specified picture to a specified size.
In another embodiment of the present disclosure, when receiving the position adjustment instruction based on the picture position adjustment option, zooming out the specified picture according to a specified zoom-out rule includes:
and when the position adjusting instruction is received based on the picture position adjusting option, reducing the specified picture according to a specified proportion.
In another embodiment of the present disclosure, after reducing the specified picture according to a specified reduction rule, the method further includes:
displaying a position reference line of the designated picture, wherein the position reference line comprises a first reference line or a second reference line, the direction of the first reference line is transverse, and the direction of the second reference line is longitudinal;
accordingly, adjusting the position of the designated picture based on the direction of the moving operation includes:
when the moving operation direction is longitudinal or transverse, judging whether the moving operation direction is vertical to the position reference line;
when the direction of the moving operation is not vertical to the direction of the position reference line, the direction of the position reference line is adjusted to be vertical to the direction of the moving operation;
and adjusting the position of the designated picture based on the position of the adjusted position reference line.
In another embodiment of the present disclosure, adjusting the position of the designated picture based on the direction of the moving operation includes:
when the moving operation direction is vertical, displaying a first reference line of the appointed picture;
adjusting the position of the specified picture based on the position of the first reference line of the specified picture;
when the moving operation direction is horizontal, displaying a second reference line of the appointed picture;
adjusting the position of the designated picture based on the position of the second reference line of the designated picture;
when the moving operation direction is an oblique direction, displaying a first reference line and a second reference line of the appointed picture, wherein the oblique direction is a direction which forms an included angle with the longitudinal direction which is larger than a first appointed angle and smaller than a second appointed angle, and the included angle between the oblique direction and the longitudinal direction is an acute angle;
and adjusting the position of the specified picture based on the position of the first reference line and the position of the second reference line of the specified picture.
All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present disclosure, and the embodiments of the present disclosure are not described in detail again.
Fig. 2 is a flowchart of a picture position adjustment method provided by an embodiment of the present disclosure, and referring to fig. 2, the method includes the following steps.
In step 201, when the terminal receives a selection instruction for specifying a picture, a picture editing menu is displayed, and the picture editing menu includes a picture position adjustment option.
It should be noted that the selection instruction is used to select a specific picture in the recording page, and the selection instruction may be triggered by a user through a specific operation, where the specific operation may be a long-press operation, a click operation, a sliding operation, a voice operation, a dragging operation, and the like, and this is not specifically limited in this embodiment of the disclosure.
It should be further noted that the picture editing menu may include not only a picture position adjustment option, but also other editing options, such as a picture cropping option, a picture deleting option, and the like, which is not specifically limited in this embodiment of the disclosure. In addition, the picture editing menu may be displayed in a form of a floating window, a pop-up window, or the like, which is not specifically limited in this embodiment of the disclosure.
In addition, the picture position adjustment option is used to adjust the picture position, and the picture position adjustment option may be displayed in the form of characters, letters, symbols, and the like, which is not specifically limited in this embodiment of the disclosure.
For example, in the recording page shown in fig. 3, when the user performs a long-press operation on the specified picture, the terminal may receive a selection instruction, and display a picture editing menu in the recording page, where the picture editing menu includes a picture cropping option, a picture deleting option, and a picture position adjusting option, and the picture cropping option, the picture deleting option, and the picture position adjusting option are displayed in the form of symbols respectively.
It should be noted that the embodiment of the present disclosure is applied to an information recording application, where the information recording application is used for recording information, and the information recording application includes a note application, a cloud note application, and a memo application. Of course, in practical applications, the information recording application may also include other applications for information recording, and this is not particularly limited in this disclosure.
It should be noted that the information recording Application is an Application (APP) installed in an intelligent operating system, and the intelligent operating system may be an OS (operating system used by an intelligent terminal such as an iPhone mobile Phone, which is introduced by iPhone OS, APPLE inc.), a Windows Phone system, an Android system, and the like, and this is not particularly limited in this embodiment of the disclosure.
In step 202, when the terminal receives a position adjustment instruction based on the picture position adjustment option, a moving operation for the specified picture is detected.
When the terminal receives a position adjustment instruction based on the picture position adjustment option, the process of detecting the movement operation aiming at the specified picture comprises the following 2 steps.
Step one, when the terminal receives a position adjusting instruction based on the picture position adjusting option, the appointed picture is reduced according to an appointed reducing rule.
In order to increase the convenience of the user operation, when the terminal receives a position adjustment instruction based on the picture position adjustment option, the specified picture is usually reduced according to a specified reduction rule.
For example, the designated reduction rule may be to reduce the picture to a designated size, reduce the picture in a designated ratio, or the like, and the designated size and the designated ratio may also be set in advance, which is not specifically limited in the embodiment of the present disclosure.
The operations for reducing the designated picture are different due to the different designated reduction rules. When the designated reduction rule is to reduce the picture to a designated size and the terminal receives the position adjustment instruction based on the picture position adjustment option, the terminal may reduce the designated picture to the designated size. When the designated reduction rule is to reduce the picture according to the designated proportion, and when the terminal receives the position adjustment instruction based on the picture position adjustment option, the terminal can reduce the designated picture according to the designated proportion.
For example, the initial size of the designated picture is 4px × 6px, the reduction rule is designated to reduce the designated picture to the size of 1px × 3px, and when the terminal receives the position adjustment instruction based on the picture position adjustment option, the terminal may reduce the designated picture to the size of 1px × 3 px. When the designated reduction rule is to reduce the picture according to the ratio of 2: 1, and when the terminal receives the position adjustment instruction based on the picture position adjustment option, the terminal can reduce the designated picture according to the ratio of 2: 1, so that the reduced designated picture size is 2px by 3 px.
It should be noted that the position adjustment instruction is used to adjust the position of the specified picture, and the position adjustment instruction may also be triggered by a user through a specified operation, which is not specifically limited in this embodiment of the disclosure.
In addition, the operation of reducing the designated picture to the designated size and the operation of reducing the designated picture according to the designated proportion may refer to related technologies, which are not described in detail in the embodiments of the present disclosure.
It should be noted that, when the terminal shrinks the designated picture, the process of shrinking the designated picture may be displayed in the form of animation in the record page, for example, fig. 4 is a moment in the process of shrinking the designated picture. Of course, the terminal may also display the process of reducing the designated picture in other forms in the record page, which is not specifically limited in this disclosure.
Furthermore, in the embodiment of the present disclosure, when the terminal receives the position adjustment instruction based on the picture position adjustment option, the terminal may reduce the specified picture according to a specified reduction rule, and may also not reduce the specified picture, which is not specifically limited in the embodiment of the present disclosure.
It should be noted that, when the terminal does not shrink the designated picture, the operations of the terminal on the designated picture are reduced, so that the operation load of the terminal is reduced, and the operation efficiency of the terminal is increased.
Further, after the terminal reduces the specified picture according to the specified reduction rule, the terminal may further display a position reference line of the specified picture, where the position reference line includes a first reference line or a second reference line, a direction of the first reference line is a horizontal direction, and a direction of the second reference line is a vertical direction. That is, the terminal may display a first reference line in a horizontal direction on a designated picture, or may display a second reference line in a vertical direction on the designated picture. Of course, in practical applications, the terminal may further display a first reference line in a transverse direction and a second reference line in a longitudinal direction on the designated picture, which is not specifically limited in this disclosure.
In addition, since the terminal may or may not reduce the designated picture, when the terminal does not reduce the designated picture, and when the terminal receives a position adjustment instruction based on the picture position adjustment option, the terminal may also display a position reference line of the designated picture, which is not specifically limited in this embodiment of the disclosure.
It should be noted that the first reference line is used to indicate the current longitudinal position of the specified picture, and the second reference line is used to indicate the current lateral position of the specified picture.
In addition, the first reference line may be a straight line in the longitudinal direction at any point in the designated picture, for example, when the designated picture is a rectangle, the first reference line may be a straight line in the longitudinal direction at any point on the left boundary of the designated picture, a straight line in the longitudinal direction at any point on the right boundary of the designated picture, and the like, which is not specifically limited in the embodiment of the present disclosure. Similarly, the second reference line may be a straight line in the horizontal direction at any point in the designated picture, which is also not specifically limited by the embodiments of the present disclosure.
It should be noted that, in the embodiment of the present disclosure, after displaying the position reference line of the designated picture, the terminal may perform the following operation of detecting whether the designated picture moves, or may directly perform the following operation of detecting whether the designated picture moves without displaying the position reference line of the designated picture, which is not specifically limited in this embodiment of the present disclosure.
And step two, the terminal detects the moving operation aiming at the appointed picture based on the reduced appointed picture.
It should be noted that, for the terminal to detect the moving operation for the specified picture, reference may be made to related technologies, and details of this are not repeated in this disclosure.
In step 203, when the terminal detects a moving operation for the specified picture, the position of the specified picture is adjusted based on the direction of the moving operation.
When the terminal detects a moving operation for the specified picture, the operation of adjusting the position of the specified picture based on the direction of the moving operation may be: when the moving operation direction is vertical, displaying a first reference line of the appointed picture; adjusting the position of the specified picture based on the position of the first reference line of the specified picture; when the moving operation direction is horizontal, displaying a second reference line of the appointed picture; adjusting the position of the designated picture based on the position of the second reference line of the designated picture; when the moving operation direction is an oblique direction, displaying a first reference line and a second reference line of the appointed picture, wherein the oblique direction is a direction which forms an included angle with the longitudinal direction which is larger than a first appointed angle and smaller than a second appointed angle, and the included angle between the oblique direction and the longitudinal direction is an acute angle; and adjusting the position of the specified picture based on the position of the first reference line and the position of the second reference line of the specified picture.
For example, when the moving operation direction is the vertical direction, in the recording page as shown in fig. 5, a horizontal straight line, which is the first reference line, is displayed on the specified picture.
It should be noted that the first designated angle is 0 degree, and the second designated angle is 90 degrees, but of course, the first designated angle and the second designated angle may also be other angles, which is not specifically limited in this disclosure.
Based on the position of the first reference line, the operation of adjusting the position of the designated picture by the terminal may be: and determining the position of the first reference line, and determining the position of the first reference line as the longitudinal position of the specified picture.
Similarly, the operation of adjusting the position of the designated picture by the terminal based on the position of the second reference line may be: and determining the position of the second reference line, and determining the position of the second reference line as the transverse position of the specified picture.
Similarly, the operation of the terminal adjusting the position of the designated picture based on the position of the first reference line and the position of the second reference line may be: and determining the position of the first reference line, determining the position of the second reference line, determining the position of the first reference line as the longitudinal position of the appointed picture, and determining the position of the second reference line as the transverse position of the appointed picture.
In addition, the first reference line and the second reference line are displayed in the process of moving the designated picture, so that the current position of the designated picture can be accurately prompted to a user, and the accuracy of adjusting the position of the designated picture is improved.
Further, since the terminal may also display the position reference line of the designated picture after reducing the designated picture according to the designated reduction rule, when the terminal displays the position reference line of the designated picture and adjusts the position of the designated picture based on the direction of the moving operation, if the direction of the moving operation is longitudinal or transverse, the terminal may determine whether the direction of the moving operation and the direction of the position reference line are perpendicular to each other; when the direction of the moving operation is not vertical to the direction of the position reference line, the direction of the position reference line is adjusted to be vertical to the direction of the moving operation; and adjusting the position of the designated picture based on the position of the adjusted position reference line.
The operation of the terminal adjusting the direction of the position reference line to a direction perpendicular to the moving operation direction may be: when the position reference line displayed by the terminal is horizontal and the direction of the moving operation is horizontal, adjusting the direction of the position reference line to be vertical; when the direction of the position reference line displayed by the terminal is longitudinal and the direction of the movement operation is transverse, maintaining the direction of the position reference line; when the direction of the position reference line displayed by the terminal is horizontal and the direction of the movement operation is vertical, maintaining the direction of the position reference line; when the direction of the position reference line displayed by the terminal is the longitudinal direction and the direction of the moving operation is the longitudinal direction, the direction of the position reference line is adjusted to be the transverse direction.
Further, since the terminal may display a line in a transverse direction and a line in a longitudinal direction, and the direction of the moving operation may also include a diagonal direction, the operation of the terminal to adjust the direction of the position reference line may be: when the terminal displays a line with a transverse direction and a line with a longitudinal direction on the designated picture and the direction of the moving operation is transverse, eliminating the line with the transverse direction and reserving the line with the longitudinal direction; when the terminal displays a line with a transverse direction and a line with a longitudinal direction on the designated picture and the direction of the moving operation is longitudinal, eliminating the line with the longitudinal direction and reserving the line with the transverse direction; when the direction of the position reference line displayed by the terminal is transverse and the direction of the movement operation is oblique, displaying a line with the longitudinal direction and reserving the line with the transverse direction; when the direction of the position reference line displayed by the terminal is longitudinal and the direction of the moving operation is oblique, displaying a line with the transverse direction and reserving the line with the longitudinal direction; when the terminal displays a line with a transverse direction and a line with a longitudinal direction on the designated picture and the direction of the moving operation is oblique, the lines with the transverse direction and the longitudinal direction are reserved.
It should be noted that the adjustment of the position reference line by the terminal may include not only the above method, but also other methods, and this is not specifically limited in this disclosure.
In addition, when the terminal receives a drag operation based on the specified picture, the terminal may move the specified picture to a position where the position reference line is located at the end of the drag operation.
Further, when the position adjustment of the designated picture is performed based on the reduced designated picture, then, when the position adjustment of the designated picture is completed, the terminal may restore the reduced designated picture to the original size.
It should be noted that, for the operation of the terminal to restore the reduced designated picture to the initial size, reference may be made to related technologies, and details of this operation are not repeated in this disclosure.
In the embodiment of the disclosure, when the terminal receives a position adjustment instruction based on the picture position adjustment option in the picture editing menu, the specified picture can be reduced, thereby facilitating the movement of the specified picture. And the terminal can detect the moving operation of the designated picture based on the reduced designated picture, so that the position of the designated picture can be adjusted according to the direction of the moving operation. Meanwhile, when the position of the appointed picture is adjusted, the first reference line and the second reference line can be displayed, so that the position of the current appointed picture can be accurately prompted to a user, the operation of the user can be simplified, the operation burden of the terminal is reduced, and the operation efficiency of the terminal is improved.
Fig. 6 is a block diagram illustrating a picture position adjustment apparatus according to an exemplary embodiment. Referring to fig. 2, the apparatus includes: a display module 601, a detection module 602 and an adjustment module 603.
The display module 601 is configured to display a picture editing menu when a selection instruction for specifying a picture is received, where the picture editing menu includes a picture position adjustment option;
a detection module 602, configured to detect a moving operation for the specified picture when a position adjustment instruction is received based on the picture position adjustment option;
an adjusting module 603, configured to adjust a position of the specified picture based on the direction of the moving operation.
In another embodiment of the present disclosure, the apparatus is applied to an information recording application installed in an intelligent operating system, the information recording application being used for recording information, and the information recording application includes a note application, a cloud note application, and a memo application.
In another embodiment of the present disclosure, referring to fig. 7, the detection module 602 includes:
a reducing unit 6021 configured to reduce the designated picture according to a designated reducing rule when the position adjustment instruction is received based on the picture position adjustment option;
a detecting unit 6022 configured to detect a moving operation for the specified picture based on the reduced specified picture.
In another embodiment of the present disclosure, referring to fig. 8, the reducing unit 6021 includes:
a first reduction sub-unit 60211, configured to reduce the specified picture to a specified size when the position adjustment instruction is received based on the picture position adjustment option.
In another embodiment of the present disclosure, referring to fig. 9, the reducing unit 6021 includes:
a second reduction sub-unit 60212, configured to reduce the specified picture by a specified scale when the position adjustment instruction is received based on the picture position adjustment option.
In another embodiment of the present disclosure, the detection module 602 further includes:
a first display unit 6023 configured to display a position reference line of the designated picture, where the position reference line includes a first reference line or a second reference line, a direction of the first reference line is a horizontal direction, and a direction of the second reference line is a vertical direction;
accordingly, the adjusting module 603 includes:
a determination unit 6031 configured to determine whether the direction of the moving operation and the direction of the position reference line are perpendicular to each other when the direction of the moving operation is the longitudinal direction or the lateral direction;
a first adjusting unit 6032 for adjusting the direction of the position reference line to a direction mutually perpendicular to the direction of the moving operation when the direction of the moving operation is not perpendicular to the direction of the position reference line;
a second adjusting unit 6033, configured to adjust the position of the specified picture based on the position where the adjusted position reference line is located.
In another embodiment of the present disclosure, referring to fig. 10, the adjusting module 603 includes:
a second display unit 6034 configured to display a first reference line of the specified picture when the direction of the moving operation is the vertical direction, the direction of the first reference line being the horizontal direction;
a third adjusting unit 6035, configured to adjust the position of the specified picture based on the position of the first reference line of the specified picture;
a third display unit 6036 configured to display a second reference line of the specified picture when the direction of the moving operation is the landscape direction, the direction of the second reference line being the portrait direction;
a fourth adjusting unit 6037, configured to adjust the position of the specified picture based on the position of the second reference line of the specified picture;
a fourth display unit 6038, configured to display the first reference line and the second reference line of the designated picture when the direction of the moving operation is an oblique direction, where the oblique direction is a direction in which an included angle with the longitudinal direction is greater than the first designated angle and smaller than the second designated angle, and the included angle between the oblique direction and the longitudinal direction is an acute angle;
a fifth adjusting unit 6039, configured to adjust the position of the specified picture based on the position of the first reference line and the position of the second reference line of the specified picture.
In the embodiment of the disclosure, when the terminal receives a position adjustment instruction based on the picture position adjustment option in the picture editing menu, the specified picture can be reduced, thereby facilitating the movement of the specified picture. And the terminal can detect the moving operation of the designated picture based on the reduced designated picture, so that the position of the designated picture can be adjusted according to the direction of the moving operation. Meanwhile, when the position of the appointed picture is adjusted, the first reference line and the second reference line can be displayed, so that the position of the current appointed picture can be accurately prompted to a user, the operation of the user can be simplified, the operation burden of the terminal is reduced, and the operation efficiency of the terminal is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 11 is a block diagram illustrating an apparatus 1100 for picture position adjustment according to an example embodiment. For example, the apparatus 1100 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 11, apparatus 1100 may include one or more of the following components: processing component 1102, memory 1104, power component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, and communications component 1116.
The processing component 1102 generally controls the overall operation of the device 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1102 may include one or more processors 1120 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1102 may include one or more modules that facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
The memory 1104 is configured to store various types of data to support operations at the apparatus 1100. Examples of such data include instructions for any application or method operating on device 1100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1104 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power component 1106 provides power to the various components of the device 1100. The power components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1100.
The multimedia component 1108 includes a screen that provides an output interface between the device 1100 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1108 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1100 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1110 is configured to output and/or input audio signals. For example, the audio component 1110 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1100 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1104 or transmitted via the communication component 1116. In some embodiments, the audio assembly 1110 further includes a speaker for outputting audio signals.
The I/0 interface 1112 provides an interface between the processing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1114 includes one or more sensors for providing various aspects of state assessment for the apparatus 1100. For example, the sensor assembly 1114 may detect an open/closed state of the apparatus 1100, the relative positioning of components, such as a display and keypad of the apparatus 1100, the sensor assembly 1114 may also detect a change in position of the apparatus 1100 or a component of the apparatus 1100, the presence or absence of user contact with the apparatus 1100, orientation or acceleration/deceleration of the apparatus 1100, and a change in temperature of the apparatus 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1116 is configured to facilitate wired or wireless communication between the apparatus 1100 and other devices. The apparatus 1100 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1116 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 1104 comprising instructions, executable by the processor 1120 of the apparatus 1100 to perform the method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a picture position adjustment method, the method comprising:
when a selection instruction of a specified picture is received, displaying a picture editing menu, wherein the picture editing menu comprises a picture position adjusting option;
when a position adjustment instruction is received based on the picture position adjustment option, detecting a moving operation for the specified picture;
and adjusting the position of the specified picture based on the direction of the moving operation.
In another embodiment of the present disclosure, the method is applied to an information recording application installed in an intelligent operating system, the information recording application being used for recording information, and the information recording application includes a note application, a cloud note application, and a memo application.
In another embodiment of the present disclosure, when a position adjustment instruction is received based on the picture position adjustment option, detecting a moving operation for the specified picture includes:
when the position adjusting instruction is received based on the picture position adjusting option, the appointed picture is reduced according to an appointed reducing rule;
and detecting a moving operation aiming at the specified picture based on the reduced specified picture.
In another embodiment of the present disclosure, when receiving the position adjustment instruction based on the picture position adjustment option, zooming out the specified picture according to a specified zoom-out rule includes:
and when the position adjusting instruction is received based on the picture position adjusting option, reducing the specified picture to a specified size.
In another embodiment of the present disclosure, when receiving the position adjustment instruction based on the picture position adjustment option, zooming out the specified picture according to a specified zoom-out rule includes:
and when the position adjusting instruction is received based on the picture position adjusting option, reducing the specified picture according to a specified proportion.
In another embodiment of the present disclosure, after reducing the specified picture according to a specified reduction rule, the method further includes:
displaying a position reference line of the designated picture, wherein the position reference line comprises a first reference line or a second reference line, the direction of the first reference line is transverse, and the direction of the second reference line is longitudinal; (ii) a
Accordingly, adjusting the position of the designated picture based on the direction of the moving operation includes:
when the moving operation direction is longitudinal or transverse, judging whether the moving operation direction is vertical to the position reference line;
when the direction of the moving operation is not vertical to the direction of the position reference line, the direction of the position reference line is adjusted to be vertical to the direction of the moving operation;
and adjusting the position of the designated picture based on the position of the adjusted position reference line.
In another embodiment of the present disclosure, adjusting the position of the designated picture based on the direction of the moving operation includes:
when the moving operation direction is vertical, displaying a first reference line of the appointed picture, wherein the direction of the first reference line is horizontal;
adjusting the position of the specified picture based on the position of the first reference line of the specified picture;
when the moving operation direction is horizontal, displaying a second reference line of the appointed picture, wherein the direction of the second reference line is vertical;
adjusting the position of the designated picture based on the position of the second reference line of the designated picture;
when the moving operation direction is an oblique direction, displaying a first reference line and a second reference line of the appointed picture, wherein the oblique direction is a direction which forms an included angle with the longitudinal direction which is larger than a first appointed angle and smaller than a second appointed angle, and the included angle between the oblique direction and the longitudinal direction is an acute angle;
and adjusting the position of the specified picture based on the position of the first reference line and the position of the second reference line of the specified picture.
In the embodiment of the disclosure, when the terminal receives a position adjustment instruction based on the picture position adjustment option in the picture editing menu, the specified picture can be reduced, thereby facilitating the movement of the specified picture. And the terminal can detect the moving operation of the designated picture based on the reduced designated picture, so that the position of the designated picture can be adjusted according to the direction of the moving operation. Meanwhile, when the position of the appointed picture is adjusted, the first reference line and the second reference line can be displayed, so that the position of the current appointed picture can be accurately prompted to a user, the operation of the user can be simplified, the operation burden of the terminal is reduced, and the operation efficiency of the terminal is improved.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (13)

1. A picture position adjusting method is characterized by comprising the following steps:
when a selection instruction of a specified picture is received, displaying a picture editing menu, wherein the picture editing menu comprises a picture position adjusting option;
when a position adjustment instruction is received based on the picture position adjustment option, detecting a moving operation for the specified picture, wherein when a position adjustment instruction is received based on the picture position adjustment option, the detecting comprises: displaying a position reference line of the designated picture, wherein the position reference line comprises a first reference line or a second reference line, the direction of the first reference line is transverse, and the direction of the second reference line is longitudinal;
adjusting the position of the designated picture based on the direction of the movement operation, including:
judging whether the direction of the moving operation is perpendicular to the direction of the position reference line when the direction of the moving operation is longitudinal or transverse,
adjusting the direction of the position reference line to a direction perpendicular to the direction of the moving operation when the direction of the moving operation is not perpendicular to the direction of the position reference line,
when the direction of the moving operation is an oblique direction and the direction of the position reference line is a transverse direction, displaying a position reference line with a longitudinal direction and reserving the position reference line with the transverse direction, wherein the oblique direction is a direction which has an included angle with the longitudinal direction larger than a first specified angle and smaller than a second specified angle, and the included angle between the oblique direction and the longitudinal direction is an acute angle,
displaying a position reference line with a transverse direction and reserving the position reference line with a longitudinal direction when the direction of the moving operation is a diagonal direction and the direction of the position reference line is a longitudinal direction,
and adjusting the position of the designated picture based on the position of the adjusted position reference line.
2. The method of claim 1, applied to an information recording application installed in an intelligent system for recording information, the information recording application including a notes application, a cloud note application, or a memo application.
3. The method of claim 1, wherein detecting a move operation for the specified picture when a position adjustment instruction is received based on the picture position adjustment option comprises:
when the position adjusting instruction is received based on the picture position adjusting option, the designated picture is reduced according to a designated reduction rule;
and detecting a moving operation aiming at the specified picture based on the reduced specified picture.
4. The method of claim 3, wherein reducing the specified picture according to a specified reduction rule when the position adjustment instruction is received based on the picture position adjustment option comprises:
when the position adjustment instruction is received based on the picture position adjustment option, reducing the specified picture to a specified size.
5. The method of claim 3, wherein reducing the specified picture according to a specified reduction rule when the position adjustment instruction is received based on the picture position adjustment option comprises:
and when the position adjusting instruction is received based on the picture position adjusting option, reducing the specified picture according to a specified proportion.
6. The method of claim 1, wherein the adjusting the location of the designated picture based on the direction of the movement operation comprises:
when the moving operation direction is vertical, displaying a first reference line of the appointed picture;
adjusting the position of the specified picture based on the position of a first reference line of the specified picture;
when the direction of the moving operation is horizontal, displaying a second reference line of the designated picture;
adjusting the position of the designated picture based on the position of a second reference line of the designated picture;
when the direction of the moving operation is oblique, displaying a first reference line and a second reference line of the appointed picture;
and adjusting the position of the specified picture based on the position of the first reference line and the position of the second reference line of the specified picture.
7. An apparatus for adjusting a picture position, the apparatus comprising:
the display module is used for displaying a picture editing menu when a selection instruction of a specified picture is received, wherein the picture editing menu comprises a picture position adjusting option;
a detection module, configured to detect a moving operation for the specified picture when a position adjustment instruction is received based on the picture position adjustment option, where the detection module includes:
the first display unit is used for displaying position reference lines of the specified picture, the position reference lines comprise first reference lines or second reference lines, the direction of the first reference lines is transverse, and the direction of the second reference lines is longitudinal;
an adjusting module for adjusting the position of the designated picture based on the direction of the moving operation,
the adjusting module is further configured to determine whether the direction of the moving operation is perpendicular to the direction of the position reference line when the direction of the moving operation is longitudinal or transverse,
and is further configured to adjust the direction of the position reference line to a direction perpendicular to the direction of the moving operation when the direction of the moving operation is not perpendicular to the direction of the position reference line,
and is further configured to display a position reference line whose direction is longitudinal and to retain the position reference line whose direction is transverse when the direction of the moving operation is oblique and the direction of the position reference line is transverse, the oblique being a direction in which an included angle with the longitudinal direction is greater than a first prescribed angle and less than a second prescribed angle, and the included angle between the oblique direction and the longitudinal direction being an acute angle,
and is further configured to display a position reference line whose direction is a lateral direction and retain a position reference line whose direction is a longitudinal direction when the direction of the moving operation is a diagonal direction and the direction of the position reference line is a longitudinal direction,
and the position of the designated picture is adjusted based on the position of the adjusted position reference line.
8. The apparatus of claim 7, wherein the apparatus is applied to an information recording application installed in an intelligent operating system, the information recording application being used for recording information, the information recording application including a note application, a cloud note application, and a memo application.
9. The apparatus of claim 7, wherein the detection module comprises:
a reduction unit configured to reduce the specified picture according to a specified reduction rule when the position adjustment instruction is received based on the picture position adjustment option;
a detection unit configured to detect a moving operation for the specified picture based on the reduced specified picture.
10. The apparatus of claim 9, wherein the reduction unit comprises:
a first reducing subunit, configured to reduce the specified picture to a specified size when the position adjustment instruction is received based on the picture position adjustment option.
11. The apparatus of claim 9, wherein the reduction unit comprises:
and the second reducing subunit is used for reducing the specified picture according to a specified proportion when the position adjusting instruction is received based on the picture position adjusting option.
12. The apparatus of claim 8, wherein the adjustment module comprises:
a second display unit configured to display a first reference line of the designated picture when the direction of the moving operation is a longitudinal direction;
a third adjusting unit, configured to adjust a position of the specified picture based on a position of a first reference line of the specified picture;
a third display unit configured to display a second reference line of the designated picture when the direction of the moving operation is a landscape direction;
a fourth adjusting unit, configured to adjust a position of the specified picture based on a position of a second reference line of the specified picture;
a fourth display unit, configured to display, when the direction of the moving operation is an oblique direction, a position where the first reference line and a position where the second reference line of the designated picture are located;
a fifth adjusting unit, configured to adjust a position of the specified picture based on the first reference line and the second reference line of the specified picture.
13. An apparatus for adjusting a picture position, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a selection instruction of a specified picture is received, displaying a picture editing menu, wherein the picture editing menu comprises a picture position adjusting option;
when a position adjustment instruction is received based on the picture position adjustment option, detecting a moving operation for the specified picture, wherein when a position adjustment instruction is received based on the picture position adjustment option, the detecting comprises: displaying a position reference line of the designated picture, wherein the position reference line comprises a first reference line or a second reference line, the direction of the first reference line is transverse, and the direction of the second reference line is longitudinal;
adjusting the position of the designated picture based on the direction of the movement operation, including:
judging whether the direction of the moving operation is perpendicular to the direction of the position reference line when the direction of the moving operation is longitudinal or transverse,
adjusting the direction of the position reference line to a direction perpendicular to the direction of the moving operation when the direction of the moving operation is not perpendicular to the direction of the position reference line,
when the direction of the moving operation is an oblique direction and the direction of the position reference line is a transverse direction, displaying a position reference line with a longitudinal direction and reserving the position reference line with the transverse direction, wherein the oblique direction is a direction which has an included angle with the longitudinal direction larger than a first specified angle and smaller than a second specified angle, and the included angle between the oblique direction and the longitudinal direction is an acute angle,
displaying a position reference line with a transverse direction and reserving the position reference line with a longitudinal direction when the direction of the moving operation is a diagonal direction and the direction of the position reference line is a longitudinal direction,
and adjusting the position of the designated picture based on the position of the adjusted position reference line.
CN201610281330.1A 2016-04-28 2016-04-28 Picture position adjusting method and device Active CN105975188B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610281330.1A CN105975188B (en) 2016-04-28 2016-04-28 Picture position adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610281330.1A CN105975188B (en) 2016-04-28 2016-04-28 Picture position adjusting method and device

Publications (2)

Publication Number Publication Date
CN105975188A CN105975188A (en) 2016-09-28
CN105975188B true CN105975188B (en) 2020-07-03

Family

ID=56994175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610281330.1A Active CN105975188B (en) 2016-04-28 2016-04-28 Picture position adjusting method and device

Country Status (1)

Country Link
CN (1) CN105975188B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885707A (en) * 2016-09-30 2018-04-06 珠海金山办公软件有限公司 Object editing method and device, electronic equipment
CN106569985B (en) * 2016-11-14 2020-06-02 北京小米移动软件有限公司 Information editing method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559717A (en) * 2013-11-14 2014-02-05 上海华勤通讯技术有限公司 Shooting preview composition assisting method and device for shooting equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4376340B2 (en) * 1999-02-25 2009-12-02 富士通株式会社 Curve slider device
JP5269851B2 (en) * 2010-09-27 2013-08-21 富士フイルム株式会社 Image editing apparatus, image editing method and program thereof
WO2016131207A1 (en) * 2015-02-16 2016-08-25 锤子软件(北京)有限公司 Control method, control apparatus and electronic device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559717A (en) * 2013-11-14 2014-02-05 上海华勤通讯技术有限公司 Shooting preview composition assisting method and device for shooting equipment

Also Published As

Publication number Publication date
CN105975188A (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN105159640B (en) Display interface rotating method and device and mobile terminal
CN107908351B (en) Application interface display method and device and storage medium
EP2921969A1 (en) Method and apparatus for centering and zooming webpage and electronic device
EP3147802B1 (en) Method and apparatus for processing information
US9959487B2 (en) Method and device for adding font
CN106354504B (en) Message display method and device
US11372516B2 (en) Method, device, and storage medium for controlling display of floating window
CN110968364B (en) Method and device for adding shortcut plugins and intelligent device
JP2017530657A (en) Call interface display method and apparatus
EP3012750A1 (en) Method and device for identifying encoding of web page
US20150116368A1 (en) Method and device for adjusting characters of application
CN108829475B (en) UI drawing method, device and storage medium
EP3133482A1 (en) Method and device for displaying a target object
EP3322227A1 (en) Methods and apparatuses for controlling wireless connection, computer program and recording medium
CN112463084A (en) Split screen display method and device, terminal equipment and computer readable storage medium
EP3015968B1 (en) Method for image deletion and device thereof
CN104850643B (en) Picture comparison method and device
EP2990905A1 (en) Method and device for displaying image
CN109783171B (en) Desktop plug-in switching method and device and storage medium
CN105975188B (en) Picture position adjusting method and device
CN111614910B (en) File generation method and device, electronic equipment and storage medium
CN105955637B (en) Method and device for processing text input box
CN107832112B (en) Wallpaper setting method and device
CN111373730B (en) Panoramic shooting method and terminal
EP3185515A1 (en) Method and device for inputting information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant