JP2011100253A - Drawing device - Google Patents

Drawing device Download PDF

Info

Publication number
JP2011100253A
JP2011100253A JP2009253877A JP2009253877A JP2011100253A JP 2011100253 A JP2011100253 A JP 2011100253A JP 2009253877 A JP2009253877 A JP 2009253877A JP 2009253877 A JP2009253877 A JP 2009253877A JP 2011100253 A JP2011100253 A JP 2011100253A
Authority
JP
Japan
Prior art keywords
end point
finger
line segment
locus
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009253877A
Other languages
Japanese (ja)
Other versions
JP5156720B2 (en
Inventor
Masanori Asada
昌範 浅田
Hirobumi Okamura
博文 岡村
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2009253877A priority Critical patent/JP5156720B2/en
Publication of JP2011100253A publication Critical patent/JP2011100253A/en
Application granted granted Critical
Publication of JP5156720B2 publication Critical patent/JP5156720B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a drawing device which is improved in the operability when a line segment is drawn while drawing an operation trajectory. <P>SOLUTION: The drawing device includes an operation input part 1 which detects an operation position; a drawing data creation part 2 which creates drawing data based on the operation position detected by the operation input part 1; and a display control part 8 which performs screen display based on the drawing data. The drawing data creation part 2 includes a trajectory drawing part 3 which generates drawing data showing a trajectory from the start of a drawing operation to the end thereof; a first end point determination part 4 which determines, when a second drawing operation is detected before a first drawing operation is ended, a first end point based on the operation position of the first drawing operation at the start of the second drawing operation; a second end point determination part 5 which determines a second end point based on the operation position of the second drawing operation at the end of the first drawing operation; and a segment line drawing part 6 which creates drawing data showing a segment line mutually connecting the first end point and the second end point. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、描画装置に係り、さらに詳しくは、描画操作の操作位置を検出して描画操作の軌跡を画面表示する描画装置の改良に関する。   The present invention relates to a drawing apparatus, and more particularly to an improvement of a drawing apparatus that detects an operation position of a drawing operation and displays a locus of the drawing operation on a screen.

タッチパネル上における指などの軌跡を検出し、画面上に表示させる描画機能として、いわゆる手書き入力機能を備えた端末装置が従来から知られている。タッチパネルは、検出面としての表示画面に対する操作を検出するセンサであり、表示画面に指を接触させた際に、その操作位置を示す2次元位置情報を出力する。手書き入力では、タッチパネルの2次元位置情報に基づいて、操作開始が検出されてから操作終了が検出されるまでの描画操作の軌跡が画面上に表示される。   A terminal device having a so-called handwriting input function has been conventionally known as a drawing function for detecting a trajectory of a finger or the like on a touch panel and displaying it on a screen. The touch panel is a sensor that detects an operation on a display screen as a detection surface, and outputs two-dimensional position information indicating the operation position when a finger is brought into contact with the display screen. In the handwriting input, based on the two-dimensional position information of the touch panel, a drawing operation trajectory from when the operation start is detected until the operation end is detected is displayed on the screen.

この手書き入力機能を携帯電話機やPDA(Personal Digital Assistants)などの携帯情報端末に搭載すれば、フリーハンドで描いた文字や図形を描画データとして取得することができ、また、この様な描画データを手書きメモとして電子メールとして送信することもできる。特に、携帯電話機などの携帯情報端末の場合、待ち合わせ場所付近の詳細な地図や目的地までの道順を手書き入力して描画データをメール送信することにより、メール送信相手に文字情報により伝達することが難しい情報を容易に伝達することができる。ここで、目的地までの道順や図形を手書き入力する場合、フリーハンドでは直線を正確に描画させるのが容易ではないので、所望の直線を簡単に入力できることが望ましい。   If this handwriting input function is installed in a portable information terminal such as a cellular phone or PDA (Personal Digital Assistants), characters and figures drawn freehand can be acquired as drawing data. It can also be sent as an e-mail as a handwritten memo. In particular, in the case of a portable information terminal such as a mobile phone, it is possible to transmit the drawing data by e-mail by handwriting the detailed map near the meeting place and the route to the destination, and transmitting it to the e-mail transmission partner by text information. Difficult information can be easily communicated. Here, when inputting a route or a figure to the destination by handwriting, it is not easy to draw a straight line accurately by freehand, it is desirable that a desired straight line can be easily input.

しかしながら、従来の手書き入力機能を備えた描画装置では、フリーハンドで描画している際に、所定の直線を描画させる場合、画面から指を離して操作入力を一旦終了させ、その後、所定の操作を行うことにより直線描画モードに切り替えなければならず、操作性が良くなかった。しかも、直線の描画後にフリーハンドによる操作軌跡の描画を再開させようとすると、再度、所定の操作を行うことにより軌跡描画モードに切り替えなければならなかった。   However, in a drawing apparatus having a conventional handwriting input function, when drawing a predetermined straight line while drawing freehand, the operation input is temporarily ended by releasing the finger from the screen, and then the predetermined operation is performed. Therefore, it was necessary to switch to the straight line drawing mode, and the operability was not good. Moreover, if it is attempted to resume the drawing of the operation locus by the freehand after drawing the straight line, it is necessary to switch to the locus drawing mode by performing a predetermined operation again.

ここで、特許文献1には、タッチパネル上の2つの位置を同時にタッチすることにより、2点を結ぶ直線を描画させる技術が提案されている。しかし、この特許文献1は、直線描画モードにおける直線の描画方法に関するものであり、フリーハンドによる操作軌跡の描画中に2点を結ぶ線分を描画させる際の操作性を向上させるものではない。   Here, Patent Document 1 proposes a technique for drawing a straight line connecting two points by simultaneously touching two positions on the touch panel. However, this patent document 1 relates to a straight line drawing method in the straight line drawing mode, and does not improve the operability when drawing a line segment connecting two points during drawing of an operation locus by a freehand.

特開平8−211992号公報Japanese Patent Laid-Open No. 8-211992

本発明は、上記事情に鑑みてなされたものであり、操作軌跡の描画中に線分を描画させる際の操作性を向上させた描画装置を提供することを目的としている。特に、描画操作の操作位置を検出して描画操作の軌跡を画面表示している際に、2つの端点を結ぶ線分の描画を簡単に行える描画装置を提供することを目的としている。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a drawing apparatus with improved operability when drawing a line segment while drawing an operation locus. In particular, an object of the present invention is to provide a drawing apparatus that can easily draw a line segment connecting two end points when the operation position of the drawing operation is detected and the locus of the drawing operation is displayed on the screen.

第1の本発明による描画装置は、操作位置を検出する操作位置検出手段と、上記操作位置に基づいて、描画データを生成する描画データ生成手段と、上記描画データに基づいて、画面表示を行う表示手段とを備え、上記描画データ生成手段が、描画操作の開始から終了までの軌跡を示す描画データを生成する軌跡描画手段と、第1の描画操作の終了前に第2の描画操作が検出された場合に、当該第2の描画操作の開始時における第1の描画操作の操作位置に基づいて、第1端点を決定する第1端点決定手段と、第1の描画操作の終了時における第2の描画操作の操作位置に基づいて、第2端点を決定する第2端点決定手段と、第1端点及び第2端点を結ぶ線分を示す描画データを生成する線分描画手段とを備えて構成される。   A drawing apparatus according to a first aspect of the present invention performs an operation position detection means for detecting an operation position, a drawing data generation means for generating drawing data based on the operation position, and a screen display based on the drawing data. Display means, wherein the drawing data generation means detects the drawing data indicating the drawing data from the start to the end of the drawing operation, and the second drawing operation is detected before the end of the first drawing operation. In this case, the first end point determining means for determining the first end point based on the operation position of the first drawing operation at the start of the second drawing operation, and the first end point at the end of the first drawing operation. 2nd end point determination means for determining the second end point based on the operation position of the second drawing operation, and line segment drawing means for generating drawing data indicating a line segment connecting the first end point and the second end point. Composed.

この描画装置では、第1の描画操作の終了前に第2の描画操作が検出されれば、当該第2の描画操作の開始時における第1の描画操作の操作位置に基づいて、第1端点が決定される。そして、第1の描画操作の終了時における第2の描画操作の操作位置に基づいて、第2端点が決定され、これらの端点を結ぶ線分が描画される。この様な構成によれば、第1の描画操作による軌跡の描画中に第2の描画操作を開始させれば、描画しようとする線分の一方の端点が決定されるので、第1の描画操作を終了させることなく線分の描画モードに切り替えることができる。また、第2の描画操作よりも前に第1の描画操作を終了させることにより、描画しようとする線分の他方の端点が決定され、各端点を結ぶ線分が描画されるので、描画操作の操作位置を検出してその操作軌跡を描画している際に、2つの端点を結ぶ線分の描画を簡単に行うことができる。なお、本発明は、第1の描画操作を終了させることなく線分の描画モードに切り替えることができるので、片手の指により描画操作が行われる場合に特に有用である。   In this drawing apparatus, if the second drawing operation is detected before the end of the first drawing operation, the first end point is determined based on the operation position of the first drawing operation at the start of the second drawing operation. Is determined. Then, the second end point is determined based on the operation position of the second drawing operation at the end of the first drawing operation, and a line segment connecting these end points is drawn. According to such a configuration, if the second drawing operation is started during the drawing of the trajectory by the first drawing operation, one end point of the line segment to be drawn is determined. It is possible to switch to a line segment drawing mode without ending the operation. In addition, by terminating the first drawing operation before the second drawing operation, the other end point of the line segment to be drawn is determined and the line segment connecting the end points is drawn. When the operation position is detected and the operation locus is drawn, the line segment connecting the two end points can be easily drawn. The present invention can be switched to the line segment drawing mode without ending the first drawing operation, and is particularly useful when the drawing operation is performed with the finger of one hand.

第2の本発明による描画装置は、操作位置を検出する操作位置検出手段と、上記操作位置に基づいて、描画データを生成する描画データ生成手段と、上記描画データに基づいて、画面表示を行う表示手段とを備え、上記描画データ生成手段が、描画操作の開始から終了までの軌跡を示す描画データを生成する軌跡描画手段と、第1の描画操作の終了前に第2の描画操作が検出された場合に、当該第2の描画操作前の第1の描画操作による軌跡に基づいて、第1端点を決定する第1端点決定手段と、第1の描画操作の終了時における第2の描画操作の操作位置に基づいて、第2端点を決定する第2端点決定手段と、第1端点及び第2端点を結ぶ線分を示す描画データを生成する線分描画手段とを備えて構成される。   A drawing apparatus according to a second aspect of the present invention displays an operation position detecting means for detecting an operation position, a drawing data generating means for generating drawing data based on the operation position, and a screen display based on the drawing data. Display means, wherein the drawing data generation means detects the drawing data indicating the drawing data from the start to the end of the drawing operation, and the second drawing operation is detected before the end of the first drawing operation. A first end point determining means for determining a first end point based on a trajectory of the first drawing operation before the second drawing operation, and a second drawing at the end of the first drawing operation. A second end point determining unit that determines a second end point based on an operation position of the operation, and a line segment drawing unit that generates drawing data indicating a line segment connecting the first end point and the second end point .

この描画装置では、第1の描画操作の終了前に第2の描画操作が検出されれば、当該第2の描画操作前の第1の描画操作による軌跡に基づいて、第1端点が決定される。そして、第1の描画操作の終了時における第2の描画操作の操作位置に基づいて、第2端点が決定され、これらの端点を結ぶ線分が描画される。この様な構成によれば、第1の描画操作による軌跡の描画中に第2の描画操作を開始させれば、描画しようとする線分の一方の端点が決定されるので、第1の描画操作を終了させることなく線分の描画モードに切り替えることができる。また、第2の描画操作よりも前に第1の描画操作を終了させることにより、描画しようとする線分の他方の端点が決定され、各端点を結ぶ線分が描画されるので、描画操作の操作位置を検出してその操作軌跡を描画している際に、2つの端点を結ぶ線分の描画を簡単に行うことができる。   In this drawing apparatus, if the second drawing operation is detected before the end of the first drawing operation, the first end point is determined based on the trajectory of the first drawing operation before the second drawing operation. The Then, the second end point is determined based on the operation position of the second drawing operation at the end of the first drawing operation, and a line segment connecting these end points is drawn. According to such a configuration, if the second drawing operation is started during the drawing of the trajectory by the first drawing operation, one end point of the line segment to be drawn is determined. It is possible to switch to a line segment drawing mode without ending the operation. In addition, by terminating the first drawing operation before the second drawing operation, the other end point of the line segment to be drawn is determined and the line segment connecting the end points is drawn. When the operation position is detected and the operation locus is drawn, the line segment connecting the two end points can be easily drawn.

第3の本発明による描画装置は、上記構成に加えて、第1端点決定手段が、第1の描画操作中に指の移動が一定時間停止したと判断した時点における第1の描画操作の操作位置に基づいて、第1端点を決定するように構成される。描画操作が指により行われる場合、仮に、第2の描画操作の開始時における第1の描画操作の操作位置を第1端点に決定すれば、第2の描画操作の開始時に、ユーザの意に反して指がローリングし、ヒゲ状の軌跡が第1端点付近に描画される場合が生じると考えられる。そこで、上記構成を採用することにより、ユーザが、指の移動を一定時間停止させた後、第2の描画操作を開始させれば、第2の描画操作に伴って第1の描画操作に係る指がローリングしたとしても、ユーザの意に反してヒゲ状の軌跡が第1端点付近に描画されるのを抑制することができる。   In addition to the above-described configuration, the drawing device according to the third aspect of the present invention is configured to operate the first drawing operation when the first end point determination unit determines that the movement of the finger is stopped for a certain period of time during the first drawing operation. A first end point is configured to be determined based on the position. When the drawing operation is performed with a finger, if the operation position of the first drawing operation at the start of the second drawing operation is determined as the first end point, the user's intention at the start of the second drawing operation is determined. On the other hand, it may be considered that the finger rolls and a beard-like locus is drawn near the first end point. Therefore, by adopting the above configuration, if the user stops the movement of the finger for a certain period of time and then starts the second drawing operation, the first drawing operation is associated with the second drawing operation. Even if the finger rolls, it is possible to prevent the beard-like locus from being drawn near the first end point against the user's will.

第4の本発明による描画装置は、上記構成に加えて、上記軌跡描画手段が、第1の描画操作の終了時における第2の描画操作の操作位置を始点として、当該第2の描画操作の終了までの軌跡を示す描画データを生成するように構成される。この様な構成によれば、第1の描画操作の終了時における第2の描画操作の操作位置を始点として操作軌跡が描画されるので、第1端点及び第2端点を結ぶ線分の描画後、第2の描画操作を終了させることなくそのまま操作軌跡の描画を再開させることができる。   In the drawing apparatus according to a fourth aspect of the present invention, in addition to the above-described configuration, the locus drawing unit starts the operation position of the second drawing operation at the end of the first drawing operation as a starting point. It is configured to generate drawing data indicating a trajectory up to the end. According to such a configuration, since the operation locus is drawn starting from the operation position of the second drawing operation at the end of the first drawing operation, after the line segment connecting the first end point and the second end point is drawn The drawing of the operation locus can be resumed without ending the second drawing operation.

第5の本発明による描画装置は、上記構成に加えて、上記線分描画手段が、第1端点及び第2端点を結ぶ直線を示す描画データを生成するように構成される。この様な構成によれば、第2の描画操作よりも前に第1の描画操作を終了させることにより、第1端点及び第2端点を結ぶ直線が描画されるので、操作軌跡の描画中に直線を描画させる際の操作性を向上させることができる。特に、第1の描画操作の終了後、第2の描画操作を終了させることなく第3の描画操作を開始させれば、直線を繰り返し描画させることができるので、折れ線や多角形を簡単に描画させることができる。   In addition to the above-described configuration, the drawing apparatus according to the fifth aspect of the invention is configured such that the line segment drawing means generates drawing data indicating a straight line connecting the first end point and the second end point. According to such a configuration, a straight line connecting the first end point and the second end point is drawn by ending the first drawing operation before the second drawing operation. The operability when drawing a straight line can be improved. In particular, if the third drawing operation is started without ending the second drawing operation after the first drawing operation is finished, a straight line can be drawn repeatedly, so that a polygonal line or polygon can be drawn easily. Can be made.

第6の本発明による描画装置は、上記構成に加えて、上記線分描画手段が、第2の描画操作の開始時における当該第2の描画操作のタッピング数に基づいて、上記線分の線種を変更するように構成される。この様な構成によれば、第2の描画操作の開始時における当該第2の描画操作のタッピング数に応じて線分の線種を異ならせられるので、線分の線種を変更する際の操作性を向上させることができる。   In the drawing apparatus according to a sixth aspect of the present invention, in addition to the above-described configuration, the line segment drawing unit is configured to change the line segment line based on the tapping number of the second drawing operation at the start of the second drawing operation. Configured to change seeds. According to such a configuration, the line type of the line segment can be made different according to the number of tappings of the second drawing operation at the start of the second drawing operation. Operability can be improved.

第7の本発明による描画装置は、上記構成に加えて、上記線分描画手段が、第2端点の決定前における第3の描画操作に基づいて、上記線分の線種を変更するように構成される。この様な構成によれば、第2端点決定前の第3の描画操作に基づいて線分の線種が変更されるので、第2端点を決定させるまでの間に、線種を容易に変更することができる。   In the drawing apparatus according to the seventh aspect of the invention, in addition to the above configuration, the line segment drawing means changes the line type of the line segment based on a third drawing operation before the determination of the second end point. Composed. According to such a configuration, since the line type of the line segment is changed based on the third drawing operation before determining the second end point, the line type can be easily changed until the second end point is determined. can do.

第8の本発明による描画装置は、上記構成に加えて、上記表示手段が、第1端点の決定に基づいて、編集用アイコンを表示し、上記線分描画手段が、上記編集用アイコンの操作に基づいて、線分の線種を変更するように構成される。この様な構成によれば、第1端点の決定後に編集用アイコンが表示されるので、編集用アイコンを容易に操作することができる。   In the drawing device according to the eighth aspect of the present invention, in addition to the above configuration, the display means displays an editing icon based on the determination of the first end point, and the line segment drawing means operates the editing icon. Is configured to change the line type of the line segment. According to such a configuration, since the editing icon is displayed after the first end point is determined, the editing icon can be easily operated.

第9の本発明による描画装置は、上記構成に加えて、上記表示手段が、第2端点の決定に基づいて、上記線分の線種を変更するための編集用アイコンを当該線分の近傍に表示するように構成される。この様な構成によれば、第2端点の決定時に編集用アイコンが線分の近傍に表示されるので、編集用アイコンを容易に操作することができる。   In the drawing device according to the ninth aspect of the present invention, in addition to the above-described configuration, the display means displays an editing icon for changing the line type of the line segment based on the determination of the second end point in the vicinity of the line segment. Configured to display. According to such a configuration, since the editing icon is displayed near the line segment when the second end point is determined, the editing icon can be easily operated.

本発明による描画装置によれば、軌跡の描画中に第2の描画操作を開始させれば、描画しようとする線分の一方の端点が決定されるので、第1の描画操作を終了させることなく線分の描画モードに切り替えることができる。また、第2の描画操作よりも前に第1の描画操作を終了させることにより、描画しようとする線分の他方の端点が決定され、各端点を結ぶ線分が描画されるので、描画操作の操作位置を検出してその操作軌跡を描画している際に、2つの端点を結ぶ線分の描画を簡単に行うことができる。さらに、第1の描画操作の終了時における第2の描画操作の操作位置を始点として操作軌跡が描画されるので、第1端点及び第2端点を結ぶ線分の描画後、第2の描画操作を終了させることなくそのまま操作軌跡の描画を再開させることができる。従って、操作軌跡の描画中に線分を描画させる際の操作性を向上させた描画装置を実現することができる。   According to the drawing apparatus of the present invention, if the second drawing operation is started during drawing of the trajectory, one end point of the line segment to be drawn is determined, so that the first drawing operation is ended. You can switch to line segment drawing mode. In addition, by terminating the first drawing operation before the second drawing operation, the other end point of the line segment to be drawn is determined and the line segment connecting the end points is drawn. When the operation position is detected and the operation locus is drawn, the line segment connecting the two end points can be easily drawn. Further, since the operation locus is drawn starting from the operation position of the second drawing operation at the end of the first drawing operation, the second drawing operation is performed after the line segment connecting the first end point and the second end point is drawn. The drawing of the operation trajectory can be resumed without ending. Therefore, it is possible to realize a drawing apparatus with improved operability when drawing a line segment while drawing an operation locus.

本発明の実施の形態1による描画装置の概略構成の一例を示した図であり、描画装置の一例としてスライド式の携帯電話機100が示されている。1 is a diagram illustrating an example of a schematic configuration of a drawing apparatus according to Embodiment 1 of the present invention, in which a slide-type mobile phone 100 is illustrated as an example of a drawing apparatus. 図1の携帯電話機100の構成例を示した斜視図であり、異なる端末状態が示されている。It is the perspective view which showed the structural example of the mobile telephone 100 of FIG. 1, and the different terminal state is shown. 図1の携帯電話機100における手書き入力時の動作の一例を従来例と比較して示した図である。It is the figure which showed an example of the operation | movement at the time of the handwriting input in the mobile telephone 100 of FIG. 1 compared with the prior art example. 図1の携帯電話機100における手書き入力時の動作例を模式的に示した説明図であり、操作軌跡の描画中に第2指によりダウンイベントを発生させる場合が示されている。It is explanatory drawing which showed typically the operation example at the time of the handwriting input in the mobile telephone 100 of FIG. 1, and the case where a down event is generated with the 2nd finger during drawing of an operation locus is shown. 図1の携帯電話機100における手書き入力時の動作例を模式的に示した説明図であり、第1指によりアップイベントを発生させて軌跡の描画を再開させる場合が示されている。It is explanatory drawing which showed typically the operation example at the time of the handwriting input in the mobile telephone 100 of FIG. 1, and the case where the up event is generated with the 1st finger | toe and the drawing of a locus | trajectory is restarted is shown. 図1の携帯電話機100における手書き入力時の動作例を模式的に示した説明図であり、第1指により再度のダウンイベントを発生させて直線を描画させる場合が示されている。It is explanatory drawing which showed typically the operation example at the time of the handwritten input in the mobile telephone 100 of FIG. 1, and the case where a down event is again generated with a 1st finger | toe and a straight line is drawn is shown. 図1の携帯電話機100における手書き入力時の動作例を模式的に示した説明図であり、ダウンイベント発生時における操作位置のブレが示されている。It is explanatory drawing which showed typically the operation example at the time of the handwriting input in the mobile telephone 100 of FIG. 1, and the blurring of the operation position at the time of a down event generate | occur | produced is shown. 図1の携帯電話機100の要部における構成例を示したブロック図であり、携帯電話機100内部の機能構成の一例が示されている。FIG. 2 is a block diagram illustrating a configuration example of a main part of the mobile phone 100 in FIG. 1, illustrating an example of a functional configuration inside the mobile phone 100. 図1の携帯電話機100における手書き入力時の動作の一例を示したフローチャートである。3 is a flowchart showing an example of an operation at the time of handwriting input in the mobile phone 100 of FIG. 図1の携帯電話機100における手書き入力時の動作の一例を示したフローチャートである。3 is a flowchart showing an example of an operation at the time of handwriting input in the mobile phone 100 of FIG. 本発明の実施の形態2による描画装置の要部における構成例を示したブロック図であり、携帯電話機100内部の機能構成の他の一例が示されている。FIG. 5 is a block diagram showing a configuration example of a main part of a drawing apparatus according to Embodiment 2 of the present invention, and shows another example of a functional configuration inside the mobile phone 100. 本発明の実施の形態3による描画装置における手書き入力時の動作例を示した図であり、直線B2近傍に表示された編集用アイコン32の一例が示されている。It is the figure which showed the operation example at the time of the handwriting input in the drawing apparatus by Embodiment 3 of this invention, and shows an example of the edit icon 32 displayed near the straight line B2. 図11の描画装置における手書き入力時の動作例を示した図であり、第1端点及び第2端点を結ぶ線分の他の例が示されている。It is the figure which showed the operation example at the time of the handwriting input in the drawing apparatus of FIG. 11, and the other example of the line segment which connects a 1st endpoint and a 2nd endpoint is shown. 図11の描画装置における手書き入力時の動作例を示した図であり、変更可能な線種の他の例が示されている。It is the figure which showed the operation example at the time of the handwriting input in the drawing apparatus of FIG. 11, and the other example of the line type which can be changed is shown.

実施の形態1.
図1(a)及び(b)は、本発明の実施の形態1による描画装置の概略構成の一例を示した図であり、描画装置の一例としてスライド式の携帯電話機100が示されている。図1(a)には、携帯電話機100を正面から見た様子が示され、図1(b)には、携帯電話機100を側面から見た様子が示されている。
Embodiment 1 FIG.
FIGS. 1A and 1B are diagrams showing an example of a schematic configuration of a drawing apparatus according to Embodiment 1 of the present invention, and a sliding mobile phone 100 is shown as an example of the drawing apparatus. FIG. 1A shows a state in which the mobile phone 100 is viewed from the front, and FIG. 1B shows a state in which the mobile phone 100 is viewed from the side.

携帯電話機100は、上下方向に長い薄型の表示筐体10及び操作筐体20と、これらの筐体をスライド可能に連結する連結機構(図示せず)とからなる携帯情報端末であり、両筐体の一部が重複したオープン状態、両筐体の全部を重複させたクローズ状態を遷移させることができる。   The cellular phone 100 is a portable information terminal including a thin display casing 10 and an operation casing 20 that are long in the vertical direction, and a connecting mechanism (not shown) that slidably connects these casings. An open state in which a part of the body overlaps and a closed state in which both the housings are overlapped can be transited.

表示筐体10の前面には、表示パネル11が設けられ、操作筐体20の前面には、キーパネル21が設けられている。表示パネル11は、情報表示のための表示画面上に配設されたタッチ操作の検出面である。表示パネル11に指を接触させることにより、メニュー項目やアイコンを選択し、或いは、マウスカーソルやフォーカスを移動させ、或いは、画面をスクロールさせ、或いは、文字や図形を手書き入力することができる。   A display panel 11 is provided on the front surface of the display housing 10, and a key panel 21 is provided on the front surface of the operation housing 20. The display panel 11 is a touch operation detection surface provided on a display screen for displaying information. By touching the display panel 11 with a finger, menu items and icons can be selected, the mouse cursor and focus can be moved, the screen can be scrolled, or characters and figures can be input by handwriting.

キーパネル21には、方向キー22、テンキー23などの複数の操作キーが設けられている。方向キー22は、上下左右の4つの押圧部位に応じて異なる操作入力が可能な多機能キーであり、押圧操作により、上下左右の方向入力を行うことができる。   The key panel 21 is provided with a plurality of operation keys such as direction keys 22 and numeric keys 23. The direction key 22 is a multi-function key capable of performing different operation inputs according to four pressing parts on the upper, lower, left and right sides, and can input the upper, lower, left and right directions by the pressing operation.

表示筐体10及び操作筐体20は、いずれも直方体形状からなり、互いに主面を対向させた状態で連結されている。すなわち、表示筐体10の表示パネル11とは反対側の主面と、操作筐体20のキーパネル21側の主面とを対向させて連結されている。   The display housing 10 and the operation housing 20 both have a rectangular parallelepiped shape, and are connected with their main surfaces facing each other. That is, the main surface of the display housing 10 opposite to the display panel 11 and the main surface of the operation housing 20 on the key panel 21 side are opposed to each other.

上述した連結機構は、表示筐体10の表示パネル11とは反対側の主面と操作筐体20のキーパネル21側の主面とを対向させたまま、表示筐体10及び操作筐体20を相対的に一方向に移動させる。ここでは、両筐体が、その長手方向、すなわち、上下方向にスライド可能となっている。   In the above-described coupling mechanism, the main surface of the display housing 10 opposite to the display panel 11 and the main surface of the operation housing 20 on the key panel 21 side face each other, and the display housing 10 and the operation housing 20. Is moved relatively in one direction. Here, both housings are slidable in the longitudinal direction, that is, in the vertical direction.

図2(a)及び(b)は、図1の携帯電話機100の構成例を示した斜視図であり、異なる端末状態が示されている。図2(a)には、両筐体のオープン状態が示され、図2(b)には、クローズ状態が示されている。   FIGS. 2A and 2B are perspective views showing a configuration example of the mobile phone 100 of FIG. 1, and different terminal states are shown. FIG. 2A shows an open state of both housings, and FIG. 2B shows a closed state.

この携帯電話機100では、キーパネル21を露出させたオープン状態と、表示筐体10を操作筐体20側へスライドさせてキーパネル21を操作筐体20の背面側に収納させたクローズ状態とが遷移可能であり、例えば、クローズ状態において、手書き入力が行われる。   In this cellular phone 100, there are an open state in which the key panel 21 is exposed, and a closed state in which the display housing 10 is slid toward the operation housing 20 and the key panel 21 is housed on the back side of the operation housing 20. For example, handwriting input is performed in a closed state.

<手書き入力時の動作モード>
図3(a)及び(b)は、図1の携帯電話機100における手書き入力時の動作の一例を従来例と比較して示した図であり、図3(a)には、本発明による携帯電話機100の動作例が示され、図3(b)には、従来の描画装置の動作が示されている。
<Operation mode for handwriting input>
3 (a) and 3 (b) are diagrams showing an example of an operation at the time of handwriting input in the mobile phone 100 of FIG. 1 in comparison with a conventional example, and FIG. An example of the operation of the telephone 100 is shown, and FIG. 3B shows the operation of a conventional drawing apparatus.

手書き入力では、表示パネル11上における指などの軌跡を検出し、フリーハンドで描いた文字や図形を描画データとして取得して画面表示させる軌跡描画モードA1と、直線を描画させる直線描画モードA2とが動作モードとして設けられている。   In handwriting input, a trajectory such as a finger on the display panel 11 is detected, and a trajectory drawing mode A1 for acquiring characters and figures drawn by freehand as drawing data and displaying them on the screen, and a straight line drawing mode A2 for drawing a straight line Are provided as operation modes.

従来の描画装置では、軌跡描画モードA1及び直線描画モードA2間の切替えは、所定のモード切替え操作、例えば、モード切替え用のアイコンを操作することによって行われていた。このため、フリーハンドで操作軌跡を描画している際に、直線を描画させようとすると、表示パネル11から指を離すことにより操作入力を終了させてから、モード切替え操作を行わなければならず、操作性が良くなかった。   In the conventional drawing apparatus, switching between the locus drawing mode A1 and the line drawing mode A2 has been performed by operating a predetermined mode switching operation, for example, a mode switching icon. For this reason, if an attempt is made to draw a straight line while drawing an operation locus with freehand, the mode switching operation must be performed after the operation input is ended by releasing the finger from the display panel 11. The operability was not good.

また、直線の描画後にフリーハンドによる操作軌跡の描画を再開しようとすると、再度、モード切替え操作を行わなければならなかった。さらに、軌跡描画モードA1及び直線描画モードA2間の切替えには、直線の位置と無関係なモード切替え操作が介在することから、操作軌跡と所望の直線とを綺麗に繋ぐことが難しかった。   In addition, when attempting to resume the drawing of the operation locus by freehand after drawing a straight line, the mode switching operation has to be performed again. Furthermore, since switching between the trajectory drawing mode A1 and the straight line drawing mode A2 involves a mode switching operation irrelevant to the position of the straight line, it is difficult to cleanly connect the operation trajectory and a desired straight line.

これに対して、本発明による携帯電話機100は、第1の描画操作による操作軌跡の描画中に第2の描画操作が検出されれば、軌跡描画モードA1から直線描画モードA2に自動的に遷移する。そして、描画しようとする直線の一方の端点は、第2の描画操作の開始時における第1の描画操作の操作位置に基づいて決定される。上記一方の端点を第1指による軌跡の終点とすることにより、軌跡の終点と直線の端点とを離間させることなく、当該軌跡と直線とを連結させることができる。   On the other hand, the mobile phone 100 according to the present invention automatically transitions from the trajectory drawing mode A1 to the straight line drawing mode A2 if the second drawing operation is detected during the drawing of the operation trajectory by the first drawing operation. To do. Then, one end point of the straight line to be drawn is determined based on the operation position of the first drawing operation at the start of the second drawing operation. By setting the one end point as the end point of the trajectory by the first finger, the trajectory and the straight line can be connected without separating the end point of the trajectory from the end point of the straight line.

一方、第2の描画操作の終了よりも前に第1の描画操作を終了させれば、直線描画モードA2から軌跡描画モードA1に復帰させることができる。描画しようとする直線の他方の端点は、第1の描画操作の終了時における第2の描画操作の操作位置に基づいて決定される。そして、第1の描画操作の終了時における第2の描画操作の操作位置を始点として、当該第2の描画操作の終了までの軌跡の描画が再開される。   On the other hand, if the first drawing operation is ended before the end of the second drawing operation, the line drawing mode A2 can be returned to the locus drawing mode A1. The other end point of the straight line to be drawn is determined based on the operation position of the second drawing operation at the end of the first drawing operation. Then, starting from the operation position of the second drawing operation at the end of the first drawing operation, the drawing of the locus until the end of the second drawing operation is resumed.

また、第1の描画操作の終了よりも前に第2の描画操作を終了させれば、直線描画モードA2がキャンセルされ、第2の描画操作の終了時における第1の描画操作の操作位置を始点として軌跡の描画が再開される。   If the second drawing operation is terminated before the end of the first drawing operation, the straight line drawing mode A2 is canceled, and the operation position of the first drawing operation at the end of the second drawing operation is set. The drawing of the trajectory is resumed as the starting point.

この携帯電話機100では、表示パネル11に指を接触させることにより描画操作が開始され、指の位置を一定時間ごとに検出することにより、表示パネル11上で指をスライドさせた際の指の軌跡が操作軌跡として検知される。そして、指を表示パネル11から離間させることにより、描画操作が終了される。ここで、表示パネル11に指を接触させる動作をダウンイベントと呼び、表示パネル11から指を離間させる動作をアップイベントと呼ぶことにすると、第1指のアップイベント発生前に第2指によるダウンイベントが検出された場合に、直線描画モードA2に切り替えられることになる。   In this cellular phone 100, a drawing operation is started by bringing a finger into contact with the display panel 11, and the locus of the finger when the finger is slid on the display panel 11 by detecting the position of the finger at regular intervals. Is detected as an operation locus. Then, the drawing operation is ended by moving the finger away from the display panel 11. Here, the operation of bringing the finger into contact with the display panel 11 is referred to as a down event, and the operation of moving the finger away from the display panel 11 is referred to as an up event. When an event is detected, the mode is switched to the straight line drawing mode A2.

<描画モードの切り替え>
図4〜図6は、図1の携帯電話機100における手書き入力時の動作例を模式的に示した説明図であり、描画モードを切り替える際の操作手順が示されている。図4(a)及び(b)には、第1指による操作軌跡B1の描画中に第2指によりダウンイベントを発生させる場合の操作手順が示されている。図4(a)には、操作軌跡B1の描画中の様子が示され、図4(b)には、第2指のダウンイベント発生時の様子が示されている。
<Switching drawing mode>
4 to 6 are explanatory diagrams schematically illustrating an operation example at the time of handwriting input in the mobile phone 100 of FIG. 1, and show an operation procedure when switching the drawing mode. FIGS. 4A and 4B show an operation procedure when a down event is generated by the second finger while the operation locus B1 is drawn by the first finger. FIG. 4A shows a state where the operation trajectory B1 is being drawn, and FIG. 4B shows a state when a down event of the second finger occurs.

操作軌跡B1は、表示パネル11に指を接触させながら当該指を表示パネル11上でスライドさせた場合に、その様な描画操作の始点から終点に至る経路である。この例では、第1指、例えば、右手の親指を表示パネル11に接触させながら移動させることにより、操作軌跡B1として円弧が描画されている。   The operation locus B1 is a path from the start point to the end point of such a drawing operation when the finger is slid on the display panel 11 while touching the display panel 11. In this example, a circular arc is drawn as the operation locus B1 by moving the first finger, for example, the thumb of the right hand while making contact with the display panel 11.

この様な第1指による操作軌跡B1の描画中に第2指によるダウンイベントが検出されれば、直線描画モードA2に切り替えられる。すなわち、第1指による操作軌跡B1の描画中に第2指、例えば、右手の人差し指によるダウンイベントが検出されると、動作モードが軌跡描画モードA1から直線描画モードA2に切り替えられる。ここで、ダウンイベントの検出とは、表示パネル11に指を近づけることにより、描画操作の開始が検出されることである。   If a down event by the second finger is detected during the drawing of the operation locus B1 by the first finger, the line drawing mode A2 is switched. That is, when a down event is detected by the second finger, for example, the index finger of the right hand, while the operation locus B1 is drawn by the first finger, the operation mode is switched from the locus drawing mode A1 to the line drawing mode A2. Here, the detection of a down event means that the start of a drawing operation is detected by bringing a finger close to the display panel 11.

直線描画モードA2への切り替え時には、描画しようとする直線の一方の端点が、第2指のダウンイベント発生時における第1指の操作位置に基づいて決定される。   At the time of switching to the straight line drawing mode A2, one end point of the straight line to be drawn is determined based on the operation position of the first finger when the down event of the second finger occurs.

図5(a)及び(b)には、第1指によりアップイベントを発生させて操作軌跡の描画を再開させる場合の操作手順が示されている。図5(a)には、第1指のアップイベント発生時の様子が示され、図5(b)には、直線B2の描画後に第2指による操作軌跡B3の描画が再開された様子が示されている。   FIGS. 5A and 5B show an operation procedure when an up event is generated by the first finger and drawing of the operation locus is resumed. FIG. 5A shows a state when the up event of the first finger occurs, and FIG. 5B shows a state where the drawing of the operation locus B3 by the second finger is resumed after the straight line B2 is drawn. It is shown.

描画しようとする直線B2の一方の端点B21は、第2指によるダウンイベント発生時における第1指の表示パネル11上の位置から定められる。一方、直線B2の他方の端点B22は、第1指によるアップイベントの発生時における第2指の操作位置に基づいて決定される。ここで、アップイベントとは、指を表示パネル11から遠ざけることにより、描画操作の検出状態から非検出状態に移行することである。   One end point B21 of the straight line B2 to be drawn is determined from the position of the first finger on the display panel 11 when a down event is generated by the second finger. On the other hand, the other end point B22 of the straight line B2 is determined based on the operation position of the second finger when the up event is generated by the first finger. Here, the up event is a transition from a drawing operation detection state to a non-detection state by moving a finger away from the display panel 11.

端点B21,B22を結ぶ直線B2は、第1指のアップイベントが検出された際に表示され、第1指のアップイベント発生時における第2指の操作位置を始点として第2指による操作軌跡B3の描画が再開される。   A straight line B2 connecting the end points B21 and B22 is displayed when an up event of the first finger is detected, and an operation locus B3 by the second finger is started from the operation position of the second finger when the up event of the first finger occurs. Drawing is resumed.

本発明による携帯電話機100では、第1指による操作軌跡B1の描画中に第2指によりダウンイベントを発生させれば、動作モードが軌跡描画モードA1から直線描画モードA2に自動的に切り替えられるので、操作軌跡B1の描画中に直線B2を描画させる際の操作性を向上させることができる。また、第2指によるアップイベントよりも前に第1指によるアップイベントを発生させれば、直線描画モードA2から軌跡描画モードA1に復帰させることができるので、直線B2の描画後にフリーハンドによる操作軌跡B3の描画を再開させる際の操作性も向上させることができる。   In the mobile phone 100 according to the present invention, if a down event is generated by the second finger while the operation locus B1 is drawn by the first finger, the operation mode is automatically switched from the locus drawing mode A1 to the straight line drawing mode A2. Further, it is possible to improve the operability when the straight line B2 is drawn during the drawing of the operation locus B1. In addition, if the up event by the first finger is generated before the up event by the second finger, it is possible to return from the straight line drawing mode A2 to the trajectory drawing mode A1, so that a freehand operation is performed after drawing the straight line B2. The operability when resuming the drawing of the trajectory B3 can also be improved.

さらに、直線B2の一方の端点B21が、第2指のダウンイベント発生時における第1指の操作位置に基づいて決定されるとともに、他方の端点B22が、第1指のアップイベント発生時における第2指の操作位置に基づいて決定され、第1指のアップイベント発生時における第2指の操作位置を始点として操作軌跡B3の描画が再開されるので、操作軌跡B1及びB3と直線B2とを綺麗に繋ぐことができる。   Furthermore, one end point B21 of the straight line B2 is determined based on the operation position of the first finger when the second finger down event occurs, and the other end point B22 is the first end point when the first finger up event occurs. Since the drawing of the operation locus B3 is resumed starting from the operation position of the second finger when the up event of the first finger occurs, the operation locus B1 and B3 and the straight line B2 are It can be connected beautifully.

また、第1指のアップイベント発生後、第2指のアップイベントを発生させることなく第3指によりダウンイベントを発生させれば、直線を続けて描画させることができる。この場合の第1指と第3指とは同じ指であっても良く、第1指及び第2指を交互にタッチさせることによって、折れ線や多角形を簡単に描画させることができる。   If a down event is generated by the third finger without generating an up event of the second finger after the up event of the first finger, a straight line can be continuously drawn. In this case, the first finger and the third finger may be the same finger. By alternately touching the first finger and the second finger, a broken line or a polygon can be easily drawn.

図6(a)及び(b)には、第1指のアップイベント発生後、当該第1指により再度のダウンイベントを発生させることにより直線を続けて描画させる場合の操作手順が示されている。図6(a)には、第1指による再度のダウンイベント発生時の様子が示され、図6(b)には、第2指のアップイベント発生時の様子が示されている。   FIGS. 6A and 6B show an operation procedure in a case where a straight line is continuously drawn by generating a down event again with the first finger after the up event of the first finger. . FIG. 6A shows a state when a down event occurs again by the first finger, and FIG. 6B shows a state when an up event of the second finger occurs.

第1指のタッチアップ後、第2指をタッチアップさせることなく当該第1指を再度タッチダウンさせれば、直線B2の端点B22を一方の端点として直線B4を描画させることができる。従って、一方の指をタッチアップさせる前に他方の指をタッチダウンさせ、他方の指をタッチアップさせる前に一方の指をタッチアップさせることを交互に繰り返すことにより、直線B2,B4がその端点を離間させることなく連結された折れ線などの図形を容易に描画させることができる。   If the first finger is touched down again without touching up the second finger after touching up the first finger, the straight line B4 can be drawn with the end point B22 of the straight line B2 as one end point. Therefore, by repeating alternately touching down the other finger before touching up one finger and touching up the other finger before touching up the other finger, the straight lines B2 and B4 are at their end points. It is possible to easily draw a figure such as a connected broken line without separating them.

<ダウンイベント発生時の操作位置のブレ>
図7(a)及び(b)は、図1の携帯電話機100における手書き入力時の動作例を模式的に示した説明図であり、第2指のダウンイベント発生時における第1指の操作位置にブレが生じる様子が示されている。図7(a)には、第1指により操作軌跡を描画している際の接触部分が示され、図7(b)には、第1指による操作軌跡の描画中に第2指によりダウンイベントを発生させた際の接触部分が示されている。
<Operation position blur when a down event occurs>
FIGS. 7A and 7B are explanatory views schematically showing an operation example at the time of handwriting input in the mobile phone 100 of FIG. 1, and the operation position of the first finger when the second finger down event occurs. This shows how blurring occurs. FIG. 7A shows a contact portion when the operation locus is drawn by the first finger, and FIG. 7B shows that the second finger is down while the operation locus is drawn by the first finger. The contact portion when the event is generated is shown.

第1指による操作軌跡の描画中に第2指によりダウンイベントを発生させる場合、第2指を表示パネル11に近づけるために、第1指を中心とする回転運動が生じる。このため、第1指の表示パネル11との接触部分が第2指側に移動するので、当該接触部分の重心位置には、Δxだけずれが生じることになる。   When a down event is generated by the second finger while the operation locus is drawn by the first finger, a rotational motion around the first finger is generated in order to bring the second finger closer to the display panel 11. For this reason, since the contact part with the display panel 11 of a 1st finger moves to the 2nd finger side, the shift | offset | difference only (DELTA) x will arise in the gravity center position of the said contact part.

第1指及び第2指のダウンイベント発生後、いずれかの指によりアップイベントを発生させる場合にも、ダウンイベントの場合と同様に、回転運動に伴う接触部分の移動により、接触部分の重心位置にずれが生じることになる。指の操作位置は、例えば、この様な接触部分の重心位置に基づいて決定される。従って、ある指による操作位置は、他の指のダウンイベントやアップイベントに伴ってブレが生じることになる。   When an up event is generated by one of the fingers after the occurrence of the down event of the first finger and the second finger, as in the case of the down event, the position of the center of gravity of the contact portion is determined by the movement of the contact portion accompanying the rotational movement. Will be displaced. The operation position of the finger is determined based on, for example, the position of the center of gravity of such a contact portion. Therefore, the operation position of a certain finger is blurred due to a down event or an up event of another finger.

この携帯電話機100では、この様な操作位置のブレにより、直線の端点が操作軌跡の端点から離れたり、直線の端点近傍でヒゲ状の軌跡が生じることのないように、当該直線の端点が決定される。すなわち、直線の一方の端点は、第2指のダウンイベント発生時における第1指の操作位置に基づいて、当該操作位置の近傍に定められる。また、他方の端点は、第1指のアップイベント発生時における第2指の操作位置に基づいて、当該操作位置の近傍に定められる。   In this mobile phone 100, the end point of the straight line is determined so that the end point of the straight line is not separated from the end point of the operation trajectory and a beard-like trajectory does not occur in the vicinity of the end point of the straight line due to such movement of the operation position. Is done. That is, one end point of the straight line is determined in the vicinity of the operation position based on the operation position of the first finger when the second finger down event occurs. The other end point is determined in the vicinity of the operation position based on the operation position of the second finger when the up event of the first finger occurs.

図8は、図1の携帯電話機100の要部における構成例を示したブロック図であり、携帯電話機100内部の機能構成の一例が示されている。この携帯電話機100は、操作入力部1、描画データ生成部2、描画データ記憶部7、表示制御部8及び表示部9により構成される。   FIG. 8 is a block diagram illustrating a configuration example of a main part of the mobile phone 100 in FIG. 1, and illustrates an example of a functional configuration inside the mobile phone 100. The cellular phone 100 includes an operation input unit 1, a drawing data generation unit 2, a drawing data storage unit 7, a display control unit 8, and a display unit 9.

操作入力部1は、操作位置を検出し、その検出結果を描画データ生成部2へ出力する操作位置検出手段である。ここでは、操作入力部1として、表示パネル11を検出面とするタッチパネルが用いられるものとする。タッチパネルは、検出面上における指などの操作位置を検出する静電容量式のセンサであり、検出面に指を近づけた際に静電容量が変化する現象を利用して、描画操作を検出している。   The operation input unit 1 is an operation position detection unit that detects an operation position and outputs the detection result to the drawing data generation unit 2. Here, a touch panel having the display panel 11 as a detection surface is used as the operation input unit 1. The touch panel is a capacitance type sensor that detects the operation position of a finger or the like on the detection surface, and detects a drawing operation using the phenomenon that the capacitance changes when the finger is brought close to the detection surface. ing.

描画操作の検出は、検出面内の複数の検出点における静電容量に基づいて行われる。例えば、各検出点における静電容量を一定時間ごとに検出し、静電容量の検出値を所定の閾値Th1と比較する。そして、静電容量が閾値Th1を越えている検出点の数を計数し、該当する検出点数が所定の閾値Th2を越えた場合に、描画操作が開始されたと判断される。一方、静電容量が閾値Th1を越えている検出点数が所定の閾値Th3を下回った場合に、描画操作が終了されたと判断される。   The drawing operation is detected based on the capacitance at a plurality of detection points in the detection surface. For example, the capacitance at each detection point is detected at regular intervals, and the detected capacitance value is compared with a predetermined threshold Th1. Then, the number of detection points whose electrostatic capacity exceeds the threshold Th1 is counted, and when the number of corresponding detection points exceeds a predetermined threshold Th2, it is determined that the drawing operation has started. On the other hand, when the number of detected points where the capacitance exceeds the threshold Th1 falls below a predetermined threshold Th3, it is determined that the drawing operation has been completed.

また、描画操作が検出された場合の当該描画操作の操作位置は、静電容量が閾値Th1を越えている検出点からなる領域を指と検出面との接触部分であると判断して、当該領域の重心位置を算出し、その算出結果に基づいて決定される。   Further, when the drawing operation is detected, the operation position of the drawing operation is determined by determining that an area including detection points whose capacitance exceeds the threshold Th1 is a contact portion between the finger and the detection surface. The center-of-gravity position of the region is calculated and determined based on the calculation result.

描画データ生成部2は、軌跡描画部3、第1端点決定部4、第2端点決定部5及び線分描画部6からなり、操作入力部1からの位置情報に基づいて、操作軌跡や線分を描画するための描画データを生成し、描画データ記憶部7に書き込む動作を行っている。   The drawing data generation unit 2 includes a locus drawing unit 3, a first end point determination unit 4, a second end point determination unit 5, and a line segment drawing unit 6, and based on position information from the operation input unit 1, an operation locus or line The drawing data for drawing the minute is generated and the operation of writing in the drawing data storage unit 7 is performed.

軌跡描画部3は、軌跡描画モード時に、描画操作の開始から終了までの軌跡を示す描画データを生成し、描画データ記憶部7内の描画データを更新する。上記軌跡は、描画操作の開始時における操作位置から、描画操作の終了時における操作位置に至る操作軌跡である。   In the locus drawing mode, the locus drawing unit 3 generates drawing data indicating the locus from the start to the end of the drawing operation, and updates the drawing data in the drawing data storage unit 7. The trajectory is an operation trajectory from the operation position at the start of the drawing operation to the operation position at the end of the drawing operation.

第1端点決定部4は、第1の描画操作の終了前に第2の描画操作が検出された場合に、当該第2の描画操作の開始時における第1の描画操作の操作位置に基づいて、第1端点を決定する。具体的には、第1指によるアップイベントの発生前に第2指によるダウンイベントが検出されれば、動作モードを線分描画モードに切り替える。そして、第2指によるダウンイベント発生時における第1指の操作位置に基づいて、描画しようとする線分の一方の端点(第1端点)を決定する。   When the second drawing operation is detected before the end of the first drawing operation, the first end point determination unit 4 is based on the operation position of the first drawing operation at the start of the second drawing operation. The first end point is determined. Specifically, if a down event by the second finger is detected before the up event by the first finger, the operation mode is switched to the line drawing mode. Then, one end point (first end point) of the line segment to be drawn is determined based on the operation position of the first finger when the down event is generated by the second finger.

第2端点決定部5は、第1の描画操作の終了時における第2の描画操作の操作位置に基づいて、第2端点を決定する。具体的には、第1端点の決定後、第1指によるアップイベント発生時における第2指の操作位置に基づいて、描画しようとする線分の他方の端点(第2端点)を決定し、線分描画モードを解除する。ここでは、第1指又は第2指のいずれかのアップイベントよりも前に、第3指によるダウンイベントが検出されても、当該第3指による操作は無視されるものとする。   The second endpoint determination unit 5 determines the second endpoint based on the operation position of the second drawing operation at the end of the first drawing operation. Specifically, after the first end point is determined, the other end point (second end point) of the line segment to be drawn is determined based on the operation position of the second finger when the up event occurs with the first finger, Cancel the line drawing mode. Here, even if the down event by the third finger is detected before the up event of either the first finger or the second finger, the operation by the third finger is ignored.

線分描画部6は、線分描画モード時に、第1指及び第2指の操作によって決定された第1端点と第2端点とを結ぶ線分を示す描画データを生成し、描画データ記憶部7内の描画データを更新する。描画データ記憶部7には、軌跡描画データや線分描画データが描画データとして保持される。   The line segment drawing unit 6 generates drawing data indicating a line segment connecting the first end point and the second end point determined by the operation of the first finger and the second finger in the line segment drawing mode, and the drawing data storage unit The drawing data in 7 is updated. The drawing data storage unit 7 holds locus drawing data and line segment drawing data as drawing data.

表示制御部8は、描画データ記憶部7に保持されている描画データに基づいて、表示部9を制御し、操作軌跡や線分を表示パネル11の表示画面上に表示する。表示部9としては、例えば、LCD(Liquid Crystal Display:液晶ディスプレイ)9が用いられる。   The display control unit 8 controls the display unit 9 based on the drawing data held in the drawing data storage unit 7, and displays operation trajectories and line segments on the display screen of the display panel 11. For example, an LCD (Liquid Crystal Display) 9 is used as the display unit 9.

軌跡描画部3では、操作軌跡の描画を自動的に再開させるために、第1指によるアップイベント発生時における第2指の操作位置を始点として、当該第2指によるアップイベントの発生までの軌跡を示す描画データが生成される。また、軌跡描画部3では、第1指によるアップイベント前に第2指によるアップイベントが発生すれば、線分描画モードがキャンセルされ、第2指によるアップイベント発生時における第1指の操作位置を始点として、当該第1指によるアップイベント発生までの軌跡を示す描画データが生成される。   In the locus drawing unit 3, in order to automatically resume the drawing of the operation locus, the locus until the occurrence of the up event by the second finger is started from the operation position of the second finger when the up event is caused by the first finger. Drawing data indicating is generated. In the locus drawing unit 3, if an up event by the second finger occurs before an up event by the first finger, the line segment drawing mode is canceled, and the operation position of the first finger when the up event by the second finger occurs The drawing data indicating the locus until the up event occurs by the first finger is generated.

ここでは、線分描画データとして、第1端点を始点、第2端点を終点とし、始点と終点とを結ぶ直線を示す描画データが生成されるものとする。その様な描画データとしては、例えば、直線の向き情報及び長さ情報からなるベクトル情報が生成される。   Here, it is assumed that drawing data indicating a straight line connecting the start point and the end point is generated as the line drawing data with the first end point as the start point and the second end point as the end point. As such drawing data, for example, vector information including straight line direction information and length information is generated.

図9及び図10のステップS101〜S118は、図1の携帯電話機100における手書き入力時の動作の一例を示したフローチャートである。まず、描画データ生成部2は、ユーザによる所定の操作により、手書き入力機能が選択されれば、動作モードを軌跡描画モードに切り替え、操作入力部1からの入力信号を監視する(ステップS101,S102)。   Steps S101 to S118 in FIG. 9 and FIG. 10 are flowcharts showing an example of an operation at the time of handwriting input in the mobile phone 100 in FIG. First, when the handwriting input function is selected by a predetermined operation by the user, the drawing data generation unit 2 switches the operation mode to the locus drawing mode and monitors the input signal from the operation input unit 1 (steps S101 and S102). ).

次に、軌跡描画部3は、操作入力部1により第1の描画操作が検出されれば(ステップS103)、操作入力1から描画操作の位置座標を取得し、操作軌跡を示す軌跡描画データを生成して描画データ記憶部7内の描画データを更新する(ステップS104,S105)。   Next, if the first drawing operation is detected by the operation input unit 1 (step S103), the locus drawing unit 3 acquires the position coordinates of the drawing operation from the operation input 1, and obtains the locus drawing data indicating the operation locus. Generate and update the drawing data in the drawing data storage unit 7 (steps S104 and S105).

ステップS104及びS105の処理手順は、第2の描画操作が検出されるか、或いは、第1の描画操作の終了が検出されるまで、繰り返される(ステップS106,S107)。また、ステップS103からステップS107の処理手順は、手書き入力機能が終了されるまで繰り返され、手書き入力機能が終了されれば、軌跡描画モードを解除してこの処理を終了する(ステップS108)。   The processing procedure of steps S104 and S105 is repeated until the second drawing operation is detected or the end of the first drawing operation is detected (steps S106 and S107). The processing procedure from step S103 to step S107 is repeated until the handwriting input function is terminated. When the handwriting input function is terminated, the trajectory drawing mode is canceled and the processing is terminated (step S108).

第1端点決定部4は、第1の描画操作の終了前に第2の描画操作が検出されれば、動作モードを直線描画モードに切り替える(ステップS106,S109)。そして、第2の描画操作の開始時における第1の描画操作の操作位置に基づいて、描画しようとする直線の始点(第1端点)を決定する(ステップS110)。   If the second drawing operation is detected before the end of the first drawing operation, the first end point determination unit 4 switches the operation mode to the straight line drawing mode (steps S106 and S109). Then, based on the operation position of the first drawing operation at the start of the second drawing operation, the starting point (first end point) of the straight line to be drawn is determined (step S110).

次に、第2端点決定部5は、第2の描画操作の終了よりも前に第1の描画操作の終了が検出されれば、操作入力部1からの位置情報に基づいて第2の描画操作の位置座標を取得し、第1の描画操作の終了時における第2の描画操作の操作位置に基づいて、直線の終点(第2端点)を決定する(ステップS111〜S113)。   Next, if the end of the first drawing operation is detected before the end of the second drawing operation, the second end point determination unit 5 performs the second drawing based on the position information from the operation input unit 1. The position coordinates of the operation are acquired, and the end point (second end point) of the straight line is determined based on the operation position of the second drawing operation at the end of the first drawing operation (steps S111 to S113).

線分描画部6は、第1指及び第2指の操作によって決定された始点と終点とを結ぶ直線を示す直線描画データを生成し、描画データ記憶部7内の描画データを更新する(ステップS114,S115)。そして、直線描画モードが解除され、ステップS104以降の処理手順が繰り返される(ステップS116)。このとき、第1の描画操作の終了時における第2の描画操作の操作位置を始点として、軌跡描画データが生成される。   The line segment drawing unit 6 generates line drawing data indicating a straight line connecting the start point and the end point determined by the operation of the first finger and the second finger, and updates the drawing data in the drawing data storage unit 7 (step S1). S114, S115). Then, the straight line drawing mode is canceled, and the processing procedure after step S104 is repeated (step S116). At this time, locus drawing data is generated starting from the operation position of the second drawing operation at the end of the first drawing operation.

一方、第1の描画操作の終了よりも前に第2の描画操作の終了が検出された場合には、直線描画モードがキャンセルされ、ステップS104以降の処理手順が繰り返される(ステップS111,S117,S118)。このとき、第2の描画操作の終了時における第1の描画操作の操作位置を始点として、軌跡描画データが生成される。   On the other hand, when the end of the second drawing operation is detected before the end of the first drawing operation, the straight line drawing mode is canceled and the processing procedure after step S104 is repeated (steps S111, S117, S118). At this time, locus drawing data is generated starting from the operation position of the first drawing operation at the end of the second drawing operation.

本実施の形態によれば、操作軌跡の描画中に第2の描画操作を開始させることにより、描画しようとする直線の始点が決定されるので、検出面から指を離すことなく直線描画モードに切り替えることができる。また、第2の描画操作の終了よりも前に第1の描画操作を終了させることにより、描画しようとする直線の終点が決定され、各端点を結ぶ直線が描画されるので、描画操作の操作位置を検出して操作軌跡を描画している際に、2つの端点を結ぶ直線の描画を簡単に行うことができる。   According to the present embodiment, since the start point of the straight line to be drawn is determined by starting the second drawing operation during the drawing of the operation locus, the straight line drawing mode is set without releasing the finger from the detection surface. Can be switched. Also, by terminating the first drawing operation before the end of the second drawing operation, the end point of the straight line to be drawn is determined, and a straight line connecting the end points is drawn. When a position is detected and an operation locus is drawn, a straight line connecting two end points can be easily drawn.

実施の形態2.
実施の形態1では、第2の描画操作の開始時における第1の描画操作の操作位置に基づいて、描画しようとする線分の一方の端点が決定される場合の例について説明した。これに対して、本実施の形態では、第1の描画操作の終了前に第2の描画操作が検出された場合に、第2の描画操作前の第1の描画操作による軌跡に基づいて、一方の端点を決定する場合について説明する。
Embodiment 2. FIG.
In the first embodiment, an example has been described in which one end point of a line segment to be drawn is determined based on the operation position of the first drawing operation at the start of the second drawing operation. On the other hand, in the present embodiment, when the second drawing operation is detected before the end of the first drawing operation, based on the trajectory by the first drawing operation before the second drawing operation, A case where one end point is determined will be described.

図11は、本発明の実施の形態2による描画装置の要部における構成例を示したブロック図であり、携帯電話機100内部の機能構成の他の一例が示されている。この携帯電話機100は、図8の携帯電話機100と比較すれば、描画データ生成部2が操作軌跡記憶部31を備え、第1端点決定部4がタイマー4a、停止判断部4b及び端点算出部4cからなる点で異なる。操作軌跡記憶部31には、軌跡描画部3によって生成された操作軌跡の描画データが保持される。   FIG. 11 is a block diagram showing a configuration example of a main part of the drawing apparatus according to the second embodiment of the present invention, and shows another example of the functional configuration inside the mobile phone 100. Compared with the mobile phone 100 of FIG. 8, in the mobile phone 100, the drawing data generation unit 2 includes an operation locus storage unit 31, and the first end point determination unit 4 includes a timer 4a, a stop determination unit 4b, and an end point calculation unit 4c. It differs in that it consists of. The operation locus storage unit 31 holds operation locus drawing data generated by the locus drawing unit 3.

第1端点決定部4は、タイマー4a、停止判断部4b及び端点算出部4cからなり、第1指によるアップイベント発生前に第2指によるダウンイベントが検出された場合に、操作軌跡記憶部31から描画データを読み出し、当該第2指によるダウンイベント発生前の第1指による軌跡に基づいて、第1端点を決定する。   The first end point determination unit 4 includes a timer 4a, a stop determination unit 4b, and an end point calculation unit 4c. When a down event is detected by the second finger before the up event is generated by the first finger, the operation locus storage unit 31 is detected. The drawing data is read out from, and the first end point is determined based on the locus by the first finger before the occurrence of the down event by the second finger.

停止判断部4bは、操作入力部1からの位置情報と、タイマー4aからの時間情報とに基づいて、第1指による描画操作中に指の移動が一定時間停止したか否かを判断し、その判断結果を端点算出部4cへ出力する。端点算出部4cは、第1指のアップイベント前に第2指のダウンイベントが検出された場合に、操作軌跡記憶部31から描画データを読み出し、第1指による描画操作中に指の移動が一定時間停止していると停止判断部4bが判断した時点における第1指の操作位置に基づいて、第1端点を決定する。   Based on the position information from the operation input unit 1 and the time information from the timer 4a, the stop determination unit 4b determines whether the finger movement has stopped for a certain period during the drawing operation by the first finger, The determination result is output to the endpoint calculation unit 4c. When the second finger down event is detected before the first finger up event, the end point calculation unit 4c reads the drawing data from the operation locus storage unit 31, and the finger is moved during the drawing operation by the first finger. The first end point is determined based on the operation position of the first finger when the stop determination unit 4b determines that the vehicle has stopped for a certain period of time.

本実施の形態によれば、ユーザが、第1指の移動を一定時間停止させた後、第2指によりダウンイベントを発生させれば、第2指のダウンイベントに伴って第1指がローリングした場合であっても、ユーザの意に反してヒゲ状の軌跡が第1端点付近に描画されるのを確実に防止することができる。   According to the present embodiment, if the user stops the movement of the first finger for a certain period of time and then generates a down event with the second finger, the first finger rolls along with the down event of the second finger. Even in this case, it is possible to reliably prevent the beard-like locus from being drawn near the first end point against the user's will.

実施の形態3.
実施の形態1では、第1の描画操作による操作軌跡の描画中に第2の描画操作を行うことによって動作モードが軌跡描画モードから線分描画モードに切り替えられる場合の例について説明した。これに対して、本実施の形態では、線分の線種を変更するための編集用アイコンを当該線分の近傍に表示させる場合について説明する。
Embodiment 3 FIG.
In the first embodiment, an example has been described in which the operation mode is switched from the locus drawing mode to the line segment drawing mode by performing the second drawing operation during the drawing of the operation locus by the first drawing operation. On the other hand, in this embodiment, a case will be described in which an editing icon for changing the line type of a line segment is displayed in the vicinity of the line segment.

図12は、本発明の実施の形態3による描画装置における手書き入力時の動作例を示した図であり、直線B2の終点の決定直後に当該直線B2の近傍に表示された編集用アイコン32の一例が示されている。   FIG. 12 is a diagram showing an operation example at the time of handwriting input in the drawing apparatus according to the third embodiment of the present invention, and the editing icon 32 displayed near the straight line B2 immediately after the end point of the straight line B2 is determined. An example is shown.

直線描画モードでは、第1指のアップイベント発生時における第2指の操作位置に基づいて、直線B2の終点B22が決定される。このとき、直線B2に隣接させて、線種変更のための編集用アイコン32が表示パネル11上に表示される。   In the straight line drawing mode, the end point B22 of the straight line B2 is determined based on the operation position of the second finger when the up event of the first finger occurs. At this time, an editing icon 32 for changing the line type is displayed on the display panel 11 adjacent to the straight line B2.

具体的には、直線描画モード時に、第2指のアップイベントよりも前に第1指によるアップイベントが検出されれば、当該第1指のアップイベントが検出されてから所定期間、直線に隣接させて編集用アイコン32が表示される。例えば、第1指のアップイベントが検出されてから一定時間だけ編集用アイコン32が表示される。或いは、第1指のアップイベント発生後、第2指の操作位置が、第1指のアップイベント発生時における位置から一定距離以上離れるまでの間、編集用アイコン32が表示される。   Specifically, in the straight line drawing mode, if an up event by the first finger is detected before the up event of the second finger, it is adjacent to the straight line for a predetermined period after the up event of the first finger is detected. Then, an editing icon 32 is displayed. For example, the editing icon 32 is displayed for a predetermined time after the first finger up event is detected. Alternatively, the edit icon 32 is displayed after the first finger up event occurs until the operation position of the second finger is a predetermined distance or more away from the position at the time of the first finger up event occurrence.

この様な編集用アイコン32を空いている指、例えば、右手の親指などで操作することにより、線分の線種を変更することができる。具体的には、第1指及び第2指の操作によって決定される第1端点と第2端点とを結ぶ線分として、直線B2に代えて、円弧、波線、破線などを選択することができる。或いは、直線B2の太さを変更することができる。   By operating such an editing icon 32 with an empty finger, for example, the thumb of the right hand, the line type of the line segment can be changed. Specifically, instead of the straight line B2, an arc, a wavy line, a broken line, or the like can be selected as a line segment connecting the first end point and the second end point determined by the operation of the first finger and the second finger. . Alternatively, the thickness of the straight line B2 can be changed.

図13(a)〜(c)は、図12の描画装置における手書き入力時の動作例を示した図であり、第1端点及び第2端点を結ぶ線分の他の例が示されている。図13(a)には、線分として円弧が描画される場合が示され、図13(b)には、波線が描画される場合が示され、図13(c)には、破線が描画される場合が示されている。   FIGS. 13A to 13C are diagrams illustrating an operation example at the time of handwriting input in the drawing apparatus of FIG. 12, and other examples of line segments connecting the first end point and the second end point are illustrated. . FIG. 13A shows a case where an arc is drawn as a line segment, FIG. 13B shows a case where a wavy line is drawn, and FIG. 13C shows a broken line. The case to be shown is shown.

円弧は、第1端点を始点とし、第2端点を終点とする円の一部である。波線は、これらの端点を結ぶ連続曲線であり、破線は、断続的な直線である。本実施の形態によれば、第2端点の決定に基づいて編集用アイコン32が直線B2の近傍に表示されるので、第1指によりアップイベントを発生させることによって自由になった指で編集用アイコン32を容易に操作することができる。   The arc is a part of a circle starting from the first end point and ending at the second end point. The wavy line is a continuous curve connecting these end points, and the broken line is an intermittent straight line. According to the present embodiment, the editing icon 32 is displayed in the vicinity of the straight line B2 based on the determination of the second end point, so that the editing can be performed with the finger freed by generating an up event with the first finger. The icon 32 can be easily operated.

図14(a)〜(c)は、図12の描画装置における手書き入力時の動作例を示した図であり、変更可能な線種の他の例が示されている。図14(a)には、第1端点及び第2端点を結ぶ線分が細い線として描画される場合が示され、図14(b)には、太い線で描画される場合が示され、図14(c)には、装飾付きの線で描画される場合が示されている。   FIGS. 14A to 14C are diagrams illustrating an operation example at the time of handwriting input in the drawing apparatus of FIG. 12, and other examples of line types that can be changed are illustrated. FIG. 14 (a) shows a case where the line segment connecting the first end point and the second end point is drawn as a thin line, and FIG. 14 (b) shows a case where the line is drawn as a thick line. FIG. 14C shows a case where drawing is performed with a line with decoration.

装飾付きの線は、装飾や模様が付加された線分であり、例えば、地図上で線路を示す図形として用いることができる。第1端点と第2端点とを結ぶ線分としては、この様に線の太さや装飾の異なる線を選択することができる。   The line with decoration is a line segment to which decoration or a pattern is added, and can be used, for example, as a figure showing a track on a map. As the line segment connecting the first end point and the second end point, lines having different line thicknesses and decorations can be selected.

なお、本実施の形態では、線分の線種変更のための編集用アイコン32を当該線分の近傍に表示させる場合の例について説明したが、描画しようとする線分の線種を変更させる手段としては他の構成であっても良い。例えば、線分描画部6が、操作軌跡の描画中における第2の描画操作の開始時における当該第2の描画操作のタッピング数に基づいて、描画しようとする線分の線種を変更するような構成であっても良い。具体的には、第2指によるダウンイベントが、1回のタッピング、すなわち、シングルタッピングによって行われたか、或いは、一定時間内における2回のタッピング、すなわち、ダブルタッピングによって行われたかに応じて、線分の線種を異ならせることが考えられる。   In the present embodiment, the example in which the editing icon 32 for changing the line type of the line segment is displayed in the vicinity of the line segment has been described. However, the line type of the line segment to be drawn is changed. As a means, another structure may be used. For example, the line drawing unit 6 changes the line type of the line to be drawn based on the number of tappings of the second drawing operation at the start of the second drawing operation during drawing of the operation locus. It may be a simple configuration. Specifically, depending on whether the down event by the second finger was performed by one tapping, i.e., single tapping, or by two tappings within a fixed time, i.e., by double tapping, It may be possible to change the line type of the line segment.

この様に構成すれば、第2指のダウンイベント発生時における当該第2指のタッピング数に応じて、線分の線種を異ならせられるので、線分の線種を変更する際の操作性を向上させることができる。   According to this configuration, the line type of the line segment can be changed according to the number of tappings of the second finger when the second finger down event occurs, so that the operability when changing the line type of the line segment is improved. Can be improved.

或いは、線分描画部6が、第2端点の決定前における第3の描画操作に基づいて、線分の線種を変更するような構成であっても良い。具体的には、表示制御部8が、第1端点の決定に基づいて、編集用アイコンを表示し、線分描画部6が、第3指による上記編集用アイコンの操作に基づいて、描画しようとする線分の線種を変更する。   Alternatively, the line segment drawing unit 6 may change the line type of the line segment based on the third drawing operation before determining the second end point. Specifically, the display control unit 8 displays an editing icon based on the determination of the first end point, and the line segment drawing unit 6 tries to draw based on the operation of the editing icon with the third finger. Change the line type.

この様な構成によれば、第2端点決定前の第3指の操作に基づいて線分の線種が変更されるので、第2端点を決定させるまでの間に、空いている指を用いて線種を容易に変更することができる。   According to such a configuration, since the line type of the line segment is changed based on the operation of the third finger before the second end point is determined, a free finger is used until the second end point is determined. The line type can be easily changed.

なお、実施の形態1〜3では、第1指による操作軌跡の描画中に第2指によるダウンイベントが検出されれば、動作モードが線分描画モードに切り替えられる場合の例について説明したが、本発明はこれに限られるものではない。例えば、第2指のダウンイベントとして、一定時間内に2以上の指が検出された場合、第2端点決定部5が、これらの指のうち、最後に残った指の操作位置に基づいて、第2端点を決定するようなものであっても良い。   In the first to third embodiments, the example in which the operation mode is switched to the line segment drawing mode when the down event by the second finger is detected during the drawing of the operation locus by the first finger has been described. The present invention is not limited to this. For example, when two or more fingers are detected within a predetermined time as a second finger down event, the second endpoint determination unit 5 determines the last remaining finger operation position among these fingers, The second end point may be determined.

また、実施の形態1〜3では、手書き入力時に操作軌跡や線分が描画される場合の例について説明したが、手書き入力によって描画された文字や図形の一部を消去する消去モード時にも本発明は適用することができる。例えば、消去モードでは、指の操作軌跡が背景を透過させる透明色で描画される。   In the first to third embodiments, an example in which an operation trajectory or a line segment is drawn at the time of handwriting input has been described. However, this mode is also used in an erasing mode for erasing a part of characters or figures drawn by handwriting input. The invention can be applied. For example, in the erase mode, the operation locus of the finger is drawn with a transparent color that transmits the background.

この様な透明色による操作軌跡を描画させることにより、手書き入力で所定の背景上に描画された文字や図形をフリーハンドで描いた操作軌跡によって消去することができる。その際、第1指のアップイベント前に第2指のダウンイベントが検出されれば、動作モードが透明色による軌跡描画モードから透明色による直線描画モードに切り替えられる。そして、第1指及び第2指の操作によって決定された第1端点及び第2端点を結ぶ直線を透明色で描画する線分描画データが線分描画部6により生成される。   By drawing such an operation trajectory using a transparent color, it is possible to erase characters and figures drawn on a predetermined background by handwriting input using an operation trajectory drawn freehand. At this time, if a down event of the second finger is detected before the up event of the first finger, the operation mode is switched from the locus drawing mode using the transparent color to the straight line drawing mode using the transparent color. Then, the line drawing unit 6 generates line drawing data for drawing a straight line connecting the first end point and the second end point determined by the operation of the first finger and the second finger with a transparent color.

この様に構成すれば、背景を透過させる透明色で第1端点及び第2端点を結ぶ直線が描画されるので、背景上に描画された文字や図形を操作軌跡によって消去している際に、上記直線の描画を簡単に行うことができる。また、この様な透明色による直線の描画により、文字や図形の不要部分を除去して、文字や図形の端部を揃えることもできる。   With this configuration, since a straight line connecting the first end point and the second end point is drawn with a transparent color that transmits the background, when characters and figures drawn on the background are erased by the operation locus, The straight line can be drawn easily. In addition, by drawing a straight line in such a transparent color, unnecessary portions of characters and figures can be removed and the ends of the characters and figures can be aligned.

また、実施の形態1〜3では、第1指のアップイベント発生時に第1端点及び第2端点を結ぶ線分が描画される場合の例について説明したが、第2端点の決定前に線分を描画させても良い。例えば、第2指のダウンイベント発生時に、第1端点と第2指の操作位置とを結ぶ線分を描画させることが考えられる。   In the first to third embodiments, an example has been described in which a line segment connecting the first end point and the second end point is drawn when the first finger up event occurs, but the line segment is determined before the second end point is determined. May be drawn. For example, it is conceivable to draw a line segment connecting the first end point and the operation position of the second finger when the second finger down event occurs.

また、実施の形態1〜3では、手書き入力された文字や図形を表示する表示パネル11が描画操作の検出面である場合の例について説明したが、描画操作の検出面と、描画情報の表示画面とが異なる位置に配置されるものにも本発明は適用することができる。例えば、手書き入力された文字や図形が表示される表示画面は、表示パネル11として表示筐体10に設けられ、操作入力部1の検出面は、操作筐体20に設けられるようなものであっても良い。   Moreover, although Embodiment 1-3 demonstrated the example in case the display panel 11 which displays the character and figure input by handwriting is a detection surface of drawing operation, the detection surface of drawing operation and the display of drawing information were demonstrated. The present invention can also be applied to a device arranged at a position different from the screen. For example, a display screen on which handwritten characters and figures are displayed is provided on the display housing 10 as the display panel 11, and the detection surface of the operation input unit 1 is provided on the operation housing 20. May be.

また、実施の形態1〜3では、指によるダウンイベント及びアップイベントが検出される場合の例について説明したが、タッチペンなどの入力補助道具を用いて描画操作を行う場合にも本発明は適用することができる。例えば、2本のタッチペンを用い、一方のタッチペンのアップイベント前に、他方のタッチペンのダウンイベントが検出されれば、動作モードが軌跡描画モードから線分描画モードに切り替えられるようなものであっても良い。つまり、本発明は、指やタッチペンなどの操作子によるダウンイベント及びアップイベントを検知して操作軌跡を描画するものに適用することができる。   In Embodiments 1 to 3, an example in which a down event and an up event with a finger are detected has been described. However, the present invention also applies to a case where a drawing operation is performed using an input auxiliary tool such as a touch pen. be able to. For example, when two touch pens are used and the down event of the other touch pen is detected before the up event of one touch pen, the operation mode is switched from the locus drawing mode to the line drawing mode. Also good. That is, the present invention can be applied to an apparatus that draws an operation locus by detecting a down event and an up event by an operator such as a finger or a touch pen.

また、実施の形態1〜3では、表示パネル11を検出面とするタッチパネルを用いて描画操作の操作位置が検出される場合の例について説明したが、本発明はこれに限られるものではない。例えば、赤外線を利用して操作位置を検出する赤外線センサを用いても良い。この様な赤外線センサを用いれば、非接触で操作軌跡を描画させることができる。   Moreover, although Embodiment 1-3 demonstrated the example in case the operation position of drawing operation was detected using the touch panel which uses the display panel 11 as a detection surface, this invention is not limited to this. For example, an infrared sensor that detects an operation position using infrared rays may be used. If such an infrared sensor is used, an operation locus can be drawn without contact.

1 操作入力部
2 描画データ生成部
3 軌跡描画部
4 第1端点決定部
4a タイマー
4b 停止判断部
4c 端点算出部
5 第2端点決定部
6 線分描画部
7 描画データ記憶部
8 表示制御部
9 表示部
10 表示筐体
11 表示パネル
20 操作筐体
21 キーパネル
22 方向キー
23 テンキー
31 操作軌跡記憶部
32 編集用アイコン
100 携帯電話機
A1 軌跡描画モード
A2 直線描画モード
B1,B3 操作軌跡
B2,B4 直線
B21,B22 端点
DESCRIPTION OF SYMBOLS 1 Operation input part 2 Drawing data generation part 3 Trajectory drawing part 4 1st end point determination part 4a Timer 4b Stop determination part 4c End point calculation part 5 2nd end point determination part 6 Line segment drawing part 7 Drawing data storage part 8 Display control part 9 Display unit 10 Display case 11 Display panel 20 Operation case 21 Key panel 22 Direction key 23 Numeric keypad 31 Operation track storage unit 32 Editing icon 100 Mobile phone A1 Track drawing mode A2 Line drawing mode B1, B3 Operation tracks B2, B4 Straight line B21, B22 endpoint

Claims (9)

操作位置を検出する操作位置検出手段と、
上記操作位置に基づいて、描画データを生成する描画データ生成手段と、
上記描画データに基づいて、画面表示を行う表示手段とを備え、
上記描画データ生成手段は、描画操作の開始から終了までの軌跡を示す描画データを生成する軌跡描画手段と、
第1の描画操作の終了前に第2の描画操作が検出された場合に、当該第2の描画操作の開始時における第1の描画操作の操作位置に基づいて、第1端点を決定する第1端点決定手段と、
第1の描画操作の終了時における第2の描画操作の操作位置に基づいて、第2端点を決定する第2端点決定手段と、
第1端点及び第2端点を結ぶ線分を示す描画データを生成する線分描画手段とを備えたことを特徴とする描画装置。
An operation position detecting means for detecting an operation position;
Drawing data generating means for generating drawing data based on the operation position;
Display means for performing screen display based on the drawing data,
The drawing data generation means includes a locus drawing means for generating drawing data indicating a locus from the start to the end of the drawing operation;
When the second drawing operation is detected before the end of the first drawing operation, the first end point is determined based on the operation position of the first drawing operation at the start of the second drawing operation. One end point determination means;
Second end point determining means for determining a second end point based on the operation position of the second drawing operation at the end of the first drawing operation;
A drawing apparatus comprising line segment drawing means for generating drawing data indicating a line segment connecting the first end point and the second end point.
操作位置を検出する操作位置検出手段と、
上記操作位置に基づいて、描画データを生成する描画データ生成手段と、
上記描画データに基づいて、画面表示を行う表示手段とを備え、
上記描画データ生成手段は、描画操作の開始から終了までの軌跡を示す描画データを生成する軌跡描画手段と、
第1の描画操作の終了前に第2の描画操作が検出された場合に、当該第2の描画操作前の第1の描画操作による軌跡に基づいて、第1端点を決定する第1端点決定手段と、
第1の描画操作の終了時における第2の描画操作の操作位置に基づいて、第2端点を決定する第2端点決定手段と、
第1端点及び第2端点を結ぶ線分を示す描画データを生成する線分描画手段とを備えたことを特徴とする描画装置。
An operation position detecting means for detecting an operation position;
Drawing data generating means for generating drawing data based on the operation position;
Display means for performing screen display based on the drawing data,
The drawing data generation means includes a locus drawing means for generating drawing data indicating a locus from the start to the end of the drawing operation;
When the second drawing operation is detected before the end of the first drawing operation, the first end point determination is performed to determine the first end point based on the locus of the first drawing operation before the second drawing operation. Means,
Second end point determining means for determining a second end point based on the operation position of the second drawing operation at the end of the first drawing operation;
A drawing apparatus comprising line segment drawing means for generating drawing data indicating a line segment connecting the first end point and the second end point.
第1端点決定手段は、第1の描画操作中に指の移動が一定時間停止したと判断した時点における第1の描画操作の操作位置に基づいて、第1端点を決定することを特徴とする請求項2に記載の描画装置。   The first endpoint determining means determines the first endpoint based on the operation position of the first drawing operation at the time when it is determined that the movement of the finger has stopped for a certain period of time during the first drawing operation. The drawing apparatus according to claim 2. 上記軌跡描画手段は、第1の描画操作の終了時における第2の描画操作の操作位置を始点として、当該第2の描画操作の終了までの軌跡を示す描画データを生成することを特徴とする請求項1又は2に記載の描画装置。   The locus drawing means generates drawing data indicating a locus until the end of the second drawing operation, starting from the operation position of the second drawing operation at the end of the first drawing operation. The drawing apparatus according to claim 1 or 2. 上記線分描画手段は、第1端点及び第2端点を結ぶ直線を示す描画データを生成することを特徴とする請求項1又は2に記載の描画装置。   3. The drawing apparatus according to claim 1, wherein the line segment drawing unit generates drawing data indicating a straight line connecting the first end point and the second end point. 上記線分描画手段は、第2の描画操作の開始時における当該第2の描画操作のタッピング数に基づいて、上記線分の線種を変更することを特徴とする請求項1又は2に記載の描画装置。   The line segment drawing means changes the line type of the line segment based on the number of taps of the second drawing operation at the start of the second drawing operation. Drawing device. 上記線分描画手段は、第2端点の決定前における第3の描画操作に基づいて、上記線分の線種を変更することを特徴とする請求項1又は2に記載の描画装置。   The drawing apparatus according to claim 1, wherein the line segment drawing unit changes a line type of the line segment based on a third drawing operation before determining the second end point. 上記表示手段は、第1端点の決定に基づいて、編集用アイコンを表示し、
上記線分描画手段は、上記編集用アイコンの操作に基づいて、線分の線種を変更することを特徴とする請求項7に記載の描画装置。
The display means displays an editing icon based on the determination of the first endpoint,
The drawing apparatus according to claim 7, wherein the line segment drawing unit changes a line type of the line segment based on an operation of the editing icon.
上記表示手段は、第2端点の決定に基づいて、上記線分の線種を変更するための編集用アイコンを当該線分の近傍に表示することを特徴とする請求項1又は2に記載の描画装置。   The said display means displays the edit icon for changing the line type of the said line segment in the vicinity of the said line segment based on the determination of the 2nd end point. Drawing device.
JP2009253877A 2009-11-05 2009-11-05 Drawing device Expired - Fee Related JP5156720B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009253877A JP5156720B2 (en) 2009-11-05 2009-11-05 Drawing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009253877A JP5156720B2 (en) 2009-11-05 2009-11-05 Drawing device

Publications (2)

Publication Number Publication Date
JP2011100253A true JP2011100253A (en) 2011-05-19
JP5156720B2 JP5156720B2 (en) 2013-03-06

Family

ID=44191384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009253877A Expired - Fee Related JP5156720B2 (en) 2009-11-05 2009-11-05 Drawing device

Country Status (1)

Country Link
JP (1) JP5156720B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014063252A (en) * 2012-09-20 2014-04-10 Casio Comput Co Ltd Graphic drawing device and program
CN103984493A (en) * 2013-02-07 2014-08-13 腾讯科技(深圳)有限公司 Sliding control method and terminal
JP2014146127A (en) * 2013-01-28 2014-08-14 Casio Comput Co Ltd Information processing device, information processing method, and program
JP2014182814A (en) * 2013-03-18 2014-09-29 Sharp Corp Drawing device, drawing method and drawing program
CN104571836A (en) * 2013-10-11 2015-04-29 北大方正集团有限公司 Writing brush font processing method and device based on touch screen
JP2016177835A (en) * 2016-05-25 2016-10-06 カシオ計算機株式会社 Graphic drawing device, graphic drawing method, and program
JP2017004543A (en) * 2016-07-27 2017-01-05 株式会社スクウェア・エニックス Information processing apparatus, information processing method, and game device
WO2017066902A1 (en) * 2015-10-19 2017-04-27 Shanghai Oxi Technology Co., Ltd Fingerprint recognition system and method for detecting trajectory of finger using the system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63316226A (en) * 1987-06-19 1988-12-23 Fujitsu Ltd Graphic input device
JPH0580939A (en) * 1991-09-20 1993-04-02 Hitachi Ltd Method and device for coordinate input
JPH0887372A (en) * 1994-09-16 1996-04-02 Toshiba Corp Image input device
JPH08211992A (en) * 1995-02-03 1996-08-20 Canon Inc Graphic forming device and method therefor
JP2002269759A (en) * 2001-03-07 2002-09-20 Ricoh Co Ltd Optical disk and method for formatting the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63316226A (en) * 1987-06-19 1988-12-23 Fujitsu Ltd Graphic input device
JPH0580939A (en) * 1991-09-20 1993-04-02 Hitachi Ltd Method and device for coordinate input
JPH0887372A (en) * 1994-09-16 1996-04-02 Toshiba Corp Image input device
JPH08211992A (en) * 1995-02-03 1996-08-20 Canon Inc Graphic forming device and method therefor
JP2002269759A (en) * 2001-03-07 2002-09-20 Ricoh Co Ltd Optical disk and method for formatting the same

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014063252A (en) * 2012-09-20 2014-04-10 Casio Comput Co Ltd Graphic drawing device and program
JP2014146127A (en) * 2013-01-28 2014-08-14 Casio Comput Co Ltd Information processing device, information processing method, and program
CN103984493A (en) * 2013-02-07 2014-08-13 腾讯科技(深圳)有限公司 Sliding control method and terminal
WO2014121623A1 (en) * 2013-02-07 2014-08-14 Tencent Technology (Shenzhen) Company Limited Sliding control method and terminal device thereof
US9377868B2 (en) 2013-02-07 2016-06-28 Tencent Technology (Shenzhen) Company Limited Sliding control method and terminal device thereof
CN103984493B (en) * 2013-02-07 2018-06-19 腾讯科技(深圳)有限公司 Control method by sliding and terminal
JP2014182814A (en) * 2013-03-18 2014-09-29 Sharp Corp Drawing device, drawing method and drawing program
CN104571836A (en) * 2013-10-11 2015-04-29 北大方正集团有限公司 Writing brush font processing method and device based on touch screen
CN104571836B (en) * 2013-10-11 2017-08-25 北大方正集团有限公司 Writing brush form of a stroke or a combination of strokes treating method and apparatus based on touch-screen
WO2017066902A1 (en) * 2015-10-19 2017-04-27 Shanghai Oxi Technology Co., Ltd Fingerprint recognition system and method for detecting trajectory of finger using the system
JP2016177835A (en) * 2016-05-25 2016-10-06 カシオ計算機株式会社 Graphic drawing device, graphic drawing method, and program
JP2017004543A (en) * 2016-07-27 2017-01-05 株式会社スクウェア・エニックス Information processing apparatus, information processing method, and game device

Also Published As

Publication number Publication date
JP5156720B2 (en) 2013-03-06

Similar Documents

Publication Publication Date Title
JP5156720B2 (en) Drawing device
US20220057907A1 (en) Portable electronic device for instant messaging
EP1876516B1 (en) Information processing device, image movement instructing method, and information storage medium
US9292161B2 (en) Pointer tool with touch-enabled precise placement
US20130201139A1 (en) User interface apparatus and mobile terminal apparatus
JP5080773B2 (en) Mobile terminal and control method thereof
JP4781957B2 (en) Mobile terminal device
US20130007653A1 (en) Electronic Device and Method with Dual Mode Rear TouchPad
WO2014050147A1 (en) Display control device, display control method and program
WO2012132802A1 (en) Touch panel device, display method therefor, and display program
JP5222967B2 (en) Mobile device
CN102473069A (en) Display control device, display control method and computer program
EP2813937A1 (en) Portable terminal and method for operating same
CN101910983A (en) Radio communication device and split type touch sensitive user input surface
US9274702B2 (en) Drawing device, drawing control method, and drawing control program for drawing graphics in accordance with input through input device that allows for input at multiple points
EP2738658A2 (en) Terminal and method for operating the same
JP2009071438A (en) Display integrated type touch panel apparatus
JP2012155675A (en) Touch panel device
CN103019577A (en) Object selection method and device, control method and control device
US20130321322A1 (en) Mobile terminal and method of controlling the same
CN103959221A (en) Method and apparatus for performing a zooming action
EP2146493B1 (en) Method and apparatus for continuous key operation of mobile terminal
JP6183820B2 (en) Terminal and terminal control method
CN104007916A (en) Information processing method and electronic device
JP6622837B2 (en) Input display device and input display method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121115

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121120

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121210

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151214

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees