JP2016177835A - Graphic drawing device, graphic drawing method, and program - Google Patents

Graphic drawing device, graphic drawing method, and program Download PDF

Info

Publication number
JP2016177835A
JP2016177835A JP2016103990A JP2016103990A JP2016177835A JP 2016177835 A JP2016177835 A JP 2016177835A JP 2016103990 A JP2016103990 A JP 2016103990A JP 2016103990 A JP2016103990 A JP 2016103990A JP 2016177835 A JP2016177835 A JP 2016177835A
Authority
JP
Japan
Prior art keywords
touch
graphic
touch position
determined
condition
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
JP2016103990A
Other languages
Japanese (ja)
Other versions
JP6172337B2 (en
Inventor
中村 利久
Toshihisa Nakamura
利久 中村
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2016103990A priority Critical patent/JP6172337B2/en
Publication of JP2016177835A publication Critical patent/JP2016177835A/en
Application granted granted Critical
Publication of JP6172337B2 publication Critical patent/JP6172337B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To quickly draw and display a desired graphic by an intuitive and straight touch operation of a user in a graphic drawing device.SOLUTION: In a touch panel display unit, when positions that correspond to a plurality of feature points according to a graphic desired by a user are touched (S1, S3, and S22), and the touch positions are moved according to a shape of the graphic (S4 and S23) and touch is temporarily released and a different position is touched (S10, S11, and S15), feature conditions of various graphics (a circle, parallel lines, a regular triangle, a triangle, a square, a rectangle, a quadrangle, a straight line, a concentric circle, an ellipse, and the like) are determined according to the plurality of touched touch positions, a locus of movement of the touch positions, and an additional touch position (S5, S7, S12, S15, S16, S18, and S24), and a type and a drawing position of the graphic is determined. A basic graphic of a corresponding type is then read out from a drawing graphic database according to the determined type and drawing position of the graphic, and size of the basic graphic is adjusted and displayed as a drawing at the drawing position.SELECTED DRAWING: Figure 2

Description

本発明は、ユーザ任意の図形を描画するための図形描画装置およびその制御プログラムに関する。   The present invention relates to a figure drawing apparatus for drawing a figure arbitrary by a user and a control program therefor.

従来、ユーザ操作に応じて任意の図形を入力する装置として、タッチパネル式の表示部を備え、当該タッチパネルをユーザの指で直接タッチして操作することで、タッチ操作に応じた図形を入力して表示させるシステムが考えられている(例えば、特許文献1参照。)。   Conventionally, as a device for inputting an arbitrary figure in response to a user operation, a touch panel type display unit has been provided, and by touching the touch panel directly with a user's finger and operating, the figure corresponding to the touch operation is input. A system for displaying is considered (for example, see Patent Document 1).

この従来の入力表示システムでは、指でタッチパネル表示部の1点をタッチしながら移動させると、その移動の軌跡に応じた手書きの図形が描画されて表示される。そして、手書きの図形が表示された状態で、変形モードを設定し、当該図形の複数の点をタッチしながら移動させることで、その図形を所望の形に変形して表示させることができる。   In this conventional input display system, when a finger is moved while touching one point on the touch panel display unit, a handwritten figure corresponding to the movement locus is drawn and displayed. Then, in a state where a handwritten figure is displayed, a deformation mode is set, and the figure can be deformed and displayed in a desired shape by moving while touching a plurality of points of the figure.

特開2011−22964号公報JP 2011-22964 A

前記従来の入力表示システムでは、タッチ操作により手書きの図形を描画表示させることができるものの、真円や正三角形、正方形等、正規の図形を表示させるには、変形モードを設定し、当該手書き図形の複数の点をタッチしながら各点を移動させ、図形を変形させなければならない。   In the conventional input display system, although a handwritten figure can be drawn and displayed by a touch operation, in order to display a regular figure such as a perfect circle, a regular triangle, or a square, a deformation mode is set and the handwritten figure is displayed. Each point must be moved while touching a plurality of points to deform the figure.

このため、ユーザの望む正規の図形を表示させるまでには、手書き図形の入力操作と、入力された手書き図形の変形操作との二段階操作を行わなければならず、まだまだ面倒が掛かる問題がある。   For this reason, it is necessary to perform a two-stage operation of an input operation of a handwritten graphic and a deformation operation of the input handwritten graphic until a regular graphic desired by the user is displayed. .

本発明は、このような課題に鑑みなされたもので、ユーザの直感的で素直なタッチ操作により所望の図形を素早く描画して表示させることが可能になる図形描画装置およびその制御プログラムを提供することを目的とする。   The present invention has been made in view of such a problem, and provides a graphic drawing apparatus and a control program thereof that can quickly draw and display a desired graphic by a user's intuitive and straightforward touch operation. For the purpose.

本発明に係る図形描画装置は、タッチパネルと、表示部と、前記タッチパネルのユーザ操作に応じたタッチ位置を検出するタッチ位置検出手段と、このタッチ位置検出手段により複数のタッチ位置が検出された際に、当該タッチ位置が移動されたか否かを判断するタッチ移動判断手段と、このタッチ移動判断手段により前記タッチ位置が移動されたと判断された場合に、前記タッチ位置検出手段により検出されるタッチ位置のその後の変化を判断するタッチ変化判断手段と、前記タッチ位置検出手段により検出されたタッチ位置と前記タッチ変化判断手段により判断された当該タッチ位置のその後の変化とに応じて図形の種類とその描画位置を決定する図形描画決定手段と、この図形描画決定手段により決定された図形の種類とその描画位置に応じて前記表示部に図形を表示させる図形表示制御手段と、前記表示部にグラフ座標が表示されているか否かを判断する座標表示判断手段と、前記座標表示判断手段によりグラフ座標が表示されていると判断された状態で、前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されたと判断された場合に、そのタッチ位置の移動の軌跡が、N次曲線の条件を満たすか否かを判断するN次曲線条件判断手段と、前記座標表示判断手段によりグラフ座標が表示されていると判断された状態で、前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されたと判断された場合に、そのタッチ位置の移動の軌跡が、正弦波曲線の条件を満たすか否かを判断する正弦波曲線条件判断手段とを備え、前記図形描画決定手段は、前記N次曲線条件判断手段によりN次曲線の条件を満たしたと判断された場合には前記図形の種類をN次曲線、前記正弦波曲線条件判断手段により正弦波曲線の条件を満たしたと判断された場合には前記図形の種類を正弦波曲線として決定すると共に、それぞれその描画位置を前記移動の軌跡に応じた位置として決定する、ことを特徴としている。   The figure drawing apparatus according to the present invention includes a touch panel, a display unit, touch position detecting means for detecting a touch position corresponding to a user operation on the touch panel, and a plurality of touch positions detected by the touch position detecting means. A touch movement determination unit that determines whether or not the touch position has been moved; and a touch position that is detected by the touch position detection unit when the touch movement determination unit determines that the touch position has been moved. Touch change determination means for determining the subsequent change of the touch, the touch position detected by the touch position detection means and the type of the figure according to the subsequent change of the touch position determined by the touch change determination means Graphic drawing determination means for determining the drawing position, the type of graphic determined by the graphic drawing determination means, and the drawing position In response, the graphic coordinates are displayed by the graphic display control means for displaying the graphic on the display section, the coordinate display determining means for determining whether or not the graph coordinates are displayed on the display section, and the coordinate display determining means. When it is determined that the touch position detected by the touch position detecting means has been moved by the touch movement determining means, the movement locus of the touch position satisfies the condition of the Nth order curve. An N-order curve condition determining unit that determines whether or not the condition is satisfied, and the touch movement determining unit detects the touch position detecting unit in a state where the graph coordinates are determined to be displayed by the coordinate display determining unit. When it is determined that the touch position has been moved, the sine wave curve condition for determining whether the movement locus of the touch position satisfies the sine wave curve condition Cutting means, and when the N-th order curve condition determining means determines that the N-th order curve condition is satisfied, the figure drawing determining means determines the shape of the figure as an N-th order curve and determining the sine wave curve condition. When it is determined by the means that the condition of the sine wave curve is satisfied, the type of the figure is determined as a sine wave curve, and the drawing position thereof is determined as a position corresponding to the movement locus. Yes.

本発明によれば、ユーザの直感的で素直なタッチ操作により所望の図形を素早く描画して表示させることが可能になる。   According to the present invention, it is possible to quickly draw and display a desired graphic by a user's intuitive and straightforward touch operation.

本発明の図形描画装置の実施形態に係るタッチパネル式PDA10の電子回路の構成を示すブロック図。The block diagram which shows the structure of the electronic circuit of touchscreen PDA10 which concerns on embodiment of the figure drawing apparatus of this invention. 前記タッチパネル式PDA10による図形描画処理(その1)を示すフローチャート。The flowchart which shows the figure drawing process (the 1) by the said touchscreen PDA10. 前記タッチパネル式PDA10による図形描画処理(その2)を示すフローチャート。The flowchart which shows the figure drawing process (the 2) by the said touchscreen PDA10. 前記タッチパネル式PDA10による図形描画処理(その3)を示すフローチャート。The flowchart which shows the figure drawing process (the 3) by the said touchscreen PDA10. 前記タッチパネル式PDA10による図形描画処理の起動に伴いタッチパネル式カラー表示部17に表示されるユーザ向け操作説明画面Gを示す図。The figure which shows operation description screen G for users displayed on the touch panel type color display part 17 with the starting of the figure drawing process by the said touch panel type PDA10. 前記タッチパネル式PDA10による図形描画処理に従い円Cを描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図。The figure which shows the display operation in the figure input screen GF according to touch operation in the case of drawing and displaying the circle C according to the figure drawing process by the said touch panel type PDA10. 前記タッチパネル式PDA10による図形描画処理に従い平行線PLを描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図。The figure which shows the display operation in the figure input screen GF according to touch operation in the case of drawing and displaying the parallel line PL according to the figure drawing process by the said touchscreen PDA10. 前記タッチパネル式PDA10による図形描画処理に従い正三角形TRを描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図。The figure which shows the display operation in the figure input screen GF according to touch operation in the case of drawing and displaying the equilateral triangle TR according to the figure drawing process by the said touchscreen PDA10. 前記タッチパネル式PDA10による図形描画処理に従い正方形RSを描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図。The figure which shows the display operation in the figure input screen GF according to touch operation in case the square RS is drawn and displayed according to the figure drawing process by the said touchscreen PDA10. 前記タッチパネル式PDA10による図形描画処理に従い直線SLを描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図。The figure which shows the display operation in the figure input screen GF according to touch operation in the case of drawing and displaying the straight line SL according to the figure drawing process by the said touchscreen PDA10. 前記タッチパネル式PDA10による図形描画処理に従い同心円CCを描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図。The figure which shows the display operation on the figure input screen GF according to touch operation in the case of drawing and displaying the concentric circle CC according to the figure drawing process by the said touch panel type PDA10. 前記タッチパネル式PDA10による図形描画処理に従い平行線PLと三角形TRと円Cを組合せて描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作(その1)を示す図。The figure which shows the display operation (the 1) on the figure input screen GF according to touch operation in the case of drawing-displaying combining the parallel line PL, the triangle TR, and the circle C according to the figure drawing process by the said touchscreen PDA10. 前記タッチパネル式PDA10による図形描画処理に従い平行線PLと三角形TRと円Cを組合せて描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作(その2)を示す図。The figure which shows the display operation (the 2) on the figure input screen GF according to touch operation in the case of drawing-displaying combining the parallel line PL, the triangle TR, and the circle C according to the figure drawing process by the said touchscreen PDA10. 前記タッチパネル式PDA10による図形描画処理に従い平行線PLと三角形TRと円Cを組合せて描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作(その3)を示す図。The figure which shows the display operation (the 3) on the figure input screen GF according to touch operation in the case of drawing-displaying combining the parallel line PL, the triangle TR, and the circle C according to the figure drawing process by the said touchscreen PDA10. 前記タッチパネル式PDA10による図形描画処理に従いN次曲線のグラフyを描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図。The figure which shows the display operation in the figure input screen GF according to touch operation in the case of drawing and displaying the graph y of a Nth-order curve according to the figure drawing process by the said touch panel type PDA10. 前記タッチパネル式PDA10による図形描画処理に従い正弦波双曲線のグラフy1,y2を描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図。The figure which shows the display operation in the figure input screen GF according to touch operation in the case of drawing and displaying the sine wave hyperbola graph y1, y2 according to the figure drawing process by the said touch panel PDA10.

以下図面により本発明の実施の形態について説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明の図形描画装置の実施形態に係るタッチパネル式PDA10の電子回路の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of an electronic circuit of a touch panel PDA 10 according to an embodiment of a graphic drawing apparatus of the present invention.

この図形描画装置は、以下に説明する図形描画機能を搭載したタッチパネル式PDA(personal digital assistants)10として構成されるか、PC(personal computer)、携帯電話、携帯ゲーム機等として構成される。   This graphic drawing apparatus is configured as a touch panel PDA (personal digital assistants) 10 equipped with a graphic drawing function described below, or as a PC (personal computer), a mobile phone, a portable game machine, or the like.

このPDA10は、各種の記憶媒体に記憶されたプログラム、又は、伝送されたプログラムを読み込んで、その読み込んだプログラムによって動作が制御されるコンピュータによって構成され、その電子回路には、CPU(central processing unit)11が備えられる。   The PDA 10 is configured by a computer that reads a program stored in various storage media or a transmitted program and whose operation is controlled by the read program. The electronic circuit includes a CPU (central processing unit). ) 11 is provided.

CPU11は、メモリ12内に予め記憶された装置制御プログラム、あるいはROMカードなどの外部記憶媒体13から記憶媒体読み書き部14を介して前記メモリ12に読み込まれた装置制御プログラム、あるいはインターネットN上のWebサーバ(この場合はプログラムサーバ)から通信制御部15を介して前記メモリ12に読み込まれた装置制御プログラムに応じて、回路各部の動作を制御する。   The CPU 11 is a device control program stored in the memory 12 in advance, or a device control program read from the external storage medium 13 such as a ROM card into the memory 12 via the storage medium read / write unit 14 or a Web on the Internet N. The operation of each part of the circuit is controlled according to a device control program read into the memory 12 from the server (in this case, a program server) via the communication control unit 15.

前記メモリ12に記憶された装置制御プログラムは、キー入力部16からのユーザ操作に応じたキー入力信号、あるいはタッチパネル式カラー表示部17からのユーザ操作に応じたタッチ入力信号、あるいは通信制御部15を介して接続されるインターネットN上の各Webサーバとの通信信号、あるいは記憶媒体読み書き部14を介して外部接続されるEEPROM,RAM,ROMなどのメモリ・カード(記憶媒体)13との接続通信信号に応じて起動される。   The device control program stored in the memory 12 is a key input signal corresponding to a user operation from the key input unit 16, a touch input signal corresponding to a user operation from the touch panel type color display unit 17, or a communication control unit 15. Communication signal with each Web server on the Internet N connected via the Internet, or connection communication with a memory card (storage medium) 13 such as EEPROM, RAM, ROM, etc. externally connected via the storage medium read / write unit 14 It is activated in response to a signal.

このように、前記CPU11には、前記メモリ12、記憶媒体読み書き部14、通信制御部15、キー入力部16、タッチパネル式カラー表示部17などが接続される。   Thus, the CPU 11 is connected to the memory 12, the storage medium read / write unit 14, the communication control unit 15, the key input unit 16, the touch panel type color display unit 17, and the like.

前記メモリ12に記憶される装置制御プログラムとしては、当該PDA10の全体の動作を司るシステムプログラムや、通信制御部15を介してインターネットN上の各Webサーバや図示しないユーザPC(Personal Computer)などとデータ通信するための通信プログラムが記憶される他、メール機能や録音/再生機能、録画/再生機能、文書処理機能、スケジュール管理機能等、予め記憶されるか、外部からダウンロードされた各種のアプリケーションプログラムが記憶される。   Examples of the device control program stored in the memory 12 include a system program that controls the overall operation of the PDA 10, Web servers on the Internet N via the communication control unit 15, and a user PC (Personal Computer) (not shown). In addition to storing communication programs for data communication, various application programs stored in advance or downloaded from the outside, such as mail function, recording / playback function, recording / playback function, document processing function, schedule management function, etc. Is memorized.

そして、前記メモリ12には、本実施形態に係る図形描画機能を実現するための図形描画処理プログラム12a、この図形描画処理プログラム12aの実行に伴い手書き文字の文字認識処理を実行するための文字認識処理プログラム12bが記憶される。   In the memory 12, a graphic drawing processing program 12a for realizing the graphic drawing function according to the present embodiment, and a character recognition for executing character recognition processing for handwritten characters in accordance with the execution of the graphic drawing processing program 12a. A processing program 12b is stored.

さらに、前記メモリ12には、前記図形描画処理プログラム12aに従い描画可能な各種の基本図形(直線、平行線、三角形、正三角形、四角形、長方形、正方形、円、同心円、楕円、1次曲線、2次曲線、正弦波曲線、正弦波双曲線等)を記憶する描画図形データベース12cが用意され、その他の作業領域として、タッチ位置メモリ12d、描画データ登録メモリ12e、ワークエリア12fなどが確保される。   Further, in the memory 12, various basic figures (straight lines, parallel lines, triangles, equilateral triangles, quadrilaterals, rectangles, squares, circles, concentric circles, ellipses, first-order curves, quadratic curves, 2) A drawing graphic database 12c for storing a next curve, a sine wave curve, a sine wave hyperbola, etc.) is prepared, and a touch position memory 12d, a drawing data registration memory 12e, a work area 12f, etc. are secured as other work areas.

前記タッチ位置メモリ12dには、前記タッチパネル式カラー表示部17のタッチパネルに対するユーザのタッチ操作に応じて検出されるタッチ位置の座標および軌跡のデータがリアルタイムに更新されて記憶される。   In the touch position memory 12d, the coordinates and locus data of the touch position detected according to the user's touch operation on the touch panel of the touch panel type color display unit 17 are updated and stored in real time.

前記描画データ登録メモリ12eには、前記図形描画処理プログラム12aに従いタッチパネル式カラー表示部17に描画されて表示される図形描画画面全体のデータが登録される。   In the drawing data registration memory 12e, data of the entire drawing screen displayed by drawing on the touch panel type color display unit 17 in accordance with the drawing processing program 12a is registered.

このように構成されたタッチパネル式PDA10は、CPU11が前記図形描画処理プログラム12aや文字認識処理プログラム12bに記述された命令に従い回路各部の動作を制御し、ソフトウエアとハードウエアとが協働して動作することにより、以下の動作説明で述べる図形描画機能を実現する。   In the touch panel type PDA 10 configured in this way, the CPU 11 controls the operation of each part of the circuit in accordance with instructions described in the graphic drawing processing program 12a and the character recognition processing program 12b, and the software and hardware cooperate. By operating, the graphic drawing function described in the following operation description is realized.

次に、前記構成のタッチパネル式PDA10による図形描画機能に伴う具体的動作について説明する。   Next, a specific operation associated with the figure drawing function by the touch panel PDA 10 having the above-described configuration will be described.

図2は、前記タッチパネル式PDA10による図形描画処理(その1)を示すフローチャートである。   FIG. 2 is a flowchart showing a graphic drawing process (part 1) by the touch panel PDA 10.

図3は、前記タッチパネル式PDA10による図形描画処理(その2)を示すフローチャートである。   FIG. 3 is a flowchart showing a graphic drawing process (part 2) by the touch panel PDA 10.

図4は、前記タッチパネル式PDA10による図形描画処理(その3)を示すフローチャートである。   FIG. 4 is a flowchart showing a graphic drawing process (part 3) by the touch panel PDA 10.

図5は、前記タッチパネル式PDA10による図形描画処理の起動に伴いタッチパネル式カラー表示部17に表示されるユーザ向け操作説明画面Gを示す図である。   FIG. 5 is a diagram showing an operation explanation screen G for the user displayed on the touch panel color display unit 17 when the graphic drawing process by the touch panel PDA 10 is started.

ユーザ操作に応じたアプリケーションプログラムの選択実行により、図形描画処理プログラム12aが起動されると、図5に示すように、幾つかの図形の種類に応じたタッチ操作の仕方を説明するためのユーザ向け操作説明画面Gがタッチパネル式カラー表示部17(以下、「タッチパネル表示部17」と称す)に表示される。   When the graphic drawing processing program 12a is activated by selecting and executing an application program in accordance with a user operation, as shown in FIG. 5, for a user to explain how to perform a touch operation according to several graphic types. The operation explanation screen G is displayed on the touch panel type color display unit 17 (hereinafter referred to as “touch panel display unit 17”).

(円Cの図形描画)
図6は、前記タッチパネル式PDA10による図形描画処理に従い円Cを描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図である。
(Drawing a circle C)
FIG. 6 is a diagram showing a display operation on the graphic input screen GF in response to a touch operation when the circle C is drawn and displayed in accordance with the graphic drawing process by the touch panel PDA 10.

タッチパネル表示部17に対するユーザ操作に応じたタッチ入力があったと判断されると(ステップS1(Yes))、グラフ表示のためのX−Y座標の表示中であるか否かが判断される(ステップS2)。   If it is determined that there is a touch input corresponding to a user operation on the touch panel display unit 17 (step S1 (Yes)), it is determined whether or not XY coordinates for graph display are being displayed (step S1). S2).

X−Y座標の表示中ではないと判断されると(ステップS2(No))、前記タッチ操作に伴うタッチ点が2点であるか否か(ステップS3)、3点であるか否か(ステップS22)、1点であるか否か(ステップS27)が判断される。   If it is determined that the XY coordinates are not being displayed (step S2 (No)), whether there are two touch points associated with the touch operation (step S3) or three points (step S3). Step S22) It is determined whether or not there is one point (Step S27).

ここで、図6(A)に示すように、タッチパネル表示部17に対するユーザHのタッチ操作に応じて、2点P1,P2がタッチされたと判断されると(ステップS3(Yes))、当該タッチ点P1,P2の移動があったか否かが判断される(ステップS4)。   Here, as shown in FIG. 6A, when it is determined that two points P1 and P2 are touched in response to a touch operation of the user H on the touch panel display unit 17 (step S3 (Yes)), the touch is performed. It is determined whether or not the points P1 and P2 have moved (step S4).

前記タッチ点P1を中心としてタッチ点P2を円弧状に移動させると、タッチ点P2の移動があったと判断され(ステップS4(Yes))、当該タッチ点P2の移動の軌跡Lが前記タッチ点P1に対する円弧条件を一定範囲内で満たすか否か判断される(ステップS5)。   When the touch point P2 is moved in an arc shape around the touch point P1, it is determined that the touch point P2 has moved (step S4 (Yes)), and the locus L of movement of the touch point P2 is the touch point P1. It is determined whether or not the arc condition for is satisfied within a certain range (step S5).

そして、図6(B)に示すように、前記タッチ点P2からP2′までの移動の軌跡Lが半径P1−P2(P2′)とする円弧条件を満たしたと判断されると(ステップS5(Yes))、描画図形データベース12cから円の基本図形データが読み出され、タッチ点P1の位置が中心、タッチ点P2(P2′)の位置が円弧となるようにサイズ調整された円Cが描画されて表示される(ステップS6)。   Then, as shown in FIG. 6B, if it is determined that the locus L of movement from the touch point P2 to P2 'satisfies the arc condition having the radius P1-P2 (P2') (step S5 (Yes )), The basic graphic data of the circle is read from the drawing graphic database 12c, and the circle C whose size is adjusted so that the position of the touch point P1 is the center and the position of the touch point P2 (P2 ') is the circular arc is drawn. Is displayed (step S6).

(平行線PLの図形描画)
図7は、前記タッチパネル式PDA10による図形描画処理に従い平行線PLを描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図である。
(Figure drawing of parallel lines PL)
FIG. 7 is a diagram illustrating a display operation on the graphic input screen GF in response to a touch operation when the parallel line PL is drawn and displayed in accordance with the graphic drawing process by the touch panel PDA 10.

図7(A)に示すように、タッチパネル表示部17に対するユーザHのタッチ操作に応じて、2点P1,P2がタッチされたと判断された後(ステップS3(Yes))、両タッチ点P1,P2を平行移動させると(ステップS4(Yes))、当該タッチ点P1,P2の移動があったと判断される(ステップS4(Yes))。   As shown in FIG. 7A, after it is determined that two points P1 and P2 are touched according to the touch operation of the user H on the touch panel display unit 17 (step S3 (Yes)), both touch points P1 and P2 are touched. When P2 is translated (step S4 (Yes)), it is determined that the touch points P1 and P2 have moved (step S4 (Yes)).

そして、前記タッチ点P1,P2の移動の軌跡L1,L2が平行条件を一定範囲内で満たしたと判断されると(ステップS7(Yes))、描画図形データベース12cから平行線の基本図形データが読み出され、図7(B)に示すように、移動前後の第1のタッチ点P1−P1′間と同第2のタッチ点P2−P2′間とが平行となるようにサイズ調整された平行線PLが描画されて表示される(ステップS8)。   If it is determined that the movement paths L1 and L2 of the touch points P1 and P2 satisfy the parallel condition within a certain range (step S7 (Yes)), the basic graphic data of parallel lines is read from the drawing graphic database 12c. 7B, the size is adjusted so that the distance between the first touch points P1 and P1 ′ before and after the movement is parallel to the distance between the second touch points P2 and P2 ′. The line PL is drawn and displayed (step S8).

なお、前記タッチ点P1,P2の移動の軌跡L1,L2が平行条件を一定範囲内で満たさないと判断された場合には(ステップS7(No))、その移動前後の第1のタッチ点P1−P1′間と同第2のタッチ点P2−P2′間とにそれぞれ対応した移動の軌跡がそのまま描画されて表示される(ステップS9)。   When it is determined that the movement trajectories L1 and L2 of the touch points P1 and P2 do not satisfy the parallel condition within a certain range (step S7 (No)), the first touch point P1 before and after the movement is determined. The trajectory of movement corresponding to between -P1 'and between the second touch points P2-P2' is drawn and displayed as it is (step S9).

(正三角形TRの図形描画)
図8は、前記タッチパネル式PDA10による図形描画処理に従い正三角形TRを描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図である。
(Figure drawing of equilateral triangle TR)
FIG. 8 is a diagram showing a display operation on the figure input screen GF in response to a touch operation when the regular triangle TR is drawn and displayed in accordance with the figure drawing process by the touch panel PDA 10.

図8(A)に示すように、タッチパネル表示部17に対するユーザHのタッチ操作に応じて、2点P1,P2がタッチされたと判断された後(ステップS3(Yes))、一方のタッチ点P2を矢印mで示すように一旦離して移動させ、図8(B)に示すように、3点目の頂点となる他の1点P3をタッチすると、タッチ点P2が離されたと判断されると共に(ステップS10(Yes))、別の1点P3がタッチされたと判断される(ステップS11(Yes))。   As shown in FIG. 8A, after it is determined that two points P1 and P2 are touched in response to the touch operation of the user H on the touch panel display unit 17 (step S3 (Yes)), one touch point P2 Is moved once as indicated by an arrow m, and when the other point P3 that is the third vertex is touched as shown in FIG. 8B, it is determined that the touch point P2 has been released. (Step S10 (Yes)), it is determined that another point P3 is touched (Step S11 (Yes)).

ここで、前記タッチ点P1,P2,P3の位置関係が正三角形の条件を一定範囲内で満たしたと判断されると(ステップS12(Yes))、描画図形データベース12cから正三角形の基本図形データが読み出され、各タッチ点P1,P2,P3に3頂点が一定範囲内で一致するようにサイズ調整された正三角形TRが描画されて表示される(ステップS13)。   If it is determined that the positional relationship between the touch points P1, P2, and P3 satisfies the equilateral triangle condition within a certain range (step S12 (Yes)), the equilateral triangle basic figure data is obtained from the drawing figure database 12c. The equilateral triangle TR that has been read and adjusted so that the three vertices coincide with each other within a certain range is drawn and displayed at each of the touch points P1, P2, and P3 (step S13).

なお、前記タッチ点P1,P2,P3の位置関係が正三角形の条件を一定範囲内で満たさないと判断された場合には(ステップS12(No))、当該タッチ点P1,P2,P3をそれぞれ頂点とした三角形がそのまま描画されて表示される(ステップS14)。   When it is determined that the positional relationship between the touch points P1, P2, and P3 does not satisfy the equilateral triangle condition within a certain range (step S12 (No)), the touch points P1, P2, and P3 are respectively set. The triangle as the vertex is drawn and displayed as it is (step S14).

(正方形RSの図形描画)
図9は、前記タッチパネル式PDA10による図形描画処理に従い正方形RSを描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図である。
(Square RS drawing)
FIG. 9 is a diagram showing a display operation on the graphic input screen GF in response to a touch operation when the square RS is drawn and displayed in accordance with the graphic drawing process by the touch panel PDA 10.

図9(A)に示すように、タッチパネル表示部17に対するユーザHのタッチ操作に応じて、2点P1,P2がタッチされたと判断された後(ステップS3(Yes))、当該各タッチ点P1,P2を矢印m,m2で示すように一旦離して移動させ、図9(B)に示すように、他の2点P3,P4をタッチすると、タッチ点P1,P2が離されたと判断されると共に(ステップS10(Yes))、別の2点P3,P4がタッチされたと判断さ
れる(ステップS15(Yes))。
As shown in FIG. 9A, after it is determined that the two points P1 and P2 are touched in response to the touch operation of the user H on the touch panel display unit 17 (step S3 (Yes)), the touch points P1. , P2 are once moved apart as indicated by arrows m, m2, and when touching the other two points P3, P4 as shown in FIG. 9B, it is determined that the touch points P1, P2 have been released. At the same time (step S10 (Yes)), it is determined that another two points P3 and P4 are touched (step S15 (Yes)).

ここで、前記タッチ点P1,P2,P3,P4の位置関係が正方形の条件を一定範囲内で満たしたと判断されると(ステップS16(Yes))、描画図形データベース12cから正方形の基本図形データが読み出され、各タッチ点P1,P2,P3,P4に4頂点が一定範囲内で一致するようにサイズ調整された正方形RSが描画されて表示される(ステップS17)。   If it is determined that the positional relationship between the touch points P1, P2, P3, and P4 satisfies the square condition within a certain range (step S16 (Yes)), the square basic graphic data is obtained from the drawing graphic database 12c. The square RS that has been read and adjusted so that the four vertices coincide with each other within a certain range is drawn and displayed at each of the touch points P1, P2, P3, and P4 (step S17).

なお、前記タッチ点P1,P2,P3,P4の位置関係が正方形の条件を一定範囲内で満たさないと判断された場合に(ステップS16(No))、長方形の条件を一定範囲内で満たしたと判断された場合には(ステップS18(Yes))、描画図形データベース12cから長方形の基本図形データが読み出され、各タッチ点P1,P2,P3,P4に4頂点が一定範囲内で一致するようにサイズ調整された長方形が描画されて表示される(
ステップS19)。
When it is determined that the positional relationship between the touch points P1, P2, P3, and P4 does not satisfy the square condition within a certain range (step S16 (No)), the rectangular condition is satisfied within the certain range. If it is determined (step S18 (Yes)), rectangular basic figure data is read from the drawing figure database 12c, and the four vertices coincide with the touch points P1, P2, P3, and P4 within a certain range. Is drawn and displayed in the size-rectified rectangle (
Step S19).

さらに、前記タッチ点P1,P2,P3,P4の位置関係が長方形の条件も満たさないと判断された場合には(ステップS18(No))、当該タッチ点P1,P2,P3,P4をそれぞれ頂点とした四角形がそのまま描画されて表示される(ステップS20)。   Further, if it is determined that the positional relationship between the touch points P1, P2, P3, and P4 does not satisfy the rectangular condition (step S18 (No)), the touch points P1, P2, P3, and P4 are set as vertices, respectively. The drawn rectangle is drawn and displayed as it is (step S20).

(直線SLの図形描画)
図10は、前記タッチパネル式PDA10による図形描画処理に従い直線SLを描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図である。
(Line drawing SL drawing)
FIG. 10 is a diagram illustrating a display operation on the graphic input screen GF in response to a touch operation when the straight line SL is drawn and displayed in accordance with the graphic drawing process by the touch panel PDA 10.

図10(A)に示すように、タッチパネル表示部17に対するユーザHのタッチ操作に応じて、2点P1,P2がタッチされたと判断された後(ステップS3(Yes))、図10(B)に示すように、当該各タッチ点P1,P2を離したままにすると、タッチ点P1,P2が離されたと判断されると共に(ステップS10(Yes))、別の1点あるいは2点はタッチされていないと判断される(ステップS11(No)→S15(No))。   As shown in FIG. 10A, after it is determined that two points P1 and P2 have been touched in response to the touch operation of the user H on the touch panel display unit 17 (step S3 (Yes)), FIG. As shown in FIG. 5, if the touch points P1 and P2 are left apart, it is determined that the touch points P1 and P2 are released (step S10 (Yes)), and another one or two points are touched. It is determined that it is not present (step S11 (No) → S15 (No)).

すると、前記各タッチ点P1,P2をそれぞれ端点とした直線SLが描画されて表示される(ステップS21)。   Then, a straight line SL with the touch points P1 and P2 as end points is drawn and displayed (step S21).

(同心円CCの図形描画)
図11は、前記タッチパネル式PDA10による図形描画処理に従い同心円CCを描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図である。
(Drawing of concentric circles CC)
FIG. 11 is a diagram showing a display operation on the graphic input screen GF in response to a touch operation when a concentric circle CC is drawn and displayed in accordance with the graphic drawing process by the touch panel PDA 10.

図11(A)に示すように、タッチパネル表示部17に対するユーザHのタッチ操作に応じて、3点P1,P2,P3がタッチされたと判断されると(ステップS22(Yes))、当該タッチ点P1,P2,P3の移動があったか否かが判断される(ステップS23)。   As shown in FIG. 11A, when it is determined that the three points P1, P2, and P3 are touched in response to the touch operation of the user H on the touch panel display unit 17 (step S22 (Yes)), the touch point It is determined whether or not P1, P2, and P3 have been moved (step S23).

前記タッチ点P1を中心としてタッチ点P2,P3を共に円弧状に移動させると、タッチ点P2,P3の移動があったと判断され(ステップS23(Yes))、当該タッチ点P2,P3の移動の軌跡L1,L2がそれぞれ前記タッチ点P1に対する円弧条件を一定範囲内で満たすか否か判断される(ステップS24)。   When the touch points P2 and P3 are both moved in an arc shape centering on the touch point P1, it is determined that the touch points P2 and P3 have moved (step S23 (Yes)), and the touch points P2 and P3 are moved. It is determined whether or not the trajectories L1 and L2 satisfy the arc condition for the touch point P1 within a certain range (step S24).

そして、図11(B)に示すように、前記各タッチ点P2,P3からP2′,P3′までの移動の軌跡L1,L2が、半径P1−P2(P2′)と半径P1−P3(P3′)とする円弧条件を満たしたと判断されると(ステップS24(Yes))、描画図形データベース12cから同心円の基本図形データが読み出され、タッチ点P1の位置が中心、タッチ点P2(P2′)とP3(P3′)の位置がそれぞれ円弧となるようにサイズ調整された同心円CCが描画されて表示される(ステップS25)。   As shown in FIG. 11 (B), the trajectories L1 and L2 of the movement from the touch points P2 and P3 to P2 'and P3' are the radius P1-P2 (P2 ') and the radius P1-P3 (P3). If it is determined that the arc condition defined as ′) is satisfied (step S24 (Yes)), concentric basic graphic data is read from the drawing graphic database 12c, the position of the touch point P1 is the center, and the touch point P2 (P2 ′). ) And P3 (P3 ′) are drawn and displayed concentric circles CC adjusted in size so as to be arcs (step S25).

なお、前記各タッチ点P2,P3からP2′,P3′までの移動の軌跡L1,L2が、円弧条件を一定範囲内で満たさないと判断された場合には(ステップS24(No))、その移動前後の第1のタッチ点P2−P2′間と同第2のタッチ点P3−P3′間とにそれぞれ対応した移動の軌跡がそのまま描画されて表示される(ステップS26)。   When it is determined that the movement trajectories L1 and L2 from the touch points P2 and P3 to P2 ′ and P3 ′ do not satisfy the arc condition within a certain range (step S24 (No)), The movement trajectory corresponding to the distance between the first touch points P2 and P2 'before and after the movement and the distance between the second touch points P3 and P3' is drawn and displayed as it is (step S26).

(複数の図形の組合せ描画)
図12は、前記タッチパネル式PDA10による図形描画処理に従い平行線PLと三角形TRと円Cを組合せて描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作(その1)を示す図である。
(Combination drawing of multiple figures)
FIG. 12 is a diagram showing a display operation (part 1) on the graphic input screen GF corresponding to the touch operation when the parallel line PL, the triangle TR, and the circle C are drawn and displayed in accordance with the graphic drawing process by the touch panel PDA 10. It is.

図13は、前記タッチパネル式PDA10による図形描画処理に従い平行線PLと三角形TRと円Cを組合せて描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作(その2)を示す図である。   FIG. 13 is a diagram showing a display operation (part 2) on the graphic input screen GF corresponding to the touch operation when the parallel line PL, the triangle TR, and the circle C are drawn and displayed in accordance with the graphic drawing process by the touch panel PDA 10. It is.

図14は、前記タッチパネル式PDA10による図形描画処理に従い平行線PLと三角形TRと円Cを組合せて描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作(その3)を示す図である。   FIG. 14 is a diagram showing a display operation (part 3) on the graphic input screen GF corresponding to a touch operation when the parallel line PL, the triangle TR, and the circle C are drawn and displayed in accordance with the graphic drawing process by the touch panel PDA 10. It is.

前記ステップS1〜S5,S7,S8の処理に従い、図12(A)(B)に示すように、タッチパネル表示部17に、タッチ操作の位置P1′,P2′と仕方L1,L2に応じた平行線PLを描画表示させた状態で、当該平行線PLに記号l,mを付加するために、先ず、ユーザHによりタッチした1点を移動させて手書き文字「l」を入力すると、1点がタッチされて移動されたと判断された後(ステップS27(Yes)→S29(Yes))、そのタッチが離されたと判断され(ステップS30(Yes))、当該タッチ点の移動に応じた軌跡が手書き文字「l」HCとして描画され表示される(ステップS31)。   As shown in FIGS. 12A and 12B, the touch panel display unit 17 is arranged in parallel according to the touch operation positions P1 ′ and P2 ′ and the manners L1 and L2 in accordance with the processes of steps S1 to S5, S7, and S8. In order to add the symbols l and m to the parallel line PL in a state where the line PL is drawn and displayed, first, when one point touched by the user H is moved and the handwritten character “l” is input, one point is displayed. After it is determined that it has been touched and moved (Step S27 (Yes) → S29 (Yes)), it is determined that the touch has been released (Step S30 (Yes)), and the locus corresponding to the movement of the touch point is handwritten. The character “l” HC is drawn and displayed (step S31).

そして、図12(C)に示すように、前記平行線PLの上線上に表示された手書き文字「l」HCを、ユーザにより1点でタッチして保持すると、1点がタッチされて一定時間ホールドされたと判断されると共に(ステップS27(Yes)→S28(Yes))、手書き文字「l」HCにタッチされていると判断され(ステップS32)、当該手書き文字「l」HCが選択されて選択マークSa〜Sdが表示される(ステップS33)。   Then, as shown in FIG. 12C, when the user touches and holds the handwritten character “l” HC displayed on the parallel line PL at one point, the point is touched for a certain time. It is determined that the handwritten character “l” HC is touched (step S27 (Yes) → S28 (Yes)), and the handwritten character “l” HC is selected (step S32). Selection marks Sa to Sd are displayed (step S33).

前記手書き文字「l」HCがタッチされて選択された状態で、タッチ点が移動されたと判断されると(ステップS34(Yes))、当該手書き文字「l」HCがタッチ点の移動方向に移動されながら表示される(ステップS35)。   When it is determined that the touch point has been moved in a state where the handwritten character “l” HC is touched and selected (step S34 (Yes)), the handwritten character “l” HC moves in the moving direction of the touch point. While being displayed, it is displayed (step S35).

一方、前記選択された手書き文字HCに対するタッチ操作が離されたと判断された後(ステップS36(Yes))、当該手書き文字HCに再びタッチされたと判断されると共に(ステップS37(Yes))、そのタッチ点が、描画されている他の図形の頂点又は中心等の特徴点の一定範囲内に移動されたと判断された場合には(ステップS38(Yes))、移動された手書き文字HCが当該図形の特徴点の記号あるいはマークとして登録され、これを含めて図形入力画面GFに表示中である図形画面のデータが描画データ登録メモリ12eに登録される(ステップS39)。   On the other hand, after it is determined that the touch operation on the selected handwritten character HC is released (step S36 (Yes)), it is determined that the handwritten character HC is touched again (step S37 (Yes)), When it is determined that the touch point has been moved within a certain range of the feature point such as the vertex or center of another drawn graphic (step S38 (Yes)), the moved handwritten character HC is converted into the graphic. The graphic screen data which is registered as the symbol or mark of the feature point and displayed on the graphic input screen GF including this is registered in the drawing data registration memory 12e (step S39).

また、前記選択された手書き文字HCに対するタッチ操作が離されたと判断された後(ステップS36(Yes))、例えば図13(A)に示すように、当該手書き文字「l」HCが左方向にフリックFLされたと判断されると(ステップS42)、この左フリック
FLされた手書き文字「l」HCは、文字認識処理プログラム12bに従い文字認識され、正規の斜体文字「l」RCに変換されて表示される(ステップS43)。
Further, after it is determined that the touch operation on the selected handwritten character HC has been released (step S36 (Yes)), for example, as shown in FIG. 13A, the handwritten character “l” HC is moved to the left. When it is determined that the flick FL has been performed (step S42), the left-flicked FL handwritten character “l” HC is character-recognized according to the character recognition processing program 12b, converted into a normal italic character “l” RC, and displayed. (Step S43).

なお、図示はしないが、前記手書き文字HCが右方向にフリックFRされたと判断された場合には(ステップS40)、この右フリックFRされた手書き文字HCは、文字認識処理プログラム12bに従い文字認識され、正規のゴシック文字GCに変換されて表示される(ステップS41)。   Although not shown, when it is determined that the handwritten character HC is flicked FR in the right direction (step S40), the right-flicked handwritten character HC is character-recognized according to the character recognition processing program 12b. Are converted into regular Gothic characters GC and displayed (step S41).

この後、図13(B)に示すように、前記平行線PLの下線下にも、前記同様の文字入力処理(ステップS27〜S43)に従い、手書き文字「m」HCが描画されて表示された後、正規の斜体文字「m」RCに変換されて表示される。   Thereafter, as shown in FIG. 13B, the handwritten character “m” HC is also drawn and displayed under the parallel line PL under the same character input process (steps S27 to S43). Later, it is converted into a normal italic character “m” RC and displayed.

そして、図13(B)(C)に示すように、前記ステップS1〜S3,S10〜S14の処理に従い、タッチパネル表示部17に、既に表示された平行線PLに合わせて、前記タッチ操作の位置P1,P2,P3と仕方に応じた三角形TRが描画表示される。   Then, as shown in FIGS. 13B and 13C, the position of the touch operation is adjusted according to the parallel lines PL already displayed on the touch panel display unit 17 in accordance with the processes of steps S1 to S3 and S10 to S14. A triangle TR corresponding to P1, P2, and P3 and the manner is drawn and displayed.

この後、前記三角形TRの各頂点付近にも、前記同様の文字入力処理(ステップS27〜S43)に従い、手書き文字「A」「B」「C」HCが描画されて表示された後、正規のゴシック文字「A」「B」「C」RCに変換されて表示される。   Thereafter, the handwritten characters “A”, “B”, and “C” HC are drawn and displayed near the vertices of the triangle TR in accordance with the same character input process (steps S27 to S43), and then the regular characters are displayed. The Gothic characters “A”, “B” and “C” RC are converted and displayed.

さらに、図14(A)(B)に示すように、前記ステップS1〜S6の処理に従い、タッチパネル表示部17に、既に表示された三角形TRに内接するように、前記タッチ操作の位置P1,P2(P2′)と仕方Lに応じた円Cが描画表示される。   Further, as shown in FIGS. 14A and 14B, according to the processing of steps S1 to S6, the touch operation positions P1 and P2 are inscribed on the touch panel display unit 17 so as to be inscribed in the already displayed triangle TR. A circle C corresponding to (P2 ′) and the way L is drawn and displayed.

すると、図14(C)に示すように、平行線(l,m)PLと三角形(A,B,C)TRと円Cを組合せて描画表示させた図形入力画面GFが表示され、描画データ登録メモリ12eに登録される。   Then, as shown in FIG. 14C, a graphic input screen GF is displayed in which a parallel line (l, m) PL, a triangle (A, B, C) TR, and a circle C are drawn and displayed, and the drawing data is displayed. Registered in the registration memory 12e.

(グラフyの図形描画)
図15は、前記タッチパネル式PDA10による図形描画処理に従いN次曲線のグラフyを描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図である。
(Graph drawing of graph y)
FIG. 15 is a diagram showing a display operation on the graphic input screen GF in response to a touch operation when the graph y of the Nth-order curve is drawn and displayed according to the graphic drawing process by the touch panel PDA 10.

タッチパネル表示部17に対するユーザ操作に応じたタッチ入力があったと判断された際に(ステップS1(Yes))、例えば図15(A)に示すように、グラフ表示のためのX−Y座標の表示中であると判断されると(ステップS2(Yes))、そのタッチ点は1点であるか2点であるかが判断される(ステップS44/S52)。   When it is determined that there is a touch input corresponding to a user operation on the touch panel display unit 17 (step S1 (Yes)), for example, as shown in FIG. 15A, display of XY coordinates for graph display If it is determined that it is in the middle (step S2 (Yes)), it is determined whether the touch point is one point or two points (step S44 / S52).

ここで、前記X−Y座標上の1点P1をユーザによりタッチすると共に、当該タッチ点P1を、2次曲線を描くように移動させると、1点P1がタッチされたと判断されると共に(ステップS44(Yes))、そのタッチ点P1が移動されたと判断され(ステップS45(Yes))、移動軌跡LがN次曲線の条件を一定範囲内で満たしたか否か判断される(ステップS46)。   Here, when the user touches one point P1 on the XY coordinates and moves the touch point P1 so as to draw a quadratic curve, it is determined that the one point P1 is touched (step S1). S44 (Yes)), it is determined that the touch point P1 has been moved (Step S45 (Yes)), and it is determined whether or not the movement trajectory L satisfies the condition of the Nth order curve within a certain range (Step S46).

そして、図15(B)に示すように、前記タッチ点P1からP1′へと移動された移動軌跡Lが2次曲線の条件を満たしたと判断されると(ステップS46(Yes))、描画図形データベース12cから2次曲線の基本図形データが読み出され、前記タッチ点P1〜P1′の軌跡Lに一定範囲内で一致するようにサイズ調整された2次曲線のグラフyが描画されて表示される(ステップS47)。   Then, as shown in FIG. 15B, when it is determined that the movement locus L moved from the touch point P1 to P1 ′ satisfies the condition of the quadratic curve (step S46 (Yes)), the drawing figure The quadratic curve basic figure data is read from the database 12c, and the quadratic curve graph y adjusted to match the locus L of the touch points P1 to P1 'within a certain range is drawn and displayed. (Step S47).

またこれと共に、描画された2次曲線のグラフyに対応する2次関数式「y=(x-5)^2」が表示される(ステップS48)。   Along with this, a quadratic function expression “y = (x−5) ^ 2” corresponding to the graph y of the drawn quadratic curve is displayed (step S48).

一方、前記タッチ点P1からP1′へと移動された移動軌跡Lが正弦波曲線の条件を一定範囲内で満たしたと判断されると(ステップS49(Yes))、描画図形データベース12cから正弦波曲線の基本図形データが読み出され、前記タッチ点P1〜P1′の軌跡Lに一定範囲内で一致するようにサイズ調整された正弦波曲線のグラフyが描画されて表示される(ステップS50)。   On the other hand, when it is determined that the movement locus L moved from the touch point P1 to P1 ′ satisfies the condition of the sine wave curve within a certain range (step S49 (Yes)), the sine wave curve is drawn from the drawing graphic database 12c. The basic figure data is read out, and a graph y of a sine wave curve whose size is adjusted so as to coincide with the locus L of the touch points P1 to P1 'within a certain range is drawn and displayed (step S50).

またこれと共に、描画された正弦波曲線のグラフyに対応するsin関数式「y=sin(x+π)」が表示される(ステップS51)。   At the same time, a sin function expression “y = sin (x + π)” corresponding to the drawn graph y of the sinusoidal curve is displayed (step S51).

図16は、前記タッチパネル式PDA10による図形描画処理に従い正弦波双曲線のグラフy1,y2を描画表示させる場合のタッチ操作に応じた図形入力画面GFでの表示動作を示す図である。   FIG. 16 is a diagram illustrating a display operation on the graphic input screen GF in response to a touch operation when the sine wave hyperbola graphs y1 and y2 are drawn and displayed according to the graphic drawing process by the touch panel PDA 10.

図16(A)に示すように、前記X−Y座標上の2点P1,P2をユーザによりタッチすると共に、当該タッチ点P1,P2を、正弦波の双曲線を描くように移動させると、2点P1,P2がタッチされたと判断されると共に(ステップS52(Yes))、そのタッチ点P1,P2が移動されたと判断され(ステップS53(Yes))、移動後のタッチ点P1′,P2′までの各移動軌跡L1,L2がそれぞれ正弦波曲線の条件を一定範囲
内で満たしたか否か判断される(ステップS57)。
As shown in FIG. 16A, when the user touches the two points P1 and P2 on the XY coordinates and moves the touch points P1 and P2 so as to draw a hyperbola of a sine wave, 2 It is determined that the points P1 and P2 are touched (step S52 (Yes)), it is determined that the touch points P1 and P2 are moved (step S53 (Yes)), and the touch points P1 ′ and P2 ′ after the movement are detected. It is determined whether or not each of the movement trajectories L1 and L2 satisfies the conditions of the sine wave curve within a certain range (step S57).

そして、前記タッチ点P1′,P2′へと移動された各移動軌跡L1,L2が正弦波曲線の条件を満たしたと判断されると(ステップS57(Yes))、図16(B)に示すように、描画図形データベース12cから位相の異なる正弦波双曲線の基本図形データが読み出され、前記タッチ点P1〜P1′とP2〜P2′との軌跡L1,L2に一定範囲内で一致するようにサイズ調整された正弦波双曲線のグラフy1,y2が描画されて表示される(ステップS58)。   When it is determined that the movement trajectories L1 and L2 moved to the touch points P1 ′ and P2 ′ satisfy the conditions of the sine wave curve (step S57 (Yes)), as shown in FIG. In addition, basic graphic data of sinusoidal hyperbola having different phases is read from the drawing graphic database 12c, and the size is adjusted so as to coincide with the loci L1 and L2 of the touch points P1 to P1 ′ and P2 to P2 ′ within a certain range. The adjusted sinusoidal hyperbola graphs y1 and y2 are drawn and displayed (step S58).

またこれと共に、描画された正弦波双曲線のグラフy1,y2にそれぞれ対応するsin関数式「y=10sin(x)」「y=10sin(x+π/4)」が表示される(ステップS59)。   At the same time, sin function expressions “y = 10sin (x)” and “y = 10sin (x + π / 4)” corresponding to the drawn sinusoidal hyperbola graphs y1 and y2 are displayed (step S59). .

一方、前記X−Y座標上での2点のタッチ点P1,P2が移動されないまま離されたと判断されると(ステップS52(Yes)→S54(Yes))、前記各タッチ点P1,P2を直線で結ぶ1次曲線のグラフyが描画されて表示される(ステップS55)。   On the other hand, if it is determined that the two touch points P1 and P2 on the XY coordinates are separated without being moved (step S52 (Yes) → S54 (Yes)), the touch points P1 and P2 are changed. A linear curve graph y connected by a straight line is drawn and displayed (step S55).

またこれと共に、描画された1次曲線のグラフyに対応する1次関数式「y=f(x)」が表示される(ステップS56)。   At the same time, a linear function expression “y = f (x)” corresponding to the drawn linear curve graph y is displayed (step S56).

したがって、前記構成のタッチパネル式PDA10による図形描画機能によれば、タッチパネル表示部17において、ユーザ所望の図形に応じた複数の特徴点に対応する位置をタッチすると共に、そのタッチ位置を、当該図形の形状に応じて移動させたり、一旦離して別の位置にタッチしたりすると、タッチされた複数のタッチ位置とその移動の軌跡や追加のタッチ位置に応じて、各種図形(円/平行線/正三角形/三角形/正方形/長方形/四角形/直線/同心円/楕円など)の特徴条件が判断され、図形の種類と描画位置が決定される。すると、決定された図形の種類と描画位置に応じて、描画図形データベース12cから該当する種類の基本図形が読み出され、その描画位置にサイズ調整されて描画表示される。   Therefore, according to the figure drawing function by the touch panel type PDA 10 having the above-described configuration, the touch panel display unit 17 touches positions corresponding to a plurality of feature points corresponding to a user-desired figure, and the touch position is set to the figure. If you move it according to the shape, or once release it and touch another position, various figures (circle / parallel line / normal line) will be displayed depending on the touched multiple touch positions, the movement trajectory, and additional touch positions. (Triangle / Triangle / Square / Rectangle / Rectangle / Line / Concentric Circle / Oval etc.) is determined, and the type of graphic and the drawing position are determined. Then, according to the determined figure type and drawing position, a corresponding type of basic figure is read from the drawing figure database 12c, and the size is adjusted to the drawing position and displayed.

このため、手書きによる図形の描画ではないのは勿論、予め図形の種類を選択する必要もなく、ユーザの直感的で素直なタッチ操作により所望の図形を素早く綺麗に描画して表示させることが可能になる。   For this reason, it is not necessary to select a figure type in advance, not to draw a figure by hand, and it is possible to draw and display a desired figure quickly and beautifully by a user's intuitive and straightforward touch operation. become.

また、前記構成のタッチパネル式PDA10による図形描画機能によれば、前記タッチパネル表示部17において、さらに、1点をタッチし、所望の文字の形状に応じて移動させると、その移動の軌跡に応じた手書きの文字が描画表示される。そして、描画表示された手書きの文字の1点をタッチして移動させると、その移動方向に当該手書き文字も移動されて表示される。前記表示された手書き文字をタッチして右フリックすると、文字認識されてゴシック文字に変換されて表示され、また左フリックすると、文字認識されて斜体文字に変換されて表示される。   Further, according to the graphic drawing function by the touch panel PDA 10 having the above-described configuration, when one point is further touched and moved according to the shape of a desired character on the touch panel display unit 17, the movement trajectory is changed. Handwritten characters are drawn and displayed. When one point of the handwritten character drawn and displayed is touched and moved, the handwritten character is also moved and displayed in the moving direction. When the displayed handwritten character is touched and flicked to the right, the character is recognized and converted to a Gothic character and displayed. When flicked to the left, the character is recognized and converted to an italic character and displayed.

このため、前記ユーザによるタッチ操作に応じてタッチパネル表示部17に描画されて表示された所望の図形の中心や頂点等の任意の位置に対して、当該図形に付随する記号やマーク等を容易に付加して表示させることができる。   For this reason, a symbol, a mark, or the like associated with the figure can be easily given to an arbitrary position such as the center or the vertex of the desired figure drawn and displayed on the touch panel display unit 17 according to the touch operation by the user. It can be added and displayed.

さらに、前記タッチパネル表示部17にX−Y座標が表示されている状態において、ユーザ所望のグラフに応じた軌跡をタッチして移動させると、タッチ位置とその移動の軌跡に応じて、各種のグラフ(N次曲線/正弦波曲線/正弦波双曲線など)の特徴条件が判断され、グラフの種類と描画位置が決定される。すると、決定されたグラフの種類と描画位置に応じて、描画図形データベース12cから該当する種類の基本図形(グラフ)が読み出され、その描画位置にサイズ調整されて描画表示される。   Further, in the state where the XY coordinates are displayed on the touch panel display unit 17, when a locus corresponding to a graph desired by the user is touched and moved, various graphs are displayed according to the touch position and the locus of the movement. Characteristic conditions (such as Nth order curve / sine wave curve / sine wave hyperbola) are determined, and the type of graph and drawing position are determined. Then, according to the determined graph type and drawing position, a corresponding type of basic figure (graph) is read out from the drawing figure database 12c, and the size is adjusted to the drawing position and displayed.

このため、手書きによる図形(グラフ)の描画ではないのは勿論、予め図形(グラフ)の種類を選択する必要もなく、グラフ座標上では、ユーザの直感的で素直なタッチ操作により所望の図形(グラフ)を素早く綺麗に描画して表示させることが可能になる。   Therefore, it is not a drawing of a figure (graph) by hand, and it is not necessary to select the type of the figure (graph) in advance. On the graph coordinates, the desired figure (by a user's intuitive and straightforward touch operation) Graph) can be drawn and displayed quickly and neatly.

なお、前記図形描画装置の実施形態において記載したタッチパネル式PDA10による各処理の手法およびデータベース、すなわち、図2〜図4のフローチャートに示す図形描画処理(その1〜その3)等の各手法、および描画図形データベース12cは、何れもコンピュータに実行させることができるプログラムとして、メモリ・カード(ROMカード、RAMカード等)、磁気ディスク(フロッピディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の外部記憶媒体13に格納して配布することができる。そして、タッチパネル式表示部(17)を備えた電子機器のコンピュータは、この外部記憶媒体13に記憶されたプログラムを記憶装置(12)に読み込み、この読み込んだプログラムによって動作が制御されることにより、前記実施形態において説明したユーザによるタッチ位置とその仕方に応じた図形描画機能を実現し、前述した手法による同様の処理を実行することができる。   In addition, each process technique and database by the touch panel PDA 10 described in the embodiment of the figure drawing apparatus, that is, each technique such as the figure drawing process (No. 1 to No. 3) shown in the flowcharts of FIGS. The drawing graphic database 12c is a program that can be executed by a computer, such as a memory card (ROM card, RAM card, etc.), a magnetic disk (floppy disk, hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), It can be stored and distributed in an external storage medium 13 such as a semiconductor memory. And the computer of the electronic device provided with the touch panel type display unit (17) reads the program stored in the external storage medium 13 into the storage device (12), and the operation is controlled by the read program. The graphic drawing function corresponding to the touch position by the user and the manner described in the embodiment can be realized, and the same processing can be executed by the method described above.

また、前記各手法を実現するためのプログラムのデータは、プログラムコードの形態としてネットワークN上を伝送させることができ、このプログラムデータを、ネットワークNに接続されたコンピュータに通信制御部15によって取り込むことで、前述したユーザによるタッチ位置とその仕方に応じた図形描画機能を実現することもできる。   In addition, program data for realizing each of the above methods can be transmitted on the network N as a program code form, and the program data is captured by the communication control unit 15 in a computer connected to the network N. Thus, it is possible to realize the graphic drawing function according to the touch position by the user and the manner thereof.

本願発明は、前記各実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、前記各実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、各実施形態に示される全構成要件から幾つかの構成要件
が削除されたり、幾つかの構成要件が異なる形態にして組み合わされても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除されたり組み合わされた構成が発明として抽出され得るものである。
The present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention when it is practiced. Further, each of the embodiments includes inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent elements are deleted from all the constituent elements shown in each embodiment or some constituent elements are combined in different forms, the problems described in the column of the problem to be solved by the invention If the effects described in the column “Effects of the Invention” can be obtained, a configuration in which these constituent requirements are deleted or combined can be extracted as an invention.

以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。   Hereinafter, the invention described in the scope of claims of the present application will be appended.

[1]
タッチパネルと、
表示部と、
前記タッチパネルのユーザ操作に応じたタッチ位置を検出するタッチ位置検出手段と、
このタッチ位置検出手段により複数のタッチ位置が検出された後に、当該複数のタッチ位置のうちの少なくとも1つのタッチ位置が移動されたか否かを判断するタッチ移動判断手段と、
このタッチ移動判断手段によりタッチ位置が移動されたと判断された場合に、前記タッチ位置検出手段により検出されたタッチ位置のその後の変化を判断するタッチ変化判断手段と、
前記タッチ位置検出手段により検出されたタッチ位置と前記タッチ変化判断手段により判断されたタッチ位置のその後の変化とに応じて図形の種類とその描画位置を決定する図形描画決定手段と、
この図形描画決定手段により決定された図形の種類とその描画位置に応じて前記表示部に図形を表示させる図形表示制御手段と、
を備えたことを特徴とする図形描画装置。
[1]
A touch panel;
A display unit;
Touch position detecting means for detecting a touch position according to a user operation of the touch panel;
Touch movement determination means for determining whether or not at least one of the plurality of touch positions has been moved after the plurality of touch positions are detected by the touch position detection means;
A touch change determining means for determining a subsequent change in the touch position detected by the touch position detecting means when it is determined that the touch position has been moved by the touch movement determining means;
Figure drawing determining means for determining the type of figure and its drawing position according to the touch position detected by the touch position detecting means and the subsequent change of the touch position determined by the touch change determining means;
Graphic display control means for displaying a graphic on the display unit in accordance with the type of graphic determined by the graphic drawing determination means and the drawing position;
A graphic drawing apparatus comprising:

[2]
前記タッチ変化判断手段は、前記タッチ位置検出手段により検出されるタッチ位置が移動されたと判断された場合に、その1点のタッチ位置を除く他のタッチ位置の移動の軌跡が円弧条件を満たすか否かを判断する円弧条件判断手段を有し、
前記図形描画決定手段は、前記円弧条件判断手段により円弧条件を満たしたと判断された場合に、前記タッチ位置検出手段により検出されるタッチ位置が2点である場合には前記図形の種類を円、3点以上である場合には前記図形の種類を同心円として決定すると共に、それぞれその描画位置を前記移動の軌跡に応じた位置として決定する、
ことを特徴とする[1]に記載の図形描画装置。
[2]
If the touch change determination means determines that the touch position detected by the touch position detection means has been moved, does the touch trajectory of other touch positions except the one touch position satisfy an arc condition? Arc condition determining means for determining whether or not,
The figure drawing determining means, when it is determined that the arc condition is satisfied by the arc condition determining means, if the touch position detected by the touch position detecting means is two points, the type of the figure is a circle, When the number of points is three or more, the type of the figure is determined as a concentric circle, and the drawing position is determined as a position corresponding to the movement locus,
The graphic drawing apparatus according to [1], wherein

[3]
前記タッチ変化判断手段は、前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されたと判断された場合に、その複数のタッチ位置の移動の軌跡が平行条件を満たすか否かを判断する平行条件判断手段を有し、
前記図形描画決定手段は、前記平行条件判断手段により平行条件を満たしたと判断された場合には、前記図形の種類を平行線として決定すると共に、その描画位置を前記移動の軌跡に応じた位置として決定する、
ことを特徴とする[1]または[2]に記載の図形描画装置。
[3]
The touch change determination unit determines whether or not the movement trajectories of the plurality of touch positions satisfy a parallel condition when the touch movement determination unit determines that the touch position detected by the touch position detection unit has been moved. A parallel condition judging means for judging whether
The graphic drawing determination means determines the graphic type as a parallel line when the parallel condition determination means determines that the parallel condition is satisfied, and sets the drawing position as a position corresponding to the movement trajectory. decide,
The graphic drawing apparatus described in [1] or [2].

[4]
さらに、
前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されないと判断された場合に、その複数のタッチ位置が、三角形の条件を満たすか否かを判断する三角形条件判断手段と、
前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されないと判断された場合に、その複数のタッチ位置が、四角形の条件を満たすか否かを判断する四角形条件判断手段と
を有し、
前記図形描画決定手段は、前記三角形条件判断手段により三角形の条件を満たしたと判断された場合には前記図形の種類を三角形、前記四角形条件判断手段により四角形の条件を満たしたと判断された場合には前記図形の種類を四角形として決定すると共に、それぞれその描画位置を前記複数のタッチ位置に応じた位置として決定する、
ことを特徴とする[1]ないし[3]の何れかに記載の図形描画装置。
[4]
further,
A triangle condition determining unit that determines whether or not the plurality of touch positions satisfy a triangle condition when it is determined that the touch position detected by the touch position detecting unit is not moved by the touch movement determining unit; ,
A quadrangle condition determination unit that determines whether or not the plurality of touch positions satisfy a quadrangle condition when the touch movement determination unit determines that the touch position detected by the touch position detection unit is not moved; Have
The graphic drawing determination means determines that the type of graphic is a triangle when the triangle condition determination means determines that the triangle condition is satisfied, and the graphic condition determination means determines that the square condition is satisfied Determining the type of the figure as a quadrangle, and determining the drawing position as a position corresponding to the plurality of touch positions,
The figure drawing apparatus according to any one of [1] to [3].

[5]
前記図形描画決定手段は、前記タッチ位置検出手段により検出された複数のタッチ位置が2点であって、前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されないと判断された後、当該2点のタッチ位置が検出されなくなったと判断された場合には、前記図形の種類を直線として決定すると共に、その描画位置を前記2点のタッチ位置に応じた位置として決定する、ことを特徴とする[1]ないし[4]の何れかに記載の図形描画装置。
[5]
The graphic drawing determining means determines that the plurality of touch positions detected by the touch position detecting means are two points and the touch position detected by the touch position detecting means is not moved by the touch movement determining means. After that, when it is determined that the two touch positions are no longer detected, the type of the figure is determined as a straight line, and the drawing position is determined as a position corresponding to the two touch positions. The graphic drawing apparatus according to any one of [1] to [4], wherein:

[6]
前記タッチ位置検出手段により1点のタッチ位置が検出された後、前記タッチ移動判断手段により当該タッチ位置が移動されたと判断された際に、その移動の軌跡を前記表示部に表示させる1点軌跡表示制御手段と、
この1点軌跡表示制御手段により表示された前記タッチ位置の移動軌跡を文字認識する文字認識手段と、
前記1点軌跡表示制御手段により表示された前記タッチ位置の移動軌跡を、前記文字認識手段より認識された文字に変換して表示させる文字変換表示制御手段と、
を備えたことを特徴とする[1]ないし[5]の何れかに記載の図形描画装置。
[6]
A one-point locus for displaying the movement locus on the display unit when the touch movement determining portion determines that the touch position has been moved after the touch position detecting portion detects the touch position of one point. Display control means;
Character recognition means for recognizing the movement locus of the touch position displayed by the one-point locus display control means;
Character conversion display control means for converting and displaying the movement locus of the touch position displayed by the one-point locus display control means into characters recognized by the character recognition means;
The graphic drawing apparatus according to any one of [1] to [5], comprising:

[7]
前記表示部にグラフ座標が表示されているか否かを判断する座標表示判断手段を備え、
前記座標表示判断手段によりグラフ座標が表示されていると判断された状態で、前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されたと判断された場合に、そのタッチ位置の移動の軌跡が、N次曲線の条件を満たすか否かを判断するN次曲線条件判断手段と、正弦波曲線の条件を満たすか否かを判断する正弦波曲線条件判断手段とを有し、
前記図形描画決定手段は、前記N次曲線条件判断手段によりN次曲線の条件を満たしたと判断された場合には前記図形の種類をN次曲線、前記正弦波曲線条件判断手段により正弦波曲線の条件を満たしたと判断された場合には前記図形の種類を正弦波曲線として決定すると共に、それぞれその描画位置を前記移動の軌跡に応じた位置として決定する、
ことを特徴とする[1]ないし[6]の何れかに記載の図形描画装置。
[7]
Coordinate display determination means for determining whether or not graph coordinates are displayed on the display unit,
The touch position when the touch position detected by the touch position detecting means is moved by the touch movement determining means in a state where the graph coordinates are determined by the coordinate display determining means. N-th curve condition determining means for determining whether or not the trajectory of the movement satisfies the condition of the N-th curve and sine wave curve condition determining means for determining whether or not the condition of the sine wave curve is satisfied. ,
The graphic drawing determining means determines that the graphic type is an Nth order curve and the sine wave curve condition determining means is a sine wave curve when the Nth order curve condition determining means determines that the Nth order curve condition is satisfied. When it is determined that the condition is satisfied, the type of the figure is determined as a sine wave curve, and the drawing position is determined as a position corresponding to the movement trajectory.
The figure drawing apparatus according to any one of [1] to [6].

[8]
タッチパネルと表示部とを備えた電子機器のコンピュータを制御するためのプログラム
であって、
前記タッチパネルのユーザ操作に応じたタッチ位置を検出するタッチ位置検出手段、
このタッチ位置検出手段により複数のタッチ位置が検出された後に、当該複数のタッチ位置のうちの少なくとも1つのタッチ位置が移動されたか否かを判断するタッチ移動判断手段、
このタッチ移動判断手段によりタッチ位置が移動されたと判断された場合に、前記タッチ位置検出手段により検出されるタッチ位置のその後の変化を判断するタッチ変化判断手段、
前記タッチ位置検出手段により検出されたタッチ位置と前記タッチ変化判断手段により判断された当該タッチ位置のその後の変化とに応じて図形の種類とその描画位置を決定する図形描画決定手段、
この図形描画決定手段により決定された図形の種類とその描画位置に応じて前記表示部に図形を表示させる図形表示制御手段、
として機能させるためのプログラム。
[8]
A program for controlling a computer of an electronic device including a touch panel and a display unit,
Touch position detecting means for detecting a touch position according to a user operation of the touch panel;
Touch movement determination means for determining whether at least one of the plurality of touch positions has been moved after the plurality of touch positions are detected by the touch position detection means;
A touch change determining means for determining a subsequent change in the touch position detected by the touch position detecting means when it is determined that the touch position has been moved by the touch movement determining means;
A figure drawing determining means for determining the type of figure and its drawing position according to the touch position detected by the touch position detecting means and the subsequent change of the touch position determined by the touch change determining means;
Graphic display control means for displaying a graphic on the display unit in accordance with the type of graphic determined by the graphic drawing determination means and its drawing position;
Program to function as.

10 …タッチパネル式PDA(図形描画装置)
11 …CPU
12 …メモリ
12a…図形描画処理プログラム
12b…文字認識処理プログラム
12c…描画図形データベース
12e…描画データ登録メモリ
12f…ワークエリア
13 …外部記憶媒体
14 …記憶媒体読み書き部
15 …通信制御部
16 …キー入力部
17 …タッチパネル式カラー表示部
N …ネットワーク
H …ユーザ
Pn …タッチ点
L,Ln…タッチ軌跡
C …円
PL …平行線
TR …正三角形(三角形)
SL …直線
RS …正方形(四角形)
CC …同心円
HC …手書き文字
RC …認識文字(斜体/ゴシック)
10 ... Touch panel PDA (graphic drawing device)
11 ... CPU
DESCRIPTION OF SYMBOLS 12 ... Memory 12a ... Graphic drawing process program 12b ... Character recognition processing program 12c ... Drawing graphic database 12e ... Drawing data registration memory 12f ... Work area 13 ... External storage medium 14 ... Storage medium read / write part 15 ... Communication control part 16 ... Key input Part 17: Touch panel type color display part N ... Network H ... User Pn ... Touch point L, Ln ... Touch locus C ... Circle PL ... Parallel line TR ... Regular triangle (triangle)
SL… Linear RS… Square (Rectangle)
CC… Concentric circle HC… Handwritten character RC… Recognition character (italic / Gothic)

本発明は、ユーザ任意の図形を描画するための図形描画装置、図形描画方法およびプログラムに関する。 The present invention relates to a figure drawing apparatus , a figure drawing method, and a program for drawing an arbitrary figure by a user.

本発明に係る図形描画装置は、タッチパネルと、表示部と、前記タッチパネルのユーザ操作に応じたタッチ位置を検出するタッチ位置検出手段と、前記タッチ位置検出手段により複数のタッチ位置が検出された後に、当該複数のタッチ位置のうちの少なくとも1つのタッチ位置が移動された場合に、前記検出された複数タッチ位置とその後のタッチ位置の移動に応じて図形の種類とその描画位置を決定する図形描画決定手段と、前記図形描画決定手段により決定された前記図形の種類とその描画位置に応じて前記表示部に図形を表示させる図形表示制御手段と、前記タッチ位置検出手段により1点のタッチ位置が検出された後、当該タッチ位置が移動されたと判断された際に、その移動の軌跡を前記表示部に表示させる1点軌跡表示制御手段と、ユーザ操作に応じて前記移動の軌跡を選択し、当該選択された移動の軌跡を前記図形の特徴点を示す符号として登録する符号登録手段と、を備えることを特徴としている。 Graphics-rendering apparatus according to the present invention, a touch panel, a display unit, a touch position detecting means for detecting a touch position according to the user operation of the touch panel, after the plurality of the touch position is detected by the touch position detection unit When the at least one touch position of the plurality of touch positions is moved , the figure drawing for determining the type of the figure and the drawing position according to the movement of the detected plurality of touch positions and the subsequent touch position a determination unit, a graphic display control means for displaying a graphic on the display unit according to the kind and the drawing position of the figure, which is determined by the drawing determination section, the touch position of a point by the touch position detecting means One-point locus display control means for displaying the movement locus on the display unit when it is determined that the touch position has been moved after the detection. Selects a trajectory of the moving in response to a user operation, and the trajectory of the movement to which the selected characterized by and a code registration means for registering as a code indicating the feature point of the graphic.

Claims (7)

タッチパネルと、
表示部と、
前記タッチパネルのユーザ操作に応じたタッチ位置を検出するタッチ位置検出手段と、
このタッチ位置検出手段により複数のタッチ位置が検出された後に、当該複数のタッチ
位置のうちの少なくとも1つのタッチ位置が移動されたか否かを判断するタッチ移動判断手段と、
このタッチ移動判断手段によりタッチ位置が移動されたと判断された場合に、前記タッチ位置検出手段により検出されたタッチ位置のその後の変化を判断するタッチ変化判断手段と、
前記タッチ位置検出手段により検出されたタッチ位置と前記タッチ変化判断手段により判断されたタッチ位置のその後の変化とに応じて図形の種類とその描画位置を決定する図形描画決定手段と、
この図形描画決定手段により決定された図形の種類とその描画位置に応じて前記表示部に図形を表示させる図形表示制御手段と、
前記表示部にグラフ座標が表示されているか否かを判断する座標表示判断手段と、
前記座標表示判断手段によりグラフ座標が表示されていると判断された状態で、前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されたと判断された場合に、そのタッチ位置の移動の軌跡が、N次曲線の条件を満たすか否かを判断するN次曲線条件判断手段と、
前記座標表示判断手段によりグラフ座標が表示されていると判断された状態で、前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されたと判断された場合に、そのタッチ位置の移動の軌跡が、正弦波曲線の条件を満たすか否かを判断する正弦波曲線条件判断手段とを備え、
前記図形描画決定手段は、前記N次曲線条件判断手段によりN次曲線の条件を満たしたと判断された場合には前記図形の種類をN次曲線、前記正弦波曲線条件判断手段により正弦波曲線の条件を満たしたと判断された場合には前記図形の種類を正弦波曲線として決定すると共に、それぞれその描画位置を前記移動の軌跡に応じた位置として決定する、
ことを特徴とする図形描画装置。
A touch panel;
A display unit;
Touch position detecting means for detecting a touch position according to a user operation of the touch panel;
Touch movement determination means for determining whether or not at least one of the plurality of touch positions has been moved after the plurality of touch positions are detected by the touch position detection means;
A touch change determining means for determining a subsequent change in the touch position detected by the touch position detecting means when it is determined that the touch position has been moved by the touch movement determining means;
Figure drawing determining means for determining the type of figure and its drawing position according to the touch position detected by the touch position detecting means and the subsequent change of the touch position determined by the touch change determining means;
Graphic display control means for displaying a graphic on the display unit in accordance with the type of graphic determined by the graphic drawing determination means and the drawing position;
Coordinate display determination means for determining whether or not graph coordinates are displayed on the display unit;
The touch position when the touch position detected by the touch position detecting means is moved by the touch movement determining means in a state where the graph coordinates are determined by the coordinate display determining means. Nth-order curve condition determining means for determining whether or not the trajectory of movement satisfies the condition of the Nth-order curve;
The touch position when the touch position detected by the touch position detecting means is moved by the touch movement determining means in a state where the graph coordinates are determined by the coordinate display determining means. Sine wave curve condition determining means for determining whether or not the trajectory of movement satisfies the condition of the sine wave curve,
The graphic drawing determining means determines that the graphic type is an Nth order curve and the sine wave curve condition determining means is a sine wave curve when the Nth order curve condition determining means determines that the Nth order curve condition is satisfied. When it is determined that the condition is satisfied, the type of the figure is determined as a sine wave curve, and the drawing position is determined as a position corresponding to the movement trajectory.
A graphic drawing apparatus characterized by that.
前記タッチ変化判断手段は、前記タッチ位置検出手段により検出されたタッチ位置が移動されたと判断された場合に、その1点のタッチ位置を除く他のタッチ位置の移動の軌跡が円弧条件を満たすか否かを判断する円弧条件判断手段を有し、
前記図形描画決定手段は、前記円弧条件判断手段により円弧条件を満たしたと判断された場合に、前記タッチ位置検出手段により検出されるタッチ位置が2点である場合には前記図形の種類を円、3点以上である場合には前記図形の種類を同心円として決定すると共に、それぞれその描画位置を前記移動の軌跡に応じた位置として決定する、
ことを特徴とする請求項1に記載の図形描画装置。
When the touch change determination unit determines that the touch position detected by the touch position detection unit has been moved, whether the movement trajectory of other touch positions excluding the one touch position satisfies an arc condition. Arc condition determining means for determining whether or not,
The figure drawing determining means, when it is determined that the arc condition is satisfied by the arc condition determining means, if the touch position detected by the touch position detecting means is two points, the type of the figure is a circle, When the number of points is three or more, the type of the figure is determined as a concentric circle, and the drawing position is determined as a position corresponding to the movement locus,
The figure drawing apparatus according to claim 1.
前記タッチ変化判断手段は、前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されたと判断された場合に、その複数のタッチ位置の移動の軌跡が平行条件を満たすか否かを判断する平行条件判断手段を有し、
前記図形描画決定手段は、前記平行条件判断手段により平行条件を満たしたと判断された場合には、前記図形の種類を平行線として決定すると共に、その描画位置を前記移動の軌跡に応じた位置として決定する、
ことを特徴とする請求項1または請求項2に記載の図形描画装置。
The touch change determination unit determines whether or not the movement trajectories of the plurality of touch positions satisfy a parallel condition when the touch movement determination unit determines that the touch position detected by the touch position detection unit has been moved. A parallel condition judging means for judging whether
The graphic drawing determination means determines the graphic type as a parallel line when the parallel condition determination means determines that the parallel condition is satisfied, and sets the drawing position as a position corresponding to the movement trajectory. decide,
The figure drawing apparatus according to claim 1 or 2, wherein
さらに、
前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されないと判断された場合に、その複数のタッチ位置が、三角形の条件を満たすか否かを判断する三角形条件判断手段と、
前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されないと判断された場合に、その複数のタッチ位置が、四角形の条件を満たすか否かを判断する四角形条件判断手段と
を有し、
前記図形描画決定手段は、前記三角形条件判断手段により三角形の条件を満たしたと判断された場合には前記図形の種類を三角形、前記四角形条件判断手段により四角形の条件を満たしたと判断された場合には前記図形の種類を四角形として決定すると共に、それぞれその描画位置を前記複数のタッチ位置に応じた位置として決定する、
ことを特徴とする請求項1ないし請求項3の何れか1項に記載の図形描画装置。
further,
A triangle condition determining unit that determines whether or not the plurality of touch positions satisfy a triangle condition when it is determined that the touch position detected by the touch position detecting unit is not moved by the touch movement determining unit; ,
A quadrangle condition determination unit that determines whether or not the plurality of touch positions satisfy a quadrangle condition when the touch movement determination unit determines that the touch position detected by the touch position detection unit is not moved; Have
The graphic drawing determination means determines that the type of graphic is a triangle when the triangle condition determination means determines that the triangle condition is satisfied, and the graphic condition determination means determines that the square condition is satisfied Determining the type of the figure as a quadrangle, and determining the drawing position as a position corresponding to the plurality of touch positions,
The graphic drawing apparatus according to claim 1, wherein the graphic drawing apparatus is the same as any one of claims 1 to 3.
前記図形描画決定手段は、前記タッチ位置検出手段により検出された複数のタッチ位置が2点であって、前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されないと判断された後、当該2点のタッチ位置が検出されなくなったと判断された場合には、前記図形の種類を直線として決定すると共に、その描画位置を前記2点のタッチ位置に応じた位置として決定する、
ことを特徴とする請求項1ないし請求項4の何れか1項に記載の図形描画装置。
The graphic drawing determining means determines that the plurality of touch positions detected by the touch position detecting means are two points and the touch position detected by the touch position detecting means is not moved by the touch movement determining means. After that, when it is determined that the two touch positions are no longer detected, the type of the figure is determined as a straight line, and the drawing position is determined as a position corresponding to the two touch positions.
The graphic drawing apparatus according to claim 1, wherein the graphic drawing apparatus is a graphic drawing apparatus.
前記タッチ位置検出手段により1点のタッチ位置が検出された後、前記タッチ移動判断手段により当該タッチ位置が移動されたと判断された際に、その移動の軌跡を前記表示部に表示させる1点軌跡表示制御手段と、
この1点軌跡表示制御手段により表示された前記タッチ位置の移動軌跡を文字認識する文字認識手段と、
前記1点軌跡表示制御手段により表示された前記タッチ位置の移動軌跡を、前記文字認識手段より認識された文字に変換して表示させる文字変換表示制御手段と、
を備えたことを特徴とする請求項1ないし請求項5の何れか1項に記載の図形描画装置。
A one-point locus for displaying the movement locus on the display unit when the touch movement determining portion determines that the touch position has been moved after the touch position detecting portion detects the touch position of one point. Display control means;
Character recognition means for recognizing the movement locus of the touch position displayed by the one-point locus display control means;
Character conversion display control means for converting and displaying the movement locus of the touch position displayed by the one-point locus display control means into characters recognized by the character recognition means;
The graphic drawing apparatus according to claim 1, further comprising:
タッチパネルと表示部とを備えた電子機器のコンピュータを制御するためのプログラムであって、
前記コンピュータを、
前記タッチパネルのユーザ操作に応じたタッチ位置を検出するタッチ位置検出手段、
このタッチ位置検出手段により複数のタッチ位置が検出された後に、当該複数のタッチ位置のうちの少なくとも1つのタッチ位置が移動されたか否かを判断するタッチ移動判断手段、
このタッチ移動判断手段によりタッチ位置が移動されたと判断された場合に、前記タッチ位置検出手段により検出されたタッチ位置のその後の変化を判断するタッチ変化判断手段、
前記タッチ位置検出手段により検出されたタッチ位置と前記タッチ変化判断手段により判断されたタッチ位置のその後の変化とに応じて図形の種類とその描画位置を決定する図形描画決定手段、
この図形描画決定手段により決定された図形の種類とその描画位置に応じて前記表示部に図形を表示させる図形表示制御手段、
前記表示部にグラフ座標が表示されているか否かを判断する座標表示判断手段、
前記座標表示判断手段によりグラフ座標が表示されていると判断された状態で、前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されたと判断された場合に、そのタッチ位置の移動の軌跡が、N次曲線の条件を満たすか否かを判断するN次曲線条件判断手段、
前記座標表示判断手段によりグラフ座標が表示されていると判断された状態で、前記タッチ移動判断手段により前記タッチ位置検出手段により検出されるタッチ位置が移動されたと判断された場合に、そのタッチ位置の移動の軌跡が、正弦波曲線の条件を満たすか否かを判断する正弦波曲線条件判断手段、
として機能させ、
前記図形描画決定手段は、前記N次曲線条件判断手段によりN次曲線の条件を満たしたと判断された場合には前記図形の種類をN次曲線、前記正弦波曲線条件判断手段により正弦波曲線の条件を満たしたと判断された場合には前記図形の種類を正弦波曲線として決定すると共に、それぞれその描画位置を前記移動の軌跡に応じた位置として決定する、
ことを特徴とするプログラム。
A program for controlling a computer of an electronic device including a touch panel and a display unit,
The computer,
Touch position detecting means for detecting a touch position according to a user operation of the touch panel;
Touch movement determination means for determining whether at least one of the plurality of touch positions has been moved after the plurality of touch positions are detected by the touch position detection means;
A touch change determining means for determining a subsequent change in the touch position detected by the touch position detecting means when it is determined that the touch position has been moved by the touch movement determining means;
Figure drawing determining means for determining the type of figure and its drawing position according to the touch position detected by the touch position detecting means and the subsequent change of the touch position determined by the touch change determining means;
Graphic display control means for displaying a graphic on the display unit in accordance with the type of graphic determined by the graphic drawing determination means and its drawing position;
Coordinate display determination means for determining whether or not graph coordinates are displayed on the display unit;
The touch position when the touch position detected by the touch position detecting means is moved by the touch movement determining means in a state where the graph coordinates are determined by the coordinate display determining means. Nth-order curve condition judging means for judging whether or not the trajectory of movement satisfies the condition of the Nth-order curve,
The touch position when the touch position detected by the touch position detecting means is moved by the touch movement determining means in a state where the graph coordinates are determined by the coordinate display determining means. Sine wave curve condition judging means for judging whether or not the trajectory of movement satisfies the condition of the sine wave curve,
Function as
The graphic drawing determining means determines that the graphic type is an Nth order curve and the sine wave curve condition determining means is a sine wave curve when the Nth order curve condition determining means determines that the Nth order curve condition is satisfied. When it is determined that the condition is satisfied, the type of the figure is determined as a sine wave curve, and the drawing position is determined as a position corresponding to the movement trajectory.
A program characterized by that.
JP2016103990A 2016-05-25 2016-05-25 Graphic drawing apparatus, graphic drawing method and program Active JP6172337B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016103990A JP6172337B2 (en) 2016-05-25 2016-05-25 Graphic drawing apparatus, graphic drawing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016103990A JP6172337B2 (en) 2016-05-25 2016-05-25 Graphic drawing apparatus, graphic drawing method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2012206653A Division JP5942729B2 (en) 2012-09-20 2012-09-20 Graphic drawing apparatus and program

Publications (2)

Publication Number Publication Date
JP2016177835A true JP2016177835A (en) 2016-10-06
JP6172337B2 JP6172337B2 (en) 2017-08-02

Family

ID=57071280

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016103990A Active JP6172337B2 (en) 2016-05-25 2016-05-25 Graphic drawing apparatus, graphic drawing method and program

Country Status (1)

Country Link
JP (1) JP6172337B2 (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11149563A (en) * 1997-11-19 1999-06-02 Sharp Corp Information processor, its method and storage medium for recording information processing program
JP2003099791A (en) * 2001-09-20 2003-04-04 Hitachi Information Systems Ltd Graphic formation device, its method, and processing program
US20100149109A1 (en) * 2008-12-12 2010-06-17 John Greer Elias Multi-Touch Shape Drawing
JP2011022913A (en) * 2009-07-17 2011-02-03 Casio Computer Co Ltd Electronic equipment and program
JP2011100253A (en) * 2009-11-05 2011-05-19 Sharp Corp Drawing device
JP2011108180A (en) * 2009-11-20 2011-06-02 Sharp Corp Electronic device, display control method and program
US20110175821A1 (en) * 2010-01-15 2011-07-21 Apple Inc. Virtual Drafting Tools
JP2012027686A (en) * 2010-07-23 2012-02-09 Mitsubishi Electric Corp Device, system and method for displaying information, and program
JP2012063938A (en) * 2010-09-15 2012-03-29 Hitachi Solutions Ltd Hand-drawn graphic recognition system, hand-drawn graphic recognition method, and program
JP2012069085A (en) * 2010-08-26 2012-04-05 Casio Comput Co Ltd Display controller and program
JP2012088768A (en) * 2010-10-15 2012-05-10 Sharp Corp Electronic apparatus and display method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11149563A (en) * 1997-11-19 1999-06-02 Sharp Corp Information processor, its method and storage medium for recording information processing program
JP2003099791A (en) * 2001-09-20 2003-04-04 Hitachi Information Systems Ltd Graphic formation device, its method, and processing program
US20100149109A1 (en) * 2008-12-12 2010-06-17 John Greer Elias Multi-Touch Shape Drawing
JP2011022913A (en) * 2009-07-17 2011-02-03 Casio Computer Co Ltd Electronic equipment and program
JP2011100253A (en) * 2009-11-05 2011-05-19 Sharp Corp Drawing device
JP2011108180A (en) * 2009-11-20 2011-06-02 Sharp Corp Electronic device, display control method and program
US20110175821A1 (en) * 2010-01-15 2011-07-21 Apple Inc. Virtual Drafting Tools
JP2012027686A (en) * 2010-07-23 2012-02-09 Mitsubishi Electric Corp Device, system and method for displaying information, and program
JP2012069085A (en) * 2010-08-26 2012-04-05 Casio Comput Co Ltd Display controller and program
JP2012063938A (en) * 2010-09-15 2012-03-29 Hitachi Solutions Ltd Hand-drawn graphic recognition system, hand-drawn graphic recognition method, and program
JP2012088768A (en) * 2010-10-15 2012-05-10 Sharp Corp Electronic apparatus and display method

Also Published As

Publication number Publication date
JP6172337B2 (en) 2017-08-02

Similar Documents

Publication Publication Date Title
JP5942729B2 (en) Graphic drawing apparatus and program
EP2699998B1 (en) Compact control menu for touch-enabled command execution
US9170671B2 (en) Touch enhanced interface
JP4560062B2 (en) Handwriting determination apparatus, method, and program
US20140019905A1 (en) Method and apparatus for controlling application by handwriting image recognition
US10572134B2 (en) Method and system for providing prototyping tool, and non-transitory computer-readable recording medium
JP6265451B2 (en) Object management device, thinking support device, object management method, and program
JP2019514097A (en) Method for inserting characters in a string and corresponding digital device
US9910643B2 (en) Program for program editing
CN103078745A (en) Logon authentication code based on picture
JP5925957B2 (en) Electronic device and handwritten data processing method
CN104506951A (en) Character input method, character input inputting device and intelligent terminal
JP5502943B2 (en) Information processing apparatus, authentication apparatus, information processing method, and information processing program
JP5869179B2 (en) Electronic device and handwritten document processing method
JP6172337B2 (en) Graphic drawing apparatus, graphic drawing method and program
JP6411067B2 (en) Information processing apparatus and input method
KR101412431B1 (en) User Interface Method for User Command Input by Combination of Multi Touch and Tapping and Electronic Device using the same
KR20100107611A (en) Apparatus and method for controlling terminal
JP6142553B2 (en) Graphic display control apparatus, graphic display control method, and program
JP6249073B2 (en) Information processing apparatus and program
JP6217467B2 (en) Program and character input device for character input system
JP2014157399A (en) Information processing device, information processing method, and program
WO2016046953A1 (en) Electronic device, method, and program
JP2004005663A (en) Circle creating method
JP2016149098A (en) Method of displaying operation display on screen

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170307

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170427

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170619

R150 Certificate of patent or registration of utility model

Ref document number: 6172337

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150