[go: up one dir, main page]

WO2017028436A1 - Procédé, appareil, dispositif et support de stockage informatique de mise en œuvre d'outil de dessin - Google Patents

Procédé, appareil, dispositif et support de stockage informatique de mise en œuvre d'outil de dessin Download PDF

Info

Publication number
WO2017028436A1
WO2017028436A1 PCT/CN2015/098081 CN2015098081W WO2017028436A1 WO 2017028436 A1 WO2017028436 A1 WO 2017028436A1 CN 2015098081 W CN2015098081 W CN 2015098081W WO 2017028436 A1 WO2017028436 A1 WO 2017028436A1
Authority
WO
WIPO (PCT)
Prior art keywords
gesture operation
drawn line
gesture
coordinate system
position coordinates
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2015/098081
Other languages
English (en)
Chinese (zh)
Inventor
王梦阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Publication of WO2017028436A1 publication Critical patent/WO2017028436A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Definitions

  • the present invention relates to the field of computer application technologies, and in particular, to a method, an apparatus, a device, and a computer storage medium for implementing a drawing tool.
  • the present invention provides a method and apparatus for implementing a drawing tool to facilitate user convenience in drawing on a mobile device.
  • the invention provides a method for implementing a drawing tool, the method comprising:
  • the graphic drawing tool is called to draw and display the target points.
  • the method further includes:
  • the gesture operation of switching the drawing mode includes:
  • the method further comprises: filtering the monitored drawing gesture operation in the drawing mode, and retaining only valid drawing gesture operations; wherein the filtering comprises:
  • the effective drawing gesture operation includes a gesture operation of drawing a line or a gesture operation of modifying a drawn line.
  • the gesture operation of drawing a line includes: a sliding gesture that starts with a short press;
  • the gesture operation of modifying the drawn line includes: a swipe gesture that begins with a long press on a point on the drawn line.
  • the respective operations of the gesture operation for drawing a line Punctuation is each point on the sliding track corresponding to the sliding gesture starting with a short press;
  • Each target point corresponding to the gesture operation of modifying the drawn line is a point obtained by changing the drawn line style or position caused by the sliding gesture starting from a point on the drawn line.
  • the sliding gesture starting with the long end of the drawn line ends causes a change in the tilt angle or length of the drawn line
  • a swipe gesture that begins with a long point of the middle point of the drawn line causes a change in the position of the drawn line.
  • the method further includes:
  • the position coordinates of the points on the drawn line in the coordinate system adopted by the operating system are adapted according to the new service data acquired by the gesture operation;
  • the graphics drawing tool is invoked to draw and display points on the drawn line after the adaptation process.
  • the effective gesture operation comprises: a sliding screen operation, an enlargement or reduction operation.
  • the adapting the position coordinates of the points on the drawn line in the coordinate system adopted by the operating system includes:
  • the method further includes:
  • the relative position information of the record is persistently stored.
  • the method further includes:
  • the graphic drawing tool is invoked to draw and display the drawn lines within the scope of the current application interface display.
  • the application of the drawing tool includes: a stock application.
  • the invention also provides an implementation device of a drawing tool, the device comprising:
  • An acquiring unit configured to acquire, when the listening unit monitors a valid drawing gesture operation in the drawing mode, acquire position coordinates of each target point corresponding to the drawing gesture operation in a coordinate system adopted by the operating system;
  • mapping unit configured to map position coordinates of the target points in a coordinate system adopted by the operating system to a coordinate system used by the graphic drawing tool
  • the calling unit is configured to invoke the graphic drawing tool to draw and display the target points.
  • the device further comprises:
  • a switching unit configured to switch to a drawing mode when the monitoring unit monitors a gesture operation of switching the drawing mode in the non-drawing mode; or when the monitoring unit monitors the gesture operation of switching the drawing mode in the drawing mode , switch to non-drawing mode.
  • the gesture operation of switching the drawing mode includes:
  • the device further comprises:
  • a filtering unit configured to filter the drawing gesture operation monitored by the monitoring unit in the drawing mode, and only retain a valid drawing gesture operation; wherein the filtering comprises:
  • the effective drawing gesture operation includes a gesture operation of drawing a line or a gesture operation of modifying a drawn line.
  • the gesture operation of drawing a line includes: a sliding gesture that starts with a short press;
  • the gesture operation of modifying the drawn line includes: a swipe gesture that begins with a long press on a point on the drawn line.
  • each target point corresponding to the gesture operation for drawing a line is a point on the sliding track corresponding to the sliding gesture that starts with a short press
  • Each target point corresponding to the gesture operation of modifying the drawn line is a point obtained by changing the drawn line style or position caused by the sliding gesture starting from a point on the drawn line.
  • the sliding begins with the long end of the drawn line Gestures cause changes in the angle or length of the drawn line;
  • a swipe gesture that begins with a long point of the middle point of the drawn line causes a change in the position of the drawn line.
  • the device further comprises:
  • an adapting unit configured to: if the monitoring unit monitors a valid gesture operation in the non-drawing mode, according to the new service data acquired by the gesture operation, the position of the point on the drawn line in the operating system Coordinates are processed;
  • the mapping unit is further configured to map the position coordinates of the points on the drawn line after the adaptation process in the coordinate system used by the operating system to the coordinate system used by the graphic drawing tool;
  • the calling unit is further configured to invoke the graphic drawing tool to draw and display points on the drawn line after the adaptation process.
  • the effective gesture operation comprises: a sliding screen operation, an enlargement or reduction operation.
  • the adapting unit is specifically configured to utilize the relative position between the drawn line and the service data, and after acquiring the new service data, according to the service data on the application interface.
  • the position coordinates in the coordinate system used by the operating system determine the position coordinates of the drawn line in the coordinate system used by the operating system.
  • the device further comprises:
  • a storage unit configured to record a relative position between the target points and service data displayed on the current application interface; and store the relative position information of the record for persistent storage.
  • the device further comprises:
  • a processing unit configured to acquire relative location information of the persistent storage when the application where the drawing tool is started; and the service data and the information displayed according to the current application interface Relative position information, determining the position coordinates of the drawn line within the current application interface display range;
  • the mapping unit is further configured to map location coordinates determined by the startup processing unit to a coordinate system used by the graphics rendering tool;
  • the calling unit is further configured to invoke the graphic drawing tool to draw and display the drawn lines in the display range of the current application interface.
  • the application of the graphic drawing tool includes: a stock application.
  • the present invention maps the position coordinates of each target point corresponding to the drawing gesture operation in the coordinate system adopted by the operating system to the coordinate system used by the graphic drawing tool by monitoring the user's effective drawing gesture operation. In the middle, and call the graphics drawing tool to draw and display each target point, so that the user can conveniently draw on the mobile device through gestures.
  • FIG. 1 is a flowchart of a main method according to an embodiment of the present invention
  • FIG. 2a is a schematic diagram of an application interface in a non-drawing mode according to an embodiment of the present invention
  • FIG. 2b is a schematic diagram of an application interface in a drawing mode according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for drawing a line according to an embodiment of the present invention.
  • 4a is a diagram showing an example of drawing a line according to an embodiment of the present invention.
  • 4b is a diagram showing an example of modifying a drawn line according to an embodiment of the present invention.
  • 4c is a diagram showing another example of modifying a drawn line according to an embodiment of the present invention.
  • 4d is a diagram showing an example of deleting a drawn line according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for modifying a drawn line according to an embodiment of the present invention
  • FIG. 6 is a flowchart of a processing method in a non-drawing mode according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of starting and displaying an application interface according to an embodiment of the present invention.
  • FIG. 8 is a structural diagram of a device according to an embodiment of the present invention.
  • the method provided by the present invention is mainly applied to a mobile terminal having a touch screen, including but not limited to a smartphone, a tablet, a PDA (Personal Digital Assistant), and the like.
  • the mobile terminal includes some basic components in the architecture, such as a bus, a processing system, a storage system, one or more input/output systems, and a communication interface.
  • the bus may include one or more wires for enabling communication between components of the mobile terminal.
  • a processing system includes various types of processors or microprocessors for executing instructions, processing processes, or threads.
  • the storage system may include a dynamic memory such as a random access memory (RAM) that stores dynamic information, and a static memory such as a read only memory (ROM) that stores static information, and a large-capacity memory including a magnetic or optical recording medium and a corresponding drive.
  • RAM random access memory
  • ROM read only memory
  • the input system allows the user to input information to the mobile terminal, such as a stylus, a touch screen, a voice recognition system, or a biometric system.
  • the output system includes a touch screen, a speaker, and the like for outputting information.
  • the communication interface is used to enable the mobile terminal to communicate with other devices.
  • the communication interfaces can be connected to the network through a wired connection, a wireless connection, or an optical connection.
  • the mobile terminal includes operating system software for managing system resources, controlling the running of other programs, and application software for implementing specific functional modules.
  • the method and device for implementing the drawing tool provided by the present invention can be mounted on a plurality of application software on a mobile terminal, such as stock application software, weather application software, and icon application soft. Pieces and so on.
  • the implementation method and apparatus of the drawing tool provided by the present invention can perform line drawing on the basis of the data provided by the application software, thereby helping the user to perform data analysis.
  • the stock application software is taken as an example for description, and the scenarios of other application software are similar.
  • FIG. 1 is a flowchart of a main method according to an embodiment of the present invention. As shown in FIG. 1, the method may include the following steps:
  • the user's gesture operation is monitored.
  • the application currently being used by the user may be switched between two modes by using the drawing tool provided by the present invention: a drawing mode and a non-drawing mode.
  • the main function of the stock application software is to display the stock information, so the default is in the non-drawing mode, that is, the current application is in the non-drawing mode by default after startup.
  • Switching from non-drawing mode to drawing mode can be triggered by the user's gesture operation. That is, in the non-drawing mode, if the gesture operation of switching the drawing mode is monitored, the mode is switched to the drawing mode. When listening to the gesture operation of switching the drawing mode in the drawing mode, switch to the non-drawing mode.
  • the gesture operation of switching the drawing mode may be preset, as long as it is different from the current application and the gesture operation of the operating system of the mobile terminal.
  • a gesture operation example for switching the drawing mode is shown.
  • FIG. 2a when the stock data is displayed in the current application, there is a function button for switching the drawing mode on the interface, that is, the figure is marked as "Draw a line” button, when the user needs to perform a drawing operation, by clicking on the The function button switches from non-drawing mode to drawing mode.
  • the above function button becomes "return", as shown in Fig. 2b, when the user clicks the function button again, it switches back to the non-drawing mode.
  • effective drawing gesture operations may include, but are not limited to, a gesture operation of drawing a line, a gesture operation of modifying a drawn line, and a gesture operation of deleting a drawn line.
  • the target coordinates corresponding to the drawing gesture operation acquired by 102 are recorded in the coordinate system in the coordinate system used by the operating system.
  • the user's gesture operation is touched on the screen by taking the upper left corner of the screen as the origin. The position of the x, y coordinate of the point touched.
  • the graphic drawing tool used in the embodiment of the present invention may be, but not limited to, OpenGL, that is, OpenGL may provide an interface to the graphic drawing tool for the graphic drawing tool to call, thereby completing the drawing and displaying of the target point.
  • the origin of the coordinate system of OpenGL is in the lower left corner, so the position coordinates of the target point need to be converted and converted into coordinates used by a graphic drawing tool such as OpenGL.
  • the position coordinates in the system Since the coordinate origin of a graphics drawing tool such as OpenGL is different from the coordinate origin of the Android system, for example, the origin of the coordinate system of OpenGL is in the lower left corner, so the position coordinates of the target point need to be converted and converted into coordinates used by a graphic drawing tool such as OpenGL. The position coordinates in the system.
  • a graphical drawing tool is invoked to draw and display each target point.
  • FIG. 3 is a flowchart of a method for drawing a line according to an embodiment of the present invention. Let the user switch the current application to the drawing mode, and the user wants to draw the line in the drawing mode. As shown in FIG. 3, the process may specifically include the following steps:
  • the user's gesture operation is monitored.
  • the monitored gesture operation is filtered in the drawing mode.
  • the drawing range in the drawing mode may be preset, that is, a range is preset on the interface of the current application, and only the drawing gestures performed within the range are valid, and the drawing gestures beyond the range are filtered out.
  • some effective drawing gesture types may also be preset. These gesture types may be gesture types capable of drawing straight lines, polylines, curves, etc., and gestures that do not conform to these drawing gesture types will be filtered out.
  • the position coordinates of the coordinate system of the operating system are converted to the position coordinates of the coordinate system of the OpenGL for each target point corresponding to the gesture operation of the monitored drawing line.
  • the coordinate system of the operating system is the coordinate origin of the upper left corner and is in units of pixels, and OpenGL uses the center point as the coordinate origin and the height of the entire view, it is necessary to The target point is converted to the position coordinate of the coordinate system of the OpenGL coordinate system in the coordinate system of the Android operating system. If the position coordinate of a target point in the coordinate system of the Android operating system is (xPosi, yPosi), then the position coordinates (x, y) of the coordinate system obtained in the OpenGL after conversion are:
  • oriCanvasWidth is the view width
  • oriCanvasHeight is the view height
  • widthRatio is the OpenGL width coefficient
  • heightRatio is the OpenGL height coefficient
  • OpenGL is called to draw and display each target point.
  • k-line data and k-line data are usually displayed. It is continuously updated in the direction of the time axis. As shown in Figure 2b, the latest business data displayed on the current interface is the k-line data on December 2, but until tomorrow, the latest business data displayed becomes December 3. The k-line data, which causes the image to move to the left as a whole. If only the position coordinates (ie, absolute position coordinates) of each target point in the coordinate system used by the Android operating system are recorded, the updated business data is no longer applicable.
  • the recorded relative position information is persistently stored.
  • the persistent storage in this step means that the storage remains after the current application is closed, and the content of the persistent storage will always exist unless the user manually deletes the content of the persistent storage.
  • the user can draw lines on the current application interface, the user can The lines are drawn on the interface shown in Figure 2b and the results can be as shown in Figure 4a. It should be noted that the drawing of the line is not limited to the straight line segment shown in FIG. 4a, and may be a broken line or a curved line or the like.
  • FIG. 5 is a flowchart of a method for modifying a drawn line according to an embodiment of the present invention.
  • a user has switched the current application to a drawing mode, and the user needs to modify the drawn line in the drawing mode.
  • the process can include the following steps:
  • the monitored gesture operation is filtered in the drawing mode.
  • the drawing range and the drawing gesture type may be set in advance, if the gesture range of the user modifying the existing line is out of the drawing range, or the gesture type of modifying the existing line does not conform to the preset drawing. Gesture type, then filter it out.
  • a gesture operation type for the drawn line is determined, and if it is an operation to delete the drawn line, 504 is performed; if it is an operation to modify the drawn line, 505 is performed.
  • the type of gesture operation on the drawn line may be set in advance, and may include, but is not limited to, modifying the style or position of the drawn line, deleting the drawn line, and the like.
  • the gesture operation for modifying each of the drawn lines can also be set in advance. For example, a swipe gesture starting with a long press of the end point of the drawn line is set to cause a change in the tilt angle or length of the drawn line, that is, the user can achieve the tilt angle or length of the drawn line by pressing and holding one end point of the drawn line. Drag and drop.
  • a swipe gesture that begins with a long point of the middle point of the drawn line causes a change in the position of the drawn line, that is, the user can move the drawn line to the position where the user's finger leaves the screen by holding down the middle position of the drawn line.
  • the delete button on the interface is set to remove the gesture action of the drawn line.
  • a submenu pops up on the interface, and there is a delete option in the submenu, and when the user clicks the delete option, the drawn line is deleted.
  • the drawing mode there is a delete button on the interface.
  • the deleted line is deleted, and OpenGL does not display the deleted line, and ends the processing of the gesture operation.
  • Each target point corresponding to the gesture operation of modifying the drawn line may be each point obtained by changing the drawn line style or position caused by the sliding gesture starting from the point on the drawn line.
  • the position coordinates of the target point in the coordinate system adopted by the Android operating system are converted into the position coordinates of the coordinate system in OpenGL.
  • OpenGL is called to draw and display each target point.
  • the user can operate the drawn line on the current application interface.
  • the user can modify one of the straight line segments shown in FIG. 4a with the following modifications:
  • the first modification dragging and dropping an end point of a straight line segment to change the tilt angle and/or length of the straight line segment, as shown in Figure 4b.
  • the user's finger long presses the drawn line
  • the end point of the strip is swiped to the position shown by point B.
  • the tilt angle and length of the line can be modified by the drag, the dotted line segment represents the drawn line before the modification, and the solid line segment represents the modified line. Lines have been drawn, and thick arrows indicate the sliding trajectory of the user's finger.
  • the second modification dragging the middle position of the straight line segment to change the position of the straight line segment, as shown in Figure 4c.
  • the user's finger presses the middle position of the drawn line, and slides from point C to position D, by which the position of the straight line can be moved.
  • the dotted line in the figure indicates the drawn line before the modification
  • the solid line indicates the drawn line after the modification
  • the thick arrow indicates the sliding track of the user's finger.
  • the third modification long press the drawn line to bring up the submenu and select the delete option on the submenu to delete the drawn line.
  • the user's finger presses the drawn line, and a submenu pops up on the interface.
  • the submenu includes the delete option.
  • the user clicks the delete option the drawn line can be deleted.
  • FIG. 6 is a flowchart of a processing method in a non-drawing mode according to an embodiment of the present invention. In this embodiment, it is assumed that a user has switched the current application to a non-drawing mode. As shown in FIG. 6, the process may include the following steps. :
  • the user's gesture operation is monitored.
  • the gesture operations monitored in the non-plot mode are filtered.
  • the range and type of the gesture operation in the non-drawing mode can be preset, and the gesture operations beyond the above range and not conforming to the above types can be filtered, only Keep valid gestures.
  • the position coordinates of the points on the drawn line in the coordinate system adopted by the operating system are adapted.
  • the gesture operations monitored here may include, but are not limited to, a swipe screen operation, an enlargement or reduction operation.
  • the current application needs to obtain new business data according to the sliding screen operation, and the acquired business data is determined according to the sliding amplitude.
  • the user slides to the left on the application interface as shown in FIG. 4a (unlike FIG. 4a, the operation is in the non-drawing mode), and if the sliding amplitude corresponds to one week of business data, it is necessary to acquire a new week of business.
  • the data that is, the k-line data from December 3 to December 9, causes the business data on the screen to move uniformly to the left for one week, and displays the k-line data from September 6 to December 9. Since it is possible that the user has drawn a line on the interface, after moving the screen, it is also necessary to adapt the position of the drawn line.
  • the current application needs to obtain finer-grained service data according to the magnitude of the amplification operation. That is to say, the range of business data displayed on the screen becomes smaller, but the granularity is finer. Also, since it is possible that the user has drawn a line on the interface, it is also necessary to adapt the position of the drawn line after moving the screen.
  • the current application needs to acquire a larger range of business data according to the magnitude of the zoom-out operation, that is, the range of business data displayed on the screen becomes larger, but the granularity is coarser. This situation also requires adaptation of the position of the drawn line.
  • the focus of this step is on the adaptation processing of the position of the drawn line.
  • the adaptation process is actually using the relative position between the already drawn line drawn and the business data. After moving the screen, zooming in or out, etc., the position coordinates of the drawn line are determined according to the position coordinates of the business data.
  • the position coordinates are position coordinates in the coordinate system employed by the operating system.
  • the position coordinates on the drawn line after the adaptation process are mapped to the coordinate system of the OpenGL in the coordinate system adopted by the Android operating system.
  • OpenGL is called to draw and display the points on the drawn line after the adaptation process.
  • the process shown in FIG. 3 or FIG. 5 may be further combined.
  • the drawn lines are modified according to the finer-grained business data; after the user moves the screen, the lines are further drawn according to the newly acquired business data, and the like.
  • the position coordinates of the drawn lines within the current application interface display range are determined.
  • the position coordinates of the drawn line can be obtained according to the position coordinates of the business data displayed in the current application interface (in the coordinate system of the operating system).
  • the position coordinates of the obtained drawn lines are only taken within the scope of the current application interface display.
  • the position coordinates determined in step 702 are converted to position coordinates in the coordinate system of OpenGL.
  • FIG. 8 is a structural diagram of a device according to an embodiment of the present invention.
  • the device may be disposed in an application software having a drawing requirement.
  • the device may include: a listening unit 01, an obtaining unit 02, a mapping unit 03, and
  • the calling unit 04 may further include a switching unit 05, a filtering unit 06, an adaptation unit 07, a storage unit 08, and a startup processing unit 09.
  • the main functions of each component are as follows:
  • the listening unit 01 is responsible for monitoring the gesture operation of the user.
  • the effective drawing gesture operations may include: a gesture operation of drawing a line, a gesture operation of modifying a drawn line, or a gesture operation of deleting a drawn line.
  • the gesture operation of drawing a line includes: a swipe gesture that starts with a short press; a gesture operation of modifying the drawn line includes: a swipe gesture that starts with a long press on a point on the drawn line.
  • Gesture operations for deleting a drawn line include: long-pressing a gesture to call a submenu and selecting a delete option on the submenu, or selecting a gesture operation after the line has been drawn and clicking the delete button on the interface.
  • each target point corresponding to the gesture operation of drawing a line is a point on the sliding track corresponding to the sliding gesture that starts with a short press; each target point corresponding to the gesture operation of modifying the drawn line is to long press on the drawn line Points obtained by changing the drawn line style or position caused by the swipe gesture at the beginning of the point.
  • a swipe gesture that begins with a long press of the endpoint of the drawn line causes a change in the tilt angle or length of the drawn line; a swipe gesture that begins with a long point of the middle point of the drawn line causes the drawn Change the position of the line.
  • the mapping unit 03 is responsible for mapping the position coordinates of each target point in the coordinate system adopted by the operating system to the coordinate system used by the graphic drawing tool.
  • the calling unit 04 is responsible for calling the graphics drawing tool to draw and display the target points.
  • the graphic drawing tool used in the embodiment of the present invention may be, but not limited to, OpenGL, that is, OpenGL may provide an interface to the graphic drawing tool for the graphic drawing tool to call, thereby completing the drawing and displaying of the target point.
  • the application software equipped with the device can switch between the two modes, that is, the switching between the drawing mode and the non-plot mode, which is performed by the switching unit 05. Specifically, when the listening unit 01 monitors the gesture operation of switching the drawing mode in the non-drawing mode, the switching unit 05 switches to the drawing mode; or, when the listening unit 01 monitors the gesture operation of switching the drawing mode in the drawing mode, The switching unit 05 switches to the non-drawing mode.
  • the gesture operation in which the drawing mode is switched may be preset, as long as it is different from the current application and the gesture operation of the operating system of the mobile terminal.
  • a function button that clicks the user to switch the drawing mode can be used.
  • the filtering unit 06 is responsible for filtering the drawing gesture operation monitored by the monitoring unit 01 in the drawing mode, and only retains the effective drawing gesture operation; wherein the filtering may include, but is not limited to, filtering out the gesture beyond the drawing range, and/or filtering A gesture that does not match the preset drawing gesture type.
  • the adaptation unit 07 may operate the acquired new service data according to the gesture.
  • the position coordinates of the points on the drawn line are adapted in the coordinate system used by the operating system.
  • the mapping unit 03 will adapt the position coordinate mapping of the points on the drawn line after processing in the coordinate system adopted by the operating system. Go to the coordinate system of the drawing tool.
  • the calling unit 04 calls the graphics drawing tool to draw and display the points on the drawn lines after the adaptation process.
  • the adapting unit 07 can utilize the relative position between the recorded line drawn and the service data, and after acquiring the new service data, determine the position coordinate in the coordinate system adopted by the operating system according to the service data on the application interface. Draws the position coordinates of the line in the coordinate system used by the operating system.
  • the storage unit 08 is responsible for recording the relative position between each target point on the drawn line and the business data displayed on the current application interface; and storing the relative position information of the record for persistent storage.
  • the startup processing unit 09 may obtain the relative location information of the persistent storage; determine the drawn in the current application interface display range according to the service data displayed by the current application interface and the obtained relative location information. The position coordinates of the line.
  • the mapping unit 03 maps the position coordinates determined by the startup processing unit 09 to the coordinate system employed by the graphic drawing tool.
  • Calling unit 04 calls the graphics drawing tool to draw and display the drawn lines within the scope of the current application interface display.
  • the method and apparatus provided by the present invention can have the following advantages:
  • the present invention maps the position coordinates of each target point corresponding to the drawing gesture operation in the coordinate system adopted by the operating system to the coordinate system used by the graphic drawing tool by monitoring the effective drawing gesture operation of the user in the drawing mode. And call the graphics drawing tool to draw and display each target point, so that the user can conveniently draw on the mobile device through the gesture operation.
  • the user can perform the current application interface through effective gestures. Move, zoom in and out, and draw and modify the graphics on this basis, making the drawing of the graphics more accurate.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division, and the actual implementation may have another division manner.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Landscapes

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

Abstract

L'invention concerne un procédé, un appareil, un dispositif et un support de stockage informatique de mise en œuvre d'outil de dessin. Le procédé consiste : à écouter une mise en œuvre de geste d'un utilisateur (101) ; à obtenir, si une mise en œuvre de geste de dessin efficace est détectée dans un mode de dessin, des coordonnées de position de chaque point cible, dans un système de coordonnées utilisé par un système d'exploitation, correspondant à la mise en œuvre de geste de dessin (102) ; à mapper les coordonnées de position de chaque point cible dans le système de coordonnées utilisé par le système d'exploitation à des coordonnées de position dans un système de coordonnées utilisé par un outil de dessin d'image (103) ; et à appeler l'outil de dessin d'image à réaliser un dessin et une présentation sur chaque point cible (104). Le procédé peut aider un utilisateur à dessiner sur un dispositif mobile de manière précise et commode.
PCT/CN2015/098081 2015-08-18 2015-12-21 Procédé, appareil, dispositif et support de stockage informatique de mise en œuvre d'outil de dessin Ceased WO2017028436A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510508391.2A CN105068727B (zh) 2015-08-18 2015-08-18 一种绘图工具的实现方法和装置
CN201510508391.2 2015-08-18

Publications (1)

Publication Number Publication Date
WO2017028436A1 true WO2017028436A1 (fr) 2017-02-23

Family

ID=54498110

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/098081 Ceased WO2017028436A1 (fr) 2015-08-18 2015-12-21 Procédé, appareil, dispositif et support de stockage informatique de mise en œuvre d'outil de dessin

Country Status (2)

Country Link
CN (1) CN105068727B (fr)
WO (1) WO2017028436A1 (fr)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109859286A (zh) * 2018-12-29 2019-06-07 上海钒兆钛智能科技有限公司 一种用于生成趋势图像的方法及系统
CN110111396A (zh) * 2019-05-13 2019-08-09 武汉轻工大学 柱面方程的图像绘制方法、设备、存储介质及装置
CN110263310A (zh) * 2019-05-15 2019-09-20 平安科技(深圳)有限公司 数据图生成方法、装置及计算机可读存储介质
CN110688691A (zh) * 2019-08-15 2020-01-14 杭州群核信息技术有限公司 一种基于酷家乐云设计平台的自由绘制台面的软件设计方法
CN111489410A (zh) * 2019-01-25 2020-08-04 中国石油天然气集团有限公司 观测系统炮检点数据绘制方法及装置
CN111538411A (zh) * 2020-04-17 2020-08-14 上海迈内能源科技有限公司 不规则闭合多边形的编辑与控制方法、系统及终端
CN112506507A (zh) * 2020-11-11 2021-03-16 海看网络科技(山东)股份有限公司 一种安卓展现时间轴的方法
CN114327064A (zh) * 2021-12-29 2022-04-12 北京淳中科技股份有限公司 一种基于手势控制的标绘方法、系统、设备及存储介质
CN114781314A (zh) * 2021-12-31 2022-07-22 杭州广立微电子股份有限公司 一种快速绘制版图的方法及系统
CN116305377A (zh) * 2023-03-10 2023-06-23 之江实验室 一种绘制方法、装置、设备及可读存储介质

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068727B (zh) * 2015-08-18 2018-09-04 百度在线网络技术(北京)有限公司 一种绘图工具的实现方法和装置
WO2017128241A1 (fr) * 2016-01-28 2017-08-03 刘建兵 Procédé de dessin de terminal mobile, et terminal mobile
CN106971423B (zh) * 2017-05-11 2020-11-06 广州视源电子科技股份有限公司 立方体图形的绘制方法、装置、设备及存储介质
CN108255800B (zh) * 2018-01-12 2022-03-22 深圳市富途网络科技有限公司 一种基于股票走势的客户平台
CN110297568A (zh) * 2018-03-22 2019-10-01 阿里巴巴集团控股有限公司 电子白板实现方法、装置、设备以及存储介质
CN108711179B (zh) * 2018-05-21 2022-07-19 杭州多技教育科技有限公司 绘图还原方法和系统
CN109377536A (zh) * 2018-09-19 2019-02-22 广州盖特软件有限公司 一种线条移动绘制的方法及装置
CN109685663A (zh) * 2018-12-14 2019-04-26 北京向上一心科技有限公司 切换k线周期时画线的显示方法、装置、控制器和介质
CN111475094B (zh) * 2020-03-23 2022-03-08 深圳市富途网络科技有限公司 一种图表的参考图编辑方法、设备和计算机可读存储介质
CN111524210A (zh) * 2020-04-10 2020-08-11 北京百度网讯科技有限公司 用于生成绘图的方法和装置
CN113760414B (zh) * 2020-06-02 2023-11-28 北京字节跳动网络技术有限公司 绘制图形的方法和装置
CN114627208B (zh) * 2022-03-02 2025-07-04 广西科技大学 一种基于计算机图形学的运行图绘图装置及其工作方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976128A (zh) * 2010-10-11 2011-02-16 庄永基 数字书绘实时数据采集仿真系统及其采集方法
CN103164158A (zh) * 2013-01-10 2013-06-19 深圳市欧若马可科技有限公司 触摸屏上绘画创作与教学的方法、系统及装置
US8542207B1 (en) * 2011-09-27 2013-09-24 Cosmin Truta Pencil eraser gesture and gesture recognition method for touch-enabled user interfaces
CN103809928A (zh) * 2012-11-14 2014-05-21 腾讯科技(深圳)有限公司 一种交易走势图的显示方法、装置和系统
CN105068727A (zh) * 2015-08-18 2015-11-18 百度在线网络技术(北京)有限公司 一种绘图工具的实现方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663033A (zh) * 2012-03-23 2012-09-12 汉海信息技术(上海)有限公司 采用手绘方式搜索地图指定区域兴趣点的方法
CN104252340A (zh) * 2013-06-26 2014-12-31 昆盈企业股份有限公司 坐标对应方法
CN103605463B (zh) * 2013-11-28 2016-06-29 东莞中国科学院云计算产业技术创新与育成中心 基于gis平台和触摸屏设备的快速态势标绘系统的标绘方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976128A (zh) * 2010-10-11 2011-02-16 庄永基 数字书绘实时数据采集仿真系统及其采集方法
US8542207B1 (en) * 2011-09-27 2013-09-24 Cosmin Truta Pencil eraser gesture and gesture recognition method for touch-enabled user interfaces
CN103809928A (zh) * 2012-11-14 2014-05-21 腾讯科技(深圳)有限公司 一种交易走势图的显示方法、装置和系统
CN103164158A (zh) * 2013-01-10 2013-06-19 深圳市欧若马可科技有限公司 触摸屏上绘画创作与教学的方法、系统及装置
CN105068727A (zh) * 2015-08-18 2015-11-18 百度在线网络技术(北京)有限公司 一种绘图工具的实现方法和装置

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109859286A (zh) * 2018-12-29 2019-06-07 上海钒兆钛智能科技有限公司 一种用于生成趋势图像的方法及系统
CN109859286B (zh) * 2018-12-29 2024-01-02 上海钒钛智能科技有限公司 一种用于生成趋势图像的方法及系统
CN111489410B (zh) * 2019-01-25 2023-11-28 中国石油天然气集团有限公司 观测系统炮检点数据绘制方法及装置
CN111489410A (zh) * 2019-01-25 2020-08-04 中国石油天然气集团有限公司 观测系统炮检点数据绘制方法及装置
CN110111396A (zh) * 2019-05-13 2019-08-09 武汉轻工大学 柱面方程的图像绘制方法、设备、存储介质及装置
CN110111396B (zh) * 2019-05-13 2023-05-26 武汉轻工大学 柱面方程的图像绘制方法、设备、存储介质及装置
CN110263310A (zh) * 2019-05-15 2019-09-20 平安科技(深圳)有限公司 数据图生成方法、装置及计算机可读存储介质
CN110263310B (zh) * 2019-05-15 2024-05-10 平安科技(深圳)有限公司 数据图生成方法、装置及计算机可读存储介质
CN110688691A (zh) * 2019-08-15 2020-01-14 杭州群核信息技术有限公司 一种基于酷家乐云设计平台的自由绘制台面的软件设计方法
CN111538411A (zh) * 2020-04-17 2020-08-14 上海迈内能源科技有限公司 不规则闭合多边形的编辑与控制方法、系统及终端
CN111538411B (zh) * 2020-04-17 2022-03-08 上海迈内能源科技有限公司 不规则闭合多边形的编辑与控制方法、系统及终端
CN112506507A (zh) * 2020-11-11 2021-03-16 海看网络科技(山东)股份有限公司 一种安卓展现时间轴的方法
CN114327064A (zh) * 2021-12-29 2022-04-12 北京淳中科技股份有限公司 一种基于手势控制的标绘方法、系统、设备及存储介质
CN114781314A (zh) * 2021-12-31 2022-07-22 杭州广立微电子股份有限公司 一种快速绘制版图的方法及系统
CN116305377A (zh) * 2023-03-10 2023-06-23 之江实验室 一种绘制方法、装置、设备及可读存储介质

Also Published As

Publication number Publication date
CN105068727A (zh) 2015-11-18
CN105068727B (zh) 2018-09-04

Similar Documents

Publication Publication Date Title
WO2017028436A1 (fr) Procédé, appareil, dispositif et support de stockage informatique de mise en œuvre d'outil de dessin
JP7097991B2 (ja) 拡張現実を使用して測定するためのデバイス及び方法
US10048859B2 (en) Display and management of application icons
EP3117602B1 (fr) Animation photo et/ou vidéo basée sur metadata
WO2021035884A1 (fr) Procédé et appareil de duplication d'écran, terminal, et support de stockage
WO2019128732A1 (fr) Procédé de gestion d'icône et dispositif
US20120174029A1 (en) Dynamically magnifying logical segments of a view
CN111782332A (zh) 应用界面切换方法、装置、终端及存储介质
CN104350495B (zh) 在全景显示中管理对象以导航电子表格
DE112013002409T5 (de) Vorrichtung, Verfahren und grafische Benutzeroberfläche für die Anzeige zusätzlicher Informationen in Reaktion auf einen Benutzerkontakt
US10430040B2 (en) Method and an apparatus for providing a multitasking view
US20180152622A1 (en) Mobile terminal-based photographing method and mobile terminal
US20150009154A1 (en) Electronic device and touch control method thereof
JP2015197795A (ja) 端末装置、電子ホワイトボードシステム、電子ホワイトボードの入力支援方法、及びプログラム
US9658865B2 (en) Method of editing content and electronic device for implementing the same
US20150346973A1 (en) Seamlessly enabling larger ui
CN110286840A (zh) 可触控设备的手势缩放控制方法、装置和相关设备
WO2021203815A1 (fr) Procédé et appareil d'opération de page, ainsi que terminal et support de stockage
WO2018153232A1 (fr) Procédé de présentation de composant de recherche, dispositif électronique et support de stockage informatique non volatile
EP2650797A2 (fr) Dispositif électronique et procédé d'annotation des données
CN110622119A (zh) 对象插入
WO2019101073A1 (fr) Procédé et appareil de commande d'affichage à barre d'outils, support d'informations lisible et dispositif informatique
CN104881225A (zh) 一种调节条的控制方法和装置
CN105723314B (zh) 两步内容选择
CN105706038A (zh) 具有自动内容分类的两步内容选择

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15901638

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15901638

Country of ref document: EP

Kind code of ref document: A1