CN115774513A - System, method, electronic device and medium for determining drawing direction based on ruler - Google Patents

System, method, electronic device and medium for determining drawing direction based on ruler Download PDF

Info

Publication number
CN115774513A
CN115774513A CN202211469166.9A CN202211469166A CN115774513A CN 115774513 A CN115774513 A CN 115774513A CN 202211469166 A CN202211469166 A CN 202211469166A CN 115774513 A CN115774513 A CN 115774513A
Authority
CN
China
Prior art keywords
ruler
handwriting
speed
determining
tool
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.)
Granted
Application number
CN202211469166.9A
Other languages
Chinese (zh)
Other versions
CN115774513B (en
Inventor
甘凌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yuanyue Technology Co ltd
Original Assignee
Beijing Yuanyue Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Yuanyue Technology Co ltd filed Critical Beijing Yuanyue Technology Co ltd
Priority to CN202211469166.9A priority Critical patent/CN115774513B/en
Publication of CN115774513A publication Critical patent/CN115774513A/en
Application granted granted Critical
Publication of CN115774513B publication Critical patent/CN115774513B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention discloses a system, a method, electronic equipment and a medium for determining a drawing direction based on a ruler, wherein the method for determining the drawing direction based on the ruler comprises the following steps: collecting handwriting drawing data; judging whether a ruler tool is needed or not based on the handwriting drawing data, and if so, detecting whether a touch screen of the electronic equipment receives a ruler auxiliary request or not; and when the touch screen is detected to receive the ruler auxiliary request, responding to the ruler auxiliary request, and determining the drawing direction based on the ruler direction. The method for determining the drawing direction based on the ruler solves the problem that the drawing direction cannot be determined based on the ruler direction in the prior art, so that the drawing direction is consistent with the ruler direction.

Description

System, method, electronic device and medium for determining drawing direction based on ruler
Technical Field
The invention relates to the technical field of computers, in particular to a system, a method, electronic equipment and a medium for determining a drawing direction based on a ruler.
Background
With the development of the internet, pen-type input devices have become important interactive tools between human and machine. Common pen type input equipment in the market at present is an intelligent pen or a handwriting board, and the handwriting board generally uses a special pen or a finger to write in a specific area to acquire handwriting data; the intelligent pen calculates handwriting data according to the position movement of the pen and the paper measured by the pen. The above devices are collectively referred to as pen input devices.
When a user draws, the user needs a ruler tool to assist in determining the drawing direction, and the existing pen test input equipment cannot determine the drawing direction based on the ruler direction, so that the drawing direction is consistent with the ruler direction.
Disclosure of Invention
An embodiment of the invention provides a system, a method, an electronic device and a medium for determining a drawing direction based on a ruler, and aims to solve the problem that the drawing direction cannot be determined based on the ruler direction in the prior art, so that the drawing direction is consistent with the ruler direction.
In order to achieve the above object, an embodiment of the present invention provides a method for determining a drawing direction based on a ruler, where the method specifically includes:
collecting handwriting drawing data;
judging whether a ruler tool is needed or not based on the handwriting drawing data, and if so, detecting whether a touch screen of the electronic equipment receives a ruler auxiliary request or not;
and when the touch screen is detected to receive the ruler auxiliary request, responding to the ruler auxiliary request, and determining the drawing direction based on the ruler direction.
On the basis of the technical scheme, the invention can be further improved as follows:
further, the acquiring handwriting drawing data comprises:
acquiring coordinate data of the handwriting drawing data;
acquiring a first ratio and a drawing speed according to the coordinate data, wherein the first ratio is the ratio of the occupation ratio of the drawing handwriting in the horizontal direction to the occupation ratio of the drawing handwriting in the vertical direction, the drawing speed comprises a first speed and a second speed, the first speed is the moving speed of the drawing handwriting coordinate in the horizontal direction, and the second speed is the moving speed of the drawing handwriting coordinate in the vertical direction;
and determining the drawing trend according to the first ratio and the drawing speed.
Further, the determining whether a ruler tool is needed based on the handwriting drawing data, and if so, detecting whether a touch screen of the electronic device receives a ruler assistance request, including:
when the drawing trends are the same within a certain time, generating a ruler tool auxiliary prompt;
and detecting whether the touch screen receives a ruler auxiliary request within preset time.
Further, when it is detected that the touch screen receives the ruler assistance request, determining a drawing direction based on the ruler direction in response to the ruler assistance request, includes:
responding to a ruler auxiliary request when the ruler auxiliary request is detected within preset time;
the method comprises the steps of adjusting the size and the position of a ruler tool based on drawing requirements, and adjusting the drawing direction based on the direction of the ruler tool to enable the drawing direction to be consistent with the direction of the ruler tool.
A ruler-based drawing direction determination system, comprising:
the acquisition module is used for acquiring handwriting drawing data;
the judging module is used for judging whether a ruler tool is needed or not based on the handwriting drawing data, and if yes, detecting whether a touch screen of the electronic equipment receives a ruler auxiliary request or not;
the response module is used for responding to the ruler auxiliary request and determining the drawing direction based on the ruler direction when the fact that the touch screen receives the ruler auxiliary request is detected.
Further, the acquisition module is configured to:
acquiring coordinate data of the handwriting drawing data;
acquiring a first ratio and a drawing speed according to the coordinate data, wherein the first ratio is the ratio of the occupation ratio of the drawing handwriting in the horizontal direction to the occupation ratio of the drawing handwriting in the vertical direction, the drawing speed comprises a first speed and a second speed, the first speed is the moving speed of the drawing handwriting coordinate in the horizontal direction, and the second speed is the moving speed of the drawing handwriting coordinate in the vertical direction;
and determining the drawing trend according to the first ratio and the drawing speed.
Further, the system for determining the drawing direction based on the ruler further comprises a generation module and a detection module:
the generation module is used for generating a ruler tool auxiliary prompt when the drawing trends are the same within a certain time;
the detection module is used for detecting whether the touch screen receives a ruler auxiliary request within preset time.
Further, the response module is further configured to:
responding to the ruler auxiliary request when the ruler auxiliary request is detected within the preset time;
the method comprises the steps of adjusting the size and the position of a ruler tool based on drawing requirements, and adjusting the drawing direction based on the direction of the ruler tool to enable the drawing direction to be consistent with the direction of the ruler tool.
An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method when executing the computer program.
A non-transitory computer readable medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method.
The embodiment of the invention has the following advantages:
the method for determining the drawing direction based on the ruler collects handwritten drawing data; judging whether a ruler tool is needed or not based on the handwriting drawing data, and if so, detecting whether a touch screen of the electronic equipment receives a ruler auxiliary request or not; when the touch screen is detected to receive the ruler auxiliary request, responding to the ruler auxiliary request, and determining a drawing direction based on a ruler direction; the problem of can't confirm the direction of drawing based on the ruler direction among the prior art, make drawing direction and ruler direction keep unanimous is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.
The structures, ratios, sizes, and the like shown in the present specification are only used for matching with the contents disclosed in the specification, so as to be understood and read by those skilled in the art, and are not used to limit the conditions that the present invention can be implemented, so that the present invention has no technical significance, and any structural modifications, changes in the ratio relationship, or adjustments of the sizes, without affecting the effects and the achievable by the present invention, should still fall within the range that the technical contents disclosed in the present invention can cover.
FIG. 1 is a flow chart of a method of determining a drawing direction based on a ruler according to the present invention;
FIG. 2 is a flow chart of a system for determining drawing direction based on a ruler according to the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to the present invention.
Wherein the reference numerals are:
the system comprises an acquisition module 10, a judgment module 20, a generation module 30, a detection module 40, a response module 50, an electronic device 60, a processor 601, a memory 602 and a bus 603.
Detailed Description
The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Examples
Fig. 1 is a flowchart of an embodiment of a method for determining a drawing direction based on a ruler according to the present invention, and as shown in fig. 1, the method for determining the drawing direction based on the ruler according to the embodiment of the present invention includes the following steps:
s101, acquiring handwriting drawing data;
specifically, coordinate data of the handwriting drawing data is obtained;
acquiring a first ratio and a drawing speed according to the coordinate data, wherein the first ratio is the ratio of the occupation ratio of the drawing handwriting in the horizontal direction to the occupation ratio of the drawing handwriting in the vertical direction, the drawing speed comprises a first speed and a second speed, the first speed is the moving speed of the drawing handwriting coordinate in the horizontal direction, and the second speed is the moving speed of the drawing handwriting coordinate in the vertical direction;
and determining the drawing trend according to the first ratio and the drawing speed.
S102, judging whether a ruler tool is needed or not based on handwritten drawing data, and if yes, detecting whether a touch screen of the electronic equipment receives a ruler auxiliary request or not;
specifically, when the drawing trends are the same within a certain time, generating a ruler tool auxiliary prompt;
and detecting whether the touch screen receives a ruler auxiliary request within a preset time.
S103, when the touch screen is detected to receive a ruler auxiliary request, responding to the ruler auxiliary request, and determining a drawing direction based on the ruler direction;
specifically, when a ruler auxiliary request is detected within a preset time, responding to the ruler auxiliary request;
the method comprises the steps of adjusting the size and the position of a ruler tool based on drawing requirements, and adjusting the drawing direction based on the direction of the ruler tool to enable the drawing direction to be consistent with the direction of the ruler tool.
Preferably, the painting tool can import photo album pictures, export visible picture layers to the photo album, and export the picture storage format PNG; newly-built canvas is fixed 4 sizes of position, and equipment screen size, adaptation minimum screen length 9: 16. 16: 9. 1:1, size;
the color picking tool comprises: a straw tool and a color picker; the suction pipe tool can suck the color of the concentric position by clicking the image in the canvas; the color picker can optimize the adjustment of the central brightness, darkness and purity of the color picker (black and white can not be selected);
the drawing tool also has the functions of automatic correction, correction and adjustment, grid, canvas size, selection of a painting brush, size, transparency, and apparent/hidden side painting brush, wherein the automatic correction can automatically adjust the automatic correction strength of the painting brush lines, the correction and adjustment can adjust the painting brush correction strength, and the selection range is 0-100; the grid is only used for visual reference, and the switch can be adjusted; canvas size 9 to fit minimum screen length: 6. 16: 9. 1: 1. switching the size of the original canvas; selecting a painting brush, quickly entering 6 kinds of painting brushes to achieve effects, clicking to switch different painting brushes, folding during drawing, and popping out after clicking; the size refers to the size adjustment of the pen point, the adjustment range is 0-100, the transparency refers to the adjustment of the coloring transparency, and the adjustment range is 0-100;
the drawing tool also comprises a layer function, wherein the layer function comprises moving position, deleting, displaying/hiding and newly building a layer; the moving position refers to long-time pressing of the moving position, the deleting refers to deleting of the layer, and the displaying/hiding refers to displaying or hiding of the layer list;
the brush comprises a pencil, a writing brush, a marker pen, a spray pen, a studio pen and a dry ink pen;
the eraser can erase the drawing content of the selected layer, and the size and the transparency can be adjusted;
the drawing tool comprises a drawing module, wherein the drawing module comprises an automatic correction function, a withdrawing function, a pattern filling function, a pattern adding mode, a selected element positioning function to a pattern layer, a brush library, an integral UI layout adjustment function and a gesture control function; the automatic correction function comprises painting brush correction and graph correction; the image correction comprises automatic line smoothing after drawing the shape and referring to the procreate; the step of withdrawing the backspacing comprises the steps of recording the action of a user on each canvas in the newbrush, and withdrawing the backspacing operation records, and simultaneously supporting gesture control to withdraw two-point canvas and withdraw three-point canvas; the pattern adding mode comprises mode gesture rotation, mode gesture zooming, mode gesture adjusting position and mode display hiding, and the mode gesture rotation, the mode gesture zooming, the mode gesture adjusting position and the mode display hiding refer to the application of a pattern to a selected pattern layer (adding a pattern mode to the pattern layer), and the position, the size and the angle of the pattern can be adjusted through gesture control; the selected element is positioned on the layer, and the selected element in the canvas can be directly positioned and the layer where the selected element is positioned is selected; the gesture control comprises canvas rotation, canvas zooming and canvas position adjustment, wherein the canvas rotation means that two fingers press the canvas to rotate the adjustable canvas direction, the canvas zooming means that two fingers press the canvas to pinch operation to adjust the size of the canvas, and the canvas position adjustment means that two fingers press the movable canvas position of the canvas.
The drawing tool comprises an animation module, wherein the animation module comprises an AI animation function and a video recording function, the AI animation is connected with the AI capability, a preset template is driven to generate an animation effect through the capture of a front camera surface, the video recording comprises recording and exporting, the recording refers to recording the preset template animation effect, the exporting refers to storing the recording result into a mobile phone album, and the storage format is mp4, the resolution is 4k,1080P, 720P, and the frame number is 25, 30 and 60.
The drawing tool comprises a digital material module, wherein the digital material module comprises global processing capacity, word processing capacity and picture processing capacity; the global processing capability comprises a template library, an element library, a text creating function, a color matching library, an adjusting function and a leading-out function; the template library comprises template list pages which can be screened by classification, templates are applied after selection, picture elements can be introduced into the element library through three modes of an album, a material library and a local file, text creation refers to adding of a text input box, newly added texts are always placed on the topmost layer, the color matching library is a color assignment card list page, screening can be performed by classification, the current template is automatically replaced after selection, color of bitmap elements does not need to be replaced, colors of adjacent elements need to be removed, adjustment refers to adjustment of 4 numerical values of brightness, contrast, saturation and definition of the whole elements, and filter templates with 4 numerical values can also be directly applied.
Word processing capabilities include changing font, adjusting self-luxury, special effect font, text bolding, text tilting, underlining, aligning, text listing, adjusting word spacing, adjusting line spacing, and modifying text color; the character size is adjusted by supporting gesture control, and the effect of the special effect font comprises drawing, projection, external luminescence, relief, internal shadow and internal luminescence; the alignment comprises three modes, namely left alignment, center alignment and right alignment, and the default is that the left alignment switches one alignment state by clicking each time; the text lists are in two modes, namely a sequence list and an unordered list (with numbers and without numbers), the default mode is that no sequence list is available, and one state is switched every time clicking; modifying text color refers to changing color by the top right corner color picker. The picture processing capability comprises drawing, replacing elements, cutting, adjusting, hierarchy, copying elements, transparency and intelligent matting; drawing is to bring selected elements as independent layers into a drawing function, wherein the replacing elements are to replace the selected elements by other picture files, the replacing picture meets the requirement of scaling by equal proportion of the maximum edge of the replaced elements, cutting is to cut the currently selected elements, the cutting and cutting function can be referred to, adjustment is to adjust 4 values of brightness, contrast, saturation and definition of the selected picture elements, a filter template combined by 4 values can also be directly applied, and the level is to adjust the level position of the selected elements in a component; the intelligent cutout is to automatically cutout the imported picture or the existing picture element main body through an algorithm.
The drawing tool includes a template classification list page and a search function.
The drawing tool comprises engineering file analysis, wherein the engineering file analysis comprises PPT analysis, PSD analysis, AI analysis and SKETCH analysis, analysis of a PPT format file is supported, each page is an assembly, the assembly contains text and picture elements, other format elements are not processed temporarily, analysis of a PSD format file is supported, an image layer in an original file is reserved, a pattern effect is not processed temporarily, analysis of an AI format file is supported, the states of the image layer and the assembly in the original file are reserved, the pattern effect is not processed temporarily, analysis of a SKETCH format file is supported, the image layer in the original file is reserved, and the pattern effect is not processed temporarily.
The drawing tool comprises resolution conversion, wherein 72DPI is converted into 300DPI, when a printing format is exported, a picture with the resolution of 72 needs to be indexed into a picture with the resolution of 300, and the image color mode is a CMYK printing format.
The method for determining the drawing direction based on the ruler collects the handwriting drawing data; judging whether a ruler tool is needed or not based on the handwriting drawing data, and if so, detecting whether a touch screen of the electronic equipment receives a ruler auxiliary request or not; and when the touch screen is detected to receive the ruler auxiliary request, responding to the ruler auxiliary request, and determining the drawing direction based on the ruler direction. The problem of can't confirm the direction of drawing based on the ruler direction among the prior art, make drawing direction and ruler direction keep unanimous is improved.
FIG. 2 is a flow chart of an embodiment of a system for determining drawing direction based on a ruler according to the present invention; as shown in fig. 2, a system for determining a drawing direction based on a ruler according to an embodiment of the present invention includes the following steps:
the acquisition module 10 is used for acquiring handwriting drawing data;
the acquisition module 10 is further configured to:
acquiring coordinate data of the handwriting drawing data;
acquiring a first ratio and a drawing speed according to the coordinate data, wherein the first ratio is the ratio of the occupation ratio of the drawing handwriting in the horizontal direction to the occupation ratio of the drawing handwriting in the vertical direction, the drawing speed comprises a first speed and a second speed, the first speed is the moving speed of the drawing handwriting coordinate in the horizontal direction, and the second speed is the moving speed of the drawing handwriting coordinate in the vertical direction;
and determining the drawing trend according to the first ratio and the drawing speed.
The judging module 20 is configured to judge whether a ruler tool is needed based on the handwriting drawing data, and if yes, detect whether a touch screen of the electronic device receives a ruler assistance request;
a response module 50, configured to, when it is detected that the touch screen receives the ruler assistance request, determine a drawing direction based on the ruler direction in response to the ruler assistance request.
The response module 50 is further configured to:
responding to a ruler auxiliary request when the ruler auxiliary request is detected within preset time;
the method comprises the steps of adjusting the size and the position of a ruler tool based on drawing requirements, and adjusting the drawing direction based on the direction of the ruler tool to enable the drawing direction to be consistent with the direction of the ruler tool.
The ruler-based drawing direction determination system further comprises a generation module 30 and a detection module 40:
the generating module 30 is configured to generate a ruler tool auxiliary prompt when the drawing trends are the same within a certain time;
the detection module 40 is configured to detect whether the touch screen receives a ruler assistance request within a preset time.
According to the system for determining the drawing direction based on the ruler, the acquisition module 10 is used for acquiring handwritten drawing data, the judgment module 20 is used for judging whether a ruler tool is needed or not based on the handwritten drawing data, if yes, whether a touch screen of electronic equipment receives a ruler auxiliary request or not is detected, when the touch screen receives the ruler auxiliary request is detected, the response module 50 is used for responding to the ruler auxiliary request, and the drawing direction is determined based on the ruler direction. The problem of can't confirm the direction of drawing based on the ruler direction among the prior art, make drawing direction and ruler direction keep unanimous is solved.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 3, an electronic device 60 includes: a processor 601 (processor), a memory 602 (memory), and a bus 603;
the processor 601 and the memory 602 complete communication with each other through a bus 603;
processor 601 is configured to call program instructions in memory 602 to perform the methods provided by the above-described method embodiments, including, for example: collecting handwriting drawing data; judging whether a ruler tool is needed or not based on the handwriting drawing data, and if so, detecting whether a touch screen of the electronic equipment receives a ruler auxiliary request or not; and when the touch screen is detected to receive the ruler auxiliary request, responding to the ruler auxiliary request, and determining the drawing direction based on the ruler direction.
The present embodiment provides a non-transitory computer readable medium storing computer instructions, which cause a computer to execute the method provided by the above method embodiments, for example, including: collecting handwriting drawing data; judging whether a ruler tool is needed or not based on the handwriting drawing data, and if so, detecting whether a touch screen of the electronic equipment receives a ruler auxiliary request or not; and when the touch screen is detected to receive the ruler auxiliary request, responding to the ruler auxiliary request, and determining the drawing direction based on the ruler direction.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned media include: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the apparatus are merely illustrative, and units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the various embodiments or some parts of the embodiments.
Although the invention has been described in detail above with reference to a general description and specific examples, it will be apparent to one skilled in the art that modifications or improvements may be made thereto based on the invention. Accordingly, it is intended that all such modifications and alterations be included within the scope of this invention as defined in the appended claims.

Claims (10)

1. A method for determining a drawing direction based on a ruler is characterized by specifically comprising the following steps:
collecting handwriting drawing data;
judging whether a ruler tool is needed or not based on the handwriting drawing data, and if so, detecting whether a touch screen of the electronic equipment receives a ruler auxiliary request or not;
and when the touch screen is detected to receive the ruler auxiliary request, responding to the ruler auxiliary request, and determining the drawing direction based on the ruler direction.
2. The ruler-based drawing direction determination method according to claim 1, wherein the collecting handwritten drawing data comprises:
acquiring coordinate data of the handwriting drawing data;
acquiring a first ratio and a drawing speed according to the coordinate data, wherein the first ratio is the ratio of the occupation ratio of the drawing handwriting in the horizontal direction to the occupation ratio of the drawing handwriting in the vertical direction, the drawing speed comprises a first speed and a second speed, the first speed is the moving speed of the drawing handwriting coordinate in the horizontal direction, and the second speed is the moving speed of the drawing handwriting coordinate in the vertical direction;
and determining the drawing trend according to the first ratio and the drawing speed.
3. The method for determining drawing direction based on the ruler of claim 2, wherein the determining whether a ruler tool is needed based on the handwriting drawing data, and if so, detecting whether a ruler assistance request is received by a touch screen of an electronic device comprises:
when the drawing trends are the same within a certain time, generating a ruler tool auxiliary prompt;
and detecting whether the touch screen receives a ruler auxiliary request within a preset time.
4. The method for determining a drawing direction based on a ruler according to claim 1, wherein the determining the drawing direction based on the ruler direction in response to the ruler assistance request when the touch screen is detected to receive the ruler assistance request comprises:
responding to a ruler auxiliary request when the ruler auxiliary request is detected within preset time;
the size and the position of the ruler tool are adjusted based on drawing requirements, and the drawing direction is adjusted based on the direction of the ruler tool, so that the drawing direction is consistent with the direction of the ruler tool.
5. A ruler-based drawing direction determination system, comprising:
the acquisition module is used for acquiring handwriting drawing data;
the judging module is used for judging whether a ruler tool is needed or not based on the handwriting drawing data, and if yes, detecting whether a touch screen of the electronic equipment receives a ruler auxiliary request or not;
the response module is used for responding to the ruler auxiliary request and determining the drawing direction based on the ruler direction when the fact that the touch screen receives the ruler auxiliary request is detected.
6. A ruler-based painting direction determination system according to claim 5, wherein said collection module is further configured to:
acquiring coordinate data of the handwriting drawing data;
acquiring a first ratio and a drawing speed according to the coordinate data, wherein the first ratio is the ratio of the occupation ratio of the drawing handwriting in the horizontal direction to the occupation ratio of the drawing handwriting in the vertical direction, the drawing speed comprises a first speed and a second speed, the first speed is the moving speed of the drawing handwriting coordinate in the horizontal direction, and the second speed is the moving speed of the drawing handwriting coordinate in the vertical direction;
and determining the drawing trend according to the first ratio and the drawing speed.
7. The ruler-based drawing direction determination system according to claim 6, further comprising a generation module and a detection module:
the generation module is used for generating auxiliary prompts of the ruler tools when the drawing trends are the same within a certain time;
the detection module is used for detecting whether the touch screen receives a ruler auxiliary request within preset time.
8. A ruler-based painting orientation system as claimed in claim 7 wherein the response module is further configured to:
responding to the ruler auxiliary request when the ruler auxiliary request is detected within the preset time;
the method comprises the steps of adjusting the size and the position of a ruler tool based on drawing requirements, and adjusting the drawing direction based on the direction of the ruler tool to enable the drawing direction to be consistent with the direction of the ruler tool.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor realizes the steps of the method according to any one of claims 1 to 4 when executing the computer program.
10. A non-transitory computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN202211469166.9A 2022-11-22 2022-11-22 System, method, electronic device and medium for determining drawing direction based on ruler Active CN115774513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211469166.9A CN115774513B (en) 2022-11-22 2022-11-22 System, method, electronic device and medium for determining drawing direction based on ruler

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211469166.9A CN115774513B (en) 2022-11-22 2022-11-22 System, method, electronic device and medium for determining drawing direction based on ruler

Publications (2)

Publication Number Publication Date
CN115774513A true CN115774513A (en) 2023-03-10
CN115774513B CN115774513B (en) 2023-07-07

Family

ID=85389831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211469166.9A Active CN115774513B (en) 2022-11-22 2022-11-22 System, method, electronic device and medium for determining drawing direction based on ruler

Country Status (1)

Country Link
CN (1) CN115774513B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130321350A1 (en) * 2012-05-31 2013-12-05 Research In Motion Limited Virtual ruler for stylus input
CN103460176A (en) * 2011-04-07 2013-12-18 夏普株式会社 Electronic device, display method, and display program
US20140078082A1 (en) * 2012-09-18 2014-03-20 Asustek Computer Inc. Operating method of electronic device
US20160054893A1 (en) * 2014-08-19 2016-02-25 Adobe Systems Incorporated Touch digital ruler
CN106934844A (en) * 2017-03-23 2017-07-07 深圳市助天使软件技术有限公司 A kind of construction with ruler and compasses method on computers
CN107636593A (en) * 2015-06-07 2018-01-26 苹果公司 For equipment, method and the graphic user interface for providing virtual drawing Aids He interacting
CN108885528A (en) * 2016-03-29 2018-11-23 微软技术许可有限责任公司 For the guidance object drawn in the user interface
CN111089554A (en) * 2019-11-28 2020-05-01 北京小米移动软件有限公司 Object fitting method, object fitting device, intelligent ruler and electronic equipment
CN111524210A (en) * 2020-04-10 2020-08-11 北京百度网讯科技有限公司 Method and apparatus for generating drawings
CN111949172A (en) * 2020-07-22 2020-11-17 广州朗国电子科技有限公司 Element distance ruler dynamic operation method and device, storage medium and terminal
CN112184852A (en) * 2020-09-10 2021-01-05 珠海格力电器股份有限公司 Auxiliary drawing method and device based on virtual imaging, storage medium and electronic device
CN112799583A (en) * 2021-04-13 2021-05-14 北京三维天地科技股份有限公司 Point location schematic drawing system based on android platform
CN112927577A (en) * 2021-01-12 2021-06-08 深圳点猫科技有限公司 Length measuring method, device and equipment in online education
CN113487695A (en) * 2021-06-30 2021-10-08 青岛海信商用显示股份有限公司 Graph generation method and terminal equipment
CN113515228A (en) * 2021-06-09 2021-10-19 华为技术有限公司 Virtual scale display method and related equipment

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103460176A (en) * 2011-04-07 2013-12-18 夏普株式会社 Electronic device, display method, and display program
US20140033098A1 (en) * 2011-04-07 2014-01-30 Sharp Kabushiki Kaisha Electronic apparatus, display method and display program
US20130321350A1 (en) * 2012-05-31 2013-12-05 Research In Motion Limited Virtual ruler for stylus input
US20140078082A1 (en) * 2012-09-18 2014-03-20 Asustek Computer Inc. Operating method of electronic device
US20160054893A1 (en) * 2014-08-19 2016-02-25 Adobe Systems Incorporated Touch digital ruler
CN112000265A (en) * 2015-06-07 2020-11-27 苹果公司 Apparatus, method and medium for providing and interacting with virtual drawing aids
CN107636593A (en) * 2015-06-07 2018-01-26 苹果公司 For equipment, method and the graphic user interface for providing virtual drawing Aids He interacting
CN111913634A (en) * 2015-06-07 2020-11-10 苹果公司 Apparatus, method and medium for providing and interacting with virtual drawing aids
CN108885528A (en) * 2016-03-29 2018-11-23 微软技术许可有限责任公司 For the guidance object drawn in the user interface
CN106934844A (en) * 2017-03-23 2017-07-07 深圳市助天使软件技术有限公司 A kind of construction with ruler and compasses method on computers
CN111089554A (en) * 2019-11-28 2020-05-01 北京小米移动软件有限公司 Object fitting method, object fitting device, intelligent ruler and electronic equipment
CN111524210A (en) * 2020-04-10 2020-08-11 北京百度网讯科技有限公司 Method and apparatus for generating drawings
CN111949172A (en) * 2020-07-22 2020-11-17 广州朗国电子科技有限公司 Element distance ruler dynamic operation method and device, storage medium and terminal
CN112184852A (en) * 2020-09-10 2021-01-05 珠海格力电器股份有限公司 Auxiliary drawing method and device based on virtual imaging, storage medium and electronic device
CN112927577A (en) * 2021-01-12 2021-06-08 深圳点猫科技有限公司 Length measuring method, device and equipment in online education
CN112799583A (en) * 2021-04-13 2021-05-14 北京三维天地科技股份有限公司 Point location schematic drawing system based on android platform
CN113515228A (en) * 2021-06-09 2021-10-19 华为技术有限公司 Virtual scale display method and related equipment
CN113487695A (en) * 2021-06-30 2021-10-08 青岛海信商用显示股份有限公司 Graph generation method and terminal equipment

Also Published As

Publication number Publication date
CN115774513B (en) 2023-07-07

Similar Documents

Publication Publication Date Title
TWI291114B (en) Overlaying electronic ink
Saund et al. Perceptually-supported image editing of text and graphics
EP0622722B1 (en) Interactive copying system
US20050149882A1 (en) Method for hollow selection feedback
CN109739372B (en) Graph drawing method for handwriting input equipment and handwriting reading equipment
US7486282B2 (en) Size variant pressure eraser
US7428711B2 (en) Glow highlighting as an ink attribute
US7729534B2 (en) Image-processing device and image-processing method for extracting a recognition-target area including a character from a target image
US20090327875A1 (en) Design editing apparatus, design editing method, and storage medium storing design editing program
JP5664164B2 (en) Electronic information board device, information display method, program
Evening Adobe Photoshop CC for Photographers: A professional image editor's guide to the creative use of Photoshop for the Macintosh and PC
Lecarme et al. The book of GIMP: A complete guide to nearly everything
US9542093B2 (en) Methods and apparatus for providing partial modification of a digital illustration
CN112711362A (en) Method and device for generating hand-drawn flow chart icon in standardized manner
US7280693B2 (en) Document information input apparatus, document information input method, document information input program and recording medium
US7454699B2 (en) Smart content insertion
US10430458B2 (en) Automated data extraction from a chart from user screen selections
CN116774877B (en) Method and device for erasing graffiti handwriting in OFD document page
Evening Adobe Photoshop CS5 for Photographers: a professional image editor's guide to the creative use of Photoshop for the Macintosh and PC
CN112947826A (en) Information acquisition method and device and electronic equipment
CN115774513B (en) System, method, electronic device and medium for determining drawing direction based on ruler
JP3169604U (en) Terminal device and electronic pen system
CN108614657B (en) Image synthesis method, device and equipment and image carrier thereof
US7296240B1 (en) Document object membranes
CN115756201A (en) System and method for preventing error touch of stylus pen, electronic equipment and storage medium

Legal Events

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