Method of changing layout of object, information processing device, and program
The method and program maintain symmetrical arrangements of objects by detecting and adjusting subordinate objects in response to changes in main objects, improving user convenience in layout software.
Patent Information
- Application Number
- JP2023038398
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2024-09-27
AI Technical Summary
Existing layout software fails to maintain symmetrical arrangements of objects when their positions or sizes are changed, requiring users to manually adjust the layout, which is inconvenient.
A method and program that detect operations on a main object and its subordinate objects with a symmetrical relationship, allowing the positions or sizes of these objects to be changed while maintaining the symmetrical arrangement by tracking and aligning the subordinate objects accordingly.
Enables the user to change the layout of objects while preserving symmetrical relationships, enhancing user convenience during layout operations.
Smart Images

Figure 2024129291000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a method for changing the layout of an object, an information processing device, and a program. [Background technology]
[0002] In layout software that designs by arranging objects such as images and text in an editing area on a screen, object snapping technology is known that aligns the reference and margins of already placed objects to place a new object (see Patent Document 1). By utilizing such object snapping during layout, it is possible to realize a "symmetrical arrangement" design of multiple objects. There is also a technology that uses an aligned template with a pre-prepared "symmetrical layout" to fit images into slots for layout. This allows users to easily realize a "symmetrical arrangement" design. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2021-26705 Summary of the Invention [Problem to be solved by the invention]
[0004] However, if you change the position or size of each object after arranging multiple objects according to the "symmetrical layout" design, the "symmetrical layout" design will be lost. In such a case, the user will have to correct the layout after the fact, which is inconvenient for the user.
[0005] The present disclosure has been made in consideration of the above-mentioned problems, and has an object to make it possible to change the layout of objects while maintaining the symmetrical arrangement relationship. [Means for solving the problem]
[0006] One embodiment of the present disclosure is a program for causing a computer to execute a method including the steps of detecting an operation for changing a position or size of a main object displayed on a screen, detecting a sub-object having a predetermined symmetrical arrangement relationship with the main object, and changing the positions or sizes of the main object and the sub-object in accordance with the operation while maintaining the symmetrical arrangement relationship between the main object and the sub-object. Effect of the Invention
[0007] According to the present disclosure, it is possible to change the layout of objects while maintaining the symmetrical arrangement relationship. [Brief description of the drawings]
[0008] [Figure 1] Block diagram showing the system configuration [Diagram 2] Flowchart showing the process of the poster editing application [Diagram 3] Diagram showing the application [Figure 4] A diagram showing the preferences screen [Diagram 5] 1 is a flowchart showing a process in the first embodiment; [Figure 6] FIG. 1 is a diagram showing an editing area in the first embodiment; [Figure 7] FIG. 1 is a diagram showing an editing area in the first embodiment; [Figure 8] FIG. 1 is a diagram showing an editing area in the first embodiment; [Figure 9] FIG. 1 is a diagram showing an editing area in the first embodiment; [Figure 10] FIG. 13 is a diagram showing an editing area in the second embodiment. [Figure 11] FIG. 13 is a diagram showing an editing area in the second embodiment. [Figure 12] FIG. 13 is a diagram showing an editing area in the third embodiment. [Figure 13]FIG. 13 is a diagram showing an editing area in the third embodiment. [Figure 14] Flowchart showing processing in the fourth embodiment [Figure 15] FIG. 13 is a diagram showing an editing area in the fourth embodiment. [Figure 16] FIG. 13 is a diagram showing an editing area in the fourth embodiment. [Figure 17] FIG. 1 is a diagram for explaining an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of the present disclosure will be described with reference to the accompanying drawings. The present disclosure is applicable to general layout software such as an object layout application, a poster editing application, a photo album editing application, and presentation creation software. In the embodiment of the present disclosure, a poster editing application (Web application) will be described as an example.
[0010] [First embodiment] <Information Processing System> 1 shows a configuration diagram of an information processing system 100 according to the technique of the present disclosure. The information processing system 100 operates by a client terminal 101 and a server system 121 cooperating with each other via a network 131.
[0011] First, the configuration of a server system 121 used in the technology of the present disclosure will be described. The server system 121, which performs server processing in a Web application 122, includes a program execution server 123, a storage server 125, and a print execution server 128. The program execution server 123 executes a server program 124, which is a program that runs in the server system 121. The storage server 125 stores edited data 126, such as an image file and a print data file, in the Web application, and print data 127. The print execution server 128 transmits the print data 127 to the print application 108 and performs printing. Note that the program execution server 123, the storage server 125, and the print execution server 128 may be realized as physically separate devices, or may be realized as a single device.
[0012] Next, the configuration of the client terminal 101 used in the technology of the present disclosure will be described. The client terminal 101 is an information processing device, and is configured as a general personal computer or a smartphone. The client terminal 101 includes a processor 102, a ROM 103, and a RAM 104. The client terminal 101 also includes a storage device 110, an input device 111, a monitor 112, a printer 113, and an input / output interface (not shown) for connecting to a network 131 such as the Internet. The processor 102 is a central processing unit, and controls the entire client terminal 101 by executing an OS stored in the storage device 110, the ROM 103, and the RAM 104. The processor 102 also executes a Web browser 105, a print application 108, and other programs stored in the ROM 103 and the RAM 104. In executing these, the processor 102 performs calculations based on input data, processes and outputs the data, and controls each hardware, thereby realizing each function of the client terminal 101. The ROM 103 is a read-only memory, and stores each program. The RAM 104 is a random access memory, and is used as a working memory for the processor 102, but if it is a non-volatile RAM, it can also store each program. The Web browser 105 browses websites on the Internet and executes a Web application 122. When executing a Web application, a client program 107 is received from the server system 121, and executed by a program analysis unit 106 that interprets script languages such as HTML and JavaScript. The print application 108 sends print data 127 to a printer 113 connected to the client terminal 101 directly or via a network 131, and prints the data.
[0013] The printer 113 executes printing based on print data created by the information processing system 100. The storage device 110 is a storage device such as an HDD or SSD for storing image data, templates, etc. The input device 111 is an input device such as a keyboard or a pointing device for inputting to the information processing system 100. Some input devices are integrated with a monitor and are touch panels that allow input by directly touching the monitor. The monitor 112 is a display device for displaying image information output by the information processing system 100. Note that the configuration shown in FIG. 1 is an example, and other configurations may be used. For example, the client terminal 101 may be configured to include the storage device 110, the input device 111, and the monitor 112.
[0014] <Poster editing application> Next, the process of the poster editing application of this embodiment will be described with reference to FIGS.
[0015] When the user starts the poster editing application 122, which is a Web application, the process of Fig. 2 is started. Note that, in each step of Fig. 2, the processor 102 reads out from memory a program related to the process of the flowchart and executes it.
[0016] First, in step S201, the processor 102 accepts an instruction from a user to select a work, and sets the type of work (poster, flyer, calendar, etc.) in response to the user's operation. Hereinafter, "step S~" will be abbreviated to "S~".
[0017] In S202, the processor 102 determines whether a template has been selected in response to a user operation in the poster editing application 122 of Fig. 3. When the user selects template selection button 302 in category selection area 301, the processor 102 displays a list of templates in template selection area 303. When the user selects a template from this area, the determination result in S202 becomes true, and the processor 102 advances the process to S203.
[0018] In S203, the processor 102 accepts an instruction to select a template and displays poster data of the selected template in the editing area 305. Fig. 3 shows an example of a case where the user arbitrarily performs layout without selecting a template 304 from the template selection area 303. When the process of S203 ends, or if the determination result of S202 is false, the processor 102 advances the process to S204.
[0019] In S204, the processor 102 executes an editing process in response to a user operation, reflects the result in the poster data, and displays the result in the editing area 305. Specific examples of the editing operation include adding, moving, and resizing an object. When the process of S204 ends, the processor 102 advances the process to S205.
[0020] The poster editing application 122 has an environment setting function that switches the display when the user performs editing work according to preference. Examples of the setting contents include display settings of the cutting area and display settings of grids and guide lines that serve as a guide for arrangement in the editing area 305. The environment setting button 309 is used to switch the display when the user performs editing work according to preference. When the environment setting button 309 is pressed, the processor 102 displays the environment setting screen 400 shown in FIG. 4 instead of the editing area 305 (or together with the editing area 305). Each check box 401 of the environment setting screen 400 accepts a selection by the user. Also, when the user presses the close button 402 after setting via the environment setting screen 400, the processor 102 accepts the user input and transitions to the editing area 305. Note that the items that can be switched on the environment setting screen 400 are not limited to the items shown in FIG. 4, and the items can be changed depending on the type of application.
[0021] In S205, processor 102 determines which button has been pressed in response to a user operation. If the determination result in this step is print, that is, if pressing of print button 306 is detected, the process proceeds to S206, where processor 102 accepts a print instruction and transmits poster data to print application 108. On the other hand, if the determination result in this step is save, that is, if pressing of save button 307 is detected, the process proceeds to S207, where processor 102 executes a process for saving the poster data. Also, if the determination result in this step is end, that is, if pressing of end button 308 is detected, the process proceeds to S208, where processor 102 accepts an instruction to end the application.
[0022] When any one of the processes in S206, S207, and S208 ends, the processor 102 accepts the end of the poster editing process, and the series of processes is completed. The above is an overview of the process of the poster editing application.
[0023] <Layout control for symmetrical objects> Next, the layout control of symmetrical objects, which is a feature of this embodiment, will be described with reference to Figs. 5 to 9. Here, an object that is directly subjected to the rearrangement process is called a main object, and an object having a predetermined symmetrical arrangement relationship with the main object is called a sub-object. In this embodiment, when a rearrangement process is applied to a main object by a user, a sub-object having a symmetrical arrangement relationship is aligned and arranged accordingly. Note that Fig. 5 is a flow chart showing the process of this embodiment, and Figs. 6 to 9 show the editing area that transitions when an object rearrangement is changed in this embodiment.
[0024] In this embodiment, as shown in FIG. 6(a), a case where the object 601 is changed (moved) in a state where the objects 601 and 602 are symmetrically arranged in the editing area 305 is described as an example. In this example, the object 601 is a main object, and the object 602 is a sub object. The objects 601 and 602 are arranged symmetrically in advance at a position with a margin X1, based on the symmetry reference line L1, which is the binding part of the production. In this embodiment, the objects 601 and 602 are described as objects of the same size that are the same distance away from the symmetry reference line L1 and aligned in the vertical direction, as an example of symmetrically arranged objects, but this is not limited to this. In the present disclosure, the "symmetric arrangement" may be different in size or vertical position as long as the distance from the symmetry reference is equal for multiple objects.
[0025] When a user's process of changing the placement of an object is detected, the process of Fig. 5 is started. Here, the process of changing the placement of an object 601 will be described as an example.
[0026] In S501, the processor 102 detects a symmetry reference for objects having a symmetrical arrangement relationship. For example, in this embodiment, a symmetry reference line L1 in FIG.
[0027] Next, in S502, the processor 102 detects a subordinate object having a symmetrical arrangement relationship with the object to be rearranged. For example, in this embodiment, the object 602 in Fig. 6(a) is detected. Note that the steps of S501 and S502 are not limited to be performed after the detection of the rearrangement process, and may be performed in advance.
[0028] Subsequently, in S503, the processor 102 executes a process of moving the object 601. For example, as shown in Fig. 6B, the processor 102 moves the object 601 in the direction A at the bottom right of the screen based on a user operation.
[0029] Next, in S504, the processor 102 determines whether or not another object exists at or near the destination of the target object of the movement process and the subordinate object having a symmetrical arrangement relationship. Specifically, it determines whether or not another object exists at or near the destination of the object 601 in FIG. 6(b) and the object 602 that has been detected as a subordinate object having a symmetrical arrangement relationship in S502. For example, as shown in FIG. 6(b), if there is no other object, the determination result in S504 is false. If the determination result in this step is false, that is, if there is no other object, the processor 102 advances the process to S506.
[0030] In S506, the processor 102 determines whether or not the determination of the placement of the object has been detected. For example, it determines whether or not the drag-and-drop operation of the object 601 by the user has been completed. If the determination result in this step is false, that is, if the operation by the user is being continuously performed, the processor 102 returns the process to the determination in S504 again. On the other hand, if the determination result in this step is true, that is, if the operation by the user has ended, the processor 102 advances the process to S507.
[0031] In S507, the processor 102 ends the movement process of the object 601 and determines the placement.
[0032] Next, in S508, the processor 102 changes the placement of the sub object 602 having a symmetrical placement relationship to a position where the symmetrical placement relationship is maintained. In this embodiment, as shown in FIG. 7A, the processor 102 moves the object 602, which has been detected as a sub object having a symmetrical placement relationship in S502, in a B direction (see FIG. 7A) at the bottom left of the screen, by following the object. At this time, the processor 102 places the object 602 so that the objects 601 and 602 are symmetrical with respect to the symmetrical reference line L1 with the same margin X2. Therefore, even if the placement of the object 601 is changed, the symmetrical placement relationship with the object 602 is maintained. Note that, as an example, in this embodiment, the process of S508 is executed after the process of S507, but the present invention is not limited to this, and the process of S508 may be executed during the movement process of the object 601. In other words, when the user moves the object 601, the processor 102 displays the object 602, which has a symmetrical arrangement relationship, as if it were moving in tandem, and can also determine the position of the object 602 in conjunction with the determination of the position of the object 601.
[0033] When the object rearrangement processing is completed, the processing of the flowchart in Fig. 5 ends, and a layout such as that shown in Fig. 7(b) is obtained. The above is the flow of a series of processing in this embodiment.
[0034] Also, if the determination result in S504 is true, that is, if another object exists at the destination of the object or in the vicinity thereof, the processor 102 advances the process to S505.
[0035] In S505, the processor 102 restricts the movement of the object so that the moving object does not overlap or approach another object. For example, when the object 601 moves in the C direction as shown in Fig. 8(a), another object 604 exists in the destination of the following object 602 as shown in Fig. 8(b). In such a case, the processor 102 restricts the movement of the objects 601 and 602 so that they do not move downward.
[0036] At this time, the processor 102 may display a warning message as shown in FIG. 9(a).
[0037] This function may be realized in combination with a key operation in this embodiment. For example, a combination with a key operation can be set using the check box 401 on the environment setting screen 400 shown in Fig. 4, and objects having a symmetrical arrangement relationship can be aligned and arranged in a symmetrical manner as in this embodiment only while the "ALT" key is pressed.
[0038] <Effects of this embodiment> As described above, in this embodiment, when changing the arrangement of objects that have already been arranged symmetrically in the left-right or up-down direction, the arrangement of related objects is changed accordingly so as to maintain the symmetrical arrangement relationship of the objects. This allows the symmetrical arrangement with the sub-objects to be maintained even if the arrangement of an object that has already been symmetrically arranged is changed, thereby improving the convenience for the user when performing layout operations.
[0039] [Second embodiment] Next, a second embodiment will be described. This embodiment differs from the first embodiment in the criterion for symmetrical arrangement of objects. Specifically, the first embodiment relates to a symmetrical arrangement based on the vertical axis at the center of the editing area, whereas this embodiment relates to a symmetrical arrangement based on the horizontal axis at the center of the editing area or the central point of the editing area. In the following description, the same reference numerals or names are used for configurations similar to those of the above-mentioned embodiment, and description thereof will be omitted as appropriate.
[0040] <Layout control for symmetrical objects> The layout control of symmetrical objects, which is a feature of this embodiment, will be described below with reference to Figures 5, 10, and 11. In this embodiment, when a user performs a layout change process on some of multiple objects that have already been symmetrically arranged, subordinate objects having a symmetrical arrangement relationship are aligned and arranged accordingly.
[0041] The basic processing of this embodiment is the same as that of the first embodiment, as shown in Fig. 5. Figs. 10 and 11 show the editing area which transitions when changing the object arrangement in this embodiment. Each step in Fig. 5 is executed by the processor 102 reading out from memory a program related to the processing of the flowchart and processing it. Also, the series of processing of the poster editing application 122 is the same as the processing shown in Fig. 2, so a detailed description will be omitted.
[0042] In this embodiment, as shown in FIG. 10(a), a case where the object 601 is changed (moved) in a state where the objects 601 to 604 are symmetrically arranged in the editing area 305 in the left-right direction, the up-down direction, and the diagonal direction is described as an example. In this example, the object 601 is a main object, and the objects 602 to 604 are sub-objects. The objects 601 and 602 are arranged symmetrically in advance with a margin X1 with respect to the symmetry reference line L1. Similarly, the objects 603 and 604 are arranged symmetrically in advance with a margin X1 with respect to the symmetry reference line L1. Similarly, the objects 601 and 603 are arranged symmetrically in advance with a margin Y1 with respect to the symmetry reference line L2 that is perpendicular to the symmetry reference line L1. Similarly, the objects 602 and 604 are arranged symmetrically in advance with a margin Y1 with respect to the symmetry reference line L2. Furthermore, objects 601 and 604 are pre-positioned symmetrically with respect to the symmetry reference vertex P, with a margin of X1 in the left-right direction and a margin of Y1 in the up-down direction. Objects 602 and 603 are similarly pre-positioned symmetrically with respect to the symmetry reference vertex P, with a margin of X1 in the left-right direction and a margin of Y1 in the up-down direction.
[0043] When a user's process of changing the placement of an object is detected, the process of Fig. 5 is started. Here, the process of changing the placement of an object 601 will be described as an example.
[0044] In S501, the processor 102 detects a symmetry reference of objects having a symmetrical arrangement relationship. For example, in this embodiment, symmetry reference lines L1 and L2 and a symmetry reference vertex P in FIG.
[0045] Next, in S502, the processor 102 detects a subordinate object having a symmetrical arrangement relationship with the object to be rearranged. For example, in this embodiment, the objects 602 to 604 in Fig. 10(a) are detected. Note that the steps of S501 and S502 are not limited to be performed after the detection of the rearrangement process, and may be performed in advance.
[0046] Subsequently, in S503, the processor 102 executes a process of moving the object 601. For example, as shown in Fig. 10(b), the processor 102 moves the object 601 in the direction A at the bottom right of the screen based on a user operation.
[0047] Next, in S504, the processor 102 determines whether or not another object exists at or near the destination of the target object of the movement process and the subordinate object having a symmetrical arrangement relationship. Specifically, it determines whether or not another object exists at or near the destination of the object 601 in FIG. 10(b) and the objects 602 to 604 that have been detected as subordinate objects having a symmetrical arrangement relationship in S502. For example, as shown in FIG. 10(b), if there is no other object, the determination result in S504 is false. If the determination result in this step is false, that is, if there is no other object, the processor 102 advances the process to S506.
[0048] In S506, the processor 102 determines whether or not the determination of the placement of the object has been detected. For example, it determines whether or not the drag-and-drop operation of the object 601 by the user has been completed. If the determination result in this step is false, that is, if the operation by the user is being continuously performed, the processor 102 returns the process to the determination in S504 again. On the other hand, if the determination result in this step is true, that is, if the operation by the user has ended, the processor 102 advances the process to S507.
[0049] In S507, the processor 102 ends the object movement process and determines the placement.
[0050] Next, in S508, the processor 102 changes the placement of the sub-objects having a symmetrical placement relationship to positions where the symmetrical placement relationship is maintained, by following them. For example, in this embodiment, as shown in FIG. 11(a), the processor 102 moves the objects 602 to 604 that have been detected as sub-objects having a symmetrical placement relationship in S502 in directions B, E, and F from the center of the screen, by following them. At this time, the processor 102 maintains the same symmetrical placement relationship as before the movement even after the movement. Therefore, even if the placement of the object 601 is changed, the symmetrical placement relationship with the objects 602 to 604 is maintained. Note that, as an example, in this embodiment, the process of S508 is executed after the process of S507, but the present invention is not limited to this, and the process of S508 may be executed during the movement process of the object 601. In other words, when the user moves the object 601, the processor 102 displays the objects 602 to 604 having a symmetrical placement relationship as if they were moving in the same manner. Then, the processor 102 can determine the locations of the objects 602 to 604 in conjunction with determining the location of the object 601.
[0051] When the object rearrangement processing is completed, the processing of the flowchart in Fig. 5 ends, and a layout as shown in Fig. 11(b) is obtained. The above is the flow of a series of processing in this embodiment.
[0052] Moreover, the process when the determination result in S504 is true, that is, when another object is present at the destination of the object or in its vicinity, has already been described in the first embodiment, and therefore will not be described here.
[0053] <Effects of this embodiment> As described above, in this embodiment, when changing the arrangement of objects that have already been arranged symmetrically in the left-right, up-down, and diagonal directions, the arrangement of related objects is changed accordingly so as to maintain the symmetrical arrangement relationship of the objects. This allows the symmetrical arrangement with the sub-objects to be maintained even if the arrangement of an object that has already been symmetrically arranged is changed, thereby improving the convenience for the user when performing layout operations.
[0054] [Third embodiment] Next, a third embodiment will be described. This embodiment is different from the first embodiment in that the target pages are different. Specifically, the first embodiment is directed to a single page, but this embodiment is directed to a symmetric object that spans multiple pages, such as a double-sided page, in addition to a single page. In the following description, the same reference numerals or names are used for configurations similar to those of the above-mentioned embodiments, and the description will be omitted as appropriate.
[0055] <Layout control of symmetric objects across multiple pages> The predetermined symmetrical arrangement relationship is a symmetrical arrangement relationship within a page when two pages are regarded as one page. Two pages are, for example, a front cover and a back cover, or two facing pages.
[0056] The layout control of symmetric objects across multiple pages, which is a feature of this embodiment, will be described below with reference to Fig. 5, Fig. 12, and Fig. 13. In this embodiment, when a user performs a layout change process on some of multiple objects that have been symmetrically arranged across multiple pages, subordinate objects having a symmetrical arrangement relationship are aligned and arranged accordingly.
[0057] The basic processing of this embodiment is the same as that of the first embodiment, as shown in Fig. 5. Figs. 12 and 13 show the editing area which transitions when changing the object arrangement in this embodiment. Each step in Fig. 5 is executed by the processor 102 reading from memory a program related to the processing of the flowchart and processing it. Also, since the series of processing of the poster editing application 122 is the same as the processing of Fig. 2, detailed description will be omitted.
[0058] In this embodiment, as shown in Fig. 12(a), a case will be described in which the arrangement of object 601 is changed in a state in which objects 601 and 602 are arranged symmetrically across a front page 1201 and a back page 1202 in an editing area. In this example, object 601 is the main object and object 602 is the sub-object. Note that objects 601 and 602 are arranged symmetrically in advance at a position with a margin X1, based on symmetric reference lines L3 and L4, which are the ends of each page.
[0059] When a user's process of changing the placement of an object is detected, the process of Fig. 5 is started. Here, the process of changing the placement of an object 601 will be described as an example.
[0060] In S501, the processor 102 detects a symmetry reference for objects having a symmetrical arrangement relationship. For example, in this embodiment, symmetry reference lines L3 and L4 in FIG.
[0061] Next, in S502, the processor 102 detects a subordinate object having a symmetrical arrangement relationship with the object to be rearranged. For example, in this embodiment, the object 602 in Fig. 12(a) is detected. Note that the steps of S501 and S502 are not limited to be performed after the detection of the rearrangement process, and may be performed in advance.
[0062] Subsequently, in S503, the processor 102 executes a process of moving the object 601. For example, as shown in Fig. 12(b), the processor 102 moves the object 601 in the direction A at the bottom right of the screen based on a user operation.
[0063] Next, in S504, the processor 102 determines whether or not another object exists at or near the destination of the target object of the movement process and the subordinate object having a symmetrical arrangement relationship. Specifically, it determines whether or not another object exists at or near the destination of the object 601 in FIG. 12(b) and the object 602 that has been detected as a subordinate object having a symmetrical arrangement relationship in S502. For example, as shown in FIG. 12(b), if there is no other object, the determination result in S504 is false. If the determination result in this step is false, that is, if there is no other object, the processor 102 advances the process to S506.
[0064] In S506, the processor 102 determines whether or not the determination of the placement of the object has been detected. For example, it determines whether or not the drag-and-drop operation of the object 601 by the user has been completed. If the determination result in this step is false, that is, if the operation by the user is being continuously performed, the processor 102 returns the process to the determination in S504 again. On the other hand, if the determination result in this step is true, that is, if the operation by the user has ended, the processor 102 advances the process to S507.
[0065] In S507, the processor 102 ends the object movement process and determines the placement.
[0066] Next, in S508, the processor 102 changes the placement of the sub-object having a symmetrical placement relationship to a position where the symmetrical placement relationship is maintained. For example, in this embodiment, as shown in FIG. 13(a), the processor 102 moves the object 602, which has been detected as a sub-object having a symmetrical placement relationship in S502, in a direction B at the bottom left of the screen, by following the object. At this time, the processor 102 places the object 602 so that the objects 601 and 602 are symmetrical with respect to the symmetrical reference lines L3 and L4 with the same margin X2 therebetween. Therefore, even if the placement of the object 601 is changed, the symmetrical placement relationship with the object 602 is maintained. Note that, as an example, in this embodiment, the process of S508 is executed after the process of S507, but the present invention is not limited to this, and the process of S508 may be executed during the movement process of the object 601. In other words, when the user moves the object 601, the processor 102 displays the object 602, which has a symmetrical arrangement relationship, as if it were moving in tandem, and can also determine the position of the object 602 in conjunction with the determination of the position of the object 601.
[0067] When the object rearrangement processing is completed, the processing of the flowchart in Fig. 5 ends, and a layout such as that shown in Fig. 13(b) is obtained. The above is the flow of a series of processing in this embodiment.
[0068] Moreover, the process when the determination result in S504 is true, that is, when another object is present at the destination of the object or in its vicinity, has already been described in the first embodiment, and therefore will not be described here.
[0069] <Effects of this embodiment> As described above, in this embodiment, when changing the layout of objects that have already been arranged symmetrically, not only on a single page but also on multiple pages, the layout of related objects is changed accordingly so as to maintain the symmetrical relationship between the objects. This allows the symmetrical layout of the related objects to be maintained even if the layout of an object that has already been arranged symmetrically is changed, thereby improving the convenience for the user when performing layout operations.
[0070] [Fourth embodiment] Next, a fourth embodiment will be described. This embodiment is applied when changing the size of an object, not when changing the placement of the object, as compared with the first embodiment. In the following description, the same components as those in the above-mentioned embodiments will be denoted by the same reference numerals or names, and the description will be omitted as appropriate.
[0071] <Layout control when resizing symmetrical objects> Hereinafter, the layout control when changing the size of a symmetrical object, which is a feature of this embodiment, will be described with reference to Figures 14, 15 and 16. In this embodiment, when a user applies a size change process to some of multiple objects that have already been symmetrically arranged, subordinate objects having a symmetrical arrangement relationship are aligned and arranged accordingly.
[0072] Fig. 14 shows the editing area that transitions when the size of an object is changed in this embodiment. Each step in Fig. 14 is executed by the processor 102 reading from memory a program related to the processing of the flowchart and processing it. Also, the series of processing of the poster editing application 122 is the same as the processing of Fig. 2, so a detailed description will be omitted.
[0073] In this embodiment, as shown in Fig. 15(a), a case will be described in which the size of object 601 is changed in a state in which objects 601 and 602 are arranged symmetrically in the editing area 305. In this example, object 601 is the main object, and object 602 is the sub-object. Note that objects 601 and 602 are arranged symmetrically in advance at a position with a margin X1 left and right, with respect to a symmetry reference line L1.
[0074] When a resize process of an object by a user is detected, the process of Fig. 14 is started. Here, the resize process of an object 601 will be described as an example.
[0075] In S1401, the processor 102 detects a symmetry reference for objects having a symmetrical arrangement relationship. For example, in this embodiment, a symmetry reference line L1 in FIG.
[0076] Next, in S1402, the processor 102 detects a subordinate object having a symmetrical arrangement relationship with the object to be resized. For example, in this embodiment, the object 602 in Fig. 15(a) is detected. Note that the steps of S1401 and S1402 are not limited to being performed after the detection of the arrangement change process, and may be performed in advance.
[0077] Next, in S1403, the processor 102 executes a size change process for the object 601. For example, as shown in Fig. 15(b), the processor 102 changes the size (enlarges) of the object 601 in the A direction toward the bottom right of the screen based on a user operation. That is, while maintaining the coordinates of the upper left corner of the object 601, the processor 102 moves the coordinates of the lower right corner to the bottom right.
[0078] Next, in S1404, the processor 102 determines whether or not another object exists at or near the resize destination of the target object of the resize process and the sub object having a symmetrical arrangement relationship. Specifically, the processor 102 determines whether or not another object exists at or near the resize destination of the object 601 in FIG. 15(b) and the object 602 that has been detected as a sub object having a symmetrical arrangement relationship in S1402. For example, as shown in FIG. 15(b), if there is no other object, the determination result in S1404 is false. If the determination result in this step is false, that is, if there is no other object, the processor 102 advances the process to S1406.
[0079] In S1406, the processor 102 determines whether or not a decision to change the size of the object has been detected. For example, it determines whether or not the drag-and-drop operation of the object 601 by the user has been completed. If the determination result in this step is false, that is, if the operation by the user is being continuously performed, the processor 102 returns the process to the determination in S1404 again. On the other hand, if the determination result in this step is true, that is, if the operation by the user has ended, the processor 102 advances the process to S1407.
[0080] In S1407, the processor 102 ends the object size change process and determines the size.
[0081] Next, in S1408, the processor 102 resizes the sub-object having a symmetrical arrangement relationship by tracking it to a position where the symmetrical arrangement relationship is maintained. For example, in this embodiment, as shown in FIG. 16(a), the processor 102 resizes the object 602, which has been detected as a sub-object having a symmetrical arrangement relationship in S1402, by tracking it in the B direction of the lower left of the screen. That is, the coordinates of the lower left corner of the object 602 are moved to the lower right while maintaining the coordinates of the upper right corner. At this time, the processor 102 resizes the object 602 so that the objects 601 and 602 are symmetrical with respect to the symmetrical reference line L1 with the same margin X2. Therefore, even if the size of the object 601 is changed, the symmetrical arrangement relationship with the object 602 is maintained. Note that, as an example, in this embodiment, the process of S1408 is executed after the process of S1407, but the present invention is not limited to this, and the process of S1408 may be executed during the size change process of the object 601. That is, when the user performs a size change operation on the object 601, the processor 102 can display the object 602 having a symmetrical arrangement relationship so as to change its size accordingly. The processor 102 can also determine the size change of the object 602 in conjunction with the determination of the size change of the object 601.
[0082] When the object resizing process is completed, the process of the flowchart in Fig. 14 ends, and a layout such as that shown in Fig. 16(b) is obtained. The above is the flow of a series of processes in this embodiment.
[0083] If the determination result in S1404 is true, that is, if another object exists at or near the resized object, the processor 102 advances the process to S1405. The process of S1405 is the same as that in the first embodiment, and therefore will not be described here.
[0084] <Effects of this embodiment> As described above, in this embodiment, when changing the size of an object, the size of related objects is changed to follow the size of objects that have already been arranged symmetrically, so that the symmetrical relationship between the objects is maintained. This allows the symmetrical arrangement with the sub-objects to be maintained even if the size of an object that has already been arranged symmetrically to be changed, improving the convenience for the user when performing layout operations.
[0085] [Other embodiments] The first embodiment is directed to the movement of two objects that are symmetrically arranged left and right about a vertical symmetry reference line L1. The first embodiment can be modified to the movement of two objects that are symmetrically arranged up and down about a horizontal symmetry reference line L2.
[0086] The second embodiment relates to the movement of four objects that are symmetrically arranged left and right and up and down about a vertical symmetry reference line L1 and a horizontal symmetry reference line L2.
[0087] The third embodiment is an adaptation of the first embodiment to two objects arranged across two pages. The third embodiment can be modified to accommodate four objects arranged vertically, horizontally, and across two pages.
[0088] The fourth embodiment is directed to resizing two objects that are symmetrically arranged left and right about the vertical symmetry reference line L1. The fourth embodiment can be modified to resizing four objects that are symmetrically arranged left and right and up and down about the vertical symmetry reference line L1 and the horizontal symmetry reference line L2.
[0089] Although the above-described embodiment has been described as being executed using the poster editing application 122, applications to which the concept of the present disclosure can be applied are not limited to poster editing applications. For example, the concept of the present disclosure can be applied to general layout software such as a layout editing application for newly arranging object data, an album editing application, and presentation creation software.
[0090] All of the four objects that are symmetrically arranged left to right and up to down with respect to the vertical symmetry reference line L1 and the horizontal symmetry reference line L2 may be changed to at least two objects. For example, they may be changed to two objects that are symmetrically arranged with respect to a point of intersection of the vertical symmetry reference line L1 and the horizontal symmetry reference line L2. These two objects may then be moved or resized while maintaining the symmetrical arrangement relationship between them.
[0091] In the examples shown in Figures 15 and 16, a vertex on a diagonal line drawn from a selected vertex is used as a reference point, and this reference point is not moved. However, the present disclosure is not limited to this. For example, the center point of an object may be used as a reference point, and this reference point may not be moved. The same applies to secondary objects that are symmetrically arranged.
[0092] <Example 1> A specific example of steps S507 and S508 (see FIG. 5) will be described with reference to FIG. (1) Movement, line symmetry (corresponding to the first embodiment) The coordinates of each point in the editing area 305 are expressed as follows. Vertex Pa1 (Xa1, Ya1) at the upper left corner of rectangle Ra that defines the position and size of object 601 before movement The vertex Pa2 (Xa2, Ya2) at the lower right corner of the rectangle Ra that defines the position and size of the object 601 before it is moved Vertex Pb1 (Xb1, Yb1) at the upper left corner of rectangle Rb that defines the position and size of object 602 before movement The vertex Pb2 (Xb2, Yb2) at the lower right corner of the rectangle Rb that defines the position and size of the object 602 before it is moved The vertex P'a1 (X'a1, Y'a1) at the upper left corner of the rectangle R'a that defines the position and size of the object 601 after it is moved The vertex P'a2 (X'a2, Y'a2) at the lower right corner of the rectangle R'a that defines the position and size of the object 601 after the movement The vertex P'b1 (X'b1, Y'b1) at the upper left corner of the rectangle R'b that defines the position and size of the object 602 after it is moved The vertex P'b2 (X'b2, Y'b2) at the lower right corner of the rectangle R'b that defines the position and size of the object 602 after it is moved Where: Amount of movement of object 601 ΔMa (ΔXa, ΔYa) Amount of movement of object 602 ΔMb (ΔXb, ΔYb) Using the above, the relationship between the objects 601 and 602 before and after the movement can be expressed as follows: Vertex P´a1 = Vertex Pa1 + ΔMa Vertex P´b1 = Vertex Pb1 + ΔMb If the objects 601 and 602 are to maintain a line-symmetrical positional relationship with respect to the straight line L1, then ΔXb=-ΔXa ΔYb=ΔYa Therefore, ΔMb(ΔXb, ΔYb)=ΔMb(-ΔXa, ΔYa) Therefore, Vertex P´a1(X´a1, Y´a1)=(Xa1+ΔXa, Ya1+ΔYa) Vertex P´a2(X´a2, Y´a2)=(Xa2+ΔXa, Ya2+ΔYa) Vertex P´b1(X´b1, Y´b1)=(Xb1-ΔXa, Yb1+ΔYa) Vertex P´b2(X´b2, Y´b2)=(Xb2-ΔXa, Yb2+ΔYa) That is, in steps S507 and S508, the objects 601 and 602 are moved so as to satisfy the following conditions: The component parallel to the reference line L1 of the movement vector ΔMa of the reference vertex Pa1 (or vertex Pa2) of the object 601 and the component parallel to the reference line L1 of the movement vector ΔMb of the reference vertex Pb1 (or vertex Pb2) of the object 602 are the same. The component perpendicular to the reference line L1 of the movement vector ΔMa of the reference vertex Pa1 (or vertex Pa2) of the object 601 and the component perpendicular to the reference line L1 of the movement vector ΔMb of the reference vertex Pb1 (or vertex Pb2) of the object 602 have the same magnitude but point in opposite directions. (2) Movement, cross symmetry (corresponding to the second embodiment) The coordinates of each point in the editing area 305 are expressed as follows. Vertex Pa1 (Xa1, Ya1) at the upper left corner of rectangle Ra that defines the position and size of object 601 before movement The vertex Pa2 (Xa2, Ya2) at the lower right corner of the rectangle Ra that defines the position and size of the object 601 before it is moved Vertex Pb1 (Xb1, Yb1) at the upper left corner of rectangle Rb that defines the position and size of object 602 before movement The vertex Pb2 (Xb2, Yb2) at the lower right corner of the rectangle Rb that defines the position and size of the object 602 before it is moved The vertex Pc1 (Xc1, Yc1) at the upper left corner of the rectangle Rc that defines the position and size of the object 603 before it is moved Vertex Pc2 (Xc2, Yc2) at the lower right corner of rectangle Rc that defines the position and size of object 603 before movement The vertex Pc1 (Xd1, Yd1) of the upper left corner of the rectangle Rd that defines the position and size of the object 604 before it is moved The vertex Pc2 (Xd2, Yd2) at the lower right corner of the rectangle Rd that defines the position and size of the object 604 before it is moved The vertex P'a1 (X'a1, Y'a1) at the upper left corner of the rectangle R'a that defines the position and size of the object 601 after it is moved The vertex P'a2 (X'a2, Y'a2) at the lower right corner of the rectangle R'a that defines the position and size of the object 601 after the movement The vertex P'b1 (X'b1, Y'b1) at the upper left corner of the rectangle R'b that defines the position and size of the object 602 after it is moved The vertex P'b2 (X'b2, Y'b2) at the lower right corner of the rectangle R'b that defines the position and size of the object 602 after it is moved The vertex P'c1 (X'c1, Y'c1) at the upper left corner of the rectangle R'c that defines the position and size of the object 603 after it is moved The vertex P'c2 (X'c2, Y'c2) at the lower right corner of the rectangle R'c that defines the position and size of the object 603 after the movement The vertex P'd1 (X'd1, Y'd1) of the upper left corner of the rectangle R'd that defines the position and size of the object 604 after it is moved The vertex P'd2 (X'd2, Y'd2) of the lower right corner of the rectangle R'd that defines the position and size of the object 604 after it is moved Where: Amount of movement of object 601 ΔMa (ΔXa, ΔYa) Amount of movement of object 602 ΔMb (ΔXb, ΔYb) Amount of movement of object 603 ΔMc (ΔXc, ΔYc) Amount of movement ΔMd (ΔXd, ΔYd) of object 604 Using the above, the relationship between the objects 601 and 602 before and after the movement can be expressed as follows: Vertex P´a1 = Vertex Pa1 + ΔMa Vertex P´b1 = Vertex Pb1 + ΔMb Vertex P´c1 = Vertex Pc1 + ΔMc Vertex P´d1 = Vertex Pd1 + ΔMd If the objects 601 and 602 are to maintain a line-symmetrical positional relationship with respect to the straight line L1, then ΔXb=-ΔXa ΔYb=ΔYa Therefore, Travel amount ΔMb(ΔXb, ΔYb)=ΔMb(-ΔXa, ΔYa) In addition, if the objects 601 and 603 are to maintain a line-symmetrical positional relationship with respect to the straight line L2, ΔXc=ΔXa ΔYc=-ΔYa Therefore, Travel amount ΔMc(ΔXc, ΔYc)=ΔMc(ΔXa, -ΔYa) Furthermore, if the point-symmetric positional relationship with respect to the vertex P of the objects 601 and 604 is to be maintained, ΔXd=-ΔXa ΔYd=-ΔYa Therefore, Movement amount ΔMd(ΔXd, ΔYd)=ΔMd(-ΔXa, -ΔYa) Therefore, Vertex P´a1(X´a1, Y´a1)=(Xa1+ΔXa, Ya1+ΔYa) Vertex P´a2(X´a2, Y´a2)=(Xa2+ΔXa, Ya2+ΔYa) Vertex P´b1(X´b1, Y´b1)=(Xb1-ΔXa, Yb1+ΔYa) Vertex P´b2(X´b2, Y´b2)=(Xb2-ΔXa, Yb2+ΔYa) Vertex P´c1(X´c1, Y´c1)=(Xc1+ΔXa, Yc1-ΔYa) Vertex P´c2(X´c2, Y´c2)=(Xc2+ΔXa, Yc2-ΔYa) Vertex P'd1(X'd1, Y'd1)=(Xd1-ΔXa, Yd1-ΔYa) Vertex P'd2(X'd2, Y'd2)=(Xd2-ΔXa, Yd2-ΔYa) That is, in steps S507 and S508, the objects 601, 602, 603, and 604 are moved so as to satisfy the following conditions: The component parallel to the reference line L1 of the movement vector ΔMa of the reference vertex Pa1 (or vertex Pa2) of the object 601 and the component parallel to the reference line L1 of the movement vector ΔMb of the reference vertex Pb1 (or vertex Pb2) of the object 602 are the same. The component perpendicular to the reference line L1 of the movement vector ΔMa of the reference vertex Pa1 (or vertex Pa2) of the object 601 and the component perpendicular to the reference line L1 of the movement vector ΔMb of the reference vertex Pb1 (or vertex Pb2) of the object 602 have the same magnitude but point in opposite directions. The component parallel to the reference line L2 of the movement vector ΔMa of the reference vertex Pa1 (or vertex Pa2) of the object 601 and the component parallel to the reference line L2 of the movement vector ΔMc of the reference vertex Pc1 (or vertex Pc2) of the object 603 have the same magnitude but point in opposite directions. The component perpendicular to the reference line L2 of the movement vector ΔMa of the reference vertex Pa1 (or vertex Pa2) of the object 601 and the component perpendicular to the reference line L2 of the movement vector ΔMc of the reference vertex Pc1 (or vertex Pc2) of the object 603 have the same magnitude. The component parallel to the reference line L1 of the movement vector ΔMa of the reference vertex Pa1 (or vertex Pa2) of the object 601 and the component parallel to the reference line L1 of the movement vector ΔMd of the reference vertex Pd1 (or vertex Pd2) of the object 604 have the same magnitude but point in opposite directions. The component perpendicular to the reference line L2 of the movement vector ΔMa of the reference vertex Pa1 (or vertex Pa2) of the object 601 and the component perpendicular to the reference line L1 of the movement vector ΔMd of the reference vertex Pd1 (or vertex Pd2) of the object 604 have the same magnitude but point in opposite directions. The above coordinates are stored in a readable and writable manner in the RAM 104 provided in the client terminal 101. The amount of movement is also stored in a readable and writable manner in the RAM 104 provided in the client terminal 101. The processor 102 provided in the client terminal 101 can execute a calculation between the coordinates of the above point and the amount of movement. Furthermore, the processor 102 provided in the client terminal 101 can determine the amount of movement according to an operation on the input device 111 such as a pointing device. The processor 102 provided in the client terminal 101 has a function of drawing an object in the editing area 305 based on the above coordinates when the coordinates are given. This is also the case in Example 2 described later.
[0093] <Example 2> A specific example of steps S1407 and S1408 (see FIG. 14) will be described with reference to FIG. (1) Size change, line symmetry, The coordinates of each point in the editing area 305 are expressed as follows. Vertex Pa1 (Xa1, Ya1) at the upper left corner of rectangle Ra that defines the position and size of object 601 before resizing Vertex Pa2 (Xa2, Ya2) at the lower right corner of rectangle Ra that defines the position and size of object 601 before resizing Vertex Pa3 (Xa2, Ya1) at the upper right corner of rectangle Ra that defines the position and size of object 601 before resizing Vertex Pa4 (Xa1, Ya2) at the lower left corner of rectangle Ra that defines the position and size of object 601 before resizing Vertex Pb1 (Xb1, Yb1) of the upper left corner of rectangle Rb that defines the position and size of object 602 before resizing Vertex Pb2 (Xb2, Yb2) of the lower right corner of rectangle Rb that defines the position and size of object 602 before resizing Vertex Pb3 (Xb2, Yb1) of the upper left corner of rectangle Rb that defines the position and size of object 602 before resizing Vertex Pb4 (Xb1, Yb2) at the lower right corner of rectangle Rb that defines the position and size of object 602 before resizing The vertex P'a1 (X'a1, Y'a1) of the upper left corner of the rectangle R'a that defines the position and size of the object 601 after resizing The vertex P'a2 (X'a2, Y'a2) at the lower right corner of the rectangle R'a that defines the position and size of the object 601 after the size change The vertex P'a3 (X'a2, Y'a1) at the upper left corner of the rectangle R'a that defines the position and size of the object 601 after resizing The vertex P'a4 (X'a1, Y'a2) at the lower right corner of the rectangle R'a that defines the position and size of the object 601 after resizing Vertex P'b1 (X'b1, Y'b1) of the upper left corner of rectangle R'b that defines the position and size of object 602 after resizing Vertex P'b2 (X'b2, Y'b2) of the lower right corner of rectangle R'b that defines the position and size of object 602 after resizing Vertex P'b3 (X'b2, Y'b1) of the upper left corner of rectangle R'b that defines the position and size of object 602 after resizing Vertex P'b4 (X'b1, Y'b2) at the lower right corner of rectangle R'b that defines the position and size of object 602 after resizing Where: The movement amount ΔMa (ΔXa, ΔYa) of the selected vertex Pax (Pa1, Pa2, Pa3, or Pa4) of the object 601 The movement amount ΔMb (ΔXb, ΔYb) of the vertex Pbx (Pb1, Pb2, Pb3, or Pb4) corresponding to the selected vertex Pax of the object 602 Using the above formula, the relationship between the selected points of the objects 601, 602, 603, and 604 before and after the size change and the points corresponding to the selected points can be expressed as follows: Vertex P´ax = Vertex Pax + ΔMa Vertex P´bx = Vertex Pbx + ΔMb In addition, when the reference line is the vertical line L1, if the selected vertex Pax is Pa1, the corresponding vertex Pbx is Pb3. If the selected vertex Pax is Pa2, the corresponding vertex Pbx is Pb4. If the selected vertex Pax is Pa3, the corresponding vertex Pbx is Pb1. If the selected vertex Pax is Pa4, the corresponding vertex Pbx is Pb2. Also, if the reference line is the horizontal line L2, and the selected vertex Pax is Pa1, the corresponding vertex Pbx is Pb4. If the selected vertex Pax is Pa2, the corresponding vertex Pbx is Pb3. If the selected vertex Pax is Pa3, the corresponding vertex Pbx is Pb2. If the selected vertex Pax is Pa4, the corresponding vertex Pbx is Pb1. In either case, the reference point, which is another vertex on the diagonal line drawn from the selected vertex, and the other vertices on the diagonal line drawn from the vertex corresponding to the selected vertex do not move. This is also the case in (2) described later. Hereinafter, the reference line will be the vertical line L1. If the objects 601 and 602 are to maintain a line-symmetrical positional relationship with respect to the straight line L1, then ΔXb=-ΔXa ΔYb=ΔYa Therefore, Travel amount ΔMb(ΔXb, ΔYb)=ΔMb(-ΔXa, ΔYa) Therefore, Vertex P´ax(X´ax, Y´ax)=(Xax+ΔXa, Yax+ΔYa) Vertex P´bx(X´bx, Y´bx)=(Xbx-ΔXa, Ybx+ΔYa) Here, for example, if the selected vertex Pax is the vertex Pa2, Vertex P´a2(X´a2, Y´a2)=(Xa2+ΔXa, Ya2+ΔYa) Vertex P´b4(X´b4, Y´b4)=(Xb4-ΔXa, Yb4+ΔYa) The following relationship is satisfied. Vertex P´a1(X´a1, Y´a1)=(Xa1, Ya1) Vertex P´a3(X´a3, Y´a3)=(Xa3+ΔXa, Ya3) Vertex P´a4(X´a4, Y´a4)=(Xa4, Ya4+ΔYa) The following relationship is satisfied. Vertex P´b1(X´b1, Y´b1)=(Xb1-ΔXa, Yb1) Vertex P´b2(X´b2, Y´b2)=(Xb2, Yb2+ΔYa) Vertex P´b3(X´b3, Y´b3)=(Xb3, Yb3) That is, in steps S1407 and S1408, the sizes of the objects 601 and 602 are changed so as to satisfy the following conditions: The component parallel to the reference line L1 of the movement vector ΔMa of the selected point (e.g., vertex Pa2) of the object 601 is the same as the component parallel to the reference line L1 of the movement vector ΔMb of the corresponding point (e.g., vertex Pb4) of the object 602. Here, the corresponding point (e.g., vertex Pb4) is a point that is symmetrical to the selected point (e.g., vertex Pa2) with respect to the reference line L1. The component perpendicular to the reference line L1 of the movement vector ΔMa of the selected point (e.g., vertex Pa2) of object 601 and the component perpendicular to the reference line L1 of the movement vector ΔMb of the corresponding point (e.g., vertex Pb4) of object 602 have the same magnitude but face in opposite directions. Here, the corresponding point (e.g., vertex Pb4) is a point that is symmetrical to the selected point (e.g., vertex Pa2) with respect to the reference line L1. (2) Size change, cross symmetry The coordinates of each point in the editing area 305 are expressed as follows. Vertex Pa1 (Xa1, Ya1) at the upper left corner of rectangle Ra that defines the position and size of object 601 before resizing Vertex Pa2 (Xa2, Ya2) at the lower right corner of rectangle Ra that defines the position and size of object 601 before resizing Vertex Pa3 (Xa2, Ya1) at the upper right corner of rectangle Ra that defines the position and size of object 601 before resizing Vertex Pa4 (Xa1, Ya2) at the lower left corner of rectangle Ra that defines the position and size of object 601 before resizing Vertex Pb1 (Xb1, Yb1) of the upper left corner of rectangle Rb that defines the position and size of object 602 before resizing Vertex Pb2 (Xb2, Yb2) of the lower right corner of rectangle Rb that defines the position and size of object 602 before resizing Vertex Pb3 (Xb2, Yb1) of the upper left corner of rectangle Rb that defines the position and size of object 602 before resizing Vertex Pb4 (Xb1, Yb2) at the lower right corner of rectangle Rb that defines the position and size of object 602 before resizing The vertex Pc1 (Xc1, Yc1) of the upper left corner of the rectangle Ra that defines the position and size of the object 603 before the size change Vertex Pc2 (Xc2, Yc2) at the lower right corner of rectangle Ra that defines the position and size of object 603 before resizing Vertex Pc3 (Xc2, Yc1) at the upper right corner of rectangle Ra that defines the position and size of object 603 before resizing Vertex Pc4 (Xc1, Yc2) at the lower left corner of rectangle Ra that defines the position and size of object 603 before resizing The vertex Pd1 (Xd1, Yd1) of the upper left corner of the rectangle Rb that defines the position and size of the object 604 before the size change Vertex Pd2 (Xd2, Yd2) of the lower right corner of rectangle Rb that defines the position and size of object 604 before resizing The vertex Pd3 (Xd2, Yd1) of the upper left corner of the rectangle Rb that defines the position and size of the object 604 before the size change Vertex Pd4 (Xd1, Yd2) of the lower right corner of rectangle Rb that defines the position and size of object 604 before resizing The vertex P'a1 (X'a1, Y'a1) of the upper left corner of the rectangle R'a that defines the position and size of the object 601 after resizing The vertex P'a2 (X'a2, Y'a2) at the lower right corner of the rectangle R'a that defines the position and size of the object 601 after the size change The vertex P'a3 (X'a2, Y'a1) at the upper left corner of the rectangle R'a that defines the position and size of the object 601 after resizing The vertex P'a4 (X'a1, Y'a2) at the lower right corner of the rectangle R'a that defines the position and size of the object 601 after resizing Vertex P'b1 (X'b1, Y'b1) of the upper left corner of rectangle R'b that defines the position and size of object 602 after resizing Vertex P'b2 (X'b2, Y'b2) of the lower right corner of rectangle R'b that defines the position and size of object 602 after resizing Vertex P'b3 (X'b2, Y'b1) of the upper left corner of rectangle R'b that defines the position and size of object 602 after resizing Vertex P'b4 (X'b1, Y'b2) at the lower right corner of rectangle R'b that defines the position and size of object 602 after resizing The vertex P'c1 (X'c1, Y'c1) of the upper left corner of the rectangle R'a that defines the position and size of the object 603 after resizing The vertex P'c2 (X'c2, Y'c2) of the lower right corner of the rectangle R'a that defines the position and size of the object 603 after resizing The vertex P'c3 (X'c2, Y'c1) of the upper left corner of the rectangle R'a that defines the position and size of the object 603 after resizing The vertex P'c4 (X'c1, Y'c2) at the lower right corner of the rectangle R'a that defines the position and size of the object 603 after resizing The vertex P'd1 (X'd1, Y'd1) of the upper left corner of the rectangle R'b that defines the position and size of the object 604 after resizing The vertex P'd2 (X'd2, Y'd2) of the lower right corner of the rectangle R'b that defines the position and size of the object 604 after resizing The vertex P'd3 (X'd2, Y'd1) of the upper left corner of the rectangle R'b that defines the position and size of the object 604 after resizing The vertex P'd4 (X'd1, Y'd2) of the lower right corner of the rectangle R'b that defines the position and size of the object 604 after resizing Where: The movement amount ΔMa (ΔXa, ΔYa) of the selected vertex Pax (Pa1, Pa2, Pa3, or Pa4) of the object 601 The movement amount ΔMb (ΔXb, ΔYb) of the vertex Pbx (Pb1, Pb2, Pb3, or Pb4) corresponding to the selected vertex Pax of the object 602 The movement amount ΔMc (ΔXc, ΔYc) of the vertex Pcx (Pc1, Pc2, Pc3, or Pc4) corresponding to the selected vertex Pax of the object 603 The movement amount ΔMd (ΔXd, ΔYd) of the vertex Pdx (Pd1, Pd2, Pd3, or Pd4) corresponding to the selected vertex Pax of the object 604 Using the above formula, the relationship between the selected points of the objects 601, 602, 603, and 604 before and after the size change and the points corresponding to the selected points can be expressed as follows: Vertex P´ax = Vertex Pax + ΔMa Vertex P´bx = Vertex Pbx + ΔMb Vertex P´cx = Vertex Pcx + ΔMc Vertex P´dx = Vertex Pdx + ΔMd For the object 602, if the selected vertex Pax is Pa1, the corresponding vertex Pbx is Pb3. If the selected vertex Pax is Pa2, the corresponding vertex Pbx is Pb4. If the selected vertex Pax is Pa3, the corresponding vertex Pbx is Pb1. If the selected vertex Pax is Pa4, the corresponding vertex Pbx is Pb2. For the object 603, if the selected vertex Pax is Pa1, the corresponding vertex Pcx is Pc4. If the selected vertex Pax is Pa2, the corresponding vertex Pcx is Pc3. If the selected vertex Pax is Pa3, the corresponding vertex Pcx is Pc2. If the selected vertex Pax is Pa4, the corresponding vertex Pcx is Pc1. Furthermore, for the object 604, if the selected vertex Pax is Pa1, the corresponding vertex Pcx is Pd2. If the selected vertex Pax is Pa2, the corresponding vertex Pdx is Pc1. If the selected vertex Pax is Pa3, the corresponding vertex Pdx is Pc4. If the selected vertex Pax is Pa4, the corresponding vertex Pdx is Pc3. If the cross-symmetric positional relationship of the objects 601, 602, 603, and 604 is to be maintained, ΔXb=-ΔXa ΔYb=ΔYa ΔXc=ΔXa ΔYc=-ΔYa ΔXd=-ΔXa ΔYd=-ΔYa Therefore, Travel amount ΔMb(ΔXb, ΔYb)=ΔMb(-ΔXa, ΔYa) Travel amount ΔMc(ΔXc, ΔYc)=ΔMc( ΔXa, -ΔYa) Movement amount ΔMd(ΔXd, ΔYd)=ΔMd(-ΔXa, -ΔYa) Therefore, Vertex P´ax(X´ax, Y´ax)=(Xax+ΔXa, Yax+ΔYa) Vertex P´bx(X´bx, Y´bx)=(Xbx-ΔXa, Ybx+ΔYa) Vertex P´cx(X´cx, Y´cx)=(Xcx+ΔXa, Ycx-ΔYa) Vertex P´dx(X´dx, Y´dx)=(Xdx-ΔXa, Ydx-ΔYa) Here, for example, if the selected vertex Pax is the vertex Pa2, Vertex P´a2(X´a2, Y´a2)=(Xa2+ΔXa, Ya2+ΔYa) Vertex P´b4(X´b4, Y´b4)=(Xb4-ΔXa, Yb4+ΔYa) Vertex P´c3(X´b3, Y´b3)=(Xb3+ΔXa, Yb3-ΔYa) Vertex P'd1(X'd1, Y'd1)=(Xd1-ΔXa, Yd1-ΔYa) The following relationship is satisfied. Vertex P´a1(X´a1, Y´a1)=(Xa1, Ya1) Vertex P´a3(X´a3, Y´a3)=(Xa3+ΔXa, Ya3) Vertex P´a4(X´a4, Y´a4)=(Xa4, Ya4+ΔYa) The following relationship is satisfied. Vertex P´b1(X´b1, Y´b1)=(Xb1-ΔXa, Yb1) Vertex P´b2(X´b2, Y´b2)=(Xb2, Yb2+ΔYa) Vertex P´b3(X´b3, Y´b3)=(Xb3, Yb3) The following relationship is satisfied. Vertex P'c1(X'c1, Y'c1)=(Xc1, Yc1-ΔYa) Vertex P´c4(X´c4, Y´c4)=(Xc4, Yc4) Vertex P´c2(X´c2, Y´c2)=(Xc2+ΔXa, Yc2) The following relationship is satisfied. Vertex P'd3(X'd3, Y'd3)=(Xd3, Yd3-ΔYa) Vertex P'd4(X'd4, Y'd4)=(Xd4-ΔXa, Yd4) Vertex P'd2(X'd2, Y'd2)=(Xd2, Yd2) That is, in steps S1407 and S1408, the sizes of the objects 601, 602, 603, and 604 are changed so as to satisfy the following conditions: The component parallel to the reference line L1 of the movement vector ΔMa of the selected point (e.g., vertex Pa2) of the object 601 is the same as the component parallel to the reference line L1 of the movement vector ΔMb of the corresponding point (e.g., vertex Pb4) of the object 602. Here, the corresponding point (e.g., vertex Pb4) is a point that is symmetrical to the selected point (e.g., vertex Pa2) with respect to the reference line L1. The component perpendicular to the reference line L1 of the movement vector ΔMa of the selected point (e.g., vertex Pa2) of object 601 and the component perpendicular to the reference line L1 of the movement vector ΔMb of the corresponding point (e.g., vertex Pb4) of object 602 have the same magnitude but face in opposite directions. Here, the corresponding point (e.g., vertex Pb4) is a point that is symmetrical to the selected point (e.g., vertex Pa2) with respect to the reference line L1. The component parallel to the reference line L2 of the movement vector ΔMa of the selected point (e.g., vertex Pa2) of the object 601 is the same as the component parallel to the reference line L2 of the movement vector ΔMc of the corresponding point (e.g., vertex Pc3) of the object 603. Here, the corresponding point (e.g., vertex Pc3) is a point that is symmetrical to the selected point (e.g., vertex Pa2) with respect to the reference line L2. The component perpendicular to the reference line L2 of the movement vector ΔMa of the selected point (e.g., vertex Pa2) of the object 601 and the component perpendicular to the reference line L2 of the movement vector ΔMc of the corresponding point (e.g., vertex Pc3) of the object 603 have the same magnitude but face in opposite directions. Here, the corresponding point (e.g., vertex Pc3) is a point that is symmetrical to the selected point (e.g., vertex Pa2) with respect to the reference line L2. The component parallel to the reference line L1 of the movement vector ΔMa of the selected point (e.g., vertex Pa2) of the object 601 and the component parallel to the reference line L1 of the movement vector ΔMd of the corresponding point (e.g., vertex Pd1) of the object 604 have the same magnitude but face in opposite directions. Here, the corresponding point (e.g., vertex Pd1) is a point that is symmetrical to the selected point (e.g., vertex Pa2) with respect to the reference line L1. The component perpendicular to the reference line L1 of the movement vector ΔMa of the selected point (e.g., vertex Pa2) of the object 601 and the component perpendicular to the reference line L1 of the movement vector ΔMd of the corresponding point (e.g., vertex Pd1) of the object 604 have the same magnitude but face in opposite directions. Here, the corresponding point (e.g., vertex Pd1) is a point that is symmetrical to the selected point (e.g., vertex Pa2) with respect to the reference line L1.
[0094] The above-mentioned embodiment can also be realized by executing the following process. That is, a program for realizing the functions of the above-mentioned embodiment is supplied to a system or device via a network or various storage media, and a computer (processor such as a processor or MPU) of the system or device reads and executes the program. The program may be executed by one computer, or may be executed by multiple computers in cooperation with each other. It is not necessary to realize all of the above-mentioned processes by software, and some or all of the processes may be realized by hardware such as ASIC. The processor is not limited to one that performs all the processes by one processor, and multiple processors may perform processes while appropriately coordinating with each other. The functions of the above-mentioned embodiment are not only realized by the computer executing the program code read out. It also includes a case where an OS running on a computer performs some or all of the actual processes based on the instructions of the program code, and the functions of the above-mentioned embodiment are realized by the processes.
[0095] <Technical Features of the Present Disclosure> The present disclosure includes the following programs, configurations, and methods.
[0096] [Program 1] detecting an operation for changing a position or a size of a main object displayed on a screen; detecting a subordinate object having a predetermined symmetrical relationship with the master object; a modifying step of modifying positions or sizes of the main object and the sub object in response to the operation while maintaining a symmetrical arrangement relationship between the main object and the sub object; A program for causing a computer to execute the method comprising the steps of:
[0097] [Program 2] A sub-object having a predetermined symmetrical arrangement relationship with respect to the main object is an object that is located at a position that is line-symmetrical with respect to the position of the main object with respect to a predetermined reference line. The program described in Program 1.
[0098] [Program 3] When an operation for changing a position is detected in the operation detection step, The changing step includes: moving the main object while maintaining its size in response to the operation; detecting a position after the primary object is moved; moving the sub-object while maintaining its size so that a position of the main object after the movement and a position of the sub-object after the movement are line-symmetrical with respect to the predetermined reference line; having The program described in Program 2.
[0099] [Program 4] When an operation for changing the size is detected in the operation detection step, The changing step includes: changing a size of the main object by moving a selected point based on a reference point of the main object in response to the operation; detecting the position of the reference point and the position of the selected point after the size of the main object is changed; changing the size of the secondary object by moving a point corresponding to the selected point with respect to the reference point of the secondary object as a reference so that the positions of the reference point and the selected point after the change in size of the primary object, and the positions of the reference point and the point corresponding to the selected point after the change in size of the secondary object are each line-symmetrical with respect to the predetermined reference line; having The program according to Program 2 or 3.
[0100] [Program 5] The sub-objects having a predetermined symmetrical arrangement relationship with respect to the main object include at least one of a first sub-object located in a position that is line-symmetrical to the position of the main object about a predetermined first reference line, a second sub-object located in a position that is line-symmetrical to the position of the main object about a second reference line perpendicular to the predetermined first reference line, and a third sub-object located in a position that is point-symmetrical to the position of the main object about an intersection of the first reference line and the second reference line. The program described in Program 1.
[0101] [Program 6] When an operation for changing a position is detected in the operation detection step, For the first subordinate object, The changing step includes: moving the main object while maintaining its size in response to the operation; detecting a position after the primary object is moved; moving the sub-object while maintaining its size so that a position of the main object after the movement and a position of the sub-object after the movement are line-symmetrical with respect to the predetermined first reference line; having The program described in Program 5.
[0102] [Program 7] When an operation for changing the size is detected in the operation detection step, For the first subordinate object, The changing step includes: changing a size of the main object by moving a selected point based on a reference point of the main object in response to the operation; detecting the position of the reference point and the position of the selected point after the size of the main object is changed; changing the size of the secondary object by moving a point corresponding to the selected point with respect to the reference point of the secondary object as a reference so that the position of the reference point and the position of the selected point after the change in size of the primary object, and the position of the reference point and the position of the point corresponding to the selected point after the change in size of the secondary object are each line-symmetrical with respect to the predetermined first reference line; having The program according to Program 5 or 6.
[0103] [Program 8] When an operation for changing a position is detected in the operation detection step, For the second subordinate object, The changing step includes: moving the main object while maintaining its size in response to the operation; detecting a position after the primary object is moved; moving the sub-object while maintaining its size so that a position of the main object after the movement and a position of the sub-object after the movement are line-symmetrical with respect to the predetermined second reference line; having The program according to any one of Programs 5 to 7.
[0104] [Program 9] When an operation for changing the size is detected in the operation detection step, For the second subordinate object, The changing step includes: changing a size of the main object by moving a selected point based on a reference point of the main object in response to the operation; detecting the position of the reference point and the position of the selected point after the size of the main object is changed; changing the size of the sub object by moving a point corresponding to the selected point with respect to the reference point of the sub object as a reference so that the positions of the reference point and the selected point after the change in size of the main object, and the positions of the reference point and the point corresponding to the selected point after the change in size of the sub object are each line-symmetrical with respect to the predetermined second reference line; having A program according to any one of Programs 5 to 8.
[0105] [Program 10] When an operation for changing a position is detected in the operation detection step, For the third subordinate object, The changing step includes: moving the main object while maintaining its size in response to the operation; detecting a position after the primary object is moved; moving the sub-object while maintaining its size so that a position after the movement of the main object and a position after the movement of the sub-object are point-symmetric with respect to an intersection of the predetermined first reference line and the second reference line; having 10. The program according to any one of Programs 5 to 9.
[0106] [Program 11] When an operation for changing the size is detected in the operation detection step, For the third subordinate object, The changing step includes: changing a size of the main object by moving a selected point based on a reference point of the main object in response to the operation; detecting the position of the reference point and the position of the selected point after the size of the main object is changed; changing the size of the sub object by moving a point corresponding to the selected point with respect to the reference point of the sub object as a reference so that the position of the reference point and the position of the selected point after the change in size of the main object, and the position of the reference point and the position of the point corresponding to the selected point after the change in size of the sub object are point-symmetrical with respect to an intersection of the predetermined first reference line and the second reference line; having The program according to any one of Programs 5 to 10.
[0107] [Program 12] The method further includes a step of restricting a change in a position or a size of the primary object and the secondary object when changing a position or a size of the primary object and the secondary object while maintaining a symmetrical arrangement relationship between the primary object and the secondary object causes at least one of the primary object and the secondary object to overlap a third object. The program according to any one of Programs 1 to 11.
[0108] [Program 13] The predetermined symmetrical arrangement relationship is a symmetrical arrangement relationship within a page. A program according to any one of Programs 1 to 12.
[0109] [Program 14] The predetermined symmetrical arrangement relationship is a symmetrical arrangement relationship within a page when multiple pages are regarded as one page. A program according to any one of Programs 1 to 12.
[0110] [composition] A means for detecting an operation for changing a position or a size of a main object displayed on a screen; means for detecting a subordinate object having a predetermined symmetrical arrangement relationship with the master object; a means for changing positions or sizes of the main object and the sub object in response to the operation while maintaining a symmetrical arrangement relationship between the main object and the sub object; An information processing device comprising:
[0111] [method] detecting an operation for changing a position or a size of a main object displayed on a screen; detecting a subordinate object having a predetermined symmetrical relationship with the master object; changing positions or sizes of the main object and the sub object in response to the operation while maintaining a symmetrical arrangement relationship between the main object and the sub object; A method for changing the layout of an object that has [Explanation of symbols]
[0112] 305:Editing area 601~604: Object 100: Information processing systems 101: Client terminal 102: Processor 121: Server system 122: Web application (poster editing application) L1~L4: Symmetry reference lines P: Symmetry reference point X1~X2: Margin from the symmetry reference line to the object A~F: Object movement direction
Claims
1. detecting an operation for changing a position or a size of a main object displayed on a screen; detecting a subordinate object having a predetermined symmetrical relationship with the master object; a modifying step of modifying positions or sizes of the main object and the sub object in response to the operation while maintaining a symmetrical arrangement relationship between the main object and the sub object; A program for causing a computer to execute the method comprising the steps of:
2. A sub-object having a predetermined symmetrical arrangement relationship with respect to the main object is an object that is located at a position that is line-symmetrical with respect to the position of the main object with respect to a predetermined reference line. The program according to claim 1.
3. When an operation for changing a position is detected in the operation detection step, The changing step includes: moving the main object while maintaining its size in response to the operation; detecting a position after the primary object is moved; moving the sub-object while maintaining its size so that a position after the movement of the main object and a position after the movement of the sub-object are line-symmetrical with respect to the predetermined reference line; having The program according to claim 2.
4. When an operation for changing the size is detected in the operation detection step, The changing step includes: changing a size of the main object by moving a selected point based on a reference point of the main object in response to the operation; detecting the position of the reference point and the position of the selected point after the size of the main object is changed; changing the size of the secondary object by moving a point corresponding to the selected point with respect to the reference point of the secondary object as a reference so that the positions of the reference point and the selected point after the change in size of the primary object, and the positions of the reference point and the point corresponding to the selected point after the change in size of the secondary object are each line-symmetrical with respect to the predetermined reference line; having The program according to claim 2.
5. The sub-objects having a predetermined symmetrical arrangement relationship with respect to the main object include at least one of a first sub-object located in a position that is line-symmetrical to the position of the main object about a predetermined first reference line, a second sub-object located in a position that is line-symmetrical to the position of the main object about a second reference line perpendicular to the predetermined first reference line, and a third sub-object located in a position that is point-symmetrical to the position of the main object about an intersection of the first reference line and the second reference line. The program according to claim 1.
6. When an operation for changing a position is detected in the operation detection step, For the first subordinate object, The changing step includes: moving the main object while maintaining its size in response to the operation; detecting a position after the primary object is moved; moving the sub-object while maintaining its size so that a position after the movement of the main object and a position after the movement of the sub-object are line-symmetrical with respect to the predetermined first reference line; having The program according to claim 5.
7. When an operation for changing the size is detected in the operation detection step, For the first subordinate object, The changing step includes: changing a size of the main object by moving a selected point based on a reference point of the main object in response to the operation; detecting the position of the reference point and the position of the selected point after the size of the main object is changed; changing the size of the secondary object by moving a point corresponding to the selected point with respect to the reference point of the secondary object as a reference so that the positions of the reference point and the selected point after the change in size of the primary object, and the positions of the reference point and the point corresponding to the selected point after the change in size of the secondary object are each line-symmetrical with respect to the predetermined first reference line; having The program according to claim 5.
8. When an operation for changing a position is detected in the operation detection step, For the second subordinate object, The changing step includes: moving the main object while maintaining its size in response to the operation; detecting a position after the primary object is moved; moving the sub-object while maintaining its size so that a position of the main object after the movement and a position of the sub-object after the movement are line-symmetrical with respect to the predetermined second reference line; having The program according to claim 5.
9. When an operation for changing the size is detected in the operation detection step, For the second subordinate object, The changing step includes: changing a size of the main object by moving a selected point based on a reference point of the main object in response to the operation; detecting the position of the reference point and the position of the selected point after the size of the main object is changed; changing the size of the sub object by moving a point corresponding to the selected point with respect to the reference point of the sub object as a reference so that the positions of the reference point and the selected point after the change in size of the main object, and the positions of the reference point and the point corresponding to the selected point after the change in size of the sub object are each linearly symmetrical with respect to the predetermined second reference line; having The program according to claim 5.
10. When an operation for changing a position is detected in the operation detection step, For the third subordinate object, The changing step includes: moving the main object while maintaining its size in response to the operation; detecting a position after the primary object is moved; moving the sub-object while maintaining its size so that a position of the main object after the movement and a position of the sub-object after the movement are point-symmetric with respect to an intersection of the predetermined first reference line and the second reference line; having The program according to claim 5.
11. When an operation for changing the size is detected in the operation detection step, For the third subordinate object, The changing step includes: changing a size of the main object by moving a selected point based on a reference point of the main object in response to the operation; detecting the position of the reference point and the position of the selected point after the size of the main object is changed; changing the size of the sub object by moving a point corresponding to the selected point with respect to the reference point of the sub object as a reference so that the position of the reference point and the position of the selected point after the change in size of the main object, and the position of the reference point and the position of the point corresponding to the selected point after the change in size of the sub object are point-symmetrical with respect to an intersection of the predetermined first reference line and the second reference line; having The program according to claim 5.
12. The method further includes a step of restricting a change in a position or a size of the primary object and the secondary object when changing a position or a size of the primary object and the secondary object while maintaining a symmetrical arrangement relationship between the primary object and the secondary object causes at least one of the primary object and the secondary object to overlap a third object. The program according to claim 1.
13. The predetermined symmetrical arrangement relationship is a symmetrical arrangement relationship within a page. The program according to claim 1.
14. The predetermined symmetrical arrangement relationship is a symmetrical arrangement relationship within a page when multiple pages are regarded as one page. The program according to claim 1.
15. A means for detecting an operation for changing a position or a size of a main object displayed on a screen; means for detecting a subordinate object having a predetermined symmetrical arrangement relationship with the master object; a means for changing positions or sizes of the main object and the sub object in response to the operation while maintaining a symmetrical arrangement relationship between the main object and the sub object; An information processing device comprising:
16. detecting an operation for changing a position or a size of a main object displayed on a screen; detecting a subordinate object having a predetermined symmetrical relationship with the master object; changing positions or sizes of the main object and the sub object in response to the operation while maintaining a symmetrical arrangement relationship between the main object and the sub object; A method for changing the layout of an object that has
Citation Information
Patent Citations
Information processing apparatus, information processing method, and program
JP2016057805A
Information processing apparatus, control method, and program
JP2021026705A
