WO2017024929A1 - 基于触摸操作的笔迹编辑方法及系统 - Google Patents

基于触摸操作的笔迹编辑方法及系统 Download PDF

Info

Publication number
WO2017024929A1
WO2017024929A1 PCT/CN2016/090716 CN2016090716W WO2017024929A1 WO 2017024929 A1 WO2017024929 A1 WO 2017024929A1 CN 2016090716 W CN2016090716 W CN 2016090716W WO 2017024929 A1 WO2017024929 A1 WO 2017024929A1
Authority
WO
WIPO (PCT)
Prior art keywords
editing
text
module
touch
handwriting
Prior art date
Application number
PCT/CN2016/090716
Other languages
English (en)
French (fr)
Inventor
朱龙飞
Original Assignee
广州视睿电子科技有限公司
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 广州视睿电子科技有限公司 filed Critical 广州视睿电子科技有限公司
Publication of WO2017024929A1 publication Critical patent/WO2017024929A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present invention relates to the field of handwriting editing technology, and more particularly to a handwriting editing method based on a touch operation, and a handwriting editing system based on a touch operation.
  • this mode of editing after the first selection of handwriting brings a lot of inconvenience to the user's operation, especially in teaching or meeting scenarios, when multiple discontinuities are needed.
  • the handwriting is highlighted or highlighted, frequent selection of handwriting and switching of editing operations will destroy the continuity of the entire process and seriously affect the efficiency of teaching or meeting.
  • a handwriting editing method based on touch operation comprising:
  • Editing corresponding to the editing instruction is performed on the selected character.
  • the editing operation corresponding to the editing instruction is directly performed on the selected text by the editing instruction acquired in advance, thereby avoiding frequent switching of the character selection and editing operation, and can be dynamically
  • the text is edited in real time according to the position change of the touch point movement track, which greatly improves the efficiency of editing a plurality of discontinuous characters, especially the efficiency of teaching or meeting.
  • a handwriting editing system based on touch operation includes a first receiving module, a first obtaining module, a first determining module and a first executing module:
  • the first receiving module is configured to receive an editing instruction
  • the first acquiring module is configured to acquire position coordinates of a movement trajectory of the touch point
  • the first determining module is configured to acquire a boundary position coordinate of the character, and determine, according to the boundary position coordinate, whether the position coordinate of the moving track of the touch point is included in a boundary range of the character, if the boundary range of the character is included The position coordinate of the movement track of the touch point is selected;
  • the first execution module is configured to perform editing corresponding to the editing instruction on the selected text.
  • the selected text is directly subjected to the editing operation corresponding to the editing instruction by the pre-acquisition editing instruction, thereby avoiding the frequent selection of the text and the switching operation of the editing operation.
  • the text can be edited in real time according to the position change of the touch point movement track, which greatly improves the efficiency of editing a plurality of discontinuous characters, especially the efficiency of teaching or meeting.
  • a handwriting editing method based on touch operation comprising:
  • Editing corresponding to the editing instruction is performed on the handwriting pixel points within the selection range.
  • the editing operation corresponding to the editing instruction is performed on the handwriting pixel points within the selection range determined by the writing handwriting by the pre-acquisition editing instruction, thereby avoiding the frequent switching problem of selecting the handwriting and the editing operation by using the selection frame, and dynamically according to the touched point
  • the position of the moving track changes in real time to the handwriting Editing greatly improves the efficiency of editing multiple discrete handwriting, especially the efficiency of teaching or meeting.
  • a handwriting editing system based on a touch operation comprising a second receiving module, a second obtaining module, a third obtaining module and a second executing module:
  • the second receiving module is configured to receive an editing instruction
  • the second acquiring module is configured to acquire position coordinates of a movement trajectory of the touch point
  • the third acquiring module is configured to determine location coordinates of the selected range according to position coordinates of the movement trajectory of the touch point;
  • the second execution module is configured to perform editing corresponding to the editing instruction on the handwriting pixel points in the selection range.
  • the editing operation corresponding to the editing instruction is performed on the handwriting pixel points in the selected range determined by the writing handwriting by the pre-acquisition editing instruction, thereby avoiding frequent use of the selection frame to select handwriting and editing.
  • the switching problem of the operation can dynamically edit the handwriting according to the position change of the touch point moving track, which greatly improves the efficiency of editing multiple discontinuous handwritings, especially the efficiency of teaching or meeting.
  • FIG. 1 is a flowchart of a text editing method based on a touch operation according to the present invention
  • FIG. 2 is a flow chart of a method for changing a text color based on a touch operation according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a text editing system based on a touch operation according to the present invention.
  • FIG. 4 is a flowchart of a handwriting editing method based on a touch operation according to the present invention.
  • FIG. 5 is a schematic structural diagram of a handwriting editing system based on a touch operation according to the present invention.
  • FIG. 1 is a flowchart of a text editing method based on a touch operation according to the present invention. As shown in Figure 1, one A handwriting editing method based on touch operation, the method comprising:
  • S104 Acquire a position coordinate of a movement track of the touch point
  • S108 Acquire a boundary position coordinate of the character, and determine, according to the boundary position coordinate, whether the position coordinate of the movement track of the touch point is included in a boundary range of the character, and if the touch boundary of the character includes the touch point Move the position coordinates of the track, then select the text;
  • S112 Perform editing corresponding to the editing instruction on the selected character.
  • the editing operation corresponding to the editing instruction is directly performed on the selected text by the editing instruction acquired in advance, thereby avoiding frequent switching of the character selection and editing operation, and dynamically changing the position of the moving track according to the touch point in real time.
  • the editing of texts greatly improves the efficiency of editing multiple non-contiguous words, especially the efficiency of teaching or meeting.
  • the editing instruction includes changing a color, a font or a font size of the text, changing a text shading, underlining the text, bolding, italicizing, adding a strikethrough, and highlighting.
  • the editing instruction is preferably triggered by a touch method, for example, by binding the editing instruction with a control command such as long pressing or double-clicking of the touch device, and acquiring an editing instruction when detecting the corresponding control instruction.
  • the palette display element when it is detected that a long press touch event occurs in the text input area, the palette display element is called for display, and when a touch event occurs in an area of the corresponding color in the palette display element is detected, Get an edit instruction that changes the text to the corresponding color.
  • the recording of the blank area without the text or the position of the picture is excluded, and the validity of the position coordinates of the movement trajectory for acquiring the touch point is greatly improved.
  • the moving track of the touch point may be in the form of a point or a line.
  • the boundary of the text may be determined according to the glyph, the font size, the character pitch, and the line spacing of the text.
  • determining whether the text is selected includes the following steps:
  • the text is often edited on the currently displayed page as a reference for obtaining the position coordinates of the text boundary and the touch point movement trajectory, which is convenient for judging whether the text is selected or not, thereby greatly improving the operation efficiency.
  • determining whether the text is selected includes the following steps:
  • This way of judging whether the text is selected is suitable for the editing operation of the multi-page document, and the user can perform the corresponding editing operation on the text in the entire document at one time.
  • the boundary of the text may be a rectangular boundary, and the rectangular boundary is a rectangle symmetrical with the center of the corresponding character.
  • the method further includes the step of: placing the selected text into the text list to be modified;
  • the method includes the following steps: periodically querying whether there is a text in the text list to be modified; if there is a text, performing editing corresponding to the editing instruction on the text in the text list to be modified.
  • the text list to be modified may be a FIFO (first in, first out) buffer, and the text is stored in the FIFO buffer in a first-in first-out order.
  • the text list to be modified is queried 10 times per second, and if the text is queried, the color of the text is changed to a specified color.
  • step S104 the method further includes the steps of: recording a cursor position;
  • step S112 when the exit editing command input by the user is acquired, the previous cursor position is restored.
  • the method before step S104, the method further includes the steps of: changing a style of the cursor;
  • the previous cursor style is restored when the user exits the edit command.
  • the changed cursor style may be in the form of a brush.
  • the exiting the editing instruction may include detecting that the editing instruction in step S100 is triggered again or that the movement trajectory of the touched point is not detected within a predetermined time (eg, within 10 seconds).
  • Change the style of the cursor for example, change the style of the cursor to use the form of the brush, and the current color of the brush is the selected color
  • the boundary position coordinate determines whether the position coordinate of the moving touch point is included in the boundary range of the character, and if the position coordinate of the moving touch point is included in the boundary range of the character, the text is selected and selected The text is placed in the text list to be modified, and if the position coordinates of the moving touch point are not included in the boundary of the text, the text is reselected;
  • FIG. 3 is a schematic structural diagram of a text editing system based on a touch operation according to the present invention.
  • a handwriting editing system based on a touch operation comprising a first receiving module 200, a first obtaining module 204, a first determining module 208, and a first executing module 212;
  • the first receiving module 200 is configured to receive an editing instruction
  • the first obtaining module 212 is configured to acquire position coordinates of a movement trajectory of the touch point
  • the first determining module 208 is configured to acquire a boundary position coordinate of the character, and determine, according to the boundary position coordinate, whether the position coordinate of the moving track of the touch point is included in the boundary range of the character, if the boundary of the character is within the boundary The position coordinate of the movement track including the touch point is selected;
  • the first execution module 212 is configured to perform editing corresponding to the editing instruction on the selected text.
  • the selected text is directly subjected to the editing operation corresponding to the editing instruction by the pre-acquisition editing instruction, thereby avoiding the frequent selection of the text and the switching operation of the editing operation.
  • the text can be edited in real time according to the position change of the touch point movement track, which greatly improves the efficiency of editing a plurality of discontinuous characters, especially the efficiency of teaching or meeting.
  • the editing instructions in the first receiving module 200 include changing the color, font or font size of the text, changing the text shading, underlining the text, bolding, italicizing, adding and deleting lines, and highlighting.
  • the editing instruction is preferably triggered by a touch method, for example, by binding the editing instruction with a control command such as long pressing or double-clicking of the touch device, and acquiring an editing instruction when detecting the corresponding control instruction.
  • the first receiving module 200 when it is detected that a long press touch event occurs in the text input area, the first receiving module 200 is configured to call the palette display element for display, when the corresponding color in the palette display element is detected When a touch event occurs in the area, the first execution module 212 changes the text to an edit command of the corresponding color.
  • the first acquisition module 212 records the position coordinates of the movement trajectory of the touch point when it is detected that there is a movement trajectory of the contact within the non-blank area of the text.
  • the recording of the blank area without the text or the position of the picture is excluded, which greatly improves the validity of the position coordinates of the movement trajectory of the first acquisition module 212 for acquiring the touch point.
  • the moving track of the touch point may be in the form of a point or a line.
  • the boundary of the characters in the first judging module 208 may be determined according to the glyph, the font size, the character spacing, and the line spacing of the characters.
  • the first determining module 208 is further configured to:
  • the text is often edited on the currently displayed page as a reference for obtaining the position coordinates of the text boundary and the touch point movement trajectory, which is convenient for judging whether the text is selected or not, thereby greatly improving the operation efficiency.
  • the first determining module 208 is further configured to:
  • This way of judging whether the text is selected is suitable for the editing operation of the text in the multi-page document, and the user can perform the corresponding editing operation on the entire document at one time.
  • the boundary of the text is a rectangular boundary, and the rectangular boundary is a rectangle symmetrical with the center of the corresponding character.
  • the touch-based handwriting editing system further includes a first storage module, and the first storage module is configured to put the selected text into the text list to be modified:
  • the first execution module 212 is further configured to periodically query whether there is a text in the text list to be modified; if there is a text, perform editing corresponding to the editing instruction on the text in the text list to be modified.
  • the text list to be modified is a FIFO (first in, first out) buffer, and the text is stored in the FIFO buffer in a first-in first-out order.
  • the text list to be modified is queried 10 times per second, and if the text is queried, the color of the text is changed to a specified color.
  • a first recording module is further included for recording a cursor position
  • the previous cursor position is restored when the user exits the edit command.
  • the first additional module is further configured to change the style of the cursor and restore the previous cursor when acquiring the exit editing instruction input by the user.
  • the changed cursor style is in the form of a brush.
  • exiting the edit instruction includes detecting that the edit command in the first receive module 200 is triggered again or the first acquisition module 212 does not detect the movement trajectory of the touch point within a predetermined time (eg, within 10 seconds).
  • FIG. 4 is a flow chart of a handwriting editing method based on a touch operation according to the present invention, and a handwriting editing method based on a touch operation, the method comprising the following steps:
  • S308 Determine position coordinates of the selected range according to position coordinates of the movement trajectory of the touch point;
  • S312 Perform editing corresponding to the editing instruction on the handwriting pixel points in the selection range.
  • the editing operation corresponding to the editing instruction is performed on the handwriting pixel points within the selection range determined by the writing handwriting by the pre-acquisition editing instruction, thereby avoiding the frequent switching problem of selecting the handwriting and the editing operation by using the selection frame, and dynamically according to the touched point
  • the change of the position of the moving track in real time edits the handwriting, which greatly improves the efficiency of editing a plurality of discrete handwritings, especially the efficiency of teaching or meeting.
  • the editing instruction includes any one of changing a color, a font or a font size, a bold, an italic, and a highlight of the handwriting.
  • the editing instruction is preferably triggered by a touch method, for example, by binding the editing instruction with a control command such as long pressing or double-clicking of the touch device, and acquiring an editing instruction when detecting the corresponding control instruction.
  • the palette display element when it is detected that a long press touch event occurs in the text input area, the palette display element is called for display, and when a touch event occurs in an area of the corresponding color in the palette display element is detected, Get an edit instruction that changes the handwriting to the corresponding color.
  • the moving track of the touch point may be in the form of a point or a line.
  • step S304 when it is detected that there is a movement trajectory of the contact in the range of the non-blank area having the character, the position coordinates of the movement trajectory of the touched point are recorded.
  • the recording of the blank area without the text or the position of the picture is excluded, and the validity of the position coordinates of the movement trajectory for acquiring the touch point is greatly improved.
  • step S308 determining the position coordinates of the selection range according to the position coordinates of the movement trajectory of the touch point includes the following steps:
  • the difference between the abscissas is taken as the width, the difference of the ordinates is taken as the height, and the rectangle obtained by the line connecting the starting point position and the end point position as a diagonal line is used as the selection range.
  • the acquired position coordinates of the selection range and the movement trajectory position coordinates of the touch point are position coordinates with respect to the current display screen.
  • the handwriting is often edited on the currently displayed page as a reference for obtaining the selection range and the position coordinates of the touch point movement trajectory, which is convenient for judging whether or not the selected text is selected, thereby greatly improving the operation efficiency.
  • the acquired position coordinates of the selection range and the movement trajectory position coordinates of the touch point are position coordinates with respect to the current document, and the position coordinates relative to the current document are converted into Relative to the position coordinates of the currently displayed screen.
  • the manner of obtaining the selection range and the position coordinates of the touch point movement track is suitable for the editing operation of the multi-page document, and the user can perform the corresponding editing operation on the handwriting in the entire document at one time.
  • the boundary of the text is a rectangular boundary, and the rectangular boundary is a rectangle symmetrical with the center of the corresponding character.
  • step S304 the method further includes the steps of: recording a cursor position;
  • the previous cursor position is restored when the user exits the edit command.
  • the method before step S304, the method further includes the steps of: changing a style of the cursor;
  • the previous cursor style is restored when the user exits the edit command.
  • the cursor shape after the change is in the form of a brush.
  • FIG. 5 is a schematic structural diagram of a handwriting editing system based on a touch operation according to the present invention.
  • a touch-based handwriting editing system includes a second receiving module 400, a second obtaining module 404, a third obtaining module 408, and a second executing module 412:
  • the second receiving module 400 is configured to receive an editing instruction
  • the second obtaining module 404 is configured to acquire position coordinates of a movement trajectory of the touch point
  • the third obtaining module 408 is configured to determine location coordinates of the selected range according to position coordinates of the movement trajectory of the touch point;
  • the second execution module 412 is configured to perform editing corresponding to the editing instruction on the handwriting pixel points in the selection range.
  • the editing operation corresponding to the editing instruction is performed on the handwriting pixel points within the selection range determined by the writing handwriting by the pre-acquisition editing instruction, thereby avoiding the frequent switching problem of selecting the handwriting and the editing operation by using the selection frame, and dynamically according to the touched point
  • the change of the position of the moving track in real time edits the handwriting, which greatly improves the efficiency of editing a plurality of discrete handwritings, especially the efficiency of teaching or meeting.
  • the editing instructions in the second receiving module 400 include any one of changing the color, font or font size, bold, italic, and highlighting of the handwriting.
  • the editing instruction is preferably triggered by a touch method, for example, by binding the editing instruction with a control command such as long pressing or double-clicking of the touch device, and acquiring an editing instruction when detecting the corresponding control instruction.
  • the second receiving module 400 calls the palette display element for display, when the area of the corresponding color in the palette display element is detected
  • the second execution module 412 changes the handwriting to an edit command of the corresponding color.
  • the moving track of the touch point may be in the form of a point or a line.
  • the position coordinates of the movement trajectory of the touch point are recorded.
  • the recording of the blank area without the text or the position of the picture is excluded, which greatly improves the validity of the position coordinates of the movement trajectory of the second acquisition module 404 for acquiring the touch point.
  • the third obtaining module 408 further includes:
  • a coordinate acquiring module configured to acquire a starting position coordinate and an ending position coordinate of the moving track of the touch point
  • a difference calculation module configured to obtain a difference between an abscissa of the starting position and an end position, and a difference between the starting point and the ending position ordinate;
  • a range selection module configured to use a difference value of the abscissa as a width, a difference value of the ordinate as a height, and a line obtained by connecting the starting point position and the end point position to a diagonal line as a selection range.
  • the position coordinates of the selection range and the movement path position coordinates of the touch point acquired in the second acquisition module 404 and the third acquisition module 408 are position coordinates with respect to the current display screen.
  • the handwriting is often edited on the currently displayed page as a reference for obtaining the selection range and the position coordinates of the touch point movement trajectory, which is convenient for judging whether or not the selected text is selected, thereby greatly improving the operation efficiency.
  • the position coordinates of the selection range and the movement track position coordinates of the touch point acquired in the second acquisition module 404 and the third acquisition module 408 are position coordinates relative to the current document, and the The position coordinates relative to the current document are converted to position coordinates relative to the current display screen.
  • the manner of obtaining the selection range and the position coordinates of the touch point movement track is suitable for the editing operation of the multi-page document, and the user can perform the corresponding editing operation on the handwriting in the entire document at one time.
  • a second recording module is further included for recording a cursor position
  • the previous cursor position is restored when the user exits the edit command.
  • a second additional module is further included for changing the style of the cursor
  • the previous cursor style is restored when the user exits the edit command.
  • the cursor style is in the form of a brush.

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)

Abstract

一种基于触摸操作的笔迹编辑方法,该方法包括:接收编辑指令(S100);获取触摸点的移动轨迹的位置坐标(S104);获取文字的边界位置坐标,根据该边界位置坐标判断文字的边界范围内是否包含有该触摸点的移动轨迹的位置坐标,若该文字的边界范围内包含有该触摸点的移动轨迹的位置坐标,则选定该文字(S108);对选定的文字进行与该编辑指令对应的编辑(S112)。通过预先获取的编辑指令来对选定的文字直接进行对应于编辑指令的编辑操作,避免了频繁的进行文字的选定和编辑操作的切换问题,可以根据触摸点的移动轨迹的位置变化实时地对文字进行修改,大大提高了对多个不连续的文字进行编辑时的效率。

Description

基于触摸操作的笔迹编辑方法及系统 技术领域
本发明涉及笔迹编辑技术领域,特别是一种涉及基于触摸操作的笔迹编辑方法,以及一种涉及基于触摸操作的笔迹编辑系统。
背景技术
在日常的生活、学习、工作中,人们对基于触摸操作的设备进行笔迹编辑时,通常需要借助光标选定笔迹,然后对选定的笔迹进行相应的编辑操作。例如,改变笔迹的颜色时,首先要借助光标选定部分笔迹,然后调出颜色选择器选取颜色来达到改变笔迹颜色的目的。
对基于触摸操作的设备而言,这种先选定笔迹后进行编辑操作的模式,给用户的操作带来了诸多的不便,尤其是在教学或会议场景下,当需要对多个不连续的笔迹进行突出显示或者着重标记时,频繁的进行笔迹的选定和编辑操作的切换会破坏整个进程的连续性,严重影响教学或者会议的效率。
发明内容
基于此,有必要针对触摸设备在笔迹编辑中存在的频繁进行笔迹的选定和编辑操作的切换问题,提供一种基于触摸操作的笔迹编辑方法。
一种基于触摸操作的笔迹编辑方法,该方法包括:
接收编辑指令;
获取触摸点的移动轨迹的位置坐标;
获取文字的边界位置坐标,根据所述边界位置坐标判断文字的边界范围内是否包含有所述触摸点的移动轨迹的位置坐标,若所述文字的边界范围内包含有所述触摸点的移动轨迹的位置坐标,则选定该文字;
对选定的文字进行与所述编辑指令对应的编辑。
通过预先获取的编辑指令来对选定的文字直接进行对应于编辑指令的编辑操作,避免了频繁的进行文字的选定和编辑操作的切换问题,可以动态地 根据触摸点移动轨迹的位置变化实时地对文字进行编辑,大大提高了对多个不连续的文字进行编辑时的效率,尤其是提高了教学或会议的效率。
还有必要针对触摸设备在笔迹编辑中存在的频繁进行文字的选定和编辑操作的切换问题,提供一种基于触摸操作的笔迹编辑系统。
一种基于触摸操作的笔迹编辑系统,包括第一接收模块、第一获取模块、第一判断模块和第一执行模块:
所述第一接收模块用于接收编辑指令;
所述第一获取模块用于获取触摸点的移动轨迹的位置坐标;
所述第一判断模块用于获取文字的边界位置坐标,根据所述边界位置坐标判断文字的边界范围内是否包含有所述触摸点的移动轨迹的位置坐标,若所述文字的边界范围内包含有所述触摸点的移动轨迹的位置坐标,则选定该文字;
所述第一执行模块用于对选定的文字进行与所述编辑指令对应的编辑。
运用基于触摸操作的笔迹编辑系统进行笔迹编辑时,通过预先获取的编辑指令来对选定的文字直接进行对应于编辑指令的编辑操作,避免了频繁的进行文字的选定和编辑操作的切换问题,可以动态地根据触摸点移动轨迹的位置变化实时地对文字进行编辑,大大提高了对多个不连续的文字进行编辑时的效率,尤其是提高了教学或会议的效率。
基于此,有必要针对触摸设备在笔迹编辑中存在的频繁进行笔迹的选定和编辑操作的切换问题,提供一种基于触摸操作的笔迹编辑方法。
一种基于触摸操作的笔迹编辑方法,该方法包括:
接收编辑指令;
获取触摸点的移动轨迹的位置坐标;
根据所述触摸点的移动轨迹的位置坐标确定选择范围的位置坐标;
对所述选择范围内的笔迹像素点进行与所述编辑指令对应的编辑。
通过预先获取的编辑指令来对书写笔迹确定的选择范围内的笔迹像素点进行对应于编辑指令的编辑操作,避免了频繁的运用选择框框选笔迹和编辑操作的切换问题,可以动态地根据触摸点移动轨迹的位置变化实时地对笔迹 进行编辑,大大提高了对多个不连续的笔迹进行编辑时的效率,尤其是提高了教学或会议的效率。
基于此,还有必要针对触摸设备在笔迹编辑中存在的频繁进行笔迹的选定和编辑操作的切换问题,提供一种基于触摸操作的笔迹编辑系统。
一种基于触摸操作的笔迹编辑系统,包括第二接收模块、第二获取模块、第三获取模块和第二执行模块:
所述第二接收模块用于接收编辑指令;
所述第二获取模块用于获取触摸点的移动轨迹的位置坐标;
所述第三获取模块用于根据所述触摸点的移动轨迹的位置坐标确定选择范围的位置坐标;
所述第二执行模块用于对所述选择范围内的笔迹像素点进行与所述编辑指令对应的编辑。
运用上述的基于触摸操作的笔迹编辑系统,通过预先获取的编辑指令来对书写笔迹确定的选择范围内的笔迹像素点进行对应于编辑指令的编辑操作,避免了频繁的运用选择框框选笔迹和编辑操作的切换问题,可以动态地根据触摸点移动轨迹的位置变化实时地对笔迹进行编辑,大大提高了对多个不连续的笔迹进行编辑时的效率,尤其是提高了教学或会议的效率。
附图说明
图1为本发明基于触摸操作的文字编辑方法的流程图;
图2为本发明一个实施例中基于触摸操作的改变文字颜色方法的流程图;
图3为本发明基于触摸操作的文字编辑系统的结构示意图;
图4为本发明基于触摸操作的笔迹编辑方法的流程图;
图5为本发明基于触摸操作的笔迹编辑系统的结构示意图。
具体实施方式
下面结合附图对本发明的技术方案作更加清楚、完整的说明。
图1为本发明基于触摸操作的文字编辑方法的流程图。如图1所示,一 种基于触摸操作的笔迹编辑方法,该方法包括:
S100:接收编辑指令;
S104:获取触摸点的移动轨迹的位置坐标;
S108:获取文字的边界位置坐标,根据所述边界位置坐标判断文字的边界范围内是否包含有所述触摸点的移动轨迹的位置坐标,若所述文字的边界范围内包含有所述触摸点的移动轨迹的位置坐标,则选定该文字;
S112:对选定的文字进行与所述编辑指令对应的编辑。
通过预先获取的编辑指令来对选定的文字直接进行对应于编辑指令的编辑操作,避免了频繁的进行文字的选定和编辑操作的切换问题,可以动态地根据触摸点移动轨迹的位置变化实时地对文字进行编辑,大大提高了对多个不连续的文字进行编辑时的效率,尤其是提高了教学或会议的效率。
在步骤S100中,所述的编辑指令包括改变文字的颜色、字形或字号、改变文字底纹、对文字加下划线、加粗、斜体、加删除线及突出显示的任意一种。
用户每次调取以上所述的其中任意一个编辑指令,可以根据不同的需求调用不同的编辑指令进行编辑操作。
所述编辑指令优选通过触摸方式触发,例如可通过将所述编辑指令与触摸设备的长按、双击等控制指令绑定,当检测到相应的控制指令时,获取编辑指令。
在一个实施例中,当检测到在文字输入区域中发生长按触摸事件时,调用调色盘显示元素进行显示,当检测到所述调色盘显示元素中相应颜色的区域发生触摸事件时,获取将文字改变成相应颜色的编辑指令。
通过设定编辑指令的触发方式,省略了不必要的操作步骤,便于用户更加方便快捷的操作。在一个实施例中,当检测到在有文字的非空白区域范围内有触点的移动轨迹时,则记录触摸点的移动轨迹的位置坐标。
排除了对没有文字的空白区域或者图片的位置的记录,大大提高了获取触摸点的移动轨迹的位置坐标的有效性。
其中所述的触摸点的移动轨迹可以是点的形式,或者是一条线的形式。
在步骤S108中,文字的边界可以根据文字的字形、字号、字符间距及行间距确定的。
在一个优选的实施方式中,判断是否选中文字包括以下步骤:
获取文字相对于当前显示画面的边界位置坐标及触摸点相对于当前显示画面的移动轨迹的位置坐标;
判断文字的边界范围内是否包含有所述触摸点的移动轨迹的位置坐标,若所述文字的边界范围内包含有所述触摸点的移动轨迹的位置坐标,则选定该文字,否则,不选定。
在教学或者会议情形下,往往在当前显示的页面上对文字进行编辑操作,以此作为获取文字边界及触摸点移动轨迹的位置坐标的基准,便于判断是否选定文字,大大提高运作效率。
在另一个优选的实施方式中,判断是否选中文字包括以下步骤:
获取文字相对于当前文档的位置坐标,将所述相对于当前文档的位置坐标转换为相对于当前显示画面的边界位置坐标,获取触摸点相对于当前显示画面的移动轨迹的位置坐标;
判断文字的边界范围内是否包含有所述触摸点的移动轨迹的位置坐标,若所述文字的边界范围内包含有所述触摸点的移动轨迹的位置坐标,则选定该文字,否则,不选定。
这种判断是否选中文字的方式适用于对多页的文档进行的编辑操作,用户可以一次性的对整个文档内的文字进行相应的编辑操作。
所述的文字的边界可以为矩形边界,所述矩形边界是与相应文字中心对称的矩形。
在一个优选的实施例中,在步骤S112之前还包括以下步骤:将选定的文字放入待修改的文字列表;
则对应于步骤S112包括以下步骤:定时查询所述待修改的文字列表中是否有文字;若有文字,则对所述待修改的文字列表中的文字进行与所述编辑指令对应的编辑。所述待修改的文字列表可以是一个FIFO(先入先出)的缓冲区,将文字按照先入先出的顺序存入FIFO缓冲区中。
例如,对所述待修改的文字列表每秒查询10次,若查询到有文字则对将该文字的颜色改变为指定的颜色。
通过定时查询待修改的文字列表,可以提高编辑操作的有效性,节约时间。
在一个优选的实施例中,在步骤S104之前还包括以下步骤:记录光标位置;
并且,
在步骤S112之后,获取用户输入的退出编辑指令时,恢复之前的光标位置。
若用户正在进行输入文字的操作,记录光标位置,并在用户退出编辑时,恢复到之前的光标位置,用户可以接着进行原来的工作,省去了多余的步骤,节约了时间,大大提高了工作效率。
在一个优选的实施例中,在步骤S104前还包括以下步骤:改变光标的样式;
并且,
在获取用户输入的退出编辑指令时,恢复之前的光标样式。
改变了光标的样式,增加光标的可视化,便于用户的操作。
所述改变后的光标样式可为画刷形式。
所述退出编辑指令可包括检测到步骤S100中的编辑指令再次被触发或者在预定时间内(如10秒内)没有检测到触摸点的移动轨迹。
下面结合图2给出本发明基于触摸操作的改变文字颜色的一个具体的实例,该方法包括以下步骤:
当检测到字体颜色菜单被触发时,显示包含各种颜色的色盘,获取将文字改变成相应颜色的编辑指令;
记录当前的光标位置;
改变光标的样式,例如将光标的样式改变成使用画刷的形式,画刷当前颜色为选定的颜色;
检测到移动触摸点的位置坐标,获取文字的边界位置坐标,根据所述边 界位置坐标判断文字的边界范围内是否包含有所述移动触摸点的位置坐标,若所述文字的边界范围内包含有所述移动触摸点的位置坐标,则选定该文字,并将选定的文字放入所述待修改的文字列表中,若所述文字的边界范围内不包含有所述移动触摸点的位置坐标,则重新选定文字;
定时查询所述待修改的文字列表中是否有文字,若有文字,则将所述待修改的文字列表中的文字改变为当前画刷对应的颜色;
当检测到显示的色盘关闭时,此时恢复当前光标位置,恢复之前的光标样式。
请参阅图3,其为本发明基于触摸操作的文字编辑系统的结构示意图。
一种基于触摸操作的笔迹编辑系统,包括第一接收模块200、第一获取模块204、第一判断模块208和第一执行模块212;
所述第一接收模块200用于接收编辑指令;
所述第一获取模块212用于获取触摸点的移动轨迹的位置坐标;
所述第一判断模块208用于获取文字的边界位置坐标,根据所述边界位置坐标判断文字的边界范围内是否包含有所述触摸点的移动轨迹的位置坐标,若所述文字的边界范围内包含有所述触摸点的移动轨迹的位置坐标,则选定该文字;
所述第一执行模块212用于对选定的文字进行与所述编辑指令对应的编辑。
运用基于触摸操作的笔迹编辑系统进行笔迹编辑时,通过预先获取的编辑指令来对选定的文字直接进行对应于编辑指令的编辑操作,避免了频繁的进行文字的选定和编辑操作的切换问题,可以动态地根据触摸点移动轨迹的位置变化实时地对文字进行编辑,大大提高了对多个不连续的文字进行编辑时的效率,尤其是提高了教学或会议的效率。
第一接收模块200中的编辑指令包括改变文字的颜色、字形或字号、改变文字底纹、对文字加下划线、加粗、斜体、加删除线及突出显示的任意一种。
用户每次调取以上所述的其中任意一个编辑指令,可以根据不同的需求 调用不同的编辑指令进行编辑操作。
所述编辑指令优选通过触摸方式触发,例如可通过将所述编辑指令与触摸设备的长按、双击等控制指令绑定,当检测到相应的控制指令时,获取编辑指令。
在一个实施例中,当检测到在文字输入区域中发生长按触摸事件时,第一接收模块200用于调用调色盘显示元素进行显示,当检测到所述调色盘显示元素中相应颜色的区域发生触摸事件时,第一执行模块212将文字改变成相应颜色的编辑指令。
通过设定编辑指令的触发方式,省略了不必要的操作步骤,便于用户更加方便快捷的操作。在一个实施例中,当检测到在有文字的非空白区域范围内有触点的移动轨迹时,则第一获取模块212记录触摸点的移动轨迹的位置坐标。
排除了对没有文字的空白区域或者图片的位置的记录,大大提高了第一获取模块212获取触摸点的移动轨迹的位置坐标的有效性。
其中所述的触摸点的移动轨迹可以是点的形式,或者是一条线的形式。
第一判断模块208中文字的边界可以是根据文字的字形、字号、字符间距及行间距来确定的。
在一个优选的实施方式中,第一判断模块208进一步用于:
获取文字相对于当前显示画面的边界位置坐标及触摸点相对于当前显示画面的移动轨迹的位置坐标;
判断文字的边界范围内是否包含有所述触摸点的移动轨迹的位置坐标,若所述文字的边界范围内包含有所述触摸点的移动轨迹的位置坐标,则选定该文字,否则,不选定。
在教学或者会议情形下,往往在当前显示的页面上对文字进行编辑操作,以此作为获取文字边界及触摸点移动轨迹的位置坐标的基准,便于判断是否选定文字,大大提高运作效率。
在另一个优选的实施方式中,第一判断模块208进一步用于:
获取文字相对于当前文档的位置坐标,将所述相对于当前文档的位置坐标转换为相对于当前显示画面的边界位置坐标,获取触摸点相对于当前显示画面的移动轨迹的位置坐标;
判断文字的边界范围内是否包含有所述触摸点的移动轨迹的位置坐标,若所述文字的边界范围内包含有所述触摸点的移动轨迹的位置坐标,则选定该文字,否则,不选定。
这种判断是否选中文字的方式适用于对多页文档内的文字进行的编辑操作,用户可以一次性的对整个文档进行相应的编辑操作。
所述的文字的边界为矩形边界,所述矩形边界是与相应文字中心对称的矩形。
在一个优选的实施例中,所述基于触摸操作的笔迹编辑系统还包括第一存储模块,所述第一存储模块用于将选定的文字放入待修改的文字列表:
所述第一执行模块212进一步用于定时查询所述待修改的文字列表中是否有文字;若有文字,则对所述待修改的文字列表中的文字进行与所述编辑指令对应的编辑。所述待修改的文字列表是一个FIFO(先入先出)的缓冲区,将文字按照先入先出的顺序存入FIFO缓冲区中。
例如,对所述待修改的文字列表每秒查询10次,若查询到有文字则对将该文字的颜色改变为指定的颜色。
通过定时查询待修改的文字列表,可以提高编辑操作的有效性,节约时间。
在一个优选的实施例中,还包括第一记录模块,用于记录光标位置;
并且,
在获取用户输入的退出编辑指令时,恢复之前的光标位置。
若用户正在进行输入文字的操作,记录光标位置,并在用户退出编辑时,恢复到之前的光标位置,用户可以接着进行原来的工作,省去了多余的步骤,节约了时间,大大提高了工作效率。
在一个优选的实施例中,还包括第一附加模块,所述第一附加模块用于改变光标的样式,并在获取用户输入的退出编辑指令时,恢复之前的光标样 式
改变了光标的样式,增加光标的可视化,便于用户的操作。
所述改变后的光标样式为画刷形式。
在一个实施例中,退出编辑指令包括检测到第一接收模块200中的编辑指令再次被触发或者第一获取模块212在预定时间内(如10秒内)没有检测到触摸点的移动轨迹。
图4为本发明基于触摸操作的笔迹编辑方法的流程图,一种基于触摸操作的笔迹编辑方法,该方法包括以下步骤:
S300:接收编辑指令;
S304:获取触摸点的移动轨迹的位置坐标;
S308:根据所述触摸点的移动轨迹的位置坐标确定选择范围的位置坐标;
S312:对所述选择范围内的笔迹像素点进行与所述编辑指令对应的编辑。
通过预先获取的编辑指令来对书写笔迹确定的选择范围内的笔迹像素点进行对应于编辑指令的编辑操作,避免了频繁的运用选择框框选笔迹和编辑操作的切换问题,可以动态地根据触摸点移动轨迹的位置变化实时地对笔迹进行编辑,大大提高了对多个不连续的笔迹进行编辑时的效率,尤其是提高了教学或会议的效率。
在步骤S300中,所述的编辑指令包括包括改变笔迹的颜色、字形或字号、加粗、斜体及突出显示的任意一种。
用户每次调取以上所述的其中任意一个编辑指令,可以根据不同的需求调用不同的编辑指令进行编辑操作。
所述编辑指令优选通过触摸方式触发,例如可通过将所述编辑指令与触摸设备的长按、双击等控制指令绑定,当检测到相应的控制指令时,获取编辑指令。
在一个实施例中,当检测到在文字输入区域中发生长按触摸事件时,调用调色盘显示元素进行显示,当检测到所述调色盘显示元素中相应颜色的区域发生触摸事件时,获取将笔迹改变成相应颜色的编辑指令。
通过设定编辑指令的触发方式,省略了不必要的操作步骤,便于用户更 加方便快捷的操作。
其中,所述的触摸点的移动轨迹可以是点的形式,或者是一条线的形式。
在步骤S304中,当检测到在有文字的非空白区域范围内有触点的移动轨迹时,则记录触摸点的移动轨迹的位置坐标。
排除了对没有文字的空白区域或者图片的位置的记录,大大提高了获取触摸点的移动轨迹的位置坐标的有效性。
在步骤S308中,根据所述触摸点的移动轨迹的位置坐标确定选择范围的位置坐标包括以下步骤:
获取所述触摸点的移动轨迹的起点位置坐标和终点位置坐标;
取得所述起点位置和终点位置的横坐标的差值及所述起点位置和终点位置纵坐标的差值;
以所述横坐标的差值作为宽,以所述纵坐标的差值作为高,以所述起点位置和所述终点位置的连线为对角线得到的矩形作为选择范围。
在一个优选的实施例中,获取的所述选择范围的位置坐标及所述触摸点的移动轨迹位置坐标为相对于当前显示画面的位置坐标。
在教学或者会议情形下,往往在当前显示的页面上对笔迹进行编辑操作,以此作为获取选择范围及触摸点移动轨迹的位置坐标的基准,便于判断是否选定文字,大大提高运作效率。
在另一个优选的实施例中,获取的所述选择范围的位置坐标及所述触摸点的移动轨迹位置坐标为相对于当前文档的位置坐标,并将所述相对于当前文档的位置坐标转换为相对于当前显示画面的位置坐标。
这种获取选择范围及触摸点移动轨迹的位置坐标的方式适用于对多页的文档进行的编辑操作,用户可以一次性的对整个文档内的笔迹进行相应的编辑操作。
所述的文字的边界为矩形边界,所述矩形边界是与相应文字中心对称的矩形。
在一个优选的实施例中,在步骤S304之前还包括以下步骤:记录光标位置;
并且,
在获取用户输入的退出编辑指令时,恢复之前的光标位置。
若用户正在进行输入文字的操作,记录光标位置,并在用户退出编辑时,恢复到之前的光标位置,用户可以接着进行原来的工作,省去了多余的步骤,节约了时间,大大提高了工作效率。
在一个优选的实施例中,在步骤S304前还包括以下步骤:改变光标的样式;
并且,
在获取用户输入的退出编辑指令时,恢复之前的光标样式。
改变了光标的样式,增加光标的可视化,便于用户的操作。
所述改变后光标样式为画刷形式。
图5为本发明基于触摸操作的笔迹编辑系统的结构示意图。
一种基于触摸操作的笔迹编辑系统,包括第二接收模块400、第二获取模块404、第三获取模块408、第二执行模块412:
所述第二接收模块400用于接收编辑指令;
所述第二获取模块404用于获取触摸点的移动轨迹的位置坐标;
所述第三获取模块408用于根据所述触摸点的移动轨迹的位置坐标确定选择范围的位置坐标;
所述第二执行模块412用于对所述选择范围内的笔迹像素点进行与所述编辑指令对应的编辑。
通过预先获取的编辑指令来对书写笔迹确定的选择范围内的笔迹像素点进行对应于编辑指令的编辑操作,避免了频繁的运用选择框框选笔迹和编辑操作的切换问题,可以动态地根据触摸点移动轨迹的位置变化实时地对笔迹进行编辑,大大提高了对多个不连续的笔迹进行编辑时的效率,尤其是提高了教学或会议的效率。第二接收模块400中的编辑指令包括改变笔迹的颜色、字形或字号、加粗、斜体及突出显示的任意一种。
用户每次调取以上所述的其中任意一个编辑指令,可以根据不同的需求调用不同的编辑指令进行编辑操作。
所述编辑指令优选通过触摸方式触发,例如可通过将所述编辑指令与触摸设备的长按、双击等控制指令绑定,当检测到相应的控制指令时,获取编辑指令。
在一个实施例中,当检测到在文字输入区域中发生长按触摸事件时,第二接收模块400调用调色盘显示元素进行显示,当检测到所述调色盘显示元素中相应颜色的区域发生触摸事件时,第二执行模块412将笔迹改变成相应颜色的编辑指令。
通过设定编辑指令的触发方式,省略了不必要的操作步骤,便于用户更加方便快捷的操作。
其中,所述的触摸点的移动轨迹可以是点的形式,或者是一条线的形式。
在第二获取模块404中,当检测到在有文字的非空白区域范围内有触点的移动轨迹时,则记录触摸点的移动轨迹的位置坐标。
排除了对没有文字的空白区域或者图片的位置的记录,大大提高了第二获取模块404获取触摸点的移动轨迹的位置坐标的有效性。
在一个实施例中,第三获取模块408进一步包括:
坐标获取模块,用于获取所述触摸点的移动轨迹的起点位置坐标和终点位置坐标;
差值运算模块,用于取得所述起点位置和终点位置的横坐标的差值及所述起点位置和终点位置纵坐标的差值;
范围选择模块,用于将所述横坐标的差值作为宽,所述纵坐标的差值作为高,所述起点位置和所述终点位置的连线为对角线得到的矩形作为选择范围。
在一个优选的实施例中,在第二获取模块404和第三获取模块408中获取的选择范围的位置坐标及触摸点的移动轨迹位置坐标为相对于当前显示画面的位置坐标。
在教学或者会议情形下,往往在当前显示的页面上对笔迹进行编辑操作,以此作为获取选择范围及触摸点移动轨迹的位置坐标的基准,便于判断是否选定文字,大大提高运作效率。
在另一个优选的实施例中,在第二获取模块404和第三获取模块408中获取的选择范围的位置坐标及触摸点的移动轨迹位置坐标为相对于当前文档的位置坐标,并将所述相对于当前文档的位置坐标转换为相对于当前显示画面的位置坐标。
这种获取选择范围及触摸点移动轨迹的位置坐标的方式适用于对多页的文档进行的编辑操作,用户可以一次性的对整个文档内的笔迹进行相应的编辑操作。
在一个优选的实施例中,还包括第二记录模块,用于记录光标位置;
并且,
在获取用户输入的退出编辑指令时,恢复之前的光标位置。
若用户正在进行输入文字的操作,记录光标位置,并在用户退出编辑时,恢复到之前的光标位置,用户可以接着进行原来的工作,省去了多余的步骤,节约了时间,大大提高了工作效率。
在一个优选的实施例中,还包括第二附加模块,用于改变光标的样式;
并且,
在获取用户输入的退出编辑指令时,恢复之前的光标样式。
改变了光标的样式,增加光标的可视化,便于用户的操作。
改变后光标样式为画刷形式。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。

Claims (11)

  1. 一种基于触摸操作的笔迹编辑方法,其特征在于,该方法包括:
    接收编辑指令;
    获取触摸点的移动轨迹的位置坐标;
    获取文字的边界位置坐标,根据所述边界位置坐标判断文字的边界范围内是否包含有所述触摸点的移动轨迹的位置坐标,若所述文字的边界范围内包含有所述触摸点的移动轨迹的位置坐标,则选定该文字;
    对选定的文字进行与所述编辑指令对应的编辑。
  2. 根据权利要求1所述的基于触摸操作的笔迹编辑方法,其特征在于,对选定的文字进行与所述编辑指令对应的编辑前,还包括将选定的文字放入待修改的文字列表;
    对选定的文字进行与所述编辑指令对应的编辑包括:定时查询所述待修改的文字列表中是否有文字,若有文字,则对所述待修改的文字列表中的文字进行与所述编辑指令对应的编辑。
  3. 根据权利要求1所述的基于触摸操作的笔迹编辑方法,其特征在于,接收编辑指令后,还包括以下步骤:
    改变光标的样式;
    并且,
    在获取到用户输入的退出编辑指令时,恢复之前的光标样式。
  4. 根据权利要求1所述的基于触摸操作的笔迹编辑方法,其特征在于,所述编辑指令为调取色盘上指定的颜色,对选定的文字进行与所述编辑指令对应的编辑操作为将选定的文字的颜色改变为色盘上获取的指定颜色。
  5. 一种基于触摸操作的笔迹编辑系统,其特征在于,包括第一接收模块、第一获取模块、第一判断模块和第一执行模块:
    所述第一接收模块用于接收编辑指令;
    所述第一获取模块用于获取触摸点的移动轨迹的位置坐标;
    所述第一判断模块用于获取文字的边界位置坐标,根据所述边界位置坐标判断文字的边界范围内是否包含有所述触摸点的移动轨迹的位置坐标,若 所述文字的边界范围内包含有所述触摸点的移动轨迹的位置坐标,则选定该文字;
    所述第一执行模块用于对选定的文字进行与所述编辑指令对应的编辑。
  6. 根据权利要求5所述的基于触摸操作的笔迹编辑系统,其特征在于,还包括第一存储模块,所述第一存储模块用于将选定的文字放入待修改的文字列表;
    所述第一执行模块进一步用于定时查询所述待修改的文字列表中是否有文字,若有文字,则对所述待修改的文字列表中的文字进行与所述编辑指令对应的编辑。
  7. 根据权利要求5所述的基于触摸操作的笔迹编辑系统,其特征在于,还包括第一附加模块,所述第一附加模块用于改变光标的样式,并在获取用户输入的退出编辑指令时,恢复之前的光标样式。
  8. 一种基于触摸操作的笔迹编辑方法,其特征在于,该方法包括:
    接收编辑指令;
    获取触摸点的移动轨迹的位置坐标;
    根据所述触摸点的移动轨迹的位置坐标确定选择范围的位置坐标;
    对所述选择范围内的笔迹像素点进行与所述编辑指令对应的编辑。
  9. 根据权利要求8所述的基于触摸操作的笔迹编辑方法,其特征在于,根据所述触摸点的移动轨迹的位置坐标确定选择范围的位置坐标包括以下步骤:
    获取所述触摸点的移动轨迹的起点位置坐标和终点位置坐标;
    取得所述起点位置和终点位置的横坐标的差值及所述起点位置和终点位置纵坐标的差值;
    将所述横坐标的差值作为宽,所述纵坐标的差值作为高,所述起点位置和所述终点位置的连线为对角线得到的矩形作为所述选择范围。
  10. 一种基于触摸操作的笔迹编辑系统,其特征在于,包括第二接收模块、第二获取模块、第三获取模块和第二执行模块:
    所述第二接收模块用于接收编辑指令;
    所述第二获取模块用于获取触摸点的移动轨迹的位置坐标;
    所述第三获取模块用于根据所述触摸点的移动轨迹的位置坐标确定选择范围的位置坐标;
    所述第二执行模块用于对所述选择范围内的笔迹像素点进行与所述编辑指令对应的编辑。
  11. 根据权利要求10所述的基于触摸操作的笔迹编辑系统,其特征在于,所述第三获取模块包括:
    坐标获取模块,用于获取所述触摸点的移动轨迹的起点位置坐标和终点位置坐标;
    差值运算模块,用于取得所述起点位置和终点位置的横坐标的差值及所述起点位置和终点位置纵坐标的差值;
    范围选择模块,用于将所述横坐标的差值作为宽,所述纵坐标的差值作为高,所述起点位置和所述终点位置的连线为对角线得到的矩形作为选择范围。
PCT/CN2016/090716 2015-08-11 2016-07-20 基于触摸操作的笔迹编辑方法及系统 WO2017024929A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510491264.6A CN105094564A (zh) 2015-08-11 2015-08-11 基于触摸操作的笔迹编辑方法及系统
CN201510491264.6 2015-08-11

Publications (1)

Publication Number Publication Date
WO2017024929A1 true WO2017024929A1 (zh) 2017-02-16

Family

ID=54575148

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/090716 WO2017024929A1 (zh) 2015-08-11 2016-07-20 基于触摸操作的笔迹编辑方法及系统

Country Status (2)

Country Link
CN (1) CN105094564A (zh)
WO (1) WO2017024929A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094564A (zh) * 2015-08-11 2015-11-25 广州视睿电子科技有限公司 基于触摸操作的笔迹编辑方法及系统
US11402991B2 (en) * 2015-12-01 2022-08-02 Myscript System and method for note taking with gestures
CN106951166B (zh) * 2016-01-06 2019-08-30 北大方正集团有限公司 笔迹绘制方法及装置
US9904447B2 (en) * 2016-01-08 2018-02-27 Microsoft Technology Licensing, Llc Universal inking support
CN105718138A (zh) * 2016-01-15 2016-06-29 百度在线网络技术(北京)有限公司 一种在移动终端中用于确定光标位置的方法和装置
KR101920332B1 (ko) * 2017-01-06 2018-11-20 김찬기 터치스크린을 포함하는 스마트 디바이스 상에서의 문자 편집 방법 및 이를 구현한 스마트 디바이스
CN107632760B (zh) * 2017-08-21 2019-12-17 广州视源电子科技股份有限公司 书写笔迹圈选方法及装置、触摸设备、可读存储介质
CN114610188B (zh) * 2022-02-09 2024-02-13 广东能龙教育股份有限公司 一种界面笔迹书写方法及系统、控制装置、存储介质
CN114692591A (zh) * 2022-04-29 2022-07-01 北京邮电大学 一种选择文字以及编辑文字的方法

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662558A (zh) * 2012-03-13 2012-09-12 中兴通讯股份有限公司 文字选中方法与装置及电子设备
CN102866827A (zh) * 2012-08-21 2013-01-09 刘炳林 一种人机交互设备的文档编辑方法和装置
CN102981765A (zh) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 一种文本处理方法及终端
CN103116461A (zh) * 2013-01-25 2013-05-22 中兴通讯股份有限公司 一种基于触摸屏的字符处理方法及终端
US20140136969A1 (en) * 2012-11-14 2014-05-15 International Business Machines Corporation Range adjustment for text editing
CN104391641A (zh) * 2014-09-22 2015-03-04 贵阳朗玛信息技术股份有限公司 信息处理方法及装置
CN105094564A (zh) * 2015-08-11 2015-11-25 广州视睿电子科技有限公司 基于触摸操作的笔迹编辑方法及系统

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1414806A (zh) * 2001-10-24 2003-04-30 英业达股份有限公司 编辑短信息的方法
US20080052619A1 (en) * 2006-08-24 2008-02-28 Illg Jason J Spell Checking Documents with Marked Data Blocks
WO2011148210A1 (en) * 2010-05-25 2011-12-01 Sony Ericsson Mobile Communications Ab A user interface for a touch sensitive display on an electronic device
CN102455869B (zh) * 2011-09-29 2014-10-22 北京壹人壹本信息科技有限公司 一种利用手势编辑文字的方法及装置
CN102722334B (zh) * 2012-06-06 2016-02-24 中兴通讯股份有限公司 触摸屏幕的控制方法及装置
KR20140016707A (ko) * 2012-07-31 2014-02-10 주식회사 인프라웨어 터치디스플레이 기반의 펜 드로잉의 교정부호 입력을 이용한 문서수정 방법, 그리고 이를 위한 펜 드로잉 기반 문서교정 프로그램을 기록한 컴퓨터로 판독가능한 기록매체
CN103777774B (zh) * 2014-01-16 2018-03-16 宇龙计算机通信科技(深圳)有限公司 终端装置及输入法的文字纠错方法
CN104636321B (zh) * 2015-02-28 2018-01-16 广东欧珀移动通信有限公司 文本显示方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662558A (zh) * 2012-03-13 2012-09-12 中兴通讯股份有限公司 文字选中方法与装置及电子设备
CN102866827A (zh) * 2012-08-21 2013-01-09 刘炳林 一种人机交互设备的文档编辑方法和装置
US20140136969A1 (en) * 2012-11-14 2014-05-15 International Business Machines Corporation Range adjustment for text editing
CN102981765A (zh) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 一种文本处理方法及终端
CN103116461A (zh) * 2013-01-25 2013-05-22 中兴通讯股份有限公司 一种基于触摸屏的字符处理方法及终端
CN104391641A (zh) * 2014-09-22 2015-03-04 贵阳朗玛信息技术股份有限公司 信息处理方法及装置
CN105094564A (zh) * 2015-08-11 2015-11-25 广州视睿电子科技有限公司 基于触摸操作的笔迹编辑方法及系统

Also Published As

Publication number Publication date
CN105094564A (zh) 2015-11-25

Similar Documents

Publication Publication Date Title
WO2017024929A1 (zh) 基于触摸操作的笔迹编辑方法及系统
CN106776514B (zh) 一种批注方法及装置
CN108182183B (zh) 图片文字翻译方法、应用及计算机设备
CN108334486B (zh) 表格控制方法、装置、设备及存储介质
CN104360788B (zh) 透明标注方法和桌面书写控制方法
KR101673068B1 (ko) 텍스트 선택 및 엔터
US9360955B2 (en) Text entry for electronic devices
US20140310638A1 (en) Apparatus and method for editing message in mobile terminal
CN104111787B (zh) 一种在触摸屏界面上实现文本编辑的方法和装置
CN104360808A (zh) 一种利用符号手势指令进行文档编辑的方法及装置
US20170139575A1 (en) Data entering method and terminal
US20140189482A1 (en) Method for manipulating tables on an interactive input system and interactive input system executing the method
US20140049513A1 (en) Terminal and method for inputting to terminal using two opposite ends of stylus
JP6448639B2 (ja) テキスト選択方法、装置および端末
CN110109590B (zh) 一种自动阅读的方法及设备
US9747267B2 (en) Document editing synchronization
US10453425B2 (en) Information displaying apparatus and information displaying method
JP2014092902A (ja) 電子機器および手書き文書処理方法
CN104951193B (zh) 菜单显示方法及装置
CN105302464B (zh) 一种对流式文档进行划线的系统及方法
WO2021068412A1 (zh) 智能交互平板的交互方法、装置、终端设备和存储介质
CN111159975B (zh) 一种显示方法及装置
CN105739781A (zh) 通过压力触控技术快速精准定位文字光标的方法及系统
CN104408042A (zh) 显示终端中的对话语音对应的文本的方法和装置
CN114063841A (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: 16834553

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: 16834553

Country of ref document: EP

Kind code of ref document: A1