[go: up one dir, main page]

JP2013088891A - Information terminal, drawing control program, and drawing control method - Google Patents

Information terminal, drawing control program, and drawing control method Download PDF

Info

Publication number
JP2013088891A
JP2013088891A JP2011226530A JP2011226530A JP2013088891A JP 2013088891 A JP2013088891 A JP 2013088891A JP 2011226530 A JP2011226530 A JP 2011226530A JP 2011226530 A JP2011226530 A JP 2011226530A JP 2013088891 A JP2013088891 A JP 2013088891A
Authority
JP
Japan
Prior art keywords
touch
released
line
drawing control
touch panel
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.)
Pending
Application number
JP2011226530A
Other languages
Japanese (ja)
Inventor
Keiichiro Hyodo
啓一郎 兵頭
Tetsuhiro Shibata
哲宏 柴田
Masayuki Inoue
雅之 井上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2011226530A priority Critical patent/JP2013088891A/en
Publication of JP2013088891A publication Critical patent/JP2013088891A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize handwriting input having good appearance by simple operation.SOLUTION: An information terminal having a touch panel capable of detecting a touch position and disposed on a display unit, includes a data processing unit having: a function to identify the movement locus of a touch position on the basis of a signal output from the touch panel and to draw or delete a line defined by the movement locus; and a function to process the shape of an end portion of the line being drawn or deleted on the basis of a touch state in the vicinity of a position where a touch is finished, when the touch is finished. When a single touch is performed, the processed shape of the end portion is determined on the basis of change in at least one of the movement direction, movement speed, and movement acceleration of a touch position in the vicinity of a position where the touch is finished. When a multi-touch is performed, a line is extrapolated so as to extend from each position where each touch is finished on the basis of the movement locus of a touch position in the vicinity of the position where the touch is finished.

Description

本発明は、情報端末及び描画制御プログラム並びに描画制御方法に関し、特に、タッチパネルを備えた情報端末及びタッチパネル上の描画を制御する描画制御プログラム並びに描画制御方法に関する。   The present invention relates to an information terminal, a drawing control program, and a drawing control method, and more particularly to an information terminal provided with a touch panel, a drawing control program for controlling drawing on the touch panel, and a drawing control method.

近年、スマートフォンやタブレット端末等の表示部にタッチパネルを備えた情報端末が普及している。この情報端末では、タッチパネル上に指やタッチペンをタッチしスライドさせることにより、線を描いたり、消去したりするなどの手書き入力を行うことができる。また、マルチタッチが可能なタッチパネルでは、複数の指やタッチペンをスライドさせることにより、複数の線で囲まれる領域を塗りつぶしたり、その領域内の情報を消去したりするなどの手書き入力を行うことができる。   In recent years, information terminals having a touch panel on a display unit such as a smartphone or a tablet terminal have become widespread. In this information terminal, handwriting input such as drawing or erasing lines can be performed by touching and sliding a finger or a touch pen on the touch panel. In addition, on a touch panel capable of multi-touch, handwriting input such as filling a region surrounded by a plurality of lines or erasing information in the region by sliding a plurality of fingers or a touch pen is possible. it can.

タッチパネルを備えた情報端末に関する技術ではないが、手書き入力に関連する技術として、下記特許文献1には、ペンスイッチがオンからオフに移行した時に、予め設定された時間内は赤外線信号と超音波信号の発信を継続する機能と、赤外線信号と超音波信号の発信周期を連続的に可変可能とする機能を前記制御手段が具備している電子ペン、並びに少なくとも、一つ以上の赤外線受光部と、二つ以上の超音波受信部を有し、前記赤外線信号と前記超音波信号の到達時間差を計測する赤外線超音波測定部、並びに該赤外線超音波測定部から得られた到達時間差を用いて前記電子ペンの位置座標データを計算する座標演算部、並びに前記電子ペンの位置座標データを筆跡データに変換する変換処理部とから成る手書き筆跡入力システムが開示されている。   Although it is not a technology related to an information terminal provided with a touch panel, as a technology related to handwriting input, Japanese Patent Application Laid-Open Publication No. 2004-228688 discloses that when a pen switch shifts from on to off, an infrared signal and an ultrasonic wave are set within a preset time. An electronic pen provided with the control means, and a function of continuously changing the transmission period of the infrared signal and the ultrasonic signal, and at least one infrared light receiving unit; , Having two or more ultrasonic receivers, the infrared ultrasonic measurement unit for measuring the arrival time difference between the infrared signal and the ultrasonic signal, and using the arrival time difference obtained from the infrared ultrasonic measurement unit A handwriting handwriting input system comprising a coordinate calculation unit that calculates position coordinate data of an electronic pen and a conversion processing unit that converts the position coordinate data of the electronic pen into handwriting data is opened. It is.

また、手書き入力のためのペンに関連する技術として、下記特許文献2には、手書き入力が行われたときの筆運びに伴う手書き情報を検出する手書き情報入力装置において、手書き入力が行われたときの描画点の動きについての手書き情報を検出する複数のセンサ(加速度センサと角速度センサ)と、前記センサで検出した前記手書き情報(加速度センサにより検出した加速度情報と角速度センサにより検出した角速度情報)を記憶する記憶手段と、前記記憶手段により記憶した前記手書き情報を外部へ読み出すための手書き情報読み出し手段と、を備えた構成が開示されている。   In addition, as a technique related to a pen for handwriting input, Japanese Patent Application Laid-Open No. 2004-26853 discloses that handwriting input is performed in a handwriting information input device that detects handwriting information accompanying handwriting when handwriting input is performed. A plurality of sensors (acceleration sensor and angular velocity sensor) for detecting handwritten information about the movement of the drawing point, and the handwritten information detected by the sensor (acceleration information detected by the acceleration sensor and angular velocity information detected by the angular velocity sensor) The structure provided with the memory | storage means which memorize | stores and the handwritten information reading means for reading the said handwritten information memorize | stored by the said memory | storage means outside is disclosed.

また、下記特許文献3には、ペン先が筆記対象媒体に対して接地していると判定しているときパラメータ変動量推定部でペン先が筆記対象媒体に対して接地状態の場合に描画中のペン先速度を算出してペン先位置を演算するペン先挙動検出部からの情報に基づいて加速度センサとジャイロセンサにおけるパラメータ変動量を推定し、推定したパラメータ変動量に基づいて筆跡演算部で加速度センサとジャイロセンサによって得られる情報に基づいて演算した筆記軌跡を修正する技術が開示されている。   In Patent Document 3 below, when it is determined that the pen tip is in contact with the writing target medium, the parameter variation estimation unit is drawing when the pen tip is in contact with the writing target medium. Based on the information from the pen tip behavior detector that calculates the pen tip speed and calculates the pen tip position, the parameter fluctuation amount in the acceleration sensor and the gyro sensor is estimated, and the handwriting calculation unit based on the estimated parameter fluctuation amount A technique for correcting a writing locus calculated based on information obtained by an acceleration sensor and a gyro sensor is disclosed.

特開2007−128120号公報JP 2007-128120 A 特開2003−114754号公報JP 2003-114754 A 特開2009−223839号公報JP 2009-223839 A

従来の手書き入力は、タッチパネルにタッチ(接触又は押下)した位置(タッチ位置)の移動軌跡を正確に読み取ることを目的としているため、タッチ位置の移動軌跡がそのまま画面上に描画される。しかしながら、手書き入力は文字や図形を簡便に描くことが特徴であるため、タッチ位置の移動軌跡がそのまま描画されると、手書きされた文字や図形の見栄えが悪化してしまう場合がある。例えば、文字は、文字を構成する各々の線の終端部分に、運筆の終わりを上に跳ね上げる「はね」や運筆の終わりを伸ばす「はらい」、運筆の終わりを止める「とめ」などを表現することによって見栄えがよくなり、イラストなどの図形は、「はらい」や「とめ」などを表現することによって見栄えがよくなるが、このような微細な表現を手書き入力で実現することは難しいため、筆で描いたような文字や図形を描画することができない。   The conventional handwriting input is intended to accurately read the movement locus of the position (touch position) touched (touched or pressed) on the touch panel, so that the movement locus of the touch position is directly drawn on the screen. However, since handwritten input is characterized by simply drawing characters and figures, if the movement locus of the touch position is drawn as it is, the appearance of the handwritten characters and figures may deteriorate. For example, the character expresses "Splash" that jumps up the end of the stroke, "Hara" that stretches the end of the stroke, "Stop" that stops the stroke, etc. at the end of each line that makes up the character This will improve the appearance, and illustrations and other figures will look better by expressing `` Harai '' and `` Tome '', but it is difficult to realize such fine expressions with handwriting input. I can't draw characters and figures that I drew.

また、従来の手書き入力では、指やタッチペンがタッチパネルに接触した位置から離される位置までの一連の移動軌跡が1つの図形として描画されるため、1つの連続した文字や図形を描画する場合には、タッチ状態を維持しなければならない。そのため、指やタッチペンが意図せずタッチパネルから離れてしまった場合には、連続する1つの図形として描画することができず、見栄えが悪化してしまう。また、指やタッチペンをタッチパネル上で早く動かした場合に、タッチ状態を検出できない場合もあり、このような場合も、連続する1つの図形として描画することができず、見栄えが悪化してしまう。   Further, in the conventional handwriting input, a series of movement trajectories from the position where the finger or the touch pen is in contact with the touch panel is drawn as one figure, so when drawing one continuous character or figure , You must maintain the touch state. Therefore, when a finger or a touch pen is unintentionally separated from the touch panel, it cannot be drawn as one continuous figure, and the appearance is deteriorated. Further, when the finger or the touch pen is moved quickly on the touch panel, the touch state may not be detected. In such a case, it is not possible to draw as one continuous figure, and the appearance is deteriorated.

本発明は、上記問題点に鑑みてなされたものであって、その主たる目的は、簡単な操作で、見栄えのよい手書き入力を実現することができる情報端末及び描画制御プログラム並びに描画制御方法を提供することにある。   The present invention has been made in view of the above problems, and its main purpose is to provide an information terminal, a drawing control program, and a drawing control method capable of realizing a good-looking handwriting input with a simple operation. There is to do.

上記目的を達成するため、本発明は、表示部上に、タッチ位置を検出可能なタッチパネルを備える情報端末において、前記タッチパネルから出力される信号に基づいてタッチ位置の移動軌跡を特定し、前記移動軌跡で規定される線を描画若しくは消去する機能と、タッチが解除された場合に、タッチが解除された位置近傍のタッチ状態に基づいて、描画若しくは消去している線の終端部分の形状を加工する機能と、を有するデータ処理部を備えるものである。   In order to achieve the above object, the present invention provides an information terminal including a touch panel capable of detecting a touch position on a display unit, specifies a movement locus of the touch position based on a signal output from the touch panel, and moves the movement. The shape of the end of the line being drawn or erased is processed based on the function that draws or erases the line defined by the locus and the touch state near the position where the touch is released when the touch is released And a data processing unit having a function to perform.

また、本発明は、表示部上に、タッチ位置を検出可能なタッチパネルを備える情報端末で動作する描画制御プログラムであって、前記情報端末を、前記タッチパネルから出力される信号に基づいてタッチ位置の移動軌跡を特定し、前記移動軌跡で規定される線を描画若しくは消去する機能と、タッチが解除された場合に、タッチが解除された位置近傍のタッチ状態に基づいて、描画若しくは消去している線の終端部分の形状を加工する機能と、を有するデータ処理部、として機能させるものである。   Further, the present invention is a drawing control program that operates on an information terminal including a touch panel capable of detecting a touch position on a display unit, and the information terminal is configured to detect the touch position based on a signal output from the touch panel. Drawing or erasing based on the function of specifying the movement trajectory and drawing or erasing the line defined by the movement trajectory and the touch state near the position where the touch is released when the touch is released And a data processing unit having a function of processing the shape of the end portion of the line.

また、本発明は、表示部上に、タッチ位置を検出可能なタッチパネルを備える情報端末における描画制御方法であって、前記タッチパネルから出力される信号に基づいてタッチ位置の移動軌跡を特定し、前記移動軌跡で規定される線を描画若しくは消去する第1ステップと、タッチが解除された場合に、タッチが解除された位置近傍のタッチ状態に基づいて、描画若しくは消去している線の終端部分の形状を加工する第2ステップと、を実行するものである。   Further, the present invention is a drawing control method in an information terminal including a touch panel capable of detecting a touch position on a display unit, wherein the movement locus of the touch position is specified based on a signal output from the touch panel, Based on the first step of drawing or erasing the line defined by the movement trajectory and the touch state near the position where the touch is released when the touch is released, the end of the line being drawn or deleted And a second step of processing the shape.

本発明の情報端末及び描画制御プログラム並びに描画制御方法によれば、簡単な操作で、見栄えのよい手書き入力を実現することができる。   According to the information terminal, the drawing control program, and the drawing control method of the present invention, a good-looking handwriting input can be realized with a simple operation.

その理由は、タッチパネルを備える情報端末(描画制御プログラム)は、指やタッチペンなどがタッチパネルから離れた場合、タッチが解除された位置近傍のタッチ状態(タッチ位置の移動方向の変化、移動速度の変化、移動加速度の変化、移動軌跡など)に基づいて、移動軌跡の終端部分の処理方法を決定し、決定した処理方法に従って、終端部分を所定の形状に加工する制御を行うからである。   The reason for this is that an information terminal (drawing control program) equipped with a touch panel has a touch state in the vicinity of the position where the touch is released (change in moving direction of the touch position, change in moving speed) when a finger, a touch pen, or the like moves away from the touch panel. This is because, based on the movement acceleration change, the movement trajectory, and the like, a processing method for the end portion of the movement trajectory is determined, and control for processing the end portion into a predetermined shape is performed according to the determined processing method.

本発明の一実施例に係る情報端末の外観を模式的に示す斜視図である。It is a perspective view which shows typically the external appearance of the information terminal which concerns on one Example of this invention. 本発明の一実施例に係る情報端末の構成を示すブロック図である。It is a block diagram which shows the structure of the information terminal which concerns on one Example of this invention. 本発明の一実施例に係る描画制御動作の一例(シングルタッチの場合)を説明する図である。It is a figure explaining an example (in the case of a single touch) of drawing control operation concerning one example of the present invention. 本発明の一実施例に係る描画制御動作の一例(マルチタッチの場合)を説明する図である。It is a figure explaining an example (in the case of multi-touch) of drawing control operation concerning one example of the present invention. 本発明の一実施例に係る描画制御動作の他の例(マルチタッチの場合)を説明する図である。It is a figure explaining other examples (in the case of multi-touch) of drawing control operation concerning one example of the present invention. 本発明の一実施例に係る情報端末を用いた描画制御動作(終端部分を加工する制御)を示すフローチャート図である。It is a flowchart figure which shows the drawing control operation | movement (control which processes a termination | terminus part) using the information terminal which concerns on one Example of this invention. 本発明の一実施例に係る描画制御動作の一例(線を繋ぎ合わせる場合)を説明する図である。It is a figure explaining an example (when connecting a line) of drawing control operation concerning one example of the present invention. 本発明の一実施例に係る情報端末を用いた描画制御動作(線を繋ぎ合わせる動作)を示すフローチャート図である。It is a flowchart figure which shows the drawing control operation | movement (operation | movement which connects a line) using the information terminal which concerns on one Example of this invention.

背景技術で示したように、タッチパネル上で線を描く場合、指やタッチペンをスライドさせるが、従来の手書き入力では、指やタッチペンをタッチパネルから離した位置が線の終端となるため、筆で描いたような文字や図形(「はね」や「はらい」、「とめ」など再現した文字や図形)を描画することが難しく、見栄えが悪化するという問題があった。   As shown in the background art, when drawing a line on the touch panel, the finger or touch pen is slid, but in conventional handwriting input, the position where the finger or touch pen is separated from the touch panel is the end of the line. It is difficult to draw such characters and figures (reproduced characters and figures such as “Hane”, “Harai”, “Tome”) and the appearance deteriorates.

また、従来の手書き入力では、指やタッチペンがタッチパネルに接触した位置から離される位置までの一連の移動軌跡が1つの図形として描画されるため、指やタッチペンが意図せずタッチパネルから離れてしまった場合や、装置がタッチ状態を検出できない場合には、連続する1つの図形として描画することができず、見栄えが悪化するという問題があった。   In addition, in the conventional handwriting input, a series of movement trajectories from the position where the finger or the touch pen is touched to the touch panel is drawn as one figure, and thus the finger or the touch pen is unintentionally separated from the touch panel. In some cases, or when the device cannot detect a touch state, there is a problem in that it cannot be drawn as a single continuous graphic and the appearance deteriorates.

そこで、本発明の一実施の形態では、タッチパネルを備える情報端末において、指やタッチペンなどがタッチパネルから離れた場合、タッチが解除された位置近傍のタッチ状態に基づいて、移動軌跡の終端部分の処理方法を決定し、決定した処理方法に従って終端部分を所定の形状に加工する制御を行う。   Therefore, in an embodiment of the present invention, in an information terminal including a touch panel, when a finger, a touch pen, or the like is separated from the touch panel, the processing of the end portion of the movement track is performed based on the touch state in the vicinity of the position where the touch is released. A method is determined, and control for processing the end portion into a predetermined shape is performed according to the determined processing method.

具体的には、表示部上に、タッチ位置を検出可能なタッチパネルを備える情報端末において、タッチパネルから出力される信号に基づいてタッチ位置を特定し、当該タッチ位置の移動軌跡に基づき、線を描画若しくは消去する機能を備え、指やタッチペンなどがタッチパネルから離れた場合に、その離れ方(タッチ位置の移動方向の変化や移動速度/移動加速度の変化、押圧力の変化、移動軌跡など)を検出し、その離れ方に従って描画若しくは消去している線の終端部分の延長線上の描画若しくは消去の方法を決定し、決定した方法に従って描画若しくは消去を行うように制御する。   Specifically, in an information terminal including a touch panel capable of detecting the touch position on the display unit, the touch position is specified based on a signal output from the touch panel, and a line is drawn based on the movement locus of the touch position. Or, when a finger or a touch pen moves away from the touch panel, it detects the distance (change in the direction of movement of the touch position, change in moving speed / acceleration, change in pressing force, movement trajectory, etc.) Then, the drawing or erasing method on the extension line of the end portion of the line being drawn or erased is determined according to the distance, and the drawing or erasing is controlled according to the determined method.

これにより、簡単な操作で見栄えのよい文字や図形を描画することができる。特に、上記手法を文字の描画に適用することにより、文字の「はね」や「はらい」、「とめ」を正確に再現することができ、手書き入力文字の見栄えを格段に向上させることができる。   Thereby, it is possible to draw a good-looking character or figure with a simple operation. In particular, by applying the above method to the drawing of characters, it is possible to accurately reproduce the characters “Hane”, “Haraai”, and “Tome”, and to greatly improve the appearance of handwritten input characters. .

上記した本発明の一実施の形態についてさらに詳細に説明すべく、本発明の一実施例に係る情報端末及び描画制御プログラム並びに描画制御方法について、図1乃至図8を参照して説明する。図1は、本実施例の情報端末の外観を模式的に示す斜視図であり、図2は、情報端末の構成を示すブロック図である。また、図3乃至図5は、本実施例の情報端末の描画制御動作の一例(終端部分を加工する動作)を示す図であり、図6は、その描画制御動作の手順を示すフローチャート図である。また、図7は、本実施例の情報端末の描画制御動作の一例(線を繋ぎ合わせる動作)を示す図であり、図8は、その描画制御動作の手順を示すフローチャート図である。   In order to describe the above-described embodiment of the present invention in more detail, an information terminal, a drawing control program, and a drawing control method according to an embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a perspective view schematically showing the appearance of the information terminal of this embodiment, and FIG. 2 is a block diagram showing the configuration of the information terminal. FIGS. 3 to 5 are diagrams showing an example of the drawing control operation of the information terminal according to the present embodiment (operation for processing the terminal portion), and FIG. 6 is a flowchart showing the procedure of the drawing control operation. is there. FIG. 7 is a diagram showing an example (operation for connecting lines) of the drawing control operation of the information terminal of this embodiment, and FIG. 8 is a flowchart showing the procedure of the drawing control operation.

図1に示すように、本実施例の情報端末100は、ノート型のコンピュータ装置やタブレット端末、電子ペーパー、電子ブック等の表示機能を備えた装置である。なお、以下の実施例では、情報端末として入力と表示が可能な情報端末100を例にして説明するが、本実施例の情報端末は、必ずしも表示機能を備えていなくてもよく、タッチパネルを用いて情報を入力可能な装置であればよい。   As shown in FIG. 1, the information terminal 100 according to the present embodiment is a device having a display function such as a notebook computer device, a tablet terminal, electronic paper, or an electronic book. In the following embodiment, an information terminal 100 that can be input and displayed will be described as an example of the information terminal. However, the information terminal of this embodiment does not necessarily have a display function and uses a touch panel. Any device that can input information can be used.

上記情報端末100は、図2に示すように、CPU(Central Processing Unit)101、メモリ102、表示部103、表示コントローラ104、操作部105、通信部106、電池107、データ処理部108などで構成される。   As shown in FIG. 2, the information terminal 100 includes a CPU (Central Processing Unit) 101, a memory 102, a display unit 103, a display controller 104, an operation unit 105, a communication unit 106, a battery 107, a data processing unit 108, and the like. Is done.

CPU101は、メモリ102から読み出した入力制御プログラムを実行し、各部の動作を制御する制御部として機能する。   The CPU 101 executes an input control program read from the memory 102 and functions as a control unit that controls the operation of each unit.

メモリ102は、ROM(Read Only Memory)やRAM(Random Access Memory)などで構成され、CPU101で動作する各種プログラム、情報端末100の動作を制御するための設定情報、各種データ(例えば、予め設定された終端部分の形状を規定する情報、ユーザを識別するための情報、ドキュメントのデータ)などを記憶する。   The memory 102 includes a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. Various programs that operate on the CPU 101, setting information for controlling the operation of the information terminal 100, various data (for example, preset) Information defining the shape of the terminal portion, information for identifying the user, document data) and the like are stored.

表示部103は、液晶表示装置(LCD:Liquid Crystal Display)や有機EL(electroluminescence)表示装置、電子ペーパー(EPD:Electrophoretic Display)等からなり、描画した線や図形などを表示する。なお、電子ペーパーは、一対の透明なフィルム基板の内表面に透明導電性の電極が形成され、電極間に導電性を有する黒色トナーと電気絶縁性を有する白色トナーが封入され、電極間に電圧を印加すると黒色トナーが移動して白色トナーと入れ替わって色が変化する構造である。   The display unit 103 includes a liquid crystal display (LCD), an organic EL (electroluminescence) display, electronic paper (EPD), and the like, and displays drawn lines and figures. Electronic paper has a transparent conductive electrode formed on the inner surface of a pair of transparent film substrates, and a conductive black toner and an electrically insulating white toner are sealed between the electrodes, and a voltage is applied between the electrodes. When the toner is applied, the black toner moves and replaces the white toner to change the color.

表示コントローラ104は、表示部103を駆動し、CPU101の指示に従って、表示部103の表示を制御する。   The display controller 104 drives the display unit 103 and controls the display on the display unit 103 in accordance with an instruction from the CPU 101.

操作部105は、表示部103の前面又は背面に、透明電極が格子状に配置された感圧式若しくは静電容量方式のタッチパネル等であり、指やタッチペンなどでタッチした部分に配置された透明電極から出力される信号をCPU101及びデータ処理部108に送る。なお、本実施例のタッチパネルは、複数の透明電極から信号を同時に処理することができる(いわゆるマルチタッチ機能を備える)ものとする。   The operation unit 105 is a pressure-sensitive or capacitive touch panel or the like in which transparent electrodes are arranged in a grid pattern on the front surface or the back surface of the display unit 103. The transparent electrode is disposed on a portion touched with a finger or a touch pen. Is sent to the CPU 101 and the data processing unit 108. In addition, the touch panel of a present Example shall be able to process a signal from a some transparent electrode simultaneously (it is equipped with what is called a multi-touch function).

通信部106は、NIC(Network Interface Card)やモデムなどであり、有線通信や無線通信によりネットワークに接続されたコンピュータ装置やサーバと交信し、ドキュメントのデータなどを受信する。   The communication unit 106 is a NIC (Network Interface Card), a modem, or the like, and communicates with a computer device or server connected to the network by wired communication or wireless communication, and receives document data and the like.

電池107は、情報端末100の各部を駆動するための電源を供給する二次電池などである。   The battery 107 is a secondary battery that supplies power for driving each part of the information terminal 100.

データ処理部108は、操作部105(タッチパネル)から出力される信号を処理し、タッチ位置を特定する。そして、1又は複数の位置でタッチされ、少なくとも1つのタッチ位置を移動させた場合に、各々の線の移動軌跡に基づいて、線を描画若しくは消去する。また、指やタッチペンがタッチパネルから離された場合、その離され方(タッチ位置の移動方向の変化や移動速度/移動加速度の変化、押圧力の変化、移動軌跡など)を検出し、その離れ方に従って描画若しくは消去している線の終端部分の延長線上の描画若しくは消去の方法を決定し、決定した方法に従って描画若しくは消去を行う。このデータ処理部108は、ハードウェアとして構成してもよいし、ソフトウェア(CPU101上で動作する描画制御プログラム)として構成してもよい。   The data processing unit 108 processes a signal output from the operation unit 105 (touch panel) and specifies a touch position. When touching at one or a plurality of positions and moving at least one touch position, lines are drawn or erased based on the movement trajectory of each line. Also, when a finger or touch pen is released from the touch panel, it detects how it is released (changes in the direction of movement of the touch position, changes in movement speed / acceleration, changes in pressure, movement trajectory, etc.) The drawing or erasing method on the extension line of the end portion of the line being drawn or erased is determined according to, and the drawing or erasing is performed according to the determined method. The data processing unit 108 may be configured as hardware or software (a drawing control program that operates on the CPU 101).

なお、図2は、本実施例の情報端末100の一例であり、その構成は適宜変更することができる。   Note that FIG. 2 is an example of the information terminal 100 according to the present embodiment, and the configuration thereof can be changed as appropriate.

次に、上記構成の情報端末100を用いて手書き入力した場合の描画制御について、図面を参照して具体的に説明する。   Next, drawing control when handwritten input is performed using the information terminal 100 having the above configuration will be specifically described with reference to the drawings.

従来、タッチパネル上で指やタッチペンなどをスライドさせて線を描画する場合、指やタッチペンをタッチパネル上にタッチした位置(以下、タッチ開始位置と呼ぶ。)から、指やタッチペンをタッチパネルから離した位置(以下、タッチ終了位置と呼ぶ。)までのタッチ位置の移動軌跡が線として描画される。   Conventionally, when a line is drawn by sliding a finger or touch pen on the touch panel, the position where the finger or touch pen is separated from the touch panel from the position where the finger or touch pen is touched on the touch panel (hereinafter referred to as the touch start position). The movement locus of the touch position up to (hereinafter referred to as the touch end position) is drawn as a line.

しかしながら、手書き入力は、文字や図形を簡便に入力することを目的としており、文字や図形を正確に入力するのは難しいため、手書き入力した文字や図形の見栄えが悪化するという問題があった。例えば、文字は、線の終端部分に「はね」や「はらい」、「とめ」などを表現することによって流麗になって見栄えがよくなり、イラストなどの図形は、「はらい」、「とめ」などを表現することによって躍動感が生じて見栄えがよくなるが、手書き入力では、指やタッチペンを微細に動かすことが難しいため、見栄えのよい文字や図形を描画することができない。   However, handwriting input is intended to easily input characters and figures, and it is difficult to input characters and figures accurately, so that there is a problem that the appearance of characters and figures input by handwriting deteriorates. For example, characters can be made to look good by expressing “Hane”, “Harai”, “Tome”, etc. at the end of the line, and illustrations such as “Harai”, “Tame” However, in handwriting input, it is difficult to move a finger or a touch pen finely, so that it is not possible to draw a good-looking character or figure.

そこで、本実施例では、指やタッチペンがタッチパネルから離された場合、データ処理部108は、タッチ終了位置近傍のタッチ状態に基づいて、その離され方を検出し、その離れ方に従って、線の終端部分を自動的に加工して、「はね」や「はらい」、「とめ」などを表現できるようにする。   Therefore, in this embodiment, when the finger or the touch pen is released from the touch panel, the data processing unit 108 detects the release based on the touch state in the vicinity of the touch end position, and the line is changed according to the release. The end part is automatically processed so that “hello”, “hari”, “stop”, etc. can be expressed.

具体的には、図3(a)に示すように、指をタッチパネル上で移動させると、移動軌跡(図の太線)に沿って図の細線で示す幅の線が描画されるが、その際、タッチ終了位置近傍のタッチ状態(図の黒丸で示すタッチ位置から先の指の離し方)に従って、線の終端形状を加工する。   Specifically, as shown in FIG. 3A, when a finger is moved on the touch panel, a line having a width indicated by a thin line in the figure is drawn along the movement locus (thick line in the figure). Then, the end shape of the line is processed according to the touch state in the vicinity of the touch end position (how to release the previous finger from the touch position indicated by the black circle in the figure).

例えば、タッチ終了位置近傍でタッチ位置が上方向に移動した場合は、「はね」の動作であると判断して、図3(b−1)に示すように、線の終端部分を上方向に伸ばし、線の幅を徐々に細くする。その際、上方向に移動するタッチ位置の移動速度や移動加速度に応じて、上方向に伸ばす長さや幅の変化量を変える。例えば、タッチ位置の移動速度や移動加速度が大きくなるに従って、上方向に伸ばす長さを長くしたり、幅の変化量を大きくしたりする。   For example, when the touch position moves upward in the vicinity of the touch end position, it is determined that the action is “splash”, and the end portion of the line is moved upward as shown in FIG. And gradually reduce the width of the line. At this time, the amount of change in length and width extending upward is changed according to the moving speed and moving acceleration of the touch position that moves upward. For example, as the moving speed or moving acceleration of the touch position increases, the length extending upward is increased or the amount of change in width is increased.

また、タッチ終了位置近傍でタッチ位置が移動軌跡の延長線方向に移動した場合は、「はらい」の動作であると判断して、図3(b−2)に示すように、線の終端部分を延長線方向に伸ばし、線の幅を徐々に小さくする。その際、移動軌跡の延長線方向に移動するタッチ位置の移動速度や移動加速度に応じて、延長線方向に伸ばす長さや幅の変化量を変える。例えば、タッチ位置の移動速度や移動加速度が大きくなるに従って、延長線方向に伸ばす長さを長くしたり、幅の変化量を大きくしたりする。   Further, when the touch position moves in the extension line direction of the movement locus in the vicinity of the touch end position, it is determined that the operation is “Harai”, and as shown in FIG. Is extended in the direction of the extension line, and the width of the line is gradually reduced. At that time, the amount of change in length and width extending in the extension line direction is changed according to the movement speed and movement acceleration of the touch position moving in the extension line direction of the movement locus. For example, as the moving speed or moving acceleration of the touch position increases, the length extending in the extension line direction is increased, or the change amount of the width is increased.

また、タッチ終了位置近傍でタッチ位置が静止した場合は、「とめ」の動作であると判断して、図3(b−3)に示すように、線の終端部分を太らせる。その際、静止する直前のタッチ位置の移動速度や移動加速度に応じて、太らせる程度を変える。例えば、ゆっくり静止するほど又は静止時間が長いほど大きく太らせる。   Further, when the touch position is stationary in the vicinity of the touch end position, it is determined that the operation is “stop”, and the end portion of the line is thickened as shown in FIG. At that time, the degree of fattening is changed in accordance with the moving speed and moving acceleration of the touch position immediately before it stops. For example, the fattening increases as the stationary time or the stationary time increases.

また、感圧式のタッチパネルを用いる場合は、押圧力の変化に応じて、線の終端部分の形状を変化させる。例えば、図3(c)に示すように、タッチ位置の移動に対して押圧力が急激に小さくなった場合は、「はね」や「はらい」、「とめ」のサイズを小さく(「はね」や「はらい」の長さを短く、又は、「とめ」の大きさを小さく)し、押圧力の変化が緩やかになるに従って、「はね」や「はらい」、「とめ」のサイズを大きく(「はね」や「はらい」の長さを長く、又は、「とめ」の大きさを大きく)する。   When a pressure-sensitive touch panel is used, the shape of the end portion of the line is changed according to the change in the pressing force. For example, as shown in FIG. 3C, when the pressing force suddenly decreases with respect to the movement of the touch position, the sizes of “Splash”, “Harai”, and “Tome” are reduced (“Splash”). ”Or“ Harai ”or“ Tame ”is shortened, and the size of“ Splash ”,“ Harai ”, or“ Tame ”increases as the pressure changes more slowly. (The length of “Hane” or “Harai” is increased, or the size of “Tome” is increased).

このように、タッチ終了位置近傍のタッチ状態(タッチ位置の移動方向の変化、移動速度の変化、移動加速度の変化、押圧力の変化など)に基づいて、線の終端部分の形状を加工することにより、筆で描いたような文字や図形を描画することができ、文字や図形の見栄えを向上させることができる。   In this way, the shape of the end portion of the line is processed based on the touch state in the vicinity of the touch end position (change in moving direction of the touch position, change in moving speed, change in moving acceleration, change in pressing force, etc.) Thus, it is possible to draw characters and figures as if drawn with a brush, and improve the appearance of the characters and figures.

図3は、1本の指やタッチペンでタッチする場合(シングルタッチ)の例であるが、マルチタッチが可能なタッチパネルを用いて、複数の指やタッチペンで太い線や領域を描画する場合について、以下に説明する。   FIG. 3 is an example of touching with one finger or a touch pen (single touch), but when a thick line or region is drawn with a plurality of fingers or touch pens using a touch panel capable of multi-touch, This will be described below.

太い線や領域を描く場合、タッチパネル上で複数(例えば2本)の指やタッチペンをスライドさせ、複数本の線で特定される閉曲面を塗りつぶす方法が用いられる。この方法では、図4(a−1)に示すように、指やタッチペンをタッチパネル上にタッチした位置(タッチ開始位置)から、指やタッチペンをタッチパネルから離した位置(タッチ終了位置)までを繋ぐ複数の線と、複数のタッチ開始位置を繋ぐ線と、複数のタッチ終了位置を繋ぐ線と、で特定される閉曲面が塗りつぶされて太い線となる。また、終端部分の形状を加工する方法として、図4(a−2)に示すように、複数のタッチ終了位置を円弧で繋いで終端部分に丸みを持たせる方法や、図4(a−3)に示すように、各々のタッチ終了位置から加速度方向に直線的に線を延ばして終端部分を尖らせる方法などがある。   When drawing a thick line or region, a method is used in which a plurality of (for example, two) fingers or a touch pen are slid on the touch panel to fill a closed curved surface specified by the plurality of lines. In this method, as shown in FIG. 4A-1, a position from a position where the finger or touch pen is touched on the touch panel (touch start position) to a position where the finger or touch pen is separated from the touch panel (touch end position) is connected. A closed curved surface specified by a plurality of lines, a line connecting a plurality of touch start positions, and a line connecting a plurality of touch end positions is filled with a thick line. Further, as a method of processing the shape of the terminal portion, as shown in FIG. 4A-2, a plurality of touch end positions are connected by an arc to round the terminal portion, or FIG. As shown in FIG. 5, there is a method of sharpening the end portion by extending a line linearly in the acceleration direction from each touch end position.

しかしながら、これらの方法では、「はね」や「はらい」、「とめ」などを正確に表現することができないという問題があった。そこで、本実施例では、マルチタッチで太い線や領域を描画する場合は、各々の線のタッチ終了位置近傍のタッチ位置の移動軌跡に基づいて、タッチ終了位置から先を描画するようにする。   However, these methods have a problem in that it is not possible to accurately represent “hane”, “hari”, and “stop”. Therefore, in this embodiment, when a thick line or region is drawn by multi-touch, the tip is drawn from the touch end position based on the movement locus of the touch position near the touch end position of each line.

具体的には、図4(b−1)に示すように、2本の指で線を描画した際、各々の線のタッチ終了位置近傍のタッチ位置の移動軌跡に基づいて、移動軌跡が直線の場合はその直線を延長し、移動軌跡が曲線の場合は曲線の曲率を維持して延長し、延長した複数の線が交わる位置までを描画する。また、図4(b−2)に示すように、指をタッチパネルから離す際に、タッチ位置を水平方向に移動(タッチパネル面上で移動)させず、垂直方向(タッチパネルから離す方向)のみに移動させた場合、複数のタッチ終了位置を予め定めた図形で繋ぎ合わせて終端部分を一定の形状にする。そして、必要に応じて、複数の線で特定される領域を塗りつぶす。   Specifically, as shown in FIG. 4B-1, when a line is drawn with two fingers, the movement locus is a straight line based on the movement locus of the touch position near the touch end position of each line. In the case of, the straight line is extended. When the movement locus is a curve, the curve is extended while maintaining the curvature of the curve, and the drawing is performed up to the position where the extended lines intersect. Also, as shown in FIG. 4B-2, when the finger is released from the touch panel, the touch position is not moved in the horizontal direction (moved on the touch panel surface), but is moved only in the vertical direction (direction away from the touch panel). In this case, a plurality of touch end positions are connected with a predetermined figure to make the end portion a certain shape. Then, if necessary, an area specified by a plurality of lines is filled.

このように、複数の指やタッチペンで太い線や領域を描画した時に、各々の線のタッチ終了位置近傍のタッチ位置の移動軌跡に基づいて、各々の線を交点まで延長させたり、タッチ終了位置でタッチパネルから引き上げた場合は終端部分を予め定めた形状に加工したりすることにより、見栄えのよい文字や図形を描画することができる。   In this way, when a thick line or region is drawn with a plurality of fingers or a touch pen, each line is extended to the intersection point based on the movement locus of the touch position near the touch end position of each line, or the touch end position When it is lifted from the touch panel, it is possible to draw a good-looking character or figure by processing the end portion into a predetermined shape.

なお、図4では、2本の線が徐々に近づき、その延長線上で交差する場合を示したが、2本の線が徐々に離れ、その延長線上で交差しない場合に対しても、本実施例の描画制御方法を適用することができる。   FIG. 4 shows a case where the two lines gradually approach and intersect on the extension line. However, the present embodiment is also applied to the case where the two lines are gradually separated and do not intersect on the extension line. The example drawing control method can be applied.

例えば、間隔が徐々に広がるように2本の線の描画した場合、従来は、図5(a−1)に示すように、タッチ終了位置を加工せずにそのままにするか、若しくは、図5(a−2)に示すように、2本の線のタッチ終了位置を直線で繋ぐかのいずれかの方法が用いられていた。   For example, when two lines are drawn so that the interval gradually increases, conventionally, as shown in FIG. 5 (a-1), the touch end position is left as it is without processing, or FIG. As shown in (a-2), any method of connecting the touch end positions of two lines with a straight line has been used.

これに対して、本実施例では、図5(b−1)に示すように、各々の線のタッチ終了位置近傍のタッチ位置の移動軌跡に基づいて、移動軌跡が直線の場合はその直線を予め定めた長さだけ延長したり、移動軌跡が曲線の場合は曲線の曲率を維持して予め定めた長さだけ延長したりする。また、図5(b−2)に示すように、複数のタッチ終了位置を予め定めた図形で繋ぎ合わせ、必要に応じて、複数の線で特定される領域を塗りつぶす。このような描画制御を行うことにより、見栄えのよい文字や図形を描画することができる。   On the other hand, in this embodiment, as shown in FIG. 5 (b-1), when the movement locus is a straight line based on the movement locus of the touch position in the vicinity of the touch end position of each line, the straight line is changed. It is extended by a predetermined length, or when the movement locus is a curve, it is extended by a predetermined length while maintaining the curvature of the curve. Further, as shown in FIG. 5B-2, a plurality of touch end positions are connected with a predetermined figure, and an area specified by a plurality of lines is filled as necessary. By performing such drawing control, it is possible to draw a good-looking character or figure.

なお、複数の指やタッチペンはタッチパネルから同時に離す必要はなく、別々に離すこともできる。この場合は、すべてのタッチが解除されてから、各々の線のタッチ終了位置近傍の移動軌跡に基づいて、上述した描画制御を行えばよい。また、上記では、複数の線の終端処理を行った後、必要に応じて、複数の線で特定される領域(閉曲面)を塗りつぶしたが、複数の線のタッチ位置を繋ぐ線を描画しながら終端処理を行うことによっても、同じように塗りつぶすことができる。   The plurality of fingers and the touch pen do not need to be separated from the touch panel at the same time, and can be separated separately. In this case, after all the touches are released, the above-described drawing control may be performed based on the movement locus in the vicinity of the touch end position of each line. Also, in the above, after the termination of a plurality of lines, the area (closed curved surface) specified by the plurality of lines is filled as necessary, but a line connecting the touch positions of the plurality of lines is drawn. However, it can be painted in the same way by performing termination processing.

次に、タッチ終了位置近傍のタッチ状態(タッチ位置の移動方向の変化や移動速度/移動加速度の変化、押圧力の変化、タッチ位置の移動軌跡)に基づいて、線の終端部分の形状を加工する手順について、図6のフローチャート図を参照して説明する。   Next, the shape of the end part of the line is processed based on the touch state in the vicinity of the touch end position (change in moving direction of touch position, change in moving speed / acceleration, change in pressing force, moving locus of touch position) The procedure to do is demonstrated with reference to the flowchart figure of FIG.

まず、図6に示すように、ユーザが情報端末100のタッチパネル上で1又は複数の指やタッチペンを移動させると、データ処理部108は、タッチパネルの出力信号を処理してタッチ位置を特定し、そのタッチ位置の移動軌跡に基づいて通常の描画を行う(S101)。次に、データ処理部108は、いずれかのタッチ位置が終点に達したかを判断し(S102)、いずれのタッチ位置も終点に達していない場合は、タッチ位置の移動軌跡を曲線近似し(S103)、S101に戻って通常の描画を継続する。   First, as shown in FIG. 6, when the user moves one or more fingers or a touch pen on the touch panel of the information terminal 100, the data processing unit 108 processes the output signal of the touch panel to identify the touch position, Normal drawing is performed based on the movement locus of the touch position (S101). Next, the data processing unit 108 determines whether any touch position has reached the end point (S102). If any touch position has not reached the end point, the movement locus of the touch position is approximated by a curve ( S103), returning to S101 and continuing normal drawing.

いずれかのタッチ位置が終点に達した場合は、データ処理部108は、終点での水平加速度があるかを判断する(S104)。水平加速度がある場合は、データ処理部108は、直前の近似曲線から外挿して軌跡を描画する(S105)。そして、データ処理部108は、すべてのタッチ位置が終点に達したかを判断し(S106)、終点に達していないものがあれば、S105に戻って同様の処理を繰り返し、すべてのタッチ位置が終点に達したら、終点でのタッチ位置の移動方向の変化、移動速度の変化、移動加速度の変化、押圧力の変化、移動軌跡などに基づいて、若しくは、予め定めた方法に従って、終端部分の描画処理を行う(S107)。   If any touch position reaches the end point, the data processing unit 108 determines whether there is a horizontal acceleration at the end point (S104). When there is a horizontal acceleration, the data processing unit 108 extrapolates from the immediately preceding approximate curve and draws a trajectory (S105). Then, the data processing unit 108 determines whether all touch positions have reached the end point (S106). If there is any touch position that has not reached the end point, the process returns to S105 and the same processing is repeated, and all the touch positions are determined. When the end point is reached, the end part is drawn based on a change in the movement direction of the touch position at the end point, a change in movement speed, a change in movement acceleration, a change in pressing force, a movement locus, or the like, or according to a predetermined method. Processing is performed (S107).

S104で、終点での水平加速度がない場合は、データ処理部108は、軌跡を止め(S108)、他に移動しているタッチ位置があるかを判断する(S109)。他に移動しているタッチ位置があれば、S101に戻って同様の処理を繰り返し、他に移動しているタッチ位置がなければ、終点でのタッチ位置の移動方向の変化、移動速度の変化、移動加速度の変化、押圧力の変化、移動軌跡などに基づいて、若しくは、予め定めた方法に従って、終端部分の描画処理を行う(S110)。   In S104, when there is no horizontal acceleration at the end point, the data processing unit 108 stops the locus (S108), and determines whether there is another moving touch position (S109). If there are other moving touch positions, the process returns to S101 and the same processing is repeated. If there is no other moving touch position, the movement direction of the touch position at the end point, the movement speed, Based on the change in the movement acceleration, the change in the pressing force, the movement locus, or the like, or in accordance with a predetermined method, the drawing process of the terminal portion is performed (S110).

このように、タッチ終了位置近傍のタッチ状態に基づいて1又は複数の線の終端の形状を加工することにより、見栄えのよい文字や図形を描画することができる。また、複数の指やタッチペンで複数の線を描画した時に、各々の線のタッチ終了位置近傍のタッチ状態に基づいてタッチ終了位置から線を延長させたり、終端部分を予め定めた形状に加工したりすることにより、見栄えのよい文字や図形を描画することができる。   Thus, by processing the shape of the end of one or a plurality of lines based on the touch state near the touch end position, it is possible to draw a good-looking character or figure. Also, when multiple lines are drawn with multiple fingers or touch pens, the line is extended from the touch end position based on the touch state near the touch end position of each line, or the end portion is processed into a predetermined shape. By doing this, it is possible to draw characters and figures that look good.

以上、1又は複数の連続する線の終端部分の描画処理に関して記載したが、例えば、指やタッチペンが意図せずタッチパネルから離れてしまった場合や、指やタッチペンをタッチパネル上で早く動かすことによって情報端末100がタッチ状態を検出できない場合には、連続する1つの図形として描画することができず、見栄えが悪化する。   As described above, the drawing processing of the terminal portion of one or a plurality of continuous lines has been described. For example, when the finger or the touch pen is unintentionally separated from the touch panel or when the finger or the touch pen is moved quickly on the touch panel When the terminal 100 cannot detect the touch state, it cannot be drawn as one continuous graphic, and the appearance is deteriorated.

このような場合に、近似曲線から軌跡を外挿する手法を利用することにより、断片化した線を繋がった線として描画することができる。例えば、図7に示すように、断続的に線を描画した場合、各々の線の断片の終端部分に対して、近似曲線から軌跡を外挿する手法を利用して線を延長することにより、各々の断片をその先の断片に繋ぎ合わせることができ、結果として、1本の連続した線を描画することができる。この場合の情報端末100の描画動作について、図8のフローチャート図を参照して説明する。   In such a case, by using a method of extrapolating the trajectory from the approximate curve, it is possible to draw a fragmented line as a connected line. For example, as shown in FIG. 7, when a line is drawn intermittently, by extending the line using a method of extrapolating the trajectory from the approximate curve to the end portion of each line fragment, Each piece can be joined to the previous piece, and as a result, a single continuous line can be drawn. The drawing operation of the information terminal 100 in this case will be described with reference to the flowchart of FIG.

まず、図8に示すように、ユーザが情報端末100のタッチパネル上で1又は複数の指やタッチペンを移動させると、データ処理部108は、タッチパネルの出力信号を処理してタッチ位置を特定し、そのタッチ位置の移動軌跡に基づいて通常の描画を行う(S201)。次に、データ処理部108は、タッチされた点が離されたかを判断する(S202)。離されていない場合は、S201に戻って通常の描画を継続し、離された場合は、データ処理部108は、予め規定された時間内に再度、タッチされたか(又は、予め規定された時間内、かつ、予め規定された距離範囲内の位置にタッチされたか)を判断する(S203)。   First, as illustrated in FIG. 8, when the user moves one or more fingers or a touch pen on the touch panel of the information terminal 100, the data processing unit 108 processes the output signal of the touch panel to identify the touch position, Normal drawing is performed based on the movement locus of the touch position (S201). Next, the data processing unit 108 determines whether the touched point has been released (S202). If not released, the process returns to S201 to continue normal drawing. If released, the data processing unit 108 has been touched again within a predetermined time (or a predetermined time). And whether or not a position within a predetermined distance range has been touched) (S203).

規定の時間内(又は、規定の時間内かつ規定の距離範囲内の位置)に再度、タッチされた場合は、データ処理部108は、軌跡を曲線近似し、途切れなく描画した後(S204)、S201に戻って同様の処理を繰り返す。一方、規定の時間内(又は、規定の時間内かつ規定の距離範囲内の位置)に再度、タッチされなかった場合は、データ処理部108は、上記と同様に、終点でのタッチ位置の移動方向の変化、移動速度の変化、移動加速度の変化、押圧力の変化、移動軌跡などに基づいて、若しくは、予め定めた方法に従って、終端部分の描画処理を行う(S205)。   When touched again within the specified time (or within the specified time and within the specified distance range), the data processing unit 108 approximates the trajectory and draws it without any interruption (S204). Returning to S201, the same processing is repeated. On the other hand, if the touch is not made again within the specified time (or within the specified time and within the specified distance range), the data processing unit 108 moves the touch position at the end point as described above. Based on the change in direction, the change in moving speed, the change in moving acceleration, the change in pressing force, the moving locus, or the like, or in accordance with a predetermined method, the drawing process of the end portion is performed (S205).

なお、本発明は上記実施例の記載に限定されるものではなく、本発明の趣旨を逸脱しない限りにおいて、その構成及び制御は適宜変更可能である。   In addition, this invention is not limited to description of the said Example, As long as it does not deviate from the meaning of this invention, the structure and control can be changed suitably.

例えば、上記説明では、線を描画したり、領域を塗りつぶしたりする場合について記載したが、予め描画された線を消去したり、領域内の情報を消去したりする場合に対しても同様に適用することができる。   For example, in the above description, the case of drawing a line or filling an area has been described, but the same applies to the case of deleting a previously drawn line or deleting information in the area. can do.

また、上記説明では、感圧式のタッチパネルを用いてタッチの押圧力の変化を利用する構成としたが、タッチの押圧力を利用せずに、タッチ位置の移動方向や移動速度や移動加速度の変化、移動軌跡のみを利用する場合は、静電式のタッチパネルを用いることもできる。   In the above description, the pressure-sensitive touch panel is used to change the touch pressing force, but the touch position moving direction, moving speed, and moving acceleration change without using the touch pressing force. When using only the movement trajectory, an electrostatic touch panel can be used.

本発明は、タッチパネルを備える装置、及び当該装置で動作するプログラム、並びにタッチパネル入力を制御する方法に利用可能である。   The present invention can be used for an apparatus including a touch panel, a program that operates on the apparatus, and a method for controlling touch panel input.

100 情報端末
101 CPU
102 メモリ
103 表示部
104 表示コントローラ
105 操作部
106 通信部
107 電池
108 データ処理部
100 Information terminal 101 CPU
DESCRIPTION OF SYMBOLS 102 Memory 103 Display part 104 Display controller 105 Operation part 106 Communication part 107 Battery 108 Data processing part

Claims (18)

表示部上に、タッチ位置を検出可能なタッチパネルを備える情報端末において、
前記タッチパネルから出力される信号に基づいてタッチ位置の移動軌跡を特定し、前記移動軌跡で規定される線を描画若しくは消去する機能と、タッチが解除された場合に、タッチが解除された位置近傍のタッチ状態に基づいて、描画若しくは消去している線の終端部分の形状を加工する機能と、を有するデータ処理部を備える、
ことを特徴とする情報端末。
In an information terminal including a touch panel capable of detecting a touch position on a display unit,
A function that identifies the movement locus of the touch position based on a signal output from the touch panel and draws or erases a line defined by the movement locus, and the vicinity of the position where the touch is released when the touch is released A data processing unit having a function of processing the shape of the terminal portion of the line being drawn or erased based on the touch state of
An information terminal characterized by that.
前記タッチパネルが1点でタッチされた場合、
前記データ処理部は、前記タッチが解除された位置近傍のタッチ位置の移動方向、移動速度及び移動加速度の少なくとも1つの変化に基づいて、前記終端部分の加工形状を決定する、
ことを特徴とする請求項1に記載の情報端末。
When the touch panel is touched at one point,
The data processing unit determines a processing shape of the terminal portion based on at least one change in a moving direction, a moving speed, and a moving acceleration of a touch position near the position where the touch is released;
The information terminal according to claim 1.
前記タッチパネルが押圧を検知する感圧式のタッチパネルの場合、
前記データ処理部は、前記タッチが解除された位置近傍のタッチの押圧力の変化に基づいて、前記終端部分の加工形状のサイズを決定する、
ことを特徴とする請求項2に記載の情報端末。
In the case of a pressure-sensitive touch panel where the touch panel detects pressing,
The data processing unit determines the size of the processing shape of the terminal portion based on the change in the pressing force of the touch near the position where the touch is released.
The information terminal according to claim 2.
前記タッチパネルが複数の点でタッチされた場合、
前記データ処理部は、前記タッチが解除された各々の位置近傍のタッチ位置の移動軌跡に基づいて、前記タッチが解除された各々の位置の先に線を外挿する、
ことを特徴とする請求項1に記載の情報端末。
When the touch panel is touched at a plurality of points,
The data processing unit extrapolates a line to the tip of each position where the touch is released based on the movement locus of the touch position near each position where the touch is released.
The information terminal according to claim 1.
前記データ処理部は、複数のタッチ位置の間隔が、前記タッチが解除された位置近傍で小さくなる場合は、前記外挿した複数の線を交点まで延ばし、複数のタッチ位置の間隔が、前記タッチが解除された位置近傍で大きくなる場合は、前記タッチが解除された各々の位置から先に所定の長さの線を外挿、若しくは、前記タッチが解除された複数の位置を予め定めた形状の図形で繋ぎ合わせる、
ことを特徴とする請求項4に記載の情報端末。
The data processing unit extends the extrapolated lines to an intersection when the interval between the plurality of touch positions becomes small near the position where the touch is released, and the interval between the plurality of touch positions is equal to the touch position. When it becomes larger in the vicinity of the position where the touch is released, a line having a predetermined length is extrapolated from each position where the touch is released, or a plurality of positions where the touch is released are determined in advance. Connect with the shape of
The information terminal according to claim 4.
前記データ処理部は、前記タッチが解除された後、予め定めた時間内、若しくは、予め定めた時間内かつ予め定めた距離範囲内の位置に、再度タッチされた場合は、前記タッチが解除された位置から線を外挿し、再度タッチされた位置に繋ぎ合わせる、
ことを特徴とする請求項1乃至5のいずれか一に記載の情報端末。
After the touch is released, the data processing unit releases the touch when it is touched again within a predetermined time, or within a predetermined time and within a predetermined distance range. Extrapolate the line from the selected position and connect it to the touched position again.
The information terminal according to claim 1, wherein the information terminal is an information terminal.
表示部上に、タッチ位置を検出可能なタッチパネルを備える情報端末で動作する描画制御プログラムであって、
前記情報端末を、
前記タッチパネルから出力される信号に基づいてタッチ位置の移動軌跡を特定し、前記移動軌跡で規定される線を描画若しくは消去する機能と、タッチが解除された場合に、タッチが解除された位置近傍のタッチ状態に基づいて、描画若しくは消去している線の終端部分の形状を加工する機能と、を有するデータ処理部、として機能させる、
ことを特徴とする描画制御プログラム。
A drawing control program that operates on an information terminal including a touch panel capable of detecting a touch position on a display unit,
The information terminal,
A function that identifies the movement locus of the touch position based on a signal output from the touch panel and draws or erases a line defined by the movement locus, and the vicinity of the position where the touch is released when the touch is released Functioning as a data processing unit having a function of processing the shape of the terminal portion of the line being drawn or erased based on the touch state of
A drawing control program characterized by that.
前記タッチパネルが1点でタッチされた場合、
前記データ処理部は、前記タッチが解除された位置近傍のタッチ位置の移動方向、移動速度及び移動加速度の少なくとも1つの変化に基づいて、前記終端部分の加工形状を決定する、
ことを特徴とする請求項7に記載の描画制御プログラム。
When the touch panel is touched at one point,
The data processing unit determines a processing shape of the terminal portion based on at least one change in a moving direction, a moving speed, and a moving acceleration of a touch position near the position where the touch is released;
The drawing control program according to claim 7.
前記タッチパネルが押圧を検知する感圧式のタッチパネルの場合、
前記データ処理部は、前記タッチが解除された位置近傍のタッチの押圧力の変化に基づいて、前記終端部分の加工形状のサイズを決定する、
ことを特徴とする請求項8に記載の描画制御プログラム。
In the case of a pressure-sensitive touch panel where the touch panel detects pressing,
The data processing unit determines the size of the processing shape of the terminal portion based on the change in the pressing force of the touch near the position where the touch is released.
The drawing control program according to claim 8.
前記タッチパネルが複数の点でタッチされた場合、
前記データ処理部は、前記タッチが解除された各々の位置近傍のタッチ位置の移動軌跡に基づいて、前記タッチが解除された各々の位置の先に線を外挿する、
ことを特徴とする請求項7に記載の描画制御プログラム。
When the touch panel is touched at a plurality of points,
The data processing unit extrapolates a line to the tip of each position where the touch is released based on the movement locus of the touch position near each position where the touch is released.
The drawing control program according to claim 7.
前記データ処理部は、複数のタッチ位置の間隔が、前記タッチが解除された位置近傍で小さくなる場合は、前記外挿した複数の線を交点まで延ばし、複数のタッチ位置の間隔が、前記タッチが解除された位置近傍で大きくなる場合は、前記タッチが解除された各々の位置から先に所定の長さの線を外挿、若しくは、前記タッチが解除された複数の位置を予め定めた形状の図形で繋ぎ合わせる、
ことを特徴とする請求項10に記載の描画制御プログラム。
The data processing unit extends the extrapolated lines to an intersection when the interval between the plurality of touch positions becomes small near the position where the touch is released, and the interval between the plurality of touch positions is equal to the touch position. When it becomes larger in the vicinity of the position where the touch is released, a line having a predetermined length is extrapolated from each position where the touch is released, or a plurality of positions where the touch is released are determined in advance. Connect with the shape of
The drawing control program according to claim 10.
前記データ処理部は、前記タッチが解除された後、予め定めた時間内、若しくは、予め定めた時間内かつ予め定めた距離範囲内の位置に、再度タッチされた場合は、前記タッチが解除された位置から線を外挿し、再度タッチされた位置に繋ぎ合わせる、
ことを特徴とする請求項7乃至11のいずれか一に記載の描画制御プログラム。
After the touch is released, the data processing unit releases the touch when it is touched again within a predetermined time, or within a predetermined time and within a predetermined distance range. Extrapolate the line from the selected position and connect it to the touched position again.
The drawing control program according to claim 7, wherein the drawing control program is any one of the following.
表示部上に、タッチ位置を検出可能なタッチパネルを備える情報端末における描画制御方法であって、
前記タッチパネルから出力される信号に基づいてタッチ位置の移動軌跡を特定し、前記移動軌跡で規定される線を描画若しくは消去する第1ステップと、
タッチが解除された場合に、タッチが解除された位置近傍のタッチ状態に基づいて、描画若しくは消去している線の終端部分の形状を加工する第2ステップと、を実行する、
ことを特徴とする描画制御方法。
A drawing control method in an information terminal including a touch panel capable of detecting a touch position on a display unit,
A first step of identifying a movement locus of a touch position based on a signal output from the touch panel and drawing or erasing a line defined by the movement locus;
Performing a second step of processing the shape of the terminal portion of the line being drawn or erased based on the touch state near the position where the touch is released when the touch is released;
A drawing control method characterized by that.
前記タッチパネルが1点でタッチされた場合、
前記第2ステップでは、前記タッチが解除された位置近傍のタッチ位置の移動方向、移動速度及び移動加速度の少なくとも1つの変化に基づいて、前記終端部分の加工形状を決定する、
ことを特徴とする請求項13に記載の描画制御方法。
When the touch panel is touched at one point,
In the second step, the processing shape of the terminal portion is determined based on at least one change in the moving direction, moving speed, and moving acceleration of the touch position near the position where the touch is released.
The drawing control method according to claim 13.
前記タッチパネルが押圧を検知する感圧式のタッチパネルの場合、
前記第2ステップでは、前記タッチが解除された位置近傍のタッチの押圧力の変化に基づいて、前記終端部分の加工形状のサイズを決定する、
ことを特徴とする請求項14に記載の描画制御方法。
In the case of a pressure-sensitive touch panel where the touch panel detects pressing,
In the second step, the size of the processing shape of the terminal portion is determined based on a change in the pressing force of the touch in the vicinity of the position where the touch is released.
The drawing control method according to claim 14.
前記タッチパネルが複数の点でタッチされた場合、
前記第2ステップでは、前記タッチが解除された各々の位置近傍のタッチ位置の移動軌跡に基づいて、前記タッチが解除された各々の位置の先に線を外挿する、
ことを特徴とする請求項13に記載の描画制御方法。
When the touch panel is touched at a plurality of points,
In the second step, based on the movement trajectory of the touch position near each position where the touch is released, extrapolate a line to the tip of each position where the touch is released.
The drawing control method according to claim 13.
前記第2ステップでは、複数のタッチ位置の間隔が、前記タッチが解除された位置近傍で小さくなる場合は、前記外挿した複数の線を交点まで延ばし、複数のタッチ位置の間隔が、前記タッチが解除された位置近傍で大きくなる場合は、前記タッチが解除された各々の位置から先に所定の長さの線を外挿、若しくは、前記タッチが解除された複数の位置を予め定めた形状の図形で繋ぎ合わせる、
ことを特徴とする請求項16に記載の描画制御方法。
In the second step, when the interval between the plurality of touch positions becomes small in the vicinity of the position where the touch is released, the extrapolated lines are extended to the intersection, and the interval between the plurality of touch positions is When it becomes larger in the vicinity of the position where the touch is released, a line having a predetermined length is extrapolated from each position where the touch is released, or a plurality of positions where the touch is released are determined in advance. Connect with the shape of
The drawing control method according to claim 16.
前記第2ステップで、前記タッチが解除された後、予め定めた時間内、若しくは、予め定めた時間内かつ予め定めた距離範囲内の位置に、再度タッチされた場合は、前記タッチが解除された位置から線を外挿し、再度タッチされた位置に繋ぎ合わせる処理を行う、
ことを特徴とする請求項13乃至17のいずれか一に記載の描画制御方法。
After the touch is released in the second step, the touch is released when the touch is made again within a predetermined time or within a predetermined time and within a predetermined distance range. Extrapolate the line from the selected position and connect it to the touched position again.
The drawing control method according to claim 13, wherein:
JP2011226530A 2011-10-14 2011-10-14 Information terminal, drawing control program, and drawing control method Pending JP2013088891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011226530A JP2013088891A (en) 2011-10-14 2011-10-14 Information terminal, drawing control program, and drawing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011226530A JP2013088891A (en) 2011-10-14 2011-10-14 Information terminal, drawing control program, and drawing control method

Publications (1)

Publication Number Publication Date
JP2013088891A true JP2013088891A (en) 2013-05-13

Family

ID=48532774

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011226530A Pending JP2013088891A (en) 2011-10-14 2011-10-14 Information terminal, drawing control program, and drawing control method

Country Status (1)

Country Link
JP (1) JP2013088891A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017049760A (en) * 2015-09-01 2017-03-09 シャープ株式会社 Information processing apparatus, information processing program, and information processing method
WO2017110606A1 (en) * 2015-12-22 2017-06-29 キヤノン株式会社 Information-processing device, control method therefor, and program
JP2017117435A (en) * 2015-12-22 2017-06-29 キヤノン株式会社 Information processing apparatus, control method thereof, and program
CN107967191A (en) * 2017-12-10 2018-04-27 吴静 A kind of intelligent tutoring method and its system based on data recovery
JP2022077127A (en) * 2020-11-11 2022-05-23 レノボ・シンガポール・プライベート・リミテッド Information processor and information processing method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06175777A (en) * 1992-12-03 1994-06-24 Matsushita Electric Ind Co Ltd Brush typeface forming apparatus and brush typeface forming method
JPH06266492A (en) * 1993-03-12 1994-09-22 Toshiba Corp Method and device for handwriting input
JP2000357046A (en) * 1999-06-15 2000-12-26 Mitsubishi Electric Corp Handwriting input device, method, and computer-readable recording medium recording handwriting input program
JP2001084104A (en) * 1999-09-10 2001-03-30 Ricoh Co Ltd Coordinate input / detection device and information storage medium
JP2004139411A (en) * 2002-10-18 2004-05-13 Wacom-It Co Ltd Brush drawing device, brush drawing program and brush drawing method
JP2008269059A (en) * 2007-04-17 2008-11-06 Nintendo Co Ltd Drawing processing program and drawing processing apparatus
WO2010119713A1 (en) * 2009-04-17 2010-10-21 株式会社東芝 Portable terminal
JP2011108180A (en) * 2009-11-20 2011-06-02 Sharp Corp Electronic device, display control method and program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06175777A (en) * 1992-12-03 1994-06-24 Matsushita Electric Ind Co Ltd Brush typeface forming apparatus and brush typeface forming method
JPH06266492A (en) * 1993-03-12 1994-09-22 Toshiba Corp Method and device for handwriting input
JP2000357046A (en) * 1999-06-15 2000-12-26 Mitsubishi Electric Corp Handwriting input device, method, and computer-readable recording medium recording handwriting input program
JP2001084104A (en) * 1999-09-10 2001-03-30 Ricoh Co Ltd Coordinate input / detection device and information storage medium
JP2004139411A (en) * 2002-10-18 2004-05-13 Wacom-It Co Ltd Brush drawing device, brush drawing program and brush drawing method
JP2008269059A (en) * 2007-04-17 2008-11-06 Nintendo Co Ltd Drawing processing program and drawing processing apparatus
WO2010119713A1 (en) * 2009-04-17 2010-10-21 株式会社東芝 Portable terminal
JP2011108180A (en) * 2009-11-20 2011-06-02 Sharp Corp Electronic device, display control method and program

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017049760A (en) * 2015-09-01 2017-03-09 シャープ株式会社 Information processing apparatus, information processing program, and information processing method
CN108475166B (en) * 2015-12-22 2022-03-25 佳能株式会社 Information processing apparatus, control method therefor, and program
WO2017110606A1 (en) * 2015-12-22 2017-06-29 キヤノン株式会社 Information-processing device, control method therefor, and program
JP2017117435A (en) * 2015-12-22 2017-06-29 キヤノン株式会社 Information processing apparatus, control method thereof, and program
CN108475166A (en) * 2015-12-22 2018-08-31 佳能株式会社 Information processing unit and its control method and program
GB2562931A (en) * 2015-12-22 2018-11-28 Canon Kk Information-processing device, control method therefor, and program
GB2562931B (en) * 2015-12-22 2021-10-06 Canon Kk Information-processing device, control method therefor, and program
CN107967191A (en) * 2017-12-10 2018-04-27 吴静 A kind of intelligent tutoring method and its system based on data recovery
JP2022077127A (en) * 2020-11-11 2022-05-23 レノボ・シンガポール・プライベート・リミテッド Information processor and information processing method
CN114546151A (en) * 2020-11-11 2022-05-27 联想(新加坡)私人有限公司 Information processing apparatus and information processing method
JP7118120B2 (en) 2020-11-11 2022-08-15 レノボ・シンガポール・プライベート・リミテッド Information processing device and information processing method
US11449176B2 (en) 2020-11-11 2022-09-20 Lenovo (Singapore) Pte. Ltd. Information processing system and method for avoiding execution of unintentional drawing operations
CN114546151B (en) * 2020-11-11 2025-03-14 联想(新加坡)私人有限公司 Information processing device and information processing method

Similar Documents

Publication Publication Date Title
JP5516535B2 (en) Electronic information terminal and area setting control program
CN102681786B (en) Method and device for text selection
US8633906B2 (en) Operation control apparatus, operation control method, and computer program
US10331313B2 (en) Method and apparatus for text selection
US10025487B2 (en) Method and apparatus for text selection
EP2781992A2 (en) Portable terminal with pen for providing a haptic effect
CA2821814C (en) Method and apparatus for text selection
US20130285930A1 (en) Method and apparatus for text selection
TWI497402B (en) Handwriting input recognition system and method
EP3543833A1 (en) Touch-sensitive button with two levels
EP2660727B1 (en) Method and apparatus for text selection
EP2660696A1 (en) Method and apparatus for text selection
EP2660697A1 (en) Method and apparatus for text selection
JP2013088891A (en) Information terminal, drawing control program, and drawing control method
WO2022257870A1 (en) Virtual scale display method and related device
JP5657866B2 (en) Input device, pointer display position adjustment method and program
US10283075B2 (en) Electronic apparatus which effects touch coordinate based on proximity and strain
CN109002237A (en) A kind of touch-control driving method, touch panel and touch control display apparatus
CN103049198B (en) handwriting input recognition system and method
KR101971162B1 (en) Flexible display apparatus and control method thereof
US20100156784A1 (en) Display apparatus and program
JP6584876B2 (en) Information processing apparatus, information processing program, and information processing method
CN112183318A (en) Writing method and device, storage medium and electronic whiteboard
TWI728426B (en) Emulate stylus pen
CN204595673U (en) A kind of electronic equipment

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20130417

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140625

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150713

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150724

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150909

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20160301