CN112181263B - Touch screen painting operation response method, device and computing equipment - Google Patents
Touch screen painting operation response method, device and computing equipment Download PDFInfo
- Publication number
- CN112181263B CN112181263B CN201910591004.4A CN201910591004A CN112181263B CN 112181263 B CN112181263 B CN 112181263B CN 201910591004 A CN201910591004 A CN 201910591004A CN 112181263 B CN112181263 B CN 112181263B
- Authority
- CN
- China
- Prior art keywords
- point
- touch
- coordinates
- drawn
- touch point
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
- G06F3/04883—Interaction 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 for inputting data by handwriting, e.g. gesture or text
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
Description
技术领域Technical Field
本发明涉及计算机技术领域,具体涉及一种触摸屏的绘画操作响应方法、装置及计算设备。The present invention relates to the field of computer technology, and in particular to a method, device and computing equipment for responding to a painting operation of a touch screen.
背景技术Background technique
如今,大量的终端设备均可支持安装绘画软件并进行绘画操作,或者支持在网页上进行诸如划线、颜色填充、擦除等绘画操作,其中,包括通过鼠标或触摸板进行的绘画操作。并且,随着便携式移动终端的发展,大量移动终端配置有支持触摸的屏幕,例如,手机、平板等屏幕均可直接使用手指进行绘画操作。Nowadays, a large number of terminal devices can support the installation of painting software and painting operations, or support painting operations such as drawing, color filling, erasing, etc. on web pages, including painting operations performed by a mouse or touch pad. In addition, with the development of portable mobile terminals, a large number of mobile terminals are equipped with touch-enabled screens, for example, mobile phones, tablets, etc., can be directly painted using fingers.
然而,当用手指在触摸屏上进行绘画操作时,往往由于触摸点被手指挡住,而无法精确的控制绘画轨迹,进一步会导致线条连接、橡皮擦除等有偏差,影响绘画操作的效果。However, when drawing on a touch screen with a finger, the drawing trajectory cannot be accurately controlled because the touch point is often blocked by the finger, which further causes deviations in line connection, eraser erasure, etc., affecting the effect of the drawing operation.
发明内容Summary of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的触摸屏的绘画操作响应方法、装置及计算设备。In view of the above problems, the present invention is proposed to provide a method, apparatus and computing device for responding to a painting operation of a touch screen that overcome the above problems or at least partially solve the above problems.
根据本发明的一个方面,提供了一种触摸屏的绘画操作响应方法,包括:According to one aspect of the present invention, a method for responding to a painting operation of a touch screen is provided, comprising:
监控绘画操作行为的触摸点;Monitor touch points for painting operations;
根据所述绘画操作行为的触摸点的坐标,计算偏离于所述触摸点的待绘制点的坐标;Calculating the coordinates of the point to be drawn that deviates from the touch point according to the coordinates of the touch point of the drawing operation;
根据待绘制点的坐标,在相应位置执行绘画操作。According to the coordinates of the point to be drawn, the drawing operation is performed at the corresponding position.
可选的,所述根据所述绘画操作行为的触摸点的坐标,计算偏离于所述触摸点的待绘制点的坐标进一步包括:Optionally, the calculating, according to the coordinates of the touch point of the drawing operation, the coordinates of the point to be drawn that deviates from the touch point further comprises:
根据所述绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,计算偏离于所述触摸点的待绘制点的坐标。The coordinates of the point to be drawn that deviates from the touch point are calculated according to the coordinates of the touch point of the drawing operation at time t and the coordinates of the touch point at time t-1.
可选的,所述根据所述绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,计算偏离于所述触摸点的待绘制点的坐标进一步包括:Optionally, the calculating the coordinates of the point to be drawn that deviates from the touch point according to the coordinates of the touch point of the painting operation at time t and the coordinates of the touch point at time t-1 further includes:
根据所述绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,确定待绘制点所在的偏离方向;Determine the deviation direction of the point to be drawn according to the coordinates of the touch point at time t and the coordinates of the touch point at time t-1 of the drawing operation;
根据所述偏离方向和预设偏移距离计算偏离于所述t-1时刻的触摸点的待绘制点的坐标。The coordinates of the point to be drawn that deviates from the touch point at the time t-1 are calculated according to the deviation direction and the preset offset distance.
可选的,在所述根据所述偏离方向和预设偏移距离计算偏离于所述t-1时刻的触摸点的待绘制点的坐标之前,所述方法还包括:Optionally, before calculating the coordinates of the point to be drawn that deviates from the touch point at time t-1 according to the deviation direction and the preset offset distance, the method further includes:
根据触摸点的触摸区域的大小设置预设偏移距离,其中,所述预设偏移距离与触摸区域的大小成正比。The preset offset distance is set according to the size of the touch area of the touch point, wherein the preset offset distance is proportional to the size of the touch area.
可选的,所述根据所述绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,计算偏离于所述触摸点的待绘制点的坐标进一步包括:Optionally, the calculating the coordinates of the point to be drawn that deviates from the touch point according to the coordinates of the touch point of the painting operation at time t and the coordinates of the touch point at time t-1 further includes:
根据所述绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,确定t时刻的触摸点相较于t-1时刻的触摸点的相对位置;Determine a relative position of the touch point at time t compared to the touch point at time t-1 according to the coordinates of the touch point at time t of the painting operation and the coordinates of the touch point at time t-1;
根据所述相对位置和对应t-1时刻的待绘制点的坐标,计算偏离于所述触摸点的待绘制点的坐标。The coordinates of the point to be drawn that deviates from the touch point are calculated according to the relative position and the coordinates of the point to be drawn corresponding to the time t-1.
可选的,在所述根据所述相对位置和对应t-1时刻的待绘制点的坐标,计算偏离于所述触摸点的待绘制点的坐标之前,所述方法还包括:Optionally, before calculating the coordinates of the point to be drawn that deviates from the touch point according to the relative position and the coordinates of the point to be drawn at the corresponding time t-1, the method further includes:
根据所述绘画操作行为的第一个触摸点的坐标,确定第一个待绘制点的坐标。The coordinates of the first point to be drawn are determined according to the coordinates of the first touch point of the drawing operation.
可选的,所述方法还包括:预设基准方向;Optionally, the method further comprises: presetting a reference direction;
所述根据所述绘画操作行为的触摸点的坐标,计算偏离于所述触摸点的待绘制点的坐标进一步包括:The calculating, according to the coordinates of the touch point of the drawing operation, the coordinates of the point to be drawn that deviates from the touch point further comprises:
根据所述绘画操作行为的触摸点的坐标,在基准方向上计算与所述触摸点之间的距离为预设偏移距离的待绘制点的坐标。According to the coordinates of the touch point of the drawing operation, the coordinates of the point to be drawn whose distance from the touch point is a preset offset distance are calculated in a reference direction.
可选的,所述方法还包括:Optionally, the method further includes:
检测触摸点在屏幕上的触摸区域,根据所述触摸区域的大小判断绘画操作行为是否为手指触摸行为;Detecting a touch area of the touch point on the screen, and judging whether the painting operation behavior is a finger touch behavior according to the size of the touch area;
所述监控绘画操作行为的触摸点具体为:若绘画操作行为为手指触摸行为,则监控绘画操作行为的触摸点。The monitoring of the touch points of the painting operation behavior is specifically: if the painting operation behavior is a finger touch behavior, then monitoring the touch points of the painting operation behavior.
根据本发明的另一方面,提供了一种触摸屏的绘画操作响应装置,包括:According to another aspect of the present invention, there is provided a painting operation response device for a touch screen, comprising:
监控模块,适于监控绘画操作行为的触摸点;A monitoring module, adapted to monitor touch points of painting operation behaviors;
计算模块,适于根据所述绘画操作行为的触摸点的坐标,计算偏离于所述触摸点的待绘制点的坐标;A calculation module, adapted to calculate the coordinates of a point to be drawn that deviates from the touch point according to the coordinates of the touch point of the drawing operation;
绘制模块,适于根据待绘制点的坐标,在相应位置执行绘画操作。The drawing module is adapted to perform drawing operations at corresponding positions according to the coordinates of the points to be drawn.
可选的,所述计算模块进一步适于:Optionally, the calculation module is further adapted to:
根据所述绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,计算偏离于所述触摸点的待绘制点的坐标。The coordinates of the point to be drawn that deviates from the touch point are calculated according to the coordinates of the touch point of the drawing operation at time t and the coordinates of the touch point at time t-1.
可选的,所述计算模块进一步适于:Optionally, the calculation module is further adapted to:
根据所述绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,确定待绘制点所在的偏离方向;Determine the deviation direction of the point to be drawn according to the coordinates of the touch point at time t and the coordinates of the touch point at time t-1 of the drawing operation;
根据所述偏离方向和预设偏移距离计算偏离于所述t-1时刻的触摸点的待绘制点的坐标。The coordinates of the point to be drawn that deviates from the touch point at the time t-1 are calculated according to the deviation direction and the preset offset distance.
可选的,所述装置还包括:Optionally, the device further comprises:
设置模块,适于根据触摸点的触摸区域的大小设置预设偏移距离,其中,所述预设偏移距离与触摸区域的大小成正比。The setting module is adapted to set a preset offset distance according to the size of the touch area of the touch point, wherein the preset offset distance is proportional to the size of the touch area.
可选的,所述计算模块进一步适于:Optionally, the calculation module is further adapted to:
根据所述绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,确定t时刻的触摸点相较于t-1时刻的触摸点的相对位置;Determine a relative position of the touch point at time t compared to the touch point at time t-1 according to the coordinates of the touch point at time t of the painting operation and the coordinates of the touch point at time t-1;
根据所述相对位置和对应t-1时刻的待绘制点的坐标,计算偏离于所述触摸点的待绘制点的坐标。The coordinates of the point to be drawn that deviates from the touch point are calculated according to the relative position and the coordinates of the point to be drawn corresponding to the time t-1.
可选的,所述装置还包括:Optionally, the device further comprises:
初始化模块,适于根据所述绘画操作行为的第一个触摸点的坐标,确定第一个待绘制点的坐标。The initialization module is adapted to determine the coordinates of the first point to be drawn according to the coordinates of the first touch point of the drawing operation.
可选的,所述装置还包括:设置模块,适于预设基准方向;Optionally, the device further comprises: a setting module, adapted to preset a reference direction;
所述计算模块进一步适于:根据所述绘画操作行为的触摸点的坐标,在基准方向上计算与所述触摸点之间的距离为预设偏移距离的待绘制点的坐标。The calculation module is further adapted to calculate, according to the coordinates of the touch point of the drawing operation, the coordinates of a point to be drawn whose distance from the touch point is a preset offset distance in a reference direction.
可选的,所述装置还包括:Optionally, the device further comprises:
判断模块,适于检测触摸点在屏幕上的触摸区域,根据所述触摸区域的大小判断绘画操作行为是否为手指触摸行为;A judgment module, adapted to detect a touch area of a touch point on the screen, and judge whether the painting operation behavior is a finger touch behavior according to the size of the touch area;
所述检测模块进一步适于:若绘画操作行为为手指触摸行为,则监控绘画操作行为的触摸点。The detection module is further adapted to monitor the touch point of the painting operation if the painting operation is a finger touch.
根据本发明的又一方面,提供了一种计算设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;According to another aspect of the present invention, there is provided a computing device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行上述触摸屏的绘画操作响应方法对应的操作。The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute an operation corresponding to the above-mentioned touch screen painting operation response method.
根据本发明的再一方面,提供了一种计算机存储介质,所述存储介质中存储有至少一可执行指令,所述可执行指令使处理器执行如上述触摸屏的绘画操作响应方法对应的操作。According to another aspect of the present invention, a computer storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute an operation corresponding to the above-mentioned touch screen painting operation response method.
根据本发明的触摸屏的绘画操作响应方法、装置及计算设备,针对绘画操作行为的每个触摸点,在偏离该触摸点的位置确定待绘制点,并通过待绘制点的连接在偏离绘画轨迹的位置实现同步绘制,避免因绘画轨迹被遮挡而影响用户对绘画轨迹的控制。由此可见,本发明方案,可通过在偏离绘画轨迹的位置进行同步绘制,使用户根据该同步绘制的轨迹对绘画操作行为进行精准控制。According to the method, device and computing device for responding to painting operations of a touch screen of the present invention, for each touch point of the painting operation behavior, a point to be drawn is determined at a position deviating from the touch point, and synchronous drawing is achieved at a position deviating from the painting trajectory by connecting the points to be drawn, so as to avoid affecting the user's control of the painting trajectory due to the obstruction of the painting trajectory. It can be seen that the scheme of the present invention can enable the user to accurately control the painting operation behavior according to the trajectory of the synchronous drawing by performing synchronous drawing at a position deviating from the painting trajectory.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
图1示出了根据本发明一个实施例的触摸屏的绘画操作响应方法的流程图;FIG1 is a flow chart showing a method for responding to a painting operation of a touch screen according to an embodiment of the present invention;
图2示出了根据本发明另一个实施例的触摸屏的绘画操作响应方法的流程图;FIG2 shows a flow chart of a method for responding to a painting operation of a touch screen according to another embodiment of the present invention;
图3示出了本发明一个具体实施例中利用方式一计算待绘制点的坐标的示意图;FIG3 is a schematic diagram showing a method of calculating the coordinates of a point to be drawn by using method 1 in a specific embodiment of the present invention;
图4示出了一个具体实施例中触摸屏的绘画操作响应的效果示意图;FIG4 is a schematic diagram showing the effect of a painting operation response of a touch screen in a specific embodiment;
图5示出了根据本发明又一个实施例的触摸屏的绘画操作响应方法的流程图;FIG5 shows a flow chart of a method for responding to a painting operation of a touch screen according to yet another embodiment of the present invention;
图6示出了根据本发明一个实施例的触摸屏的绘画操作响应装置的功能框图;FIG6 shows a functional block diagram of a painting operation response device of a touch screen according to an embodiment of the present invention;
图7示出了根据本发明实施例的一种计算设备的结构示意图。FIG. 7 shows a schematic diagram of the structure of a computing device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
图1示出了根据本发明一个实施例的触摸屏的绘画操作响应方法的流程图。如图1所示,该方法包括:FIG1 shows a flow chart of a method for responding to a painting operation of a touch screen according to an embodiment of the present invention. As shown in FIG1 , the method includes:
步骤S101:监控绘画操作行为的触摸点。Step S101: monitoring the touch points of the painting operation.
本发明方案,主要是在触摸屏中执行绘画操作行为时,在该触摸屏中偏离绘画轨迹的位置,同步绘制与该绘画轨迹相同的同步轨迹,避免以绘画轨迹被手指遮挡而影响用户的绘画控制。The scheme of the present invention mainly draws a synchronous trajectory identical to the drawing trajectory at a position deviating from the drawing trajectory in the touch screen when performing a drawing operation in the touch screen, so as to avoid affecting the user's drawing control due to the drawing trajectory being blocked by the finger.
其中,触摸点指执行绘画操作行为的过程中与触摸屏接触的像素点。The touch point refers to a pixel point that contacts the touch screen during the drawing operation.
通过监控绘画操作行为的触摸点,可确定绘画操作行为的绘画轨迹,进而便于在偏离该绘画轨迹的相应位置进行同步绘制。By monitoring the touch points of the painting operation, the painting trajectory of the painting operation can be determined, thereby facilitating synchronous drawing at corresponding positions deviating from the painting trajectory.
步骤S102:根据绘画操作行为的触摸点的坐标,计算偏离于触摸点的待绘制点的坐标。Step S102: Calculate the coordinates of the point to be drawn that deviates from the touch point according to the coordinates of the touch point of the drawing operation.
其中,待绘制点与绘画操作行为的触摸点具有对应关系,针对绘画操作行为中涉及的每个触摸点,均需计算出对应的待绘制点的坐标,但是本发明并不限定具体的计算方式,本领域技术人员可以理解的是,凡是可以确定出与触摸点具有固定对应关系的计算方式,均包含在本发明范围内。Among them, there is a corresponding relationship between the point to be drawn and the touch point of the painting operation behavior. For each touch point involved in the painting operation behavior, the coordinates of the corresponding point to be drawn need to be calculated, but the present invention does not limit the specific calculation method. It can be understood by those skilled in the art that any calculation method that can determine a fixed corresponding relationship with the touch point is included in the scope of the present invention.
具体地,触摸点的坐标反映出在触摸屏上的触摸位置,根据该触摸位置计算触摸屏上偏离该触摸位置的待绘制点的坐标,则可在偏离触摸点的位置确定出不被遮挡的、且与绘画操作行为涉及的触摸点相对应的待绘制点。Specifically, the coordinates of the touch point reflect the touch position on the touch screen. The coordinates of the point to be drawn on the touch screen that deviates from the touch position are calculated based on the touch position. Then, the point to be drawn that is not obstructed and corresponds to the touch point involved in the painting operation can be determined at the position deviating from the touch point.
步骤S103:根据待绘制点的坐标,在相应位置执行绘画操作。Step S103: performing a drawing operation at a corresponding position according to the coordinates of the point to be drawn.
通过将当前计算出的待绘制点的坐标所在位置与前一时刻计算出的待绘制点的坐标所在位置进行连接,可实现绘画轨迹的同步绘制。By connecting the coordinate position of the currently calculated point to be drawn with the coordinate position of the point to be drawn calculated at the previous moment, synchronous drawing of the drawing trajectory can be achieved.
举例来说,在用户执行绘画操作行为的过程中,根据实时检测到的新的触摸点的坐标,在偏离该触摸点一定距离的位置确定出相对应的待绘制点,然后通过待绘制点的连接,可绘制出与绘画轨迹一致的同步轨迹。For example, when a user is performing a drawing operation, the corresponding point to be drawn is determined at a certain distance from the touch point based on the coordinates of the new touch point detected in real time, and then a synchronous trajectory consistent with the drawing trajectory can be drawn by connecting the points to be drawn.
根据本实施例提供的触摸屏的绘画操作响应方法,针对绘画操作行为的每个触摸点,在偏离该触摸点的位置确定待绘制点,并通过待绘制点的连接在偏离绘画轨迹的位置实现同步绘制,避免因绘画轨迹被遮挡而影响用户对绘画轨迹的控制。由此可见,本发明方案,可通过在偏离绘画轨迹的位置进行同步绘制,使用户根据该同步绘制的轨迹对绘画操作行为进行精准控制。According to the touch screen painting operation response method provided by this embodiment, for each touch point of the painting operation behavior, a point to be drawn is determined at a position deviating from the touch point, and synchronous drawing is achieved at a position deviating from the painting trajectory through the connection of the points to be drawn, so as to avoid affecting the user's control of the painting trajectory due to the obstruction of the painting trajectory. It can be seen that the scheme of the present invention can enable the user to accurately control the painting operation behavior according to the trajectory of the synchronous drawing by performing synchronous drawing at a position deviating from the painting trajectory.
图2示出了根据本发明另一个实施例的触摸屏的绘画操作响应方法的流程图。在该实施例中,根据连续两个时刻检测到的触摸点的坐标,来计算待绘制点的坐标。如图2所示,该方法包括:FIG2 shows a flow chart of a method for responding to a painting operation of a touch screen according to another embodiment of the present invention. In this embodiment, the coordinates of the point to be drawn are calculated based on the coordinates of the touch points detected at two consecutive moments. As shown in FIG2 , the method includes:
步骤S201:检测触摸点在屏幕上的触摸区域,根据触摸区域的大小判断绘画操作行为是否为手指触摸行为;若绘画操作行为为手指触摸行为,则监控绘画操作行为的触摸点。Step S201: Detect the touch area of the touch point on the screen, and determine whether the painting operation is a finger touch according to the size of the touch area; if the painting operation is a finger touch, monitor the touch point of the painting operation.
本实施例方案,通过触摸区域的大小确定绘画操作行为是否为手指触摸行为,实际中,手指绘画往往比通过绘画笔等工具绘画时的触摸区域大,当触摸区域包含的像素点超过预设数量时,则判定绘画操作行为为手指触摸行为,则可针对该手指触摸行为进行触摸屏的绘画操作响应,以在偏离绘画轨迹的位置进行同步绘制。In this embodiment, whether the painting operation is a finger touch behavior is determined by the size of the touch area. In practice, finger painting is often larger than the touch area when painting with tools such as a painting pen. When the number of pixels contained in the touch area exceeds a preset number, the painting operation is determined to be a finger touch behavior. The touch screen can then respond to the finger touch operation to perform synchronous drawing at a position that deviates from the painting trajectory.
具体地,用户可通过选择触摸屏上的绘画工具,然后通过手指进行相应的绘画操作,例如,选择橡皮擦并通过手指涂抹来进行擦除。当判定出绘画操作行为为手指触摸行为时,则监控绘画操作行为的触摸点,其中,触摸点随着绘画操作行为的执行而不断变化,相应的,可按预设时间间隔检测新的触摸点,例如,每隔5毫秒进行一次检测。Specifically, the user can select a drawing tool on the touch screen and then perform a corresponding drawing operation with a finger, for example, select an eraser and erase with a finger. When the drawing operation behavior is determined to be a finger touch behavior, the touch point of the drawing operation behavior is monitored, wherein the touch point changes continuously as the drawing operation behavior is performed, and accordingly, a new touch point can be detected at a preset time interval, for example, once every 5 milliseconds.
步骤S202:根据绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,计算偏离于触摸点的待绘制点的坐标。Step S202: Calculate the coordinates of the point to be drawn that deviates from the touch point according to the coordinates of the touch point at time t and the coordinates of the touch point at time t-1 during the painting operation.
其中,t时刻的触摸点是指当前时刻绘画操作行为在触摸屏上的接触点;t-1时刻的触摸点是指距离当前时刻最近的前一时刻检测到的绘画操作行为在触摸屏上的接触点。The touch point at time t refers to the contact point of the painting operation on the touch screen at the current time; the touch point at time t-1 refers to the contact point of the painting operation on the touch screen detected at the previous time closest to the current time.
具体地,t时刻和t-1时刻对应的两个触摸点的坐标,可反映出在t-1时刻至t时刻的时间间隔内的绘画线段,每当检测到新的触摸点,根据该绘画线段计算待绘制点的坐标,使待绘制点的坐标与该绘画线段的相对位置为一种固定的情况,可选的,使待绘制点到绘画线段的距离为一定值,或者,使待绘制点与前一时刻确定的待绘制点的连线与绘画线段的轨迹相同,例如,倾斜角度以及线段距离均相同。Specifically, the coordinates of the two touch points corresponding to time t and time t-1 can reflect the drawing line segment within the time interval from time t-1 to time t. Whenever a new touch point is detected, the coordinates of the point to be drawn are calculated based on the drawing line segment, so that the relative position of the coordinates of the point to be drawn and the drawing line segment is fixed. Optionally, the distance from the point to be drawn to the drawing line segment is a certain value, or the line connecting the point to be drawn and the point to be drawn determined at the previous moment is the same as the trajectory of the drawing line segment, for example, the inclination angle and the line segment distance are the same.
进一步的,可在每当检测到新的触摸点后,通过如下方式中的一种,根据t时刻和t-1时刻对应的两个触摸点的坐标,计算偏离于触摸点的待绘制点的坐标。Furthermore, each time a new touch point is detected, the coordinates of the point to be drawn that deviates from the touch point can be calculated according to the coordinates of the two touch points corresponding to time t and time t-1 in one of the following ways.
方式一:根据绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,确定待绘制点所在的偏离方向;其中,该偏离方向表明了待绘制点所在的距离直线,以及表明了待绘制点位于该距离直线被绘画线段切分的特定段,其中,绘画线段是指t-1时刻的触摸点与t时刻的触摸点的之间的线段。具体地,可根据t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标在绘画线段上选择距离直线经过的交点,例如,将绘画线段的中点、起始点或终点确定为交点,经过该交点且垂直于绘画线段的直线即为待绘制点所在的距离直线;按照从t-1时刻的触摸点至t时刻的触摸点的绘画方向选定距离直线的正方向,可选的,将沿绘画方向的顺时针方向呈90度或270度的方向选定为距离直线的正方向,或者将沿绘画方向的逆时针方向呈90度或270度的方向选定为距离直线的正方向;而由于距离直线会被绘画线段划分为两段,在确定了距离直线的正方向后,则将与距离直线的正方向同侧的段确定为待绘制点所在的特定段。然后,根据偏离方向和预设偏移距离计算偏离于t-1时刻的触摸点的待绘制点的坐标,其中,预设偏移距离是指待绘制点相较于绘画线段的距离,即:在距离直线的特定段上进一步根据预设偏移距离锁定待绘制点的位置,进而得出待绘制点的坐标。需要在此说明的是,预设偏移距离可为固定设置的常量,例如为20毫米,或者,为根据实际需求进行调整的变量,可选的,根据触摸点的触摸区域的大小设置预设偏移距离,其中,预设偏移距离与触摸区域的大小成正比,实际中,手指按压屏幕的区域越大,则遮挡的内容越多,相应的,则设置更大的预设偏移距离,使同步绘制的轨迹偏离用户的绘画轨迹更远,以便于用户查看到同步绘制的轨迹,具体实施时,可根据用户执行绘画操作行为时的第一个触摸点的触摸区域的大小设置预设偏移距离,然后在本次绘画操作行为执行的过程中,则保持该预设偏移距离不变,以确保同步绘制的一致性。Method 1: Determine the deviation direction of the point to be drawn based on the coordinates of the touch point at time t and the coordinates of the touch point at time t-1 of the drawing operation; wherein the deviation direction indicates the distance straight line where the point to be drawn is located, and indicates that the point to be drawn is located in a specific segment of the distance straight line divided by the drawing line segment, wherein the drawing line segment refers to the line segment between the touch point at time t-1 and the touch point at time t. Specifically, the intersection point through which the distance line passes can be selected on the drawing segment according to the coordinates of the touch point at time t and the coordinates of the touch point at time t-1. For example, the midpoint, starting point or end point of the drawing segment is determined as the intersection point, and the straight line passing through the intersection point and perpendicular to the drawing segment is the distance line where the point to be drawn is located; the positive direction of the distance line is selected according to the drawing direction from the touch point at time t-1 to the touch point at time t, and optionally, the direction at 90 degrees or 270 degrees clockwise along the drawing direction is selected as the positive direction of the distance line, or the direction at 90 degrees or 270 degrees counterclockwise along the drawing direction is selected as the positive direction of the distance line; and since the distance line will be divided into two segments by the drawing segment, after the positive direction of the distance line is determined, the segment on the same side as the positive direction of the distance line is determined as the specific segment where the point to be drawn is located. Then, the coordinates of the point to be drawn that deviates from the touch point at time t-1 are calculated according to the deviation direction and the preset offset distance, wherein the preset offset distance refers to the distance of the point to be drawn compared to the drawing line segment, that is, the position of the point to be drawn is further locked according to the preset offset distance on a specific segment of the distance line, and then the coordinates of the point to be drawn are obtained. It should be noted here that the preset offset distance can be a fixed constant, such as 20 mm, or a variable adjusted according to actual needs. Optionally, the preset offset distance is set according to the size of the touch area of the touch point, wherein the preset offset distance is proportional to the size of the touch area. In practice, the larger the area where the finger presses the screen, the more content is blocked. Accordingly, a larger preset offset distance is set to make the synchronous drawing trajectory deviate further from the user's drawing trajectory, so that the user can view the synchronous drawing trajectory. In specific implementation, the preset offset distance can be set according to the size of the touch area of the first touch point when the user performs the drawing operation behavior, and then during the execution of this drawing operation behavior, the preset offset distance is kept unchanged to ensure the consistency of the synchronous drawing.
为便于对上述方式一的理解,下面结合具体的举例来进行说明:图3示出了本发明一个具体实施例中利用方式一计算待绘制点的坐标的示意图。在该具体示例中,选择绘画线段的中点为距离直线经过的交点,以及选择沿绘画方向的逆时针方向呈90度的方向为距离直线的正方向,同时假设预设偏移距离为△。如图3所示,假设在监控到绘画操作行为的第一个触摸点,即触摸点1后,每隔5毫秒进行一次检测,当检测到触摸点2时,根据触摸点1和触摸点2的坐标计算得到中点1的坐标,即得到距离直线经过的交点坐标,而根据距离直线与绘画线段垂直,可以计算得到距离直线的直线表达式,即图3中直线d1的表达式;触摸点1至触摸点2之间的绘画线段将距离直线切分为两段,即直线d1的虚线段和实线段,根据选择的距离直线的正方向可确定待绘制点应位于实线段上,然后在直线d1的实线段上确定与中点1的距离为△的点,则得到待绘制点1的坐标;同理,当检测到触摸点3时,则根据触摸点2和触摸点3的坐标确定出距离直线d2,并在距离直线d2的实线段上确定与中点2距离△的点,则得到待绘制点2的坐标。To facilitate the understanding of the above-mentioned method 1, a specific example is used for explanation below: FIG3 shows a schematic diagram of calculating the coordinates of the points to be drawn using method 1 in a specific embodiment of the present invention. In this specific example, the midpoint of the drawing line segment is selected as the intersection point through which the distance line passes, and the direction of 90 degrees counterclockwise along the drawing direction is selected as the positive direction of the distance line, and it is assumed that the preset offset distance is △. As shown in FIG3 , it is assumed that after the first touch point of the painting operation, i.e., touch point 1, is monitored, a detection is performed every 5 milliseconds. When touch point 2 is detected, the coordinates of midpoint 1 are calculated based on the coordinates of touch point 1 and touch point 2, i.e., the coordinates of the intersection through which the distance line passes are obtained. Since the distance line is perpendicular to the drawing line segment, the straight line expression of the distance line can be calculated, i.e., the expression of straight line d1 in FIG3 . The drawing line segment between touch point 1 and touch point 2 divides the distance line into two segments, i.e., the dotted line segment and the solid line segment of straight line d1. According to the positive direction of the selected distance line, it can be determined that the point to be drawn should be located on the solid line segment. Then, a point with a distance △ from midpoint 1 is determined on the solid line segment of straight line d1, and the coordinates of point 1 to be drawn are obtained. Similarly, when touch point 3 is detected, the distance line d2 is determined based on the coordinates of touch point 2 and touch point 3, and a point with a distance △ from midpoint 2 is determined on the solid line segment of distance line d2, and the coordinates of point 2 to be drawn are obtained.
需要在此说明的是,在利用方式一具体计算待绘制点的坐标时,并不以上述图3的示例为限,例如,距离直线经过的交点可以为绘画线段上的任意点,以及距离直线的正方向也可以为沿绘画方向的逆时针方向呈270度的方向。另外,上述图3中的触摸点之间的间隔相较于真实情况是放大的,实际中,检测触摸点的时间间隔很短,通常是秒或毫秒级别的,则触摸点之间的距离很近,相应的,可将相邻触摸点之间的绘画线段近似的看成一条直线。It should be noted that when the coordinates of the points to be drawn are specifically calculated using method 1, it is not limited to the example in FIG. 3 above. For example, the intersection point through which the distance line passes can be any point on the drawing line segment, and the positive direction of the distance line can also be a direction of 270 degrees counterclockwise along the drawing direction. In addition, the intervals between the touch points in FIG. 3 above are enlarged compared to the actual situation. In practice, the time interval for detecting touch points is very short, usually at the level of seconds or milliseconds, so the distance between the touch points is very close. Accordingly, the drawing line segment between adjacent touch points can be approximately regarded as a straight line.
通过上述方式一,每当检测到当前t时刻新的触摸点时,可确定出对应t-1时刻的触摸点的待绘制点的坐标,并且,选定的距离直线的正方向是与绘画方向相关的,在绘画过程中,随着绘画方向的改变,则距离直线的正方向不同,相应的,则可以使同步绘制的过程具有跟随的效果。Through the above method 1, whenever a new touch point is detected at the current time t, the coordinates of the point to be drawn corresponding to the touch point at the time t-1 can be determined, and the positive direction of the selected distance line is related to the drawing direction. During the drawing process, as the drawing direction changes, the positive direction of the distance line is different. Accordingly, the synchronous drawing process can have a follow-up effect.
方式二:根据绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,确定t时刻的触摸点相较于t-1时刻的触摸点的相对位置;根据相对位置和对应t-1时刻的待绘制点的坐标,计算偏离于触摸点的待绘制点的坐标。在该方式中,通过在前一时刻的待绘制点的坐标的基础上,偏移相对位置对应的方向和距离,则得到当前时刻的触摸点对应的待绘制点的坐标。其中,第一个待绘制点的坐标需要通过初始化来确定,可根据绘画操作行为的第一个触摸点的坐标,确定第一个待绘制点的坐标,可选的,根据第一个触摸点在触摸屏中的位置,确定第一个待绘制点的坐标,例如,当第一个触摸点距离触摸屏边缘的距离小于预设值时,则将第一个待绘制点确定在远离该边缘的位置,避免在后续绘画操作行为执行的过程中,使新确定的待绘制点的坐标移出触摸屏外,而不利于用户查看。Method 2: According to the coordinates of the touch point at time t of the painting operation and the coordinates of the touch point at time t-1, determine the relative position of the touch point at time t compared to the touch point at time t-1; according to the relative position and the coordinates of the point to be drawn corresponding to time t-1, calculate the coordinates of the point to be drawn that deviates from the touch point. In this method, the coordinates of the point to be drawn corresponding to the touch point at the current moment are obtained by offsetting the direction and distance corresponding to the relative position on the basis of the coordinates of the point to be drawn at the previous moment. Among them, the coordinates of the first point to be drawn need to be determined by initialization, and the coordinates of the first point to be drawn can be determined according to the coordinates of the first touch point of the painting operation. Optionally, the coordinates of the first point to be drawn are determined according to the position of the first touch point in the touch screen. For example, when the distance between the first touch point and the edge of the touch screen is less than a preset value, the first point to be drawn is determined at a position far away from the edge, so as to avoid the coordinates of the newly determined point to be drawn moving out of the touch screen during the execution of the subsequent painting operation, which is not conducive to user viewing.
举例来说,第一个触摸点的坐标为(1,1),假设触摸屏的下边缘为横轴,左边缘为纵轴,则坐标(1,1)在触摸屏的左下角的位置,即靠近触摸屏的左边缘和下边缘,此时则可确定第一个待绘制点的坐标远离该两个边缘,例如为(1.5,1.5);检测到第二个触摸点的坐标为(2,2),该第二个触摸点相较于第一个触摸点的相对位置为:第二个触摸点相较于第一个触摸点的横坐标和纵坐标均加1。然后,在第一个待绘制点的坐标(1.5,1.5)的基础上,进行横轴坐标的加1计算,得到第二个待绘制点的坐标为(2.5,2.5)。For example, the coordinates of the first touch point are (1, 1). Assuming that the lower edge of the touch screen is the horizontal axis and the left edge is the vertical axis, the coordinates (1, 1) are located at the lower left corner of the touch screen, that is, close to the left and lower edges of the touch screen. At this time, it can be determined that the coordinates of the first point to be drawn are far away from the two edges, for example, (1.5, 1.5); the coordinates of the second touch point are detected to be (2, 2), and the relative position of the second touch point compared to the first touch point is: the horizontal and vertical coordinates of the second touch point compared to the first touch point are both added by 1. Then, based on the coordinates of the first point to be drawn (1.5, 1.5), the horizontal axis coordinates are added by 1, and the coordinates of the second point to be drawn are obtained as (2.5, 2.5).
通过上述方式二,每当检测到新的触摸点时,可根据触摸点的相对位置的变化和历史确定的待绘制点的坐标快速计算出对应当前时刻的触摸点的待绘制点的坐标,即实时确定出对应新的触摸点的待绘制点,有利于提高同步绘制的实时性,避免同步绘制出现滞后。Through the above-mentioned method 2, whenever a new touch point is detected, the coordinates of the point to be drawn corresponding to the touch point at the current moment can be quickly calculated based on the change in the relative position of the touch point and the coordinates of the point to be drawn determined historically, that is, the point to be drawn corresponding to the new touch point can be determined in real time, which is conducive to improving the real-time performance of synchronous drawing and avoiding delays in synchronous drawing.
步骤S203:根据待绘制点的坐标,在相应位置执行绘画操作。Step S203: performing a drawing operation at a corresponding position according to the coordinates of the point to be drawn.
具体地,每当计算出一个待绘制点的坐标后,根据待绘制点的坐标将待绘制点与历史待绘制点进行连接以在相应位置执行绘画操作。通过及时将新确定的待绘制点与前一时刻的待绘制点进行连接,则可以完成同步绘制,使用户在偏离当前绘画操作行为的绘画轨迹的位置查看到同步的轨迹,便于进行准确的绘画控制。Specifically, each time the coordinates of a point to be drawn are calculated, the point to be drawn is connected with the historical points to be drawn according to the coordinates of the point to be drawn to perform the drawing operation at the corresponding position. By timely connecting the newly determined point to be drawn with the point to be drawn at the previous moment, synchronous drawing can be completed, so that the user can view the synchronous trajectory at a position deviating from the drawing trajectory of the current drawing operation behavior, which is convenient for accurate drawing control.
图4示出了一个具体实施例中触摸屏的绘画操作响应的效果示意图。如图4所示,可在绘画区域显示一个辅助工具(如画笔),其笔尖为绘制点,当手指在屏幕上接触时,其接触点为触摸点,当手指继续进行绘画动作(如画一条线,从A点到B点为触摸点运行轨迹,真实场景下可能并不存在该圆点和线),则辅助工具同步从a点移动到b点,并且画出一条线,该线条为同步绘制的线条,其中手指与辅助工具在运动过程中,其相对距离始终保持不变。FIG4 shows a schematic diagram of the effect of the painting operation response of a touch screen in a specific embodiment. As shown in FIG4 , an auxiliary tool (such as a paintbrush) can be displayed in the painting area, and its pen tip is a drawing point. When a finger touches the screen, its contact point is a touch point. When the finger continues to paint (such as drawing a line, from point A to point B is the touch point running track, and the dot and line may not exist in the real scene), the auxiliary tool moves synchronously from point a to point b and draws a line. The line is a synchronously drawn line, and the relative distance between the finger and the auxiliary tool remains unchanged during the movement.
根据本实施例提供的触摸屏的绘画操作响应方法,针对绘画操作行为的每个触摸点,根据相邻两个时刻检测到的触摸点的坐标,计算待绘制点的坐标,使得待绘制点的连线可以保持与绘画轨迹一致,在避免因绘画轨迹被遮挡而影响用户对绘画轨迹的控制的同时,可使用户查看到与绘画轨迹一致的同步轨迹。由此可见,本发明方案,可通过在偏离绘画轨迹的位置进行同步绘制,使用户根据该同步绘制的轨迹对绘画操作行为进行精准控制。According to the painting operation response method of the touch screen provided by this embodiment, for each touch point of the painting operation behavior, the coordinates of the point to be drawn are calculated according to the coordinates of the touch points detected at two adjacent moments, so that the line connecting the points to be drawn can be kept consistent with the painting trajectory, while avoiding the influence of the user's control over the painting trajectory due to the obstruction of the painting trajectory, and allowing the user to view the synchronous trajectory consistent with the painting trajectory. It can be seen that the scheme of the present invention can enable the user to accurately control the painting operation behavior according to the synchronous drawing trajectory by performing synchronous drawing at a position deviating from the painting trajectory.
图5示出了根据本发明又一个实施例的触摸屏的绘画操作响应方法的流程图。在该实施例中,仅当前时刻检测到的触摸点的坐标,来计算待绘制点的坐标。如图5所示,该方法包括:FIG5 shows a flow chart of a method for responding to a painting operation of a touch screen according to another embodiment of the present invention. In this embodiment, only the coordinates of the touch point detected at the current moment are used to calculate the coordinates of the point to be drawn. As shown in FIG5 , the method includes:
步骤S501:检测触摸点在屏幕上的触摸区域,根据触摸区域的大小判断绘画操作行为是否为手指触摸行为;若绘画操作行为为手指触摸行为,则监控绘画操作行为的触摸点。Step S501: Detect the touch area of the touch point on the screen, and determine whether the painting operation is a finger touch according to the size of the touch area; if the painting operation is a finger touch, monitor the touch point of the painting operation.
步骤S502:预设基准方向,根据所述绘画操作行为的触摸点的坐标,在基准方向上计算与所述触摸点之间的距离为预设偏移距离的待绘制点的坐标。Step S502: Preset a reference direction, and calculate the coordinates of a point to be drawn whose distance from the touch point to the touch point is a preset offset distance in the reference direction according to the coordinates of the touch point of the drawing operation.
其中,基准方向可为触摸屏平面内的任意方向,可选的,基准方向为与触摸屏的任一边缘平行且朝向剩余任一相邻边缘的方向,以使同步绘制的同步轨迹与绘画轨迹在水平或竖直方向上是对齐的,进而利于用户进行准确控制。例如,基准方向设置为与触摸屏的左右边缘平行且朝向上边缘的方向。The reference direction may be any direction in the plane of the touch screen, and optionally, the reference direction is a direction parallel to any edge of the touch screen and toward any remaining adjacent edge, so that the synchronous track of synchronous drawing is aligned with the drawing track in the horizontal or vertical direction, thereby facilitating accurate control by the user. For example, the reference direction is set to be parallel to the left and right edges of the touch screen and toward the upper edge.
具体地,在设置了基准方向后,每当检测到新的触摸点,确定与基准方向平行的、过触摸点的绘制直线,然后在绘制直线上确定与触摸点之间的距离为预设偏移距离的待绘制点的坐标,该待绘制点为相较于触摸点的相对方向为基准方向的点。其中,预设偏移距离的设置可参见图2对应的实施例的说明,此处不再赘述。Specifically, after the reference direction is set, whenever a new touch point is detected, a drawing line parallel to the reference direction and passing through the touch point is determined, and then the coordinates of a point to be drawn whose distance from the touch point is a preset offset distance are determined on the drawing line, and the point to be drawn is a point whose relative direction relative to the touch point is the reference direction. The setting of the preset offset distance can be referred to the description of the embodiment corresponding to FIG. 2, which will not be repeated here.
举例来说,假设触摸屏的下边缘为横轴,左边缘为纵轴,基准方向为触摸屏平面内与左边缘平行且向上的方向,以及预设偏移距离为△,若绘画操作行为绘制的为一个矩形,且检测到触摸点的坐标依次为(1,1),(2,1),(2,2),(1,2)以及(1,1),每当检测到一个新的触摸点,则进行相应的待绘制点的坐标的计算,得到的待绘制点的坐标依次为(1,1+△),(2,1+△),(2,2+△),(1,2+△)以及(1,1+△)。For example, assuming that the lower edge of the touch screen is the horizontal axis, the left edge is the vertical axis, the reference direction is the direction parallel to the left edge and upward in the plane of the touch screen, and the preset offset distance is △, if the painting operation draws a rectangle, and the coordinates of the detected touch points are (1, 1), (2, 1), (2, 2), (1, 2) and (1, 1), each time a new touch point is detected, the coordinates of the corresponding point to be drawn are calculated, and the obtained coordinates of the point to be drawn are (1, 1+△), (2, 1+△), (2, 2+△), (1, 2+△) and (1, 1+△).
步骤S503:根据待绘制点的坐标,在相应位置执行绘画操作。Step S503: performing a drawing operation at a corresponding position according to the coordinates of the point to be drawn.
本实施例中的上述步骤S501和步骤S503的实施原理及过程可参见图2对应的实施例中的步骤S201和步骤S203的描述,此处不再赘述。The implementation principle and process of the above-mentioned step S501 and step S503 in this embodiment can refer to the description of step S201 and step S203 in the embodiment corresponding to Figure 2, and will not be repeated here.
根据本实施例提供的触摸屏的绘画操作响应方法,针对绘画操作行为的每个触摸点,仅根据当前时刻检测到的触摸点的坐标,即可计算出与该触摸点相对应的待绘制点的坐标,使得待绘制点的连线可以保持与绘画轨迹一致,在避免因绘画轨迹被遮挡而影响用户对绘画轨迹的控制的同时,提高了同步绘制的效率。由此可见,本发明方案,可通过在偏离绘画轨迹的位置进行同步绘制,使用户根据该同步绘制的轨迹对绘画操作行为进行精准控制。According to the painting operation response method of the touch screen provided by this embodiment, for each touch point of the painting operation behavior, the coordinates of the point to be drawn corresponding to the touch point can be calculated only based on the coordinates of the touch point detected at the current moment, so that the line connecting the points to be drawn can be kept consistent with the painting trajectory, while avoiding the influence of the user's control over the painting trajectory due to the obstruction of the painting trajectory, and improving the efficiency of synchronous drawing. It can be seen that the scheme of the present invention can enable the user to accurately control the painting operation behavior according to the trajectory of the synchronous drawing by performing synchronous drawing at a position deviating from the painting trajectory.
图6示出了根据本发明一个实施例的触摸屏的绘画操作响应装置的功能框图。如图6所示,所述装置包括:FIG6 shows a functional block diagram of a touch screen painting operation response device according to an embodiment of the present invention. As shown in FIG6 , the device includes:
监控模块601,适于监控绘画操作行为的触摸点;A monitoring module 601, adapted to monitor the touch points of the painting operation;
计算模块602,适于根据所述绘画操作行为的触摸点的坐标,计算偏离于所述触摸点的待绘制点的坐标;A calculation module 602, adapted to calculate the coordinates of a point to be drawn that deviates from the touch point according to the coordinates of the touch point of the drawing operation;
绘制模块603,适于根据待绘制点的坐标,在相应位置执行绘画操作。The drawing module 603 is adapted to perform a drawing operation at a corresponding position according to the coordinates of the point to be drawn.
在一种可选的实施方式中,所述计算模块进一步适于:In an optional embodiment, the calculation module is further adapted to:
根据所述绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,计算偏离于所述触摸点的待绘制点的坐标。The coordinates of the point to be drawn that deviates from the touch point are calculated according to the coordinates of the touch point of the drawing operation at time t and the coordinates of the touch point at time t-1.
在一种可选的实施方式中,所述计算模块进一步适于:In an optional embodiment, the calculation module is further adapted to:
根据所述绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,确定待绘制点所在的偏离方向;Determine the deviation direction of the point to be drawn according to the coordinates of the touch point at time t and the coordinates of the touch point at time t-1 of the drawing operation;
根据所述偏离方向和预设偏移距离计算偏离于所述t-1时刻的触摸点的待绘制点的坐标。The coordinates of the point to be drawn that deviates from the touch point at the time t-1 are calculated according to the deviation direction and the preset offset distance.
在一种可选的实施方式中,所述装置还包括:In an optional embodiment, the device further includes:
设置模块,适于根据触摸点的触摸区域的大小设置预设偏移距离,其中,所述预设偏移距离与触摸区域的大小成正比。The setting module is adapted to set a preset offset distance according to the size of the touch area of the touch point, wherein the preset offset distance is proportional to the size of the touch area.
在一种可选的实施方式中,所述计算模块进一步适于:In an optional embodiment, the calculation module is further adapted to:
根据所述绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,确定t时刻的触摸点相较于t-1时刻的触摸点的相对位置;Determine a relative position of the touch point at time t compared to the touch point at time t-1 according to the coordinates of the touch point at time t of the painting operation and the coordinates of the touch point at time t-1;
根据所述相对位置和对应t-1时刻的待绘制点的坐标,计算偏离于所述触摸点的待绘制点的坐标。The coordinates of the point to be drawn that deviates from the touch point are calculated according to the relative position and the coordinates of the point to be drawn corresponding to the time t-1.
在一种可选的实施方式中,所述装置还包括:In an optional embodiment, the device further comprises:
初始化模块,适于根据所述绘画操作行为的第一个触摸点的坐标,确定第一个待绘制点的坐标。The initialization module is adapted to determine the coordinates of the first point to be drawn according to the coordinates of the first touch point of the drawing operation.
在一种可选的实施方式中,所述装置还包括:设置模块,适于预设基准方向;In an optional embodiment, the device further comprises: a setting module, adapted to preset a reference direction;
所述计算模块进一步适于:根据所述绘画操作行为的触摸点的坐标,在基准方向上计算与所述触摸点之间的距离为预设偏移距离的待绘制点的坐标。The calculation module is further adapted to calculate, according to the coordinates of the touch point of the drawing operation, the coordinates of a point to be drawn whose distance from the touch point is a preset offset distance in a reference direction.
在一种可选的实施方式中,所述装置还包括:In an optional embodiment, the device further includes:
判断模块,适于检测触摸点在屏幕上的触摸区域,根据所述触摸区域的大小判断绘画操作行为是否为手指触摸行为;A judgment module, adapted to detect a touch area of a touch point on the screen, and judge whether the painting operation behavior is a finger touch behavior according to the size of the touch area;
所述检测模块进一步适于:若绘画操作行为为手指触摸行为,则监控绘画操作行为的触摸点。The detection module is further adapted to monitor the touch point of the painting operation if the painting operation is a finger touch.
本申请实施例提供了一种非易失性计算机存储介质,所述计算机存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的触摸屏的绘画操作响应方法。An embodiment of the present application provides a non-volatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the painting operation response method of the touch screen in any of the above method embodiments.
图7示出了根据本发明实施例的一种计算设备的结构示意图,本发明具体实施例并不对计算设备的具体实现做限定。FIG. 7 shows a schematic diagram of the structure of a computing device according to an embodiment of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the computing device.
如图7所示,该计算设备可以包括:处理器(processor)702、通信接口(Communications Interface)704、存储器(memory)706、以及通信总线708。As shown in FIG. 7 , the computing device may include: a processor (processor) 702 , a communications interface (Communications Interface) 704 , a memory (memory) 706 , and a communication bus 708 .
其中:in:
处理器702、通信接口704、以及存储器706通过通信总线708完成相互间的通信。The processor 702 , the communication interface 704 , and the memory 706 communicate with each other via a communication bus 708 .
通信接口704,用于与其它设备比如客户端或其它服务器等的网元通信。The communication interface 704 is used to communicate with other devices such as clients or other servers.
处理器702,用于执行程序710,具体可以执行上述触摸屏的绘画操作响应方法实施例中的相关步骤。The processor 702 is used to execute the program 710, and specifically can execute the relevant steps in the above-mentioned embodiment of the touch screen painting operation response method.
具体地,程序710可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the program 710 may include program codes, which include computer operation instructions.
处理器702可能是中央处理器CPU,或者是特定集成电路ASIC(ApplicationSpecific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。计算设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 702 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
存储器706,用于存放程序710。存储器706可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 706 is used to store the program 710. The memory 706 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
程序710具体可以用于使得处理器702执行以下操作:The program 710 may be specifically configured to enable the processor 702 to perform the following operations:
监控绘画操作行为的触摸点;Monitor touch points for painting operations;
根据所述绘画操作行为的触摸点的坐标,计算偏离于所述触摸点的待绘制点的坐标;Calculating the coordinates of the point to be drawn that deviates from the touch point according to the coordinates of the touch point of the drawing operation;
根据待绘制点的坐标,在相应位置执行绘画操作。According to the coordinates of the point to be drawn, the drawing operation is performed at the corresponding position.
在一种可选的实施方式中,程序710具体可以进一步用于使得处理器702执行以下操作:根据所述绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,计算偏离于所述触摸点的待绘制点的坐标。In an optional embodiment, the program 710 can be further used to enable the processor 702 to perform the following operations: based on the coordinates of the touch point of the painting operation at time t and the coordinates of the touch point at time t-1, calculate the coordinates of the point to be drawn that deviates from the touch point.
在一种可选的实施方式中,程序710具体可以进一步用于使得处理器702执行以下操作:根据所述绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,确定待绘制点所在的偏离方向;In an optional implementation, the program 710 may be further configured to enable the processor 702 to perform the following operations: determine the deviation direction of the point to be drawn according to the coordinates of the touch point at time t and the coordinates of the touch point at time t-1 of the drawing operation;
根据所述偏离方向和预设偏移距离计算偏离于所述t-1时刻的触摸点的待绘制点的坐标。The coordinates of the point to be drawn that deviates from the touch point at the time t-1 are calculated according to the deviation direction and the preset offset distance.
在一种可选的实施方式中,程序710具体可以进一步用于使得处理器702执行以下操作:根据触摸点的触摸区域的大小设置预设偏移距离,其中,所述预设偏移距离与触摸区域的大小成正比。In an optional implementation, the program 710 may be further configured to enable the processor 702 to perform the following operations: setting a preset offset distance according to the size of the touch area of the touch point, wherein the preset offset distance is proportional to the size of the touch area.
在一种可选的实施方式中,程序710具体可以进一步用于使得处理器702执行以下操作:In an optional implementation, the program 710 may be further configured to enable the processor 702 to perform the following operations:
根据所述绘画操作行为在t时刻的触摸点的坐标以及t-1时刻的触摸点的坐标,确定t时刻的触摸点相较于t-1时刻的触摸点的相对位置;Determine a relative position of the touch point at time t compared to the touch point at time t-1 according to the coordinates of the touch point at time t of the painting operation and the coordinates of the touch point at time t-1;
根据所述相对位置和对应t-1时刻的待绘制点的坐标,计算偏离于所述触摸点的待绘制点的坐标。The coordinates of the point to be drawn that deviates from the touch point are calculated according to the relative position and the coordinates of the point to be drawn corresponding to the time t-1.
在一种可选的实施方式中,程序710具体可以进一步用于使得处理器702执行以下操作:根据所述绘画操作行为的第一个触摸点的坐标,确定第一个待绘制点的坐标。In an optional implementation, the program 710 may be further configured to enable the processor 702 to perform the following operations: determining the coordinates of the first point to be drawn according to the coordinates of the first touch point of the drawing operation.
在一种可选的实施方式中,程序710具体可以进一步用于使得处理器702执行以下操作:预设基准方向;In an optional implementation, the program 710 may be further configured to enable the processor 702 to perform the following operations: preset a reference direction;
根据所述绘画操作行为的触摸点的坐标,在基准方向上计算与所述触摸点之间的距离为预设偏移距离的待绘制点的坐标。According to the coordinates of the touch point of the drawing operation, the coordinates of the point to be drawn whose distance from the touch point is a preset offset distance are calculated in a reference direction.
在一种可选的实施方式中,程序710具体可以进一步用于使得处理器702执行以下操作:In an optional implementation, the program 710 may be further configured to enable the processor 702 to perform the following operations:
检测触摸点在屏幕上的触摸区域,根据所述触摸区域的大小判断绘画操作行为是否为手指触摸行为;Detecting a touch area of the touch point on the screen, and judging whether the painting operation behavior is a finger touch behavior according to the size of the touch area;
若绘画操作行为为手指触摸行为,则监控绘画操作行为的触摸点。If the painting operation behavior is a finger touch behavior, the touch point of the painting operation behavior is monitored.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description of the above specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than those explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and/or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的触摸屏的绘画操作响应装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components of the painting operation response device of the touch screen according to an embodiment of the present invention. The present invention may also be implemented as a device or device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program for implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910591004.4A CN112181263B (en) | 2019-07-02 | 2019-07-02 | Touch screen painting operation response method, device and computing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910591004.4A CN112181263B (en) | 2019-07-02 | 2019-07-02 | Touch screen painting operation response method, device and computing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112181263A CN112181263A (en) | 2021-01-05 |
CN112181263B true CN112181263B (en) | 2024-04-09 |
Family
ID=73915595
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910591004.4A Active CN112181263B (en) | 2019-07-02 | 2019-07-02 | Touch screen painting operation response method, device and computing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112181263B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113064539B (en) * | 2021-03-04 | 2022-07-29 | 北京达佳互联信息技术有限公司 | Special effect control method and device, electronic equipment and storage medium |
CN113495663B (en) * | 2021-07-05 | 2022-03-11 | 北京华大九天科技股份有限公司 | Method and device for drawing rectangular layout, storage medium and electronic equipment |
CN114296621B (en) * | 2021-12-23 | 2023-06-09 | 天翼视讯传媒有限公司 | Three-point touch recognition calculation method for touch screen |
CN114565701A (en) * | 2022-02-28 | 2022-05-31 | 深圳市华胜软件技术有限公司 | Line segment drawing method and device, electronic equipment and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630219A (en) * | 2008-07-17 | 2010-01-20 | 宏碁股份有限公司 | Method for assisting handwriting input on touch screen and electronic device thereof |
CN102890612A (en) * | 2011-07-22 | 2013-01-23 | 腾讯科技(深圳)有限公司 | Method and device for scrolling screen |
EP2698696A1 (en) * | 2012-08-17 | 2014-02-19 | BlackBerry Limited | Smudge effect for electronic drawing application |
WO2014168431A1 (en) * | 2013-04-10 | 2014-10-16 | 주식회사 지니틱스 | Method for processing touch event and apparatus for same |
CN104777984A (en) * | 2015-04-30 | 2015-07-15 | 青岛海信电器股份有限公司 | Touch trajectory tracking method and device and touch screen device |
WO2018002186A1 (en) * | 2016-06-29 | 2018-01-04 | Dav | Control method and control interface for a motor vehicle |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7605804B2 (en) * | 2005-04-29 | 2009-10-20 | Microsoft Corporation | System and method for fine cursor positioning using a low resolution imaging touch screen |
US20070097096A1 (en) * | 2006-03-25 | 2007-05-03 | Outland Research, Llc | Bimodal user interface paradigm for touch screen devices |
JP5790380B2 (en) * | 2011-09-28 | 2015-10-07 | 株式会社Jvcケンウッド | Electronic device, control method of electronic device, and program |
US20150339027A1 (en) * | 2014-05-22 | 2015-11-26 | Woundmatrix, Inc. | Systems, methods, and computer-readable media for touch-screen tracing input |
JP6313395B1 (en) * | 2016-10-17 | 2018-04-18 | グリー株式会社 | Drawing processing method, drawing processing program, and drawing processing apparatus |
-
2019
- 2019-07-02 CN CN201910591004.4A patent/CN112181263B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630219A (en) * | 2008-07-17 | 2010-01-20 | 宏碁股份有限公司 | Method for assisting handwriting input on touch screen and electronic device thereof |
CN102890612A (en) * | 2011-07-22 | 2013-01-23 | 腾讯科技(深圳)有限公司 | Method and device for scrolling screen |
EP2698696A1 (en) * | 2012-08-17 | 2014-02-19 | BlackBerry Limited | Smudge effect for electronic drawing application |
WO2014168431A1 (en) * | 2013-04-10 | 2014-10-16 | 주식회사 지니틱스 | Method for processing touch event and apparatus for same |
CN104777984A (en) * | 2015-04-30 | 2015-07-15 | 青岛海信电器股份有限公司 | Touch trajectory tracking method and device and touch screen device |
WO2018002186A1 (en) * | 2016-06-29 | 2018-01-04 | Dav | Control method and control interface for a motor vehicle |
Also Published As
Publication number | Publication date |
---|---|
CN112181263A (en) | 2021-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112181263B (en) | Touch screen painting operation response method, device and computing equipment | |
US9678606B2 (en) | Method and device for determining a touch gesture | |
US8847978B2 (en) | Information processing apparatus, information processing method, and information processing program | |
US9612675B2 (en) | Emulating pressure sensitivity on multi-touch devices | |
CN103135757B (en) | Gesture detection method and gesture detection system | |
TWI556142B (en) | Navigation trace calibrating method and related optical navigation device | |
US20160349983A1 (en) | Terminal screen shot method and terminal | |
JP6177876B2 (en) | Touch panel system | |
CN103294401A (en) | Icon processing method and device for electronic instrument with touch screen | |
WO2019223461A1 (en) | Touch detection method and computer-readable storage medium | |
US20180196530A1 (en) | Method for controlling cursor, device for controlling cursor and display apparatus | |
US20130321350A1 (en) | Virtual ruler for stylus input | |
CN108919839A (en) | Holder rotating direction control method, device, electronic equipment and storage medium | |
CN104063167A (en) | Graph display apparatus and graph display method | |
CN106681604A (en) | Method for adjusting video playing progress and mobile terminal | |
CN105653177A (en) | Method for selecting clickable elements of terminal equipment interface and terminal equipment | |
CN103853339A (en) | Input device and electronic device | |
CN104850275A (en) | Projection terminal and projection touch-control implementation method therefor | |
CN106648359A (en) | Method for adjusting video playback progress and mobile terminal | |
TWI702516B (en) | Device including electrode having thickness to facilitate tracking | |
WO2014080864A1 (en) | Display device with touch panel attached | |
US9857898B2 (en) | Electronic device, control method, and integrated circuit | |
TWI547858B (en) | System and method for controlling document scaling and rotation on a touch screen | |
WO2021258506A1 (en) | Sub-area touch method and apparatus, electronic device, and storage medium | |
CN204595818U (en) | Projection terminal |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20240311 Address after: Room 03, 2nd Floor, Building A, No. 20 Haitai Avenue, Huayuan Industrial Zone (Huanwai), Binhai New Area, Tianjin, 300450 Applicant after: 3600 Technology Group Co.,Ltd. Country or region after: China Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Applicant before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Country or region before: China |
|
GR01 | Patent grant | ||
GR01 | Patent grant |