Drawing method and related equipment

By dynamically displaying the user's input content on the background image in the drawing software, the problem in the prior art is solved that it is difficult for users to clearly distinguish the input content under a colored background, and the drawing efficiency is improved.

CN113362419BActive Publication Date: 2025-03-07SHENZHEN XUMI YUNTU SPACE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110609486.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-01
Publication Date
2025-03-07
Estimated Expiration
2041-06-01

AI Technical Summary

Technical Problem

When existing drawing software is used to measure and mark, it is difficult to clearly distinguish the user's input content in the background of color drawings, affecting the user's drawing efficiency.

Method used

By obtaining a background image with a pattern, receiving the user's input on the background image, and dynamically displaying the user's input content, it is displayed in a dynamic ant line or dynamic brightness change to improve the visibility of the input content.

Benefits of technology

In a static background, dynamic display of user input content can significantly improve user operation efficiency during drawing and reduce interference to background patterns.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113362419B_ABST
    Figure CN113362419B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure provide a drawing method and device, a computer-readable storage medium, and an electronic device, which belong to the field of computer and communication technology. The method comprises: obtaining a background image, wherein the background image has a pattern; receiving a user's input on the background image; dynamically displaying the user's input on the background image; wherein the user's input on the background image is a new pattern added by the user on the background image. The method of the present disclosure can improve the user's drawing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer and communication technology, and in particular, to a drawing method and device, a computer-readable storage medium, and an electronic device. Background Art

[0002] Existing drawing software products, such as CAD Viewer and CAD Quick Viewer, only draw directly on the color drawings when measuring and marking drawings. However, the content drawn on the canvas is difficult to distinguish from the background, so it is not conducive to users to read quickly during the drawing viewing process, and users need to concentrate to see their own drawing area clearly.

[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0004] The embodiments of the present disclosure provide a drawing method and device, a computer-readable storage medium, and an electronic device, which can achieve higher drawing efficiency.

[0005] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0006] According to one aspect of the present disclosure, there is provided a drawing method, comprising:

[0007] Acquire a background image, wherein the background image has a pattern;

[0008] receiving user input on the background image;

[0009] Dynamically displaying the user's input on the background image;

[0010] The user's input on the background image is a new pattern added by the user to the background image.

[0011] In one embodiment, dynamically displaying the user's input on the background image includes:

[0012] The user's input on the background image is displayed with dynamic ant lines or dynamic brightness changes.

[0013] In one embodiment, the method further comprises:

[0014] When the user input is a straight line or a curve, dynamically displaying the straight line or the curve input by the user on the background image;

[0015] When the user input is a closed figure, a boundary line of the closed figure input by the user is dynamically displayed on the background image.

[0016] In one embodiment, the method further comprises:

[0017] When the user input is a straight line or a curve, display the length of the straight line or the curve input by the user;

[0018] When the user input is a closed figure, the perimeter or area of ​​the closed figure input by the user is displayed on the background image.

[0019] In one embodiment, the method further comprises:

[0020] When the user clicks on other areas outside the new pattern input by the user on the background image, the new pattern input by the user on the background image is no longer dynamically displayed;

[0021] When the user clicks on the new pattern input by the user on the background image, the new pattern input by the user on the background image is dynamically displayed.

[0022] In one embodiment, the method further comprises:

[0023] When the new pattern input by the user on the background image is dynamically displayed, the user is allowed to edit the new pattern input by the user on the background image.

[0024] In one embodiment, obtaining the background image includes:

[0025] Gets a background image with a pattern of multiple colors.

[0026] According to one aspect of the present disclosure, there is provided a drawing device, comprising:

[0027] An acquisition module, configured to acquire a background image, wherein the background image has a pattern;

[0028] A receiving module, configured to receive a user input on the background image;

[0029] A display module, configured to dynamically display the user's input on the background image;

[0030] The user's input on the background image is a new pattern added by the user to the background image.

[0031] According to one aspect of the present disclosure, there is provided an electronic device, including:

[0032] one or more processors;

[0033] The storage device is configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of the above embodiments.

[0034] According to one aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the above embodiments is implemented.

[0035] In the drawing method disclosed herein, when a user performs input operations such as measuring, annotating content, drawing graphics, etc. on an existing image, the user's input on the background image is dynamically displayed. Against a static background, the input result of the current user on the background image can be clearly distinguished without being limited by the background pattern of the existing image.

[0036] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The following drawings describe certain illustrative embodiments of the present invention, wherein like reference numerals represent like elements. These described embodiments are intended to be exemplary embodiments of the present disclosure and are not intended to be limiting in any way.

[0038] Figure 1 A schematic diagram showing an exemplary system architecture to which the drawing method according to an embodiment of the present disclosure can be applied;

[0039] Figure 2 A schematic diagram showing the structure of a computer system suitable for implementing the electronic device of the embodiment of the present disclosure is shown;

[0040] Figure 3 A flowchart of a drawing method according to an embodiment of the present disclosure is schematically shown;

[0041] Figure 4 A schematic diagram showing an embodiment of the present disclosure is shown;

[0042] Figure 5 A schematic diagram showing an embodiment of the present disclosure is shown;

[0043] Figure 6 A schematic diagram of an arc drawing according to an embodiment of the present disclosure is shown;

[0044] Figure 7 A schematic drawing diagram showing a straight line according to an embodiment of the present disclosure;

[0045] Figure 8A schematic diagram showing angle measurement according to an embodiment of the present disclosure is shown;

[0046] Fig. 9 A diagrammatic drawing showing a curve of one embodiment of the present disclosure;

[0047] Fig.10 A block diagram schematically shows a drawing device according to an embodiment of the present disclosure;

[0048] Fig.11 A block diagram of a drawing device according to another embodiment of the present invention is schematically shown. DETAILED DESCRIPTION

[0049] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more comprehensive and complete and will fully convey the concept of the example embodiments to those skilled in the art.

[0050] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.

[0051] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0052] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0053] Figure 1 A schematic diagram of an exemplary system architecture 100 is shown to which the drawing method according to the embodiments of the present disclosure can be applied.

[0054] like Figure 1As shown, the system architecture 100 may include one or more of terminals 101, 102, 103, a network 104, and a server 105. The network 104 is a medium for providing a communication link between the terminals 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0055] It should be understood that Figure 1 The number of terminals, networks and servers in the embodiment is only for illustration. Any number of terminals, networks and servers may be provided as required. For example, the server 105 may be a server cluster composed of multiple servers.

[0056] Staff or users can use terminals 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Terminals 101, 102, 103 can be various electronic devices with display screens, including but not limited to smartphones, tablet computers, portable and desktop computers, digital movie projectors, etc.

[0057] The server 105 may be a server that provides various services. For example, when a staff member or a user sends various operation instructions in the drawing process to the server 105 through the terminal 103 (or the terminal 101 or 102), the server 105 may obtain a background image, wherein the background image has a pattern; receive the user's input on the background image; dynamically display the user's input on the background image; wherein the user's input on the background image is a new pattern added by the user on the background image. The server 105 may display the drawing result on the terminal 103 or other terminals, and then the staff member or other personnel (for example, the user) may view the drawing result based on the content displayed on the terminal.

[0058] For another example, the terminal 103 (or the terminal 101 or 102) may be a smart TV, a VR (Virtual Reality) / AR (Augmented Reality) helmet display, or a mobile terminal such as a smart phone or tablet computer on which a navigation, online car-hailing, instant messaging, or video application (application, APP) is installed. The staff or user may operate through the smart TV, VR / AR helmet display, or the navigation, online car-hailing, instant messaging, or video APP, and the server 105 may perform corresponding operations according to the instructions of the terminal 103. The server 105 may return the drawing result to the or other smart TV, VR / AR helmet display, or the navigation, online car-hailing, instant messaging, or video APP, and then display the drawing result through the smart TV, VR / AR helmet display, or the navigation, online car-hailing, instant messaging, or video APP.

[0059] Figure 2 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the embodiment of the present disclosure is shown.

[0060] It should be noted that Figure 2 The computer system 200 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0061] like Figure 2 As shown, the computer system 200 includes a central processing unit (CPU) 201, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 202 or the program loaded from the storage part 208 to the random access memory (RAM) 203. Various programs and data required for system operation are also stored in the RAM 203. The CPU 201, the ROM 202 and the RAM 203 are connected to each other through a bus 204. An input / output (I / O) interface 205 is also connected to the bus 204.

[0062] The following components are connected to the I / O interface 205: an input section 206 including a keyboard, a mouse, etc.; an output section 207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 208 including a hard disk, etc.; and a communication section 209 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 209 performs communication processing via a network such as the Internet. A drive 210 is also connected to the I / O interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 210 as needed so that a computer program read therefrom is installed into the storage section 208 as needed.

[0063] In particular, according to an embodiment of the present disclosure, the process described below with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 209, and / or installed from a removable medium 211. When the computer program is executed by the central processing unit (CPU) 201, various functions defined in the method and / or device of the present application are executed.

[0064] It should be noted that the computer-readable storage medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM (Erasable Programmable Read Only Memory, Erasable Programmable Read Only Memory) or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable storage medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.

[0065] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the methods, devices and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions selected in the box can also occur in a different order from the order selected in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0066] The modules and / or units and / or sub-units involved in the embodiments described in the present disclosure may be implemented by software or hardware, and the modules and / or units and / or sub-units described may also be set in a processor. The names of these modules and / or units and / or sub-units do not, in some cases, constitute limitations on the modules and / or units and / or sub-units themselves.

[0067] As another aspect, the present application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being installed in the electronic device. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the following embodiment. For example, the electronic device may implement the following Figure 3 Each step.

[0068] In the related technology, for example, machine learning methods, deep learning methods, etc. can be used for drawing operations, and different methods have different applicable scopes.

[0069] Figure 3 The flowchart of the drawing method according to one embodiment of the present disclosure is schematically shown. The method steps of the embodiment of the present disclosure can be executed by a terminal or a server, or by the terminal and the server interacting, or by a server cluster. For example, the method steps can be executed by the above-mentioned Figure 1 The server 105 in the embodiment is executed, but the present disclosure is not limited to this.

[0070] In step S310, a background image is acquired, wherein the background image has a pattern.

[0071] In this step, the terminal or server obtains a background image, wherein the background image has a pattern. In one embodiment, obtaining the background image includes: obtaining a background image having a pattern of multiple colors. In this step, the background image may be an existing image opened by a user during operation of a certain CAD (Computer-Aided Design) drawing software. In one embodiment, the background image may be an image composed of lines of multiple colors.

[0072] In the embodiments of the present disclosure, the terminal may be implemented in various forms. For example, the terminal described in the present disclosure may include mobile terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), drawing devices, wearable devices, smart bracelets, pedometers, robots, driverless cars, etc., and fixed terminals such as digital TVs (televisions) and desktop computers.

[0073] In step S320, a user input on the background image is received.

[0074] In this step, the terminal or server receives the user's input on the background image. In one embodiment, the user's input on the background image is a new pattern added by the user on the background image. In one embodiment, after the user opens the background image, the user can draw a new pattern on the background image through a drawing software platform.

[0075] In step S330, the user's input on the background image is dynamically displayed.

[0076] In this step, the terminal or server dynamically displays the user's input on the background image. In one embodiment, dynamically displaying the user's input on the background image includes: displaying the user's input on the background image with dynamic ant lines or dynamic brightness changes. In one embodiment, when the user's input is a straight line or a curve, the straight line or curve input by the user on the background image is dynamically displayed; when the user's input is a closed figure, the boundary line of the closed figure input by the user on the background image is dynamically displayed.

[0077] In one embodiment, when the user input is a straight line or a curve, the length of the straight line or the curve input by the user is displayed;

[0078] When the user input is a closed figure, the perimeter or area of ​​the closed figure input by the user is displayed on the background image.

[0079] In one embodiment, when the user clicks on other areas outside the new pattern input by the user on the background image, the new pattern input by the user on the background image is no longer dynamically displayed;

[0080] When the user clicks on the new pattern input by the user on the background image, the new pattern input by the user on the background image is dynamically displayed.

[0081] In one embodiment, when the new pattern input by the user on the background image is dynamically displayed, the user is allowed to edit the new pattern input by the user on the background image.

[0082] In the drawing method disclosed herein, when a user performs input operations such as measuring, annotating content, drawing graphics, etc. on an existing image, the user's input on the background image is dynamically displayed. Against a static background, the input result of the current user on the background image can be clearly distinguished without being limited by the background pattern of the existing image.

[0083] Figure 4 A schematic diagram of a drawing showing an embodiment of the present disclosure is shown.

[0084] refer to Figure 4 , tap the screen to set a starting point, and the measurement line segment is displayed in ant line mode;

[0085] Figure 5 A schematic diagram of a drawing showing an embodiment of the present disclosure is shown.

[0086] refer to Figure 5 , draw line segments continuously, so there is no problem of out-of-focus segments becoming solid lines. Click the screen to set the third starting point and the shape is closed.

[0087] A text prompt may be displayed: Although it is closed, you can still specify the next point to change the shape.

[0088] In addition, operations to change graphics can only be performed when the image is not out of focus.

[0089] Figure 6 A schematic diagram of an arc drawing according to an embodiment of the present disclosure is shown.

[0090] Figure 7 A schematic diagram of a drawing showing a straight line according to one embodiment of the present disclosure is shown.

[0091] Figure 8 A schematic diagram showing angle measurement according to an embodiment of the present disclosure is shown.

[0092] Fig. 9 A graphical representation of a curve showing an embodiment of the present disclosure is shown.

[0093] The method disclosed in the present invention can also be used to draw other images such as cloud lines, which will not be described in detail in the present invention.

[0094] The drawing method disclosed in the present invention can be applied to mobile terminals, web (World Wide Web, Global Wide Area Network) terminals, and PC (Personal Computer) clients to measure, mark, add graphics (triangles, circles, ellipses, squares, rectangles, straight lines, curves, arcs) and other operations. Whether it is a linear graphic or a closed graphic, it is displayed with dynamic ant lines. When the focus is lost, the ant line becomes a solid line. When you click on the line segment or graphic again, it will be activated again and become the ant line state.

[0095] Fig.10 The block diagram of a drawing device according to an embodiment of the present disclosure is schematically shown. The drawing device 1000 provided in the embodiment of the present disclosure can be set on the server side, or partly set on the terminal and partly set on the server side. For example, it can be set on Figure 1 The server 105 in the embodiment of the present invention is described below, but the present disclosure is not limited to this.

[0096] The drawing device 1000 provided by the embodiment of the present disclosure may include an acquisition module 1010 , a receiving module 1020 and a display module 1030 .

[0097] Wherein, the acquisition module is configured to acquire a background image, wherein the background image has a pattern;

[0098] A receiving module, configured to receive a user input on the background image;

[0099] A display module, configured to dynamically display the user's input on the background image;

[0100] The user's input on the background image is a new pattern added by the user to the background image.

[0101] According to an embodiment of the present disclosure, when the above-mentioned drawing device 1000 is drawing, when a user performs input operations such as measuring, marking content, drawing graphics, etc. on an existing image, by dynamically displaying the user's input on the background image, the input result of the current user on the background image can be clearly distinguished against a static background, without being limited by the background pattern of the existing image.

[0102] According to the embodiment of the present disclosure, the above-mentioned drawing device 1000 can be used to implement Figure 3 Embodiments of the described drawing method.

[0103] Fig.11 A block diagram of a drawing device 1100 according to another embodiment of the present invention is schematically shown.

[0104] like Fig.11 As shown, except Fig.10 In addition to the acquisition module 1010 , the receiving module 1020 and the display module 1030 described in the implementation, the drawing device 1100 further includes a storage module 1110 .

[0105] Specifically, the storage module 1010 is used to store data in the drawing process to facilitate subsequent calling and reference.

[0106] It is understood that the acquisition module 1010, the receiving module 1020, the display module 1030 and the storage module 1110 can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present invention, at least one of the acquisition module 1010, the receiving module 1020, the display module 1030 and the storage module 1110 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented in hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or in a proper combination of software, hardware and firmware. Alternatively, at least one of the acquisition module 1010, the receiving module 1020, the display module 1030 and the storage module 1110 can be at least partially implemented as a computer program module, and when the program is run by a computer, the function of the corresponding module can be executed.

[0107] Since each module of the drawing device according to the exemplary embodiment of the present invention can be used to implement the above Figure 3 The steps of an exemplary embodiment of the drawing method are described, so for details not disclosed in the embodiment of the device of the present invention, please refer to the embodiment of the drawing method of the present invention described above.

[0108] The specific implementation of each module, unit and sub-unit in the drawing device provided by the embodiment of the present disclosure can refer to the content of the above-mentioned drawing method, which will not be repeated here.

[0109] It should be noted that, although several modules, units and sub-units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules, units and sub-units described above can be concretized in one module, unit and sub-unit. Conversely, the features and functions of one module, unit and sub-unit described above can be further divided into being concretized by multiple modules, units and sub-units.

[0110] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0111] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and embodiments are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0112] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A drawing method, characterized in that: include: Acquire a background image, wherein the background image has a pattern; receiving user input on the background image; Dynamically displaying the user's input on the background image; Wherein, the input of the user on the background image is a new pattern added by the user on the background image; Wherein, the background image is an existing image opened by the user during the operation of computer-aided design (CAD) drawing software; the method further comprises: When the user clicks on other areas outside the new pattern input by the user on the background image, the new pattern input by the user on the background image is no longer dynamically displayed; When the user clicks on the new pattern input by the user on the background image, the new pattern input by the user on the background image is dynamically displayed.

2. The method according to claim 1, characterized in that: Dynamically displaying the user's input on the background image includes: The user's input on the background image is displayed with dynamic ant lines or dynamic brightness changes.

3. The method according to claim 1, characterized in that Also includes: When the user input is a straight line or a curve, dynamically displaying the straight line or the curve input by the user on the background image; When the user input is a closed figure, a boundary line of the closed figure input by the user is dynamically displayed on the background image.

4. The method according to claim 3, characterized in that Also includes: When the user input is a straight line or a curve, display the length of the straight line or the curve input by the user; When the user input is a closed figure, the perimeter or area of ​​the closed figure input by the user is displayed on the background image.

5. The method according to claim 1, characterized in that: Also includes: When the new pattern input by the user on the background image is dynamically displayed, the user is allowed to edit the new pattern input by the user on the background image.

6. The method according to claim 1, characterized in that Getting the background image includes: Gets a background image with a pattern of multiple colors.

7. A drawing device, characterized in that: include: An acquisition module, configured to acquire a background image, wherein the background image has a pattern; A receiving module, configured to receive a user input on the background image; A display module, configured to dynamically display the user's input on the background image; Wherein, the input of the user on the background image is a new pattern added by the user on the background image; Among them, the background image is an existing image opened by the user during the operation of computer-aided design (CAD) drawing software; the display module is also used for: when the user clicks on other areas outside the new pattern input by the user on the background image, no longer dynamically displaying the new pattern input by the user on the background image; when the user clicks on the new pattern input by the user on the background image, dynamically displaying the new pattern input by the user on the background image.

8. An electronic device, characterized in that: include: one or more processors; A storage device configured to store one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Drawing graphical objects in a 3D subsurface environment

    CN102576469A

  • A graph drawing method for handwriting input equipment and handwriting reading equipment

    CN109739372A