A method for drawing a picture, a computing device and a readable storage medium
By implementing the multi-window drawing method in the computing device, the existing image drawing method is solved, and the function of quickly drawing multiple identical pictures in the application window is realized, which improves the user experience.
Patent Information
- Application Number
- CN202210599981.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-26
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-05-26
AI Technical Summary
The existing image drawing methods are cumbersome and inefficient, and a new method is needed to quickly draw multiple similar pictures.
Implement the multi-window drawing method in the computing device. By setting multiple sub-windows in the application window, obtaining the graphic drawing data, and when the multi-window drawing function is turned on, the graphic is drawn in the target sub-window and automatically synchronizes to other sub-windows .
It realizes the function of quickly drawing multiple identical pictures at the same time in the application window, reducing copying and copying operations, and improving user experience and efficiency.
Smart Images

Figure CN114924681B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a method for drawing a picture, a computing device and a readable storage medium. Background Art
[0002] In daily work, we often need to draw multiple similar pictures due to work needs. At this time, we usually draw a picture containing the common points of all pictures first and use it as the base map. Then, copy this base map. Finally, for each picture, fill the remaining part compared to the base map onto the base map. Obviously, this method has problems such as cumbersome operation and low efficiency.
[0003] Therefore, a new picture drawing method is urgently needed to solve the above problems. Summary of the invention
[0004] To this end, the present invention provides a method for drawing a picture, a computing device and a readable storage medium, in an effort to solve or at least alleviate the above problems.
[0005] According to one aspect of the present invention, there is provided a method for drawing a picture, which is executed in a computing device, and the method comprises: in response to an operation of setting a current application window to display multiple windows simultaneously, displaying multiple sub-windows in the application window; in response to an operation of drawing a graphic in a target sub-window among the multiple sub-windows, obtaining drawing data of the graphic; drawing the graphic in the target sub-window based on the drawing data; and when a multi-window drawing function is turned on, drawing the graphic in other sub-windows based on the drawing data.
[0006] Optionally, in the method for drawing a picture according to the present invention, the step of displaying multiple sub-windows in the application window includes: displaying multiple sub-windows in the application window according to a predetermined rule, wherein the predetermined rule is a horizontal arrangement rule, a vertical arrangement rule or a tiled arrangement rule.
[0007] Optionally, in the method for drawing a picture according to the present invention, the position where the graphics are drawn in other sub-windows is the same as the position where the graphics are drawn in the target sub-window.
[0008] Optionally, in the method for drawing a picture according to the present invention, the drawing data includes graphic data and position data, and the step of drawing the graphic in the subwindow includes: determining the position of drawing the graphic in the subwindow based on the position data; and drawing the graphic at the determined position based on the graphic data.
[0009] Optionally, in the picture drawing method according to the present invention, the opening and closing of the multi-window drawing function is controlled by triggering a predetermined shortcut key or triggering a multi-window drawing interface on an application window.
[0010] Optionally, in the picture drawing method according to the present invention, the sizes of the multiple sub-windows are the same.
[0011] Optionally, in the picture drawing method according to the present invention, when setting multiple windows to be displayed simultaneously in the current application window, the number and size of the windows to be displayed simultaneously are set through a window setting box on the application window.
[0012] Optionally, in the picture drawing method according to the present invention, the window setting box includes several preset number options and preset size options. When setting the number and size of windows displayed simultaneously through the window setting box, the number and size of windows displayed simultaneously are set by selecting the preset number option and the preset size option.
[0013] According to another aspect of the present invention, a computing device is provided, comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be suitable for being executed by the at least one processor, and the program instructions include instructions for executing the method for drawing a picture according to the present invention.
[0014] According to another aspect of the present invention, a readable storage medium storing program instructions is provided. When the program instructions are read and executed by a computing device, the computing device executes the method for drawing a picture according to the present invention.
[0015] According to the picture drawing method of the present invention, in response to the operation of setting the display of multiple windows simultaneously in the current application window, multiple sub-windows are displayed in the application window. In response to the operation of drawing a graphic in a target sub-window of the multiple sub-windows, the drawing data of the graphic is obtained, and the graphic is drawn in the target sub-window according to the drawing data. Moreover, when the multi-window drawing function is turned on, the graphic is drawn in other sub-windows according to the drawing data.
[0016] It can be seen that when the multi-window drawing function is turned on, the present invention will draw the graphics drawn by the user in any sub-window in other sub-windows at the same time. Therefore, based on the present invention, the user only needs to set the simultaneous display of multiple windows in the application window and turn on the multi-window drawing function, and it can draw multiple identical pictures in the current application window at the same time, which is convenient and fast.
[0017] In addition, when the multi-window drawing function is not turned on, the present invention only draws the graphics in the target sub-window. Therefore, when the user needs to draw multiple pictures with common points, based on the present invention, the multi-window drawing function can be turned on first, and the common parts of all pictures can be drawn in any sub-window. Then, the multi-window drawing function is turned off, and the remaining parts of the corresponding pictures are drawn in each sub-window. It can be seen that when drawing multiple pictures with common points, the present invention does not require the user to perform operations such as copying, which is convenient and fast, and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] To achieve the above and related purposes, certain illustrative aspects are described herein in conjunction with the following description and accompanying drawings, which indicate various ways in which the principles disclosed herein can be practiced, and all aspects and their equivalents are intended to fall within the scope of the claimed subject matter. The above and other purposes, features and advantages of the present disclosure will become more apparent by reading the following detailed description in conjunction with the accompanying drawings. Throughout the present disclosure, the same reference numerals generally refer to the same parts or elements.
[0019] Figure 1 A structural block diagram of a computing device 100 according to an embodiment of the present invention is shown;
[0020] Figure 2 A flowchart of a method 200 for drawing a picture according to an embodiment of the present invention is shown;
[0021] Figure 3 A schematic diagram showing a plurality of sub-windows displayed in an application window according to a tile arrangement rule according to an embodiment of the present invention is shown;
[0022] Figure 4 A schematic diagram showing a flow chart of a method for displaying multiple sub-windows in an application window according to an embodiment of the present invention;
[0023] Figure 5 A schematic diagram showing a circle drawn in a target sub-window according to an embodiment of the present invention is shown;
[0024] Figure 6 A schematic diagram showing the same circle drawn in each sub-window according to an embodiment of the present invention is shown;
[0025] Figure 7 A schematic diagram showing a method of drawing a plurality of pictures having common features in an application window according to an embodiment of the present invention is shown;
[0026] Figure 8 A schematic diagram showing a flow chart of a method for drawing a picture according to yet another embodiment of the present invention. DETAILED DESCRIPTION
[0027] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0028] Figure 1FIG. 1 shows a block diagram of a computing device 100 according to an embodiment of the present invention. It should be noted that: Figure 1 The computing device 100 shown is only an example. In practice, the computing device used to implement the method for drawing a picture of the present invention can be any type of device, and its hardware configuration can be different from the above. Figure 1 The computing device 100 shown is the same as Figure 1 The computing device 100 shown is different. In practice, the computing device used to implement the method for drawing a picture of the present invention can be Figure 1 The hardware components of the computing device 100 shown are increased or deleted, and the present invention does not limit the specific hardware configuration of the computing device.
[0029] like Figure 1 As shown, in a basic configuration 102, computing device 100 typically includes system memory 106 and one or more processors 104. A memory bus 108 may be used for communication between processor 104 and system memory 106.
[0030] Depending on the desired configuration, the processor 104 can be any type of processor, including but not limited to: a microprocessor (μP), a microcontroller (μC), a digital information processor (DSP), or any combination thereof. The processor 104 can include one or more levels of cache such as a first-level cache 110 and a second-level cache 112, a processor core 114, and registers 116. An example processor core 114 can include an arithmetic logic unit (ALU), a floating point unit (FPU), a digital signal processing core (DSP core), or any combination thereof. An example memory controller 118 can be used with the processor 104, or in some implementations, the memory controller 118 can be an internal part of the processor 104.
[0031] Depending on the desired configuration, the system memory 106 can be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.) or any combination thereof. The physical memory in the computing device generally refers to the volatile memory RAM, and the data in the disk needs to be loaded into the physical memory before it can be read by the processor 104. The system memory 106 may include an operating system 120, one or more applications 122, and program data 124. In some embodiments, the application 122 may be arranged to execute instructions on the operating system by one or more processors 104 using program data 124. The operating system 120 may be, for example, Linux, Windows, etc., which includes program instructions for processing basic system services and performing tasks that depend on hardware. The application 122 includes program instructions for implementing various user-desired functions, and the application 122 may be, for example, a browser, instant messaging software, a software development tool (such as an integrated development environment IDE, a compiler, etc.), etc., but is not limited thereto. When the application 122 is installed in the computing device 100, a driver module may be added to the operating system 120.
[0032] When the computing device 100 starts running, the processor 104 reads and executes the program instructions of the operating system 120 from the system memory 106. The application 122 runs on the operating system 120 and uses the interfaces provided by the operating system 120 and the underlying hardware to implement various functions desired by the user. When the user starts the application 122, the application 122 is loaded into the system memory 106, and the processor 104 reads and executes the program instructions of the application 122 from the system memory 106.
[0033] Computing device 100 also includes a storage device 132 including a removable storage 136 and a non-removable storage 138 , both of which are connected to storage interface bus 134 .
[0034] The computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to the basic configuration 102 via the bus / interface controller 130. Example output devices 142 include a graphics processing unit 148 and an audio processing unit 150. They can be configured to facilitate communication with various external devices such as a display or speakers via one or more A / V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboards, mice, pens, voice input devices, touch input devices) or other peripherals (e.g., printers, scanners, etc.) via one or more I / O ports 158. Example communication devices 146 may include a network controller 160, which may be arranged to facilitate communication with one or more other computing devices 162 via a network communication link via one or more communication ports 164.
[0035] A network communication link can be an example of a communication medium. Communication media can generally be embodied as computer-readable instructions, data structures, program modules in a modulated data signal such as a carrier wave or other transmission mechanism, and can include any information delivery medium. A "modulated data signal" can be a signal in which one or more of its data sets or its changes can be carried out in a manner that encodes information in the signal. As non-limiting examples, communication media can include wired media such as a wired network or a dedicated line network, and various wireless media such as sound, radio frequency (RF), microwave, infrared (IR) or other wireless media. The term computer-readable medium used herein can include both storage media and communication media.
[0036] In the computing device 100 according to the present invention, the application 122 includes instructions for executing the method 200 for drawing a picture of the present invention, and the instructions can instruct the processor 104 to execute the method for drawing a picture of the present invention. Those skilled in the art can understand that, in addition to the instructions for executing the method 200 for drawing a picture, the application 122 can also include other applications 126 for implementing other functions.
[0037] Figure 2 A flowchart of a method 200 for drawing a picture according to an embodiment of the present invention is shown. The method 200 is suitable for use in a computing device (eg Figure 1 Executed in the computing device 100 shown in FIG. Figure 2 As shown, the method starts at step S210.
[0038] In step S210, in response to the operation of setting the display of multiple windows simultaneously in the current application window, multiple sub-windows are displayed in the application window. The operation of setting the display of multiple windows simultaneously specifically sets the number and size of the windows to be displayed simultaneously.
[0039] According to an embodiment of the present invention, the number and size of windows to be displayed simultaneously can be set through a window setting box on an application window. Specifically, the window setting box includes a number of preset number options and preset size options, and the user sets the number and size of windows to be displayed simultaneously by selecting the preset number options and the preset size options. Of course, in order to enable the user to more flexibly set the number and size of windows to be displayed simultaneously, the window setting box may also include a custom number input box and a custom size input box.
[0040] Regarding the window setting frame, according to an embodiment of the present invention, an interface may be provided on the application window for the user to call out. For example, a window setting button may be provided on the application window, and when the user clicks the button, the window setting frame is presented on the application window. Of course, this is only an example, and the window setting frame may also be called out in other ways, which is not specifically limited by the present invention.
[0041] In addition, when displaying multiple sub-windows in the current application window, the multiple sub-windows can be displayed according to predetermined rules. The predetermined rules may be horizontal arrangement rules, vertical arrangement rules or tiled arrangement rules. Specifically, the horizontal arrangement rule means that the multiple sub-windows are displayed in a row in the horizontal direction in the current application window. The vertical arrangement rule means that the multiple sub-windows are displayed in a column in the vertical direction in the current application window. The tiled arrangement rule means that the multiple sub-windows are displayed in the current application window without blocking each other. Furthermore, when displaying multiple sub-windows in the current application window according to the tiled arrangement rule, the multiple sub-windows can be tiled in the current application window in an order from top to bottom and from left to right, such as Figure 3 Of course, this is just an example and the present invention is not limited to this.
[0042] Regarding the arrangement of the sub-windows, according to an embodiment of the present invention, the arrangement can also be set by the user. Specifically, a plurality of preset window arrangement rule options are set in the window setting box, and the user sets the arrangement of the sub-windows in the application window by selecting the preset window arrangement rule option. It should be noted that the arrangement rules of the sub-windows are not limited to the three listed above, and other arrangement rules can also be used, which is not limited by the present invention.
[0043] To better understand this step, Figure 4 Take an example. In the application window, a window setting button is displayed. Specifically:
[0044] First, in response to the user clicking the window setting button, a window setting box pops up in the current application window. Then, in response to the user selecting the predetermined number N option and the predetermined size m×n option in the window setting box, the window number N and the window size m×n are obtained. Finally, according to the tile arrangement rule, N sub-windows of size m×n are displayed in the current application window.
[0045] It should be noted here that, for this step, the above description is based on the example of the same size of multiple sub-windows. However, the sizes of multiple sub-windows can also be different. Among them, when the sizes of multiple sub-windows are different, the specific implementation method of this step is different from the above in that an option for setting the size of each sub-window needs to be added in the window setting box, and when it is detected that the user sets multiple windows in the current application window at the same time, the size of each sub-window needs to be obtained, and then the multiple sub-windows are displayed in the current application window according to the size of each sub-window. Other implementation methods are similar or the same as the above-mentioned implementation method of the same size of multiple sub-windows. For relevant parts, please refer to the above description, which will not be repeated here.
[0046] At this point, multiple sub-windows are displayed in the current application window. Then, step S220 is entered, and in response to the operation of drawing a graphic in a target sub-window among the multiple sub-windows, the drawing data of the graphic is obtained. Among them, the drawing data of the graphic includes graphic data and position data. The graphic data is used to represent the graphic information drawn by the user, and the position data is used to represent the position information of the graphic drawn by the user in the target sub-window. Preferably, the position data can be the coordinates of the upper left corner of the graphic relative to the target sub-window.
[0047] Then, the process proceeds to step S230, where the graphics are drawn in the target sub-window according to the drawing data. Specifically, first, the position of the graphics to be drawn in the target sub-window is determined according to the position data. Then, the graphics are drawn at the determined position according to the graphics data. In this way, the graphics are drawn in the target sub-window.
[0048] Next, determine whether the multi-window drawing function is turned on. If it is turned on, enter step S240, and draw the graphics in other sub-windows according to the drawing data. Preferably, the position where the graphics are drawn in other sub-windows is the same as the position where the graphics are drawn in the target sub-window. That is, the position of the graphics in other sub-windows is the same as its position in the target sub-window. Among them, it has been pointed out above that the position data of the graphics is the coordinates of the upper left corner of the graphics relative to the target sub-window, and the upper left corner coordinates of each window in the computing device are defaulted to (0,0), so as long as the drawing position is determined based on the position data of the graphics in other sub-windows, it can be ensured that the position of the graphics drawn in other sub-windows is the same as the position of the graphics drawn in the target sub-window. Specifically, the position of drawing the graphics in each other sub-window is determined according to the position data. Then, the graphics are drawn at the positions determined in each other sub-window according to the graphics data.
[0049] To better understand this step, Figure 5 and Figure 6 Take an example. Figure 5 , there are four sub-windows displayed in the current application window, and the coordinates of the upper left corner of each sub-window are (0, 0). The user draws a circle in the upper left sub-window (i.e., the target sub-window) with (x, y) as the center and R as the radius. That is, the position data of the figure drawn by the user in the target sub-window is (x, y). Therefore, next, in the other three sub-windows, based on the position data, the position of the drawing figure is determined to be (x, y). Subsequently, based on the graphic data, a circle is drawn at the (x, y) position in the other three sub-windows with R as the radius. Obviously, the circles in the four sub-windows in the current application window are all drawn with (x, y) as the center and R as the radius, and it has been pointed out above that the coordinates of the upper left corners of the four sub-windows are all (0, 0), so the positions of the circles in the four sub-windows are the same, that is, the position of the circle in the target sub-window is the same as its position in the other three sub-windows, such as Figure 6 .
[0050] It can be seen that when the multi-window drawing function is turned on, the present invention will draw the graphics drawn by the user in any sub-window in other sub-windows at the same time. Therefore, based on the present invention, the user only needs to set the simultaneous display of multiple windows in the application window and turn on the multi-window drawing function, and it can draw multiple identical pictures in the current application window at the same time, which is convenient and fast.
[0051] In addition, if the multi-window drawing function is not turned on, the graphics drawn by the user in the target sub-window will no longer be drawn in other sub-windows. That is, if the multi-window drawing function is not turned on, the graphics will only be drawn in the target sub-window. Therefore, when the user needs to draw multiple pictures with common points, based on the present invention, he can first turn on the multi-window drawing function and draw the common parts of all pictures in any sub-window. Then, turn off the multi-window drawing function and draw the remaining parts of the corresponding pictures in each sub-window, such as Figure 7 It can be seen that when drawing multiple pictures with common features, the present invention does not require the user to perform operations such as copying, which is convenient and fast, and improves the user experience.
[0052] Among them, regarding the opening and closing of the multi-window drawing function, according to an embodiment of the present invention, it can be controlled by triggering a predetermined shortcut key or triggering a multi-window drawing interface on an application window. Specifically:
[0053] When the multi-window drawing function is turned on and off by triggering a predetermined shortcut key, two methods can preferably be used. First, a shortcut key or a shortcut key combination is set. When the user presses the shortcut key or shortcut key combination when the multi-window drawing function is turned off, the computing device turns on the multi-window drawing function. When the user presses the shortcut key or shortcut key combination when the multi-window drawing function is turned on, the computing device turns off the multi-window drawing function. That is, this method is to switch the state of the multi-window drawing function by a predetermined shortcut key. Second, a shortcut key or a shortcut key combination is set. When the user presses the shortcut key or shortcut key combination, the computing device turns on the multi-window drawing function. When the user releases the shortcut key or shortcut key combination, the computing device turns off the multi-window drawing function. It can be seen that in this method, the multi-window drawing function is in the turned-on state only during the time period when the predetermined shortcut key is pressed, that is, the state of the multi-window drawing function is controlled by the state of the predetermined shortcut key.
[0054] When the multi-window drawing function is turned on and off by triggering the multi-window drawing interface on the application window, the multi-window drawing interface can be implemented as a multi-window drawing function button located on the application window, and the default state is off. When the user clicks the button when the multi-window drawing function is off, the computing device turns on the multi-window drawing function. When the user clicks the button when the multi-window drawing function is on, the computing device turns off the multi-window drawing function. Of course, the above are only a few examples, and the multi-window drawing function can also be turned on and off in other ways, which are not specifically limited by the present invention.
[0055] In addition, it should be noted that the graphics in the present invention refer to objects generated by any operation of the user in the target subwindow, such as a point, a curve, a chart, an English letter, a word, etc., and do not just refer to regular circles, triangles, irregular polygons, etc.
[0056] In order to better illustrate the complete implementation process of the present invention, the present invention is combined with Figure 8 Another embodiment is given. Specifically:
[0057] In the first step, in response to the user clicking the window setting button, a window setting box pops up in the current application window.
[0058] In the second step, in response to the user selecting the option of the predetermined number N and the option of the predetermined size m×n in the window setting box, N sub-windows of the size m×n are displayed in the application window according to the tile arrangement rule.
[0059] The third step is to obtain the drawing data of the graphic in response to the user's operation of drawing the graphic in the target sub-window, and to draw the graphic in the target sub-window based on the drawing data.
[0060] The fourth step is to determine whether the current multi-window drawing function is enabled. Specifically, the proxy module can be used to determine whether the current multi-window drawing function is enabled. If the current multi-window drawing function is not enabled, the process ends.
[0061] In the fifth step, if the current multi-window drawing function is turned on, the graphics are drawn in other sub-windows according to the drawing data of the graphics, and the positions of the graphics drawn in other sub-windows are the same as the positions of the graphics drawn in the target sub-window.
[0062] According to the picture drawing method of the present invention, in response to the operation of setting the display of multiple windows simultaneously in the current application window, multiple sub-windows are displayed in the application window. In response to the operation of drawing a graphic in a target sub-window of the multiple sub-windows, the drawing data of the graphic is obtained, and the graphic is drawn in the target sub-window according to the drawing data. Moreover, when the multi-window drawing function is turned on, the graphic is drawn in other sub-windows according to the drawing data.
[0063] It can be seen that when the multi-window drawing function is turned on, the present invention will draw the graphics drawn by the user in any sub-window in other sub-windows at the same time. Therefore, based on the present invention, the user only needs to set the simultaneous display of multiple windows in the application window and turn on the multi-window drawing function, and it can draw multiple identical pictures in the current application window at the same time, which is convenient and fast.
[0064] In addition, if the multi-window drawing function is not turned on, the present invention only draws the graphics in the target sub-window. Therefore, when the user needs to draw multiple pictures with common points, based on the present invention, the multi-window drawing function can be turned on first, and the common parts of all pictures can be drawn in any sub-window. Then, the multi-window drawing function is turned off, and the remaining parts of the corresponding pictures are drawn in each sub-window. It can be seen that when drawing multiple pictures with common points, the present invention does not require the user to perform operations such as copying, which is convenient and fast, and improves the user experience.
[0065] Furthermore, since the present invention can draw multiple similar pictures in the current application window, when designers use the picture drawing method of the present invention to design drawings, they can effectively compare pictures, so that drawings that meet the requirements can be designed more quickly.
[0066] The various techniques described herein may be implemented in combination with hardware or software, or a combination thereof. Thus, the method and apparatus of the present invention, or some aspects or parts of the method and apparatus of the present invention may be in the form of program codes (i.e., instructions) embedded in a tangible medium, such as a removable hard disk, a USB flash drive, a floppy disk, a CD-ROM, or any other machine-readable storage medium, wherein when the program is loaded into a machine such as a computer and executed by the machine, the machine becomes a device for practicing the present invention.
[0067] In the case where the program code is executed on a programmable computer, the computing device generally includes a processor, a storage medium readable by the processor (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device. The memory is configured to store the program code; the processor is configured to execute the method for drawing a picture of the present invention according to the instructions in the program code stored in the memory.
[0068] By way of example and not limitation, readable media include readable storage media and communication media. Readable storage media stores information such as computer readable instructions, data structures, program modules or other data. Communication media generally embody computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and include any information transfer medium. Any combination of the above is also included within the scope of readable media.
[0069] In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the examples of the present invention. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to implement the content of the present invention described herein, and the above description of specific languages is for the purpose of disclosing the best mode of the present invention.
[0070] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0071] It should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this method of disclosure should not be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim.
[0072] Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in the devices described in the embodiment, or alternatively may be located in one or more devices different from the devices in the examples. The modules in the foregoing examples may be combined into one module or may be divided into multiple submodules.
[0073] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0074] Furthermore, those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present invention and to form different embodiments.
[0075] In addition, some of the embodiments are described herein as methods or combinations of method elements that can be implemented by a processor of a computer system or by other devices that perform the functions. Therefore, a processor with necessary instructions for implementing the method or method elements forms a device for implementing the method or method elements. In addition, the elements described herein of the device embodiments are examples of devices for implementing the functions performed by the elements for the purpose of implementing the invention.
[0076] As used herein, unless otherwise specified, the use of ordinal numbers "first," "second," "third," etc. to describe common objects merely indicates that different instances of similar objects are involved, and is not intended to imply that the objects so described must have a given order in time, space, order, or in any other manner.
[0077] Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments may be envisioned within the scope of the invention thus described. In addition, it should be noted that the language used in this specification is selected primarily for readability and teaching purposes, rather than for explaining or defining the subject matter of the present invention. Therefore, many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is illustrative, not restrictive, with respect to the scope of the present invention, which is defined by the appended claims.
Claims
1. A method for drawing a picture, suitable for execution in a computing device, the method comprising: In response to a triggering operation on a window setting button in a current application window, presenting a window setting box on the application window; In response to an operation of setting the number and size of windows displayed simultaneously in the window setting frame, multiple sub-windows are displayed in the application window according to a predetermined rule, wherein the predetermined rule is a horizontal arrangement rule, a vertical arrangement rule, or a tile arrangement rule; In response to an operation of drawing a graphic in a target sub-window of the plurality of sub-windows, acquiring drawing data of the graphic; Drawing the graphic in the target subwindow according to the drawing data; as well as When the multi-window drawing function is turned on, the graphics are drawn in other sub-windows according to the drawing data; The method further includes: closing the multi-window drawing function, and drawing the remaining part of the corresponding picture in each sub-window.
2. The method according to claim 1, wherein The position where the graphic is drawn in the other sub-windows is the same as the position where the graphic is drawn in the target sub-window.
3. The method according to claim 2, wherein: The drawing data includes graphic data and position data, and The step of drawing the graphics in the subwindow includes: Determining a position for drawing the graphic in the subwindow based on the position data; The graphic is drawn at the determined position according to the graphic data.
4. The method according to any one of claims 1 to 3, wherein The multi-window drawing function is turned on and off by triggering a predetermined shortcut key or triggering a multi-window drawing interface on the application window.
5. The method according to any one of claims 1 to 3, wherein The multiple sub-windows have the same size.
6. The method of claim 1, wherein: The window setting box includes several preset number options and preset size options. When setting the number and size of windows displayed simultaneously in the window setting box, the number and size of windows displayed simultaneously are set by selecting the preset number options and the preset size options.
7. A computing device comprising: at least one processor; as well as A memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, and the program instructions include instructions for executing the method according to any one of claims 1 to 6.
8. A readable storage medium storing program instructions, wherein when the program instructions are read and executed by a computing device, the computing device executes the method according to any one of claims 1 to 6.
