JP2019036352A - Information processor, information processing program, and method for processing information - Google Patents

Information processor, information processing program, and method for processing information Download PDF

Info

Publication number
JP2019036352A
JP2019036352A JP2018207190A JP2018207190A JP2019036352A JP 2019036352 A JP2019036352 A JP 2019036352A JP 2018207190 A JP2018207190 A JP 2018207190A JP 2018207190 A JP2018207190 A JP 2018207190A JP 2019036352 A JP2019036352 A JP 2019036352A
Authority
JP
Japan
Prior art keywords
electronic pen
pen
layer
electronic
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018207190A
Other languages
Japanese (ja)
Inventor
陽子 清家
Yoko Seike
陽子 清家
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 JP2018207190A priority Critical patent/JP2019036352A/en
Publication of JP2019036352A publication Critical patent/JP2019036352A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

CONSTITUTION: An information processor (10) includes a CPU (12) and management means for reflecting an input instruction on a layer (110) related to an electronic pen (200) detected by pen detection means (302d) of a plurality of layers under the instruction of the CPU (12).EFFECT: It becomes possible to prevent wrong operations that delete or edit letters written by another user by mistake.SELECTED DRAWING: Figure 10

Description

この発明は、情報処理装置、情報処理プログラムおよび情報処理方法に関し、特にたとえば、タッチパネルを用いて手書きされた文字等をディスプレイに表示する、情報処理装置、情報処理プログラムおよび情報処理方法に関する。   The present invention relates to an information processing apparatus, an information processing program, and an information processing method, and more particularly, to an information processing apparatus, an information processing program, and an information processing method that display, for example, characters handwritten using a touch panel on a display.

この種の背景技術の情報処理装置の一例が特許文献1に開示される。この特許文献1に開示される情報処理装置では、同一のタッチパネルに対して複数の利用者(電子ペン)がタッチ操作を行うことが可能である。   An example of this type of background information processing apparatus is disclosed in Patent Document 1. In the information processing apparatus disclosed in Patent Document 1, a plurality of users (electronic pens) can perform a touch operation on the same touch panel.

特開2014−178945号公報JP 2014-178945 A

この背景技術の情報処理装置では、複数の利用者がそれぞれ電子ペンで文字、図形、記号等(以下、「文字等」という。)を手書きした場合、複数の利用者がそれぞれ手書きした文字等が表示画面上で重なることがある。このような状況において一方の利用者が、自分で手書きした文字等を消去したり修正したりする際に、誤って他の利用者が手書きした文字等を消去したり、他の利用者が手書きした文字等を修正してしまうことがある。つまり、誤操作により、他の利用者が手書きした文字等を編集してしまうことがある。   In the information processing apparatus of this background art, when a plurality of users handwritten characters, figures, symbols, etc. (hereinafter referred to as “characters”) with an electronic pen, the characters, etc., handwritten by a plurality of users respectively. May overlap on the display screen. In such a situation, when one user erases or corrects a character handwritten by himself, the other user erases a character handwritten by hand or another user May be corrected. In other words, a character or the like handwritten by another user may be edited due to an erroneous operation.

それゆえに、この発明の主たる目的は、新規な、情報処理装置、情報処理プログラムおよび情報処理方法を提供することである。   Therefore, a main object of the present invention is to provide a novel information processing apparatus, information processing program, and information processing method.

この発明の他の目的は、誤操作を防止できる、情報処理装置、情報処理プログラムおよび情報処理方法を提供することである。   Another object of the present invention is to provide an information processing apparatus, an information processing program, and an information processing method capable of preventing erroneous operations.

第1の発明は、複数の電子ペンを用いて、表示手段に表示された画面において編集を行う情報処理装置であって、電子ペンによる入力指示を検出する入力検出手段、複数の電子ペンの各々に、レイヤーを割り当てる割当手段、入力手段によって入力指示が検出されたとき、入力指示を行った電子ペンを識別する識別手段、および識別手段によって識別された電子ペンに割り当てられたレイヤーに対して、入力手段によって検出された入力指示を反映させる反映手段を備える。   1st invention is an information processing apparatus which edits on the screen displayed on the display means using a some electronic pen, Comprising: The input detection means which detects the input instruction by an electronic pen, Each of a some electronic pen The assigning means for assigning the layers, the identifying means for identifying the electronic pen that has given the input instruction when the input instruction is detected, and the layer assigned to the electronic pen identified by the identifying means, Reflecting means for reflecting the input instruction detected by the input means is provided.

第1の発明によれば、反映手段が、識別手段によって識別された電子ペンに割り当てられたレイヤーに対して、入力手段によって検出された入力指示を反映させるので、情報処理装置の利用者毎に異なる電子ペンを用いて手書きする場合に、他の利用者が手書きした文字等を消去したり修正したりすることがない。つまり、他の利用者が手書きした文字等を編集するような誤操作を防止することができる。   According to the first invention, the reflecting means reflects the input instruction detected by the input means to the layer assigned to the electronic pen identified by the identifying means. When handwriting with a different electronic pen, characters handwritten by other users are not erased or corrected. That is, it is possible to prevent an erroneous operation such as editing a character handwritten by another user.

第2の発明は、第1の発明に従属する情報処理装置であって、入力手段によって入力指示が検出されたとき、識別手段によって識別された電子ペンが新規の電子ペンである場合に、割当手段は、当該新規の電子ペンに対して新たにレイヤーを割り当てる。   A second invention is an information processing apparatus subordinate to the first invention, wherein when an input instruction is detected by the input means, the electronic pen identified by the identification means is a new electronic pen. The means assigns a new layer to the new electronic pen.

第2の発明よれば、識別手段によって識別された電子ペンが新規の電子ペンである場合に、割当手段が当該新規の電子ペンに対して新たにレイヤーを割り当てるので、利用者がレイヤーの設定等をする手間を省くことができ、情報処理装置の使い勝手を向上させることができる。   According to the second invention, when the electronic pen identified by the identifying means is a new electronic pen, the assigning means assigns a new layer to the new electronic pen. This can save time and effort and improve the usability of the information processing apparatus.

第3の発明は、第1の発明に従属する情報処理装置であって、複数の電子ペンに割り当てられた複数のレイヤーのうちいずれか二つ以上のレイヤーを合成する合成手段をさらに備える。   A third invention is an information processing apparatus subordinate to the first invention, further comprising a combining unit that combines any two or more layers among a plurality of layers assigned to the plurality of electronic pens.

第3の発明によれば、合成手段が複数のレイヤーのうちいずれか二つ以上を合成するので、合成する前のレイヤーに描画された文字等をまとめて編集することができ、情報処理装置の使い勝手を向上させることができる。   According to the third invention, since the synthesizing unit synthesizes any two or more of the plurality of layers, it is possible to collectively edit characters drawn on the layer before the synthesis, Usability can be improved.

第4の発明は、第3の発明に従属する情報処理装置であって、割当手段は、合成前の二つ以上のレイヤーのそれぞれに割り当てられた電子ペンのうち、少なくとも一つの電子ペンに、合成手段によって合成されたレイヤーを割り当てる。   A fourth invention is an information processing apparatus according to the third invention, in which the assigning means includes at least one electronic pen among the electronic pens assigned to each of the two or more layers before synthesis. Allocate layers synthesized by the synthesis means.

第4の発明によれば、合成されたレイヤーが、合成前の二つ以上のレイヤーのそれぞれに割り当てられた電子ペンのうち、少なくとも一つの電子ペンに合成されたレイヤーを割り当てるので、合成する前のレイヤーに対応付けられた電子ペンを使用していた利用者だけが文字等を編集することができ、合成されたレイヤーに関係しない他の利用者が手書きした文字等を消去または編集する等の誤操作を防止できる。   According to the fourth invention, since the combined layer assigns the combined layer to at least one electronic pen among the electronic pens allocated to each of the two or more layers before combining, before combining, Only users who use the electronic pen associated with the layer can edit characters, etc., and erase or edit characters handwritten by other users not related to the combined layer, etc. Incorrect operation can be prevented.

第5の発明は、第2の発明に従属する情報処理装置であって、合成手段は、一つの電子ペンから他の電子ペンに合成要求を行う合成要求手段を含み、当該他の電子ペンによって合成要求が承諾された場合に、当該一つの電子ペンに割り当てられたレイヤーと当該他の電子ペンに割り当てられたレイヤーを合成する。   A fifth invention is an information processing apparatus according to the second invention, wherein the synthesizing means includes a synthesis request means for making a synthesis request from one electronic pen to another electronic pen, and the other electronic pen When the composition request is accepted, the layer assigned to the one electronic pen and the layer assigned to the other electronic pen are combined.

第5の発明によれば、他の電子ペンによって合成要求が承諾された場合に、当該一つの電子ペンに割り当てられたレイヤーと当該他の電子ペンに割り当てられたレイヤーを合成するので、合意の上で二つのレイヤーが合成されるため、他の利用者が手書きした文字等を誤って編集する等の誤操作を防止できる。   According to the fifth invention, when the composition request is accepted by another electronic pen, the layer assigned to the one electronic pen and the layer assigned to the other electronic pen are synthesized. Since the two layers are combined above, it is possible to prevent erroneous operations such as editing a character handwritten by another user by mistake.

第6の発明は、第5の発明に従属する情報処理装置であって、他の電子ペンは、複数である。   A sixth invention is an information processing apparatus according to the fifth invention, and there are a plurality of other electronic pens.

第6の発明によれば、他の電子ペンが複数であれば、三つ以上のレイヤーを合成することができるので、各レイヤーに描画された文字等をまとめて編集することができ、情報処理装置の使い勝手を向上させることができる。   According to the sixth invention, if there are a plurality of other electronic pens, three or more layers can be combined, so that characters drawn on each layer can be edited together, Usability of the apparatus can be improved.

第7の発明は、第1ないし第6のいずれかの発明に従属する情報処理装置であって、複数の電子ペンは、当該複数の電子ペンに割り当てられたすべてのレイヤーに入力指示を反映させることが可能な管理用電子ペンを含む。   A seventh invention is an information processing apparatus according to any one of the first to sixth inventions, wherein a plurality of electronic pens reflect input instructions on all layers assigned to the plurality of electronic pens. Including a management electronic pen that can.

第7の発明によれば、複数の電子ペンに割り当てられたすべてのレイヤーに入力指示を反映させることが可能な管理用電子ペンによって、各レイヤーに描画された文字等をまとめて編集することができ、情報処理装置の使い勝手を向上させることができる。   According to the seventh aspect, the characters etc. drawn on each layer can be edited together by the management electronic pen capable of reflecting the input instruction to all the layers assigned to the plurality of electronic pens. And the usability of the information processing apparatus can be improved.

第8の発明は、複数の電子ペンを用いて、表示手段に表示された画面において編集を行うコンピュータの情報処理プログラムであって、コンピュータを、電子ペンによる入力指示を検出する入力検出手段、複数の電子ペンの各々に、レイヤーを割り当てる割当手段、入力手段によって入力指示が検出されたとき、当該入力指示を行った電子ペンを識別する識別手段、および識別手段によって識別された電子ペンに割り当てられたレイヤーに対して、入力手段によって検出された入力指示を反映させる反映手段として機能させる。   An eighth invention is an information processing program for a computer that performs editing on a screen displayed on a display means using a plurality of electronic pens, the computer comprising: an input detecting means for detecting an input instruction by the electronic pen; Assigning a layer to each of the electronic pens, and when an input instruction is detected by the input means, an identification means for identifying the electronic pen that made the input instruction, and an electronic pen identified by the identification means The layer is caused to function as a reflecting unit that reflects the input instruction detected by the input unit.

第9の発明は、複数の電子ペンを用いて、表示手段に表示された画面において編集を行うコンピュータの情報処理方法であって、コンピュータは、電子ペンによる入力指示を検出し、複数の電子ペンの各々に、レイヤーを割り当て、入力手段によって入力指示が検出されたとき、当該入力指示を行った電子ペンを識別し、そして識別手段によって識別された電子ペンに割り当てられたレイヤーに対して、入力手段によって検出された入力指示を反映させる。   A ninth invention is an information processing method for a computer that performs editing on a screen displayed on a display unit using a plurality of electronic pens. The computer detects an input instruction with the electronic pens, and the plurality of electronic pens is detected. A layer is assigned to each of the electronic pens. When an input instruction is detected by the input means, the electronic pen that made the input instruction is identified, and the input to the layer assigned to the electronic pen identified by the identification means is performed. The input instruction detected by the means is reflected.

第8および第9の各発明においても、第1の発明と同様に、他の利用者が手書きした文字等を編集するような誤操作を防止することができる。   In each of the eighth and ninth inventions, similarly to the first invention, it is possible to prevent an erroneous operation such as editing a character handwritten by another user.

この発明によれば、他の利用者が手書きした文字等を消去したり、他の利用者が手書きした文字等を修正したりすることがない。つまり、他の利用者が手書きした文字等を編集するような誤操作を防止することができる。   According to this invention, it is not possible to erase characters or the like handwritten by other users or to correct characters or the like handwritten by other users. That is, it is possible to prevent an erroneous operation such as editing a character handwritten by another user.

図1はこの発明の第1実施例である情報処理装置の電気的な構成を示すブロック図である。FIG. 1 is a block diagram showing an electrical configuration of an information processing apparatus according to the first embodiment of the present invention. 図2(A)は電子ペンの構成を示す図解図である。図2(B)は電子ペンの電気的な構成を示すブロック図である。FIG. 2A is an illustrative view showing a configuration of an electronic pen. FIG. 2B is a block diagram illustrating an electrical configuration of the electronic pen. 図3は情報処理装置のタッチ画面の一例を示す図解図である。FIG. 3 is an illustrative view showing one example of a touch screen of the information processing apparatus. 図4は電子ペンの機能やアクションを選択するためのメニューの一例を示す図解図である。FIG. 4 is an illustrative view showing an example of a menu for selecting the function and action of the electronic pen. 図5(A)は図3に示したVRAM上の第1レイヤーを示す図解図である。図5(B)は図3に示したVRAM上の第2レイヤーを示す図解図である。FIG. 5A is an illustrative view showing a first layer on the VRAM shown in FIG. FIG. 5B is an illustrative view showing a second layer on the VRAM shown in FIG. 図6(A)は第2レイヤーの他の例を示す図解図である。図6(B)はタッチ画面の他の例を示す図解図である。FIG. 6A is an illustrative view showing another example of the second layer. FIG. 6B is an illustrative view showing another example of a touch screen. 図7は図1に示すRAMのメモリマップの一例を示す図解図である。FIG. 7 is an illustrative view showing one example of a memory map of the RAM shown in FIG. 図8(A)は第1実施例のペン管理テーブルの一例を示す図である。図8(B)は第1実施例のレイヤー管理テーブルの一例を示す図である。FIG. 8A is a diagram illustrating an example of a pen management table according to the first embodiment. FIG. 8B is a diagram showing an example of the layer management table of the first embodiment. 図9は図1に示すCPUのペン登録処理の一例を示すフロー図である。FIG. 9 is a flowchart showing an example of pen registration processing of the CPU shown in FIG. 図10は図1に示すCPUのペン入力処理の一例を示すフロー図である。FIG. 10 is a flowchart showing an example of pen input processing of the CPU shown in FIG. 図11は第2実施例における合成操作の一例を説明するための図解図である。FIG. 11 is an illustrative view for explaining an example of the composition operation in the second embodiment. 図12は第2実施例におけるタッチ画面の一例を示す図解図である。FIG. 12 is an illustrative view showing one example of a touch screen in the second embodiment. 図13(A)は第2実施例のペン管理テーブルの一例を示す図解図である。図13(B)は第2実施例のレイヤー管理テーブルの一例を示す図解図である。FIG. 13A is an illustrative view showing one example of a pen management table of the second embodiment. FIG. 13B is an illustrative view showing one example of a layer management table of the second embodiment. 図14は第2実施例におけるCPUのペン入力処理の一例の一部を示すフロー図である。FIG. 14 is a flowchart showing a part of an example of pen input processing of the CPU in the second embodiment. 図15は第2実施例におけるCPUのペン入力処理の他の一部であって、図14に後続するフロー図である。FIG. 15 is another part of the pen input process of the CPU in the second embodiment, and is a flowchart subsequent to FIG. 図16は第2実施例におけるCPUのペン入力処理のその他の一部であって、図15に後続するフロー図である。FIG. 16 is another flowchart of the pen input process of the CPU in the second embodiment, and is a flowchart subsequent to FIG. 図17は第3実施例における管理用電子ペンのメニューの一例を示す図解図である。FIG. 17 is an illustrative view showing one example of a menu of the management electronic pen in the third embodiment. 図18(A)は第3実施例のペン管理テーブルの一例を示す図解図である。図18(B)は第3実施例のレイヤー管理テーブルの一例を示す図解図である。FIG. 18A is an illustrative view showing one example of a pen management table of the third embodiment. FIG. 18B is an illustrative view showing one example of a layer management table of the third embodiment. 図19は第3実施例におけるCPUの管理用ペン入力処理の一例の一部を示すフロー図である。FIG. 19 is a flowchart showing a part of an example of the management pen input process of the CPU in the third embodiment. 図20は第3実施例におけるCPUの管理用ペン入力処理の他の一部であって、図19に後続するフロー図である。FIG. 20 shows another part of the management pen input processing of the CPU in the third embodiment, and is a flowchart subsequent to FIG.

[第1実施例]
図1はこの発明の第1実施例である情報処理装置10の電気的な構成を示すブロック図である。
[First embodiment]
FIG. 1 is a block diagram showing an electrical configuration of an information processing apparatus 10 according to the first embodiment of the present invention.

図1を参照して、この発明の第1実施例である情報処理装置10はCPU12を含む。CPU12には、バス30を介してRAM14、タッチパネル制御回路16、描画制御回路18および無線通信回路24が接続される。また、タッチパネル制御回路16にはタッチパネル20が接続され、描画制御回路18にはディスプレイ22が接続される。   Referring to FIG. 1, information processing apparatus 10 according to the first embodiment of the present invention includes a CPU 12. A RAM 14, a touch panel control circuit 16, a drawing control circuit 18, and a wireless communication circuit 24 are connected to the CPU 12 via a bus 30. A touch panel 20 is connected to the touch panel control circuit 16, and a display 22 is connected to the drawing control circuit 18.

この第1実施例では、情報処理装置10が電子黒板に適用される場合について説明するが、電子黒板のみならず、電子ペン200による入力が可能なものであれば、タブレット端末等、他の情報機器ないし電子機器に適用されてもよい。この情報処理装置10では、複数のユーザ(利用者)の各々が電子ペン200(図2(A)、(B)参照)を用いて文字、図形、記号等(以下、「文字等」という。)をタッチパネル20上で手書きすることにより、手書きの文字等がディスプレイ22に描画(表示)される。また、電子ペン200は、手書きの文字等の描画に用いられる他に、ファイルを選択したり、機能を実行するためのボタン(アイコン)を選択したりする等、ポインティングデバイスとしても用いられる。   In the first embodiment, a case where the information processing apparatus 10 is applied to an electronic blackboard will be described. The present invention may be applied to devices or electronic devices. In the information processing apparatus 10, each of a plurality of users (users) uses an electronic pen 200 (see FIGS. 2A and 2B) to call characters, figures, symbols, and the like (hereinafter “characters”). ) On the touch panel 20, handwritten characters and the like are drawn (displayed) on the display 22. In addition to being used for drawing handwritten characters, the electronic pen 200 is also used as a pointing device such as selecting a file or selecting a button (icon) for executing a function.

また、この第1実施例では、入力手段の一例として、タッチパネル20が用いられる場合について説明するが、タッチパネル20以外の入力手段として、たとえばタッチパッドを用いてもよい。さらに、情報処理装置10には、他の入力手段として、タッチパネル20とは別に、操作パネルのようなハードウェアキーが設けられたり、ハードウェアのキーボードが接続されたりすることがある。   In the first embodiment, a case where the touch panel 20 is used as an example of the input unit will be described. However, as an input unit other than the touch panel 20, for example, a touch pad may be used. Further, the information processing apparatus 10 may be provided with a hardware key such as an operation panel or a hardware keyboard as other input means, in addition to the touch panel 20.

図1に戻って、CPU12は、情報処理装置10の全体的な制御を司る。RAM14は、CPU12のワーク領域およびバッファ領域として用いられる。無線通信回路24は、電子ペン200との間で電波または赤外線等による無線通信を行う。   Returning to FIG. 1, the CPU 12 governs overall control of the information processing apparatus 10. The RAM 14 is used as a work area and a buffer area for the CPU 12. The wireless communication circuit 24 performs wireless communication with the electronic pen 200 using radio waves or infrared rays.

タッチパネル制御回路16は、タッチパネル20に必要な電圧などを付与するとともに、タッチパネル20のタッチ有効範囲内でのタッチ操作(タッチ入力)を検出して、そのタッチ入力の位置を示すタッチ座標データをCPU12に出力する。タッチパネル20を用いた操作(入力)としては、タップ(短押し)、スライド(ドラッグ)、フリック、ロングタップ(長押し)などがあり、この第1実施例では、これらを「タッチ入力」または単に「入力」のように総称する。また、タッチパネル20をタッチしていない状態からタッチしている状態に変化することをタッチオン(ペンダウン)と言い、タッチパネル20をタッチしている状態からタッチしていない状態に変化することをタッチオフ(ペンアップ)と言う。継続的なタッチ入力つまりスライドやフリックによる入力に対しては、タッチパネル20は、現在のタッチ位置に対応するタッチ座標データを所定周期よりも短い周期で出力する。たとえば、所定周期は、1〜数フレームであり、1フレームは1/30秒または1/60秒である。   The touch panel control circuit 16 applies necessary voltage and the like to the touch panel 20, detects a touch operation (touch input) within the touch effective range of the touch panel 20, and outputs touch coordinate data indicating the position of the touch input to the CPU 12. Output to. The operation (input) using the touch panel 20 includes tap (short press), slide (drag), flick, long tap (long press) and the like. In the first embodiment, these are “touch input” or simply They are generically named as “input”. Further, changing from a state where the touch panel 20 is not touched to a state where the touch panel 20 is touched is referred to as touch-on (pen down), and changing from a state where the touch panel 20 is touched to a state where the touch panel 20 is not touched is referred to as touch-off (pen). Say up). For continuous touch input, that is, input by sliding or flicking, the touch panel 20 outputs touch coordinate data corresponding to the current touch position at a cycle shorter than a predetermined cycle. For example, the predetermined period is 1 to several frames, and one frame is 1/30 second or 1/60 second.

タッチパネル20は、汎用のタッチパネルであり、静電容量方式、電磁誘導方式、抵抗膜方式、赤外線方式など、任意の方式のものを用いることができる。この第1実施例では、タッチパネル20としては、静電容量方式のタッチパネルがディスプレイ22の表示面上に設けられる。また、この第1実施例のタッチパネル20は、マルチタッチのタッチパネルであり、複数のタッチ位置を同時に検出することができる。   The touch panel 20 is a general-purpose touch panel, and an arbitrary system such as an electrostatic capacity system, an electromagnetic induction system, a resistance film system, and an infrared system can be used. In the first embodiment, as the touch panel 20, a capacitive touch panel is provided on the display surface of the display 22. The touch panel 20 of the first embodiment is a multi-touch touch panel and can detect a plurality of touch positions simultaneously.

この第1実施例では、タッチパネル20において、タッチオン(ペンダウン)されたときに、CPU12は、タッチ座標データと電子ペン200から送信された識別情報(ペンID)とを対応付けて記憶するとともに、タッチオフ(ペンアップ)されるまでのタッチ座標データを追跡(記憶)することにより、同時に検出される複数のタッチ座標データがいずれの電子ペン200の操作によるものかを判別可能にしてある。   In the first embodiment, when the touch panel 20 is touched on (pen down), the CPU 12 stores the touch coordinate data and the identification information (pen ID) transmitted from the electronic pen 200 in association with each other, and also performs the touch off. By tracking (storing) touch coordinate data until (pen-up), it is possible to determine which electronic pen 200 is operated by a plurality of touch coordinate data detected at the same time.

描画制御回路18は、GPU18aおよびVRAM18bなどを含んでおり、CPU12の指示の下、GPU18aは、RAM14に記憶されたペン入力データ(304b、304c)や画像生成データ304d(図7参照)を用いてディスプレイ22に画面(後述するタッチ画面100)を表示するための表示画像データをVRAM18bに生成し、生成した表示画像データをディスプレイ22に出力する。ディスプレイ22としては、たとえばLCDやEL(Electro-Luminescence)ディスプレイなどを用いることができる。   The drawing control circuit 18 includes a GPU 18a and a VRAM 18b. Under the instruction of the CPU 12, the GPU 18a uses pen input data (304b, 304c) and image generation data 304d (see FIG. 7) stored in the RAM 14. Display image data for displaying a screen (a touch screen 100 described later) on the display 22 is generated in the VRAM 18b, and the generated display image data is output to the display 22. As the display 22, for example, an LCD or an EL (Electro-Luminescence) display can be used.

図2(A)は電子ペンの構成を示す図解図であり、図2(B)は電子ペンの電気的な構成を示すブロック図である。   FIG. 2A is an illustrative view showing a configuration of the electronic pen, and FIG. 2B is a block diagram showing an electrical configuration of the electronic pen.

図2(A)に示すように、電子ペン200は、ペン本体202とペン先スイッチ204を含む。ペン先スイッチ204は、利用者が電子ペン200のペン先を指示対象物(この第1実施例では、タッチパネル20の検出面(パネル表面))に接触させたときに、オン状態になり、ペン先に何も接触していないときには、オフ状態となる機械式のスイッチである。ただし、ペン先スイッチ204は、機械式スイッチに限定される必要は無く、ペン先が指示対象物に接触したことと接触していないことを検出できるものであれば、光学式のスイッチ(センサ)等を用いることもできる。   As shown in FIG. 2A, the electronic pen 200 includes a pen body 202 and a pen tip switch 204. The pen tip switch 204 is turned on when the user brings the pen tip of the electronic pen 200 into contact with the target object (in this first embodiment, the detection surface (panel surface) of the touch panel 20). This is a mechanical switch that is turned off when nothing is touched first. However, the pen point switch 204 is not necessarily limited to a mechanical switch, and an optical switch (sensor) may be used as long as it can detect that the pen point is in contact with the pointing object. Etc. can also be used.

また、図2(B)に示すように、電子ペン200には、上記のようなペン先スイッチ204のオン状態およびオフ状態を検出するスイッチ状態検出回路224が設けられている。スイッチ状態検出回路224には、バス240を介して制御回路220、メモリ222および無線通信回路226が接続される。メモリ222は、ROMやEEPROM(登録商標)のような不揮発性のメモリであり、当該メモリ222を内蔵する電子ペン200に設定された識別情報を記憶する。たとえば、制御回路220は、スイッチ状態検出回路224によってペン先スイッチ204がオン状態となったことが検出されると、メモリ222に記憶された識別情報を、無線通信回路226を介して情報処理装置10に送信する。   As shown in FIG. 2B, the electronic pen 200 is provided with a switch state detection circuit 224 for detecting the on state and the off state of the pen tip switch 204 as described above. A control circuit 220, a memory 222, and a wireless communication circuit 226 are connected to the switch state detection circuit 224 via a bus 240. The memory 222 is a nonvolatile memory such as a ROM or an EEPROM (registered trademark), and stores identification information set in the electronic pen 200 in which the memory 222 is built. For example, when the switch state detection circuit 224 detects that the pen tip switch 204 is turned on, the control circuit 220 uses the identification information stored in the memory 222 as an information processing device via the wireless communication circuit 226. 10 to send.

図3は情報処理装置10のディスプレイ22に表示されるタッチ画面100の一例を示す図解図である。図4は電子ペン200の機能や描画(編集)に関するアクションを選択するためのメニュー150の一例を示す図解図である。   FIG. 3 is an illustrative view showing an example of the touch screen 100 displayed on the display 22 of the information processing apparatus 10. FIG. 4 is an illustrative view showing an example of a menu 150 for selecting an action related to the function of the electronic pen 200 and drawing (editing).

一般的な電子黒板では、利用者が文字等を手書きすると、手書きの入力についての軌跡に従う線がタッチ画面100に表示(描画)される。つまり、手書きの文字等を含む画像(以下、「手書き画像」という。)がタッチ画面100に表示される。   In a general electronic blackboard, when a user handwrites a character or the like, a line that follows a locus for handwritten input is displayed (drawn) on the touch screen 100. That is, an image including handwritten characters or the like (hereinafter referred to as “handwritten image”) is displayed on the touch screen 100.

たとえば、編集モードでは、図3に示すように、タッチ画面100がディスプレイ22に表示される。ただし、編集モードが開始された時点においては、文字等はディスプレイ22に描画されていない。なお、上述したように、ディスプレイ22の表示面上にはタッチパネル20が設けられる。以下、タッチ画面100が表示される場合について同様である。   For example, in the edit mode, the touch screen 100 is displayed on the display 22 as shown in FIG. However, characters and the like are not drawn on the display 22 when the edit mode is started. As described above, the touch panel 20 is provided on the display surface of the display 22. The same applies to the case where the touch screen 100 is displayed.

タッチ画面100には、利用者の操作に応じて、図4に示すようなメニュー150が表示される。ただし、電子ペン200毎にメニュー150は表示される。図4に示すように、メニュー150は、ペン(手書き入力)、消しゴム、線の太さ、色の選択などの電子ペン200の機能(モード)を設定(選択)するためのボタンと、元に戻す、保存などの描画に関する所定のアクションを実行させるボタンを含む。他のモードとしては、範囲指定、範囲指定を伴うカット、範囲指定を伴うコピーなどが該当する。また、他のアクションとしては、ペースト、範囲指定を伴わないカット、範囲指定を伴わないコピーなどが該当する。   A menu 150 as shown in FIG. 4 is displayed on the touch screen 100 in accordance with a user operation. However, the menu 150 is displayed for each electronic pen 200. As shown in FIG. 4, the menu 150 includes buttons for setting (selecting) functions (modes) of the electronic pen 200 such as pen (handwriting input), eraser, line thickness, and color selection. It includes a button for executing a predetermined action related to drawing such as returning and saving. Other modes include range specification, cut with range specification, and copy with range specification. Other actions include paste, cut without range specification, and copy without range specification.

このようなメニュー150で所望の項目を選択することにより、所望の機能を選択したり、所望のアクションを実行したりして、文字等を描画したり、削除したりするなどの編集が実行される。   By selecting a desired item in the menu 150, editing such as selecting a desired function or executing a desired action to draw or delete a character or the like is executed. The

具体的には、ペンボタンが選択(タッチ)されると、手書き入力モードが設定され、利用者が電子ペン200を用いて文字等を手書きすることができる。また、消しゴムボタンが選択されると、文字等を消去する消しゴムモードが設定され、文字等のうち、利用者が電子ペン200でなぞった部分が消去される。さらに、線の太さボタンがタッチされると、線の太さを変更するモードが設定され、サブメニューで線の太さを変更することができる。同様に、色の選択ボタンがタッチされると、色を選択するモードが設定され、サブメニューで色を選択することができる。また、元に戻すボタンがタッチされると、最後のアクションが取り消され、タッチ画面100が直前の状態に戻される。さらに、保存ボタンがタッチされると、タッチ画面100に描画された文字等のデータが保存(セーブ)される。   Specifically, when a pen button is selected (touched), a handwriting input mode is set, and a user can handwrite characters and the like using the electronic pen 200. When the eraser button is selected, an eraser mode for erasing characters and the like is set, and the portion of the characters and the like that the user traces with the electronic pen 200 is erased. Further, when the line thickness button is touched, a mode for changing the line thickness is set, and the line thickness can be changed in the submenu. Similarly, when a color selection button is touched, a mode for selecting a color is set, and a color can be selected from a submenu. When the undo button is touched, the last action is canceled and the touch screen 100 is returned to the previous state. Furthermore, when the save button is touched, data such as characters drawn on the touch screen 100 is saved.

たとえば、2人の利用者がそれぞれ電子ペン200を用いて情報処理装置10のディスプレイ22に文字等を手書きすることができる。以下、説明の都合上、一方の利用者(第1利用者)が一方の電子ペン200(第1電子ペン200a)を使用し、他方の利用者(第2利用者)が他方の電子ペン200(第2電子ペン200b)を使用するものとする。図3に示す例では、第1利用者が、第1電子ペン200aでタッチ画面100の左側(利用者の立ち位置から向かって左)に丸を一つ手書きし、第2利用者が、第2電子ペン200bでタッチ画面100の右側と中央から左寄りとに二つの三角形を手書きしたタッチ画面100が示される。図3からも分かるように、第1利用者が手書きした丸の一部の上側(前面)に、第2利用者が手書きした一方の三角形の一部が重なっている。   For example, two users can each handwrite characters on the display 22 of the information processing apparatus 10 using the electronic pen 200. Hereinafter, for convenience of explanation, one user (first user) uses one electronic pen 200 (first electronic pen 200a), and the other user (second user) uses the other electronic pen 200. It is assumed that (second electronic pen 200b) is used. In the example shown in FIG. 3, the first user writes a single circle on the left side of the touch screen 100 (left from the user's standing position) with the first electronic pen 200a, and the second user The touch screen 100 in which two triangles are handwritten on the right side and the center to the left of the touch screen 100 with the two electronic pens 200b is shown. As can be seen from FIG. 3, a part of one triangle handwritten by the second user overlaps an upper side (front surface) of a part of the circle handwritten by the first user.

このような場合、文字等の重なりを解消するために、丸の一部と三角形の一部とが重なった部分を消去したり、修正したりすることが考えられる。つまり、編集することが考えられる。   In such a case, in order to eliminate the overlap of characters or the like, it is conceivable to delete or correct a portion where a part of a circle and a part of a triangle overlap. In other words, editing can be considered.

しかしながら、一方の利用者が消しゴム機能を実行してタッチ画面100に書いた文字等を消去する場合に、他の利用者が書いた文字等までも消去してしまうことがある。ただし、このようなことは、文字等が重なっていない場合であっても起こり得る。   However, when one user executes the eraser function and erases a character or the like written on the touch screen 100, a character or the like written by another user may be erased. However, such a thing can occur even when characters or the like do not overlap.

したがって、この第1実施例では、このような不都合を回避するために、他の利用者が手書きした文字等を編集するような誤操作を防止するようにしてある。以下、具体的に説明する。   Therefore, in the first embodiment, in order to avoid such an inconvenience, an erroneous operation such as editing a character handwritten by another user is prevented. This will be specifically described below.

簡単に説明すると、この第1実施例では、複数の電子ペン200のそれぞれに対応付けられた複数のレイヤー(入力情報の記憶エリア)110が設けられている。具体的には、第1電子ペン200aに対応付けられた第1レイヤー110aと、第2電子ペン200bに対応付けられた第2レイヤー110bとが設けられている。レイヤー110(110a、110b)は、描画制御回路18に含まれるVRAM18bにおいて、各電子ペン200に対応付けて設けられた描画領域である。そして、この第1実施例では、第1電子ペン200aを用いたタッチ入力による指示(入力指示)に基づく入力情報は、第1レイヤー110aのみに反映され、第2電子ペン200bを用いた入力指示に基づく入力情報は、第2レイヤー110bのみに反映される。ただし、入力情報とは、電子ペン200を用いて手書きされた文字等についてのタッチ座標データの集合であり、この第1実施例では、後述する第1ペン入力データ304bおよび第2ペン入力データ304cに相当する。   In brief, in the first embodiment, a plurality of layers (input information storage areas) 110 associated with each of the plurality of electronic pens 200 are provided. Specifically, a first layer 110a associated with the first electronic pen 200a and a second layer 110b associated with the second electronic pen 200b are provided. The layer 110 (110a, 110b) is a drawing area provided in association with each electronic pen 200 in the VRAM 18b included in the drawing control circuit 18. In the first embodiment, the input information based on the instruction (input instruction) by the touch input using the first electronic pen 200a is reflected only in the first layer 110a, and the input instruction using the second electronic pen 200b. The input information based on is reflected only in the second layer 110b. However, the input information is a set of touch coordinate data for characters and the like handwritten using the electronic pen 200. In the first embodiment, first pen input data 304b and second pen input data 304c described later are used. It corresponds to.

なお、この第1実施例では、二本の電子ペン200が用いられる場合について説明するが、三本以上の電子ペン200が用いられてもよい。   In the first embodiment, the case where two electronic pens 200 are used will be described. However, three or more electronic pens 200 may be used.

たとえば、手書き入力モードにおいては、第1電子ペン200aで書かれた文字等は、第1レイヤー110aに描画される。同様に、第2電子ペン200bで書かれた文字等は、第2レイヤー110bに描画されるようにしてある。つまり、文字等は、当該文字等を書くのに用いられた電子ペン200に対応付けられたレイヤー110に振り分けて描画される。   For example, in the handwriting input mode, characters and the like written with the first electronic pen 200a are drawn on the first layer 110a. Similarly, characters and the like written with the second electronic pen 200b are drawn on the second layer 110b. That is, characters and the like are drawn by being distributed on the layer 110 associated with the electronic pen 200 used for writing the characters and the like.

詳細な説明は省略するが、線の太さ、色の選択についても、タッチ入力による指示が行われた電子ペン200または当該電子ペン200に対応付けられたレイヤー110に描画された文字等に対して反映される。   Although detailed description is omitted, the selection of the thickness of the line and the color is also performed for the electronic pen 200 instructed by touch input or the characters drawn on the layer 110 associated with the electronic pen 200. Is reflected.

また、消しゴムモードでは、第1電子ペン200aでスライドされると、スライドに従って移動される消しゴムカーソル120が表示される位置ないし部分であり、第1レイヤー110aに描画された文字等が消去される。同様に、消しゴムモードでは、第2電子ペン200bでスライドされると、スライドに従って移動される消しゴムカーソル120が表示される位置ないし部分であり、第2レイヤー110bに描画された文等が消去される。   In the eraser mode, when the first electronic pen 200a is slid, it is a position or a portion where the eraser cursor 120 moved according to the slide is displayed, and characters and the like drawn on the first layer 110a are erased. Similarly, in the eraser mode, when it is slid with the second electronic pen 200b, it is the position or portion where the eraser cursor 120 moved according to the slide is displayed, and the sentence drawn on the second layer 110b is erased. .

図5(A)はVRAM18b上の第1レイヤー110aを示す図解図である。図5(B)はVRAM18b上の第2レイヤー110bを示す図解図である。また、図6(A)は文字等の一部を消去した状態の第2レイヤー110bを示す図解図である。図6(B)は文字等の一部を消去した状態のタッチ画面100を示す図解図である。   FIG. 5A is an illustrative view showing the first layer 110a on the VRAM 18b. FIG. 5B is an illustrative view showing the second layer 110b on the VRAM 18b. FIG. 6A is an illustrative view showing the second layer 110b in a state where a part of characters or the like is erased. FIG. 6B is an illustrative view showing the touch screen 100 in a state where a part of characters or the like is erased.

この第1実施例では、第1電子ペン200aを用いたタッチ入力による指示は第1レイヤー110aに反映されるので、図3を用いて説明したように、第1利用者が第1電子ペン200aで丸を手書きすると、図5(A)に示すように、第1レイヤー110aに丸が描画される。また、第2電子ペン200bを用いたタッチ入力による指示は第2レイヤー110bに反映されるので、図3を用いて説明したように、第2利用者が第2電子ペン200bで二つの三角形を手書きすると、図5(B)に示すように、第2レイヤー110bに二つの三角形が描画される。   In the first embodiment, since the instruction by the touch input using the first electronic pen 200a is reflected on the first layer 110a, the first user can use the first electronic pen 200a as described with reference to FIG. When a circle is handwritten, a circle is drawn on the first layer 110a as shown in FIG. In addition, since the instruction by the touch input using the second electronic pen 200b is reflected on the second layer 110b, the second user uses the second electronic pen 200b to draw two triangles as described with reference to FIG. When handwritten, two triangles are drawn on the second layer 110b as shown in FIG.

たとえば、図5(A)に示す第1レイヤー110aおよび図5(B)に示す第2レイヤー110bを、第2レイヤー110bが手前になるように重ねてディスプレイ22に表示すると、図3に示したようなタッチ画面100がディスプレイ22に表示される。このような状況において、たとえば、第2利用者が、第2電子ペン200bで消しゴム機能を実行し、この第2電子ペン200bをスライドさせることにより消しゴムカーソル120を移動させて、ディスプレイ22に表示された三角形の一部を消去する。すると、図6(A)に示すように、VRAM18bに設けられた第2レイヤー110bに描画された画像の一部(ここでは、左側の三角形の一部)が消去される。また、第2電子ペン200bを用いたタッチ入力による指示であるので、この指示は第1レイヤー110aには何ら反映されない。つまり、消しゴムカーソル120(第2電子ペン200b)が第1レイヤー110aに描画された画像の上を移動した(なぞった)としても、当該画像は消去されない。したがって、図6(B)に示すように、タッチ画面100には、第2レイヤー110bに描画された三角形の一部だけが消去された手書き画像が表示されている。   For example, when the first layer 110a shown in FIG. 5 (A) and the second layer 110b shown in FIG. 5 (B) are displayed on the display 22 so that the second layer 110b is in front, it is shown in FIG. Such a touch screen 100 is displayed on the display 22. In such a situation, for example, the second user executes the eraser function with the second electronic pen 200b, and moves the eraser cursor 120 by sliding the second electronic pen 200b to be displayed on the display 22. Erase a part of the triangle. Then, as shown in FIG. 6A, a part of the image drawn on the second layer 110b provided in the VRAM 18b (here, a part of the left triangle) is erased. Further, since the instruction is based on touch input using the second electronic pen 200b, this instruction is not reflected on the first layer 110a at all. That is, even if the eraser cursor 120 (second electronic pen 200b) moves (traces) on the image drawn on the first layer 110a, the image is not erased. Therefore, as shown in FIG. 6B, the touch screen 100 displays a handwritten image in which only a part of the triangle drawn on the second layer 110b is erased.

なお、第2電子ペン200bが使用される場合には、文字等を描画したり削除したりする場合に限らず、文字等を切り取り、移動、拡大または縮小したりする場合にも、第2レイヤー110bに描画された文字等だけに、第2電子ペン200bを用いたタッチ入力による指示が反映される。   Note that when the second electronic pen 200b is used, the second layer is not limited to drawing or deleting characters or the like, but also when the characters are cut, moved, enlarged, or reduced. The instruction by the touch input using the second electronic pen 200b is reflected only on the character drawn on 110b or the like.

また、図6(A)および図6(B)を用いた例では、第2利用者が第2電子ペン200bを使用する場合について説明したが、第1利用者が第1電子ペン200aを使用する場合についても同様である。つまり、第1電子ペン200aが使用される場合には、文字等を描画したり削除したりする場合に限らず、文字等を切り取り、移動、拡大または縮小したりする場合にも、第1レイヤー110aに描画された文字等だけに、第1電子ペン200aを用いたタッチ入力による指示が反映される。   In the example using FIGS. 6A and 6B, the case where the second user uses the second electronic pen 200b has been described. However, the first user uses the first electronic pen 200a. The same applies to the case where the operation is performed. That is, when the first electronic pen 200a is used, the first layer is not limited to drawing or deleting characters or the like, but also when cutting or moving, enlarging, or reducing characters or the like. Instructions by touch input using the first electronic pen 200a are reflected only on the characters drawn on 110a.

ここでは、第1電子ペン200aおよび第2電子ペン200bが予め情報処理装置10(RAM14)に登録され、それぞれに対応する第1レイヤー110aおよび第2レイヤー110bがVRAM18bに設けられていることを前提として説明した。   Here, it is assumed that the first electronic pen 200a and the second electronic pen 200b are registered in advance in the information processing apparatus 10 (RAM 14), and the corresponding first layer 110a and second layer 110b are provided in the VRAM 18b. As explained.

ただし、実際には、情報処理装置10で編集モードが開始された当初は、いずれの電子ペン200も登録されておらず、また、初期のタッチ画面100が表示されるだけであるため、VRAM18bには、一つの描画領域(たとえば、第1レイヤー110a)しか設けられていない。   However, in reality, when the editing mode is started in the information processing apparatus 10, no electronic pen 200 is registered, and only the initial touch screen 100 is displayed. Is provided with only one drawing area (for example, the first layer 110a).

したがって、この第1実施例では、登録されていない電子ペン200を用いたタッチ入力が検出されると、当該電子ペン200が情報処理装置10(RAM14)に登録されるとともに、当該電子ペン200に対応するレイヤー110がVRAM18bに設けられる。そして、電子ペン200がRAM14に登録された後は、当該電子ペン200に対応するレイヤー110に当該電子ペン200の入力指示が反映されるようになる。   Therefore, in the first embodiment, when a touch input using the electronic pen 200 that is not registered is detected, the electronic pen 200 is registered in the information processing apparatus 10 (RAM 14), and the electronic pen 200 is registered with the electronic pen 200. A corresponding layer 110 is provided in the VRAM 18b. Then, after the electronic pen 200 is registered in the RAM 14, the input instruction of the electronic pen 200 is reflected on the layer 110 corresponding to the electronic pen 200.

ただし、上述したように、情報処理装置10で編集モードが開始された当初では、一つの描画領域(第1レイヤー110a)が設けられ、初期のタッチ画面100についての画像が描画されるため、最初に登録された電子ペン200については、RAM14に登録されると、レイヤー110が新しく設けられるのではなく、第1レイヤー100aが割り当てられる。   However, as described above, at the beginning of the editing mode in the information processing apparatus 10, one drawing area (first layer 110a) is provided, and an image of the initial touch screen 100 is drawn. When the electronic pen 200 registered in (2) is registered in the RAM 14, the first layer 100a is allocated instead of newly providing the layer 110.

情報処理装置10の上記のような動作は、CPU12がRAM14に記憶された情報処理プログラムを実行することにより実現される。具体的な処理については、後でフロー図を用いて説明する。   The above-described operation of the information processing apparatus 10 is realized by the CPU 12 executing the information processing program stored in the RAM 14. Specific processing will be described later with reference to a flowchart.

図7は図1に示したRAM14のメモリマップ300の一例を示す。図7に示すように、RAM14は、プログラム記憶領域302およびデータ記憶領域304を含む。プログラム記憶領域302には、上述したように、情報処理プログラムが記憶される。情報処理プログラムは、入力検出プログラム302a、描画プログラム302b、表示プログラム302c、ペン識別情報検出プログラム302d、ペン管理プログラム302e、およびレイヤー管理プログラム302fを含む。   FIG. 7 shows an example of the memory map 300 of the RAM 14 shown in FIG. As shown in FIG. 7, the RAM 14 includes a program storage area 302 and a data storage area 304. In the program storage area 302, as described above, an information processing program is stored. The information processing program includes an input detection program 302a, a drawing program 302b, a display program 302c, a pen identification information detection program 302d, a pen management program 302e, and a layer management program 302f.

入力検出プログラム302aは、タッチパネル制御回路16から出力されたタッチパネル20におけるタッチ入力の位置を示すタッチ座標データを取得し、データ記憶領域304に記憶するためのプログラムである。ただし、入力検出プログラム302aは、情報処理装置10に接続されたハードウェアのキーボードや情報処理装置10に設けられたハードウェアの操作パネルないし操作ボタンからの入力を検出するためのプログラムでもある。   The input detection program 302 a is a program for acquiring touch coordinate data indicating the position of touch input on the touch panel 20 output from the touch panel control circuit 16 and storing it in the data storage area 304. However, the input detection program 302 a is also a program for detecting an input from a hardware keyboard connected to the information processing apparatus 10 or a hardware operation panel or operation button provided in the information processing apparatus 10.

描画プログラム302bは、後述する電子ペン入力データ(この実施例では、第1電子ペン入力データ304bおよび第2電子ペン入力データ304c)や画像生成データ304dを用いて、文字等を含むタッチ画面100やメニュー150についての表示画像データを生成するためのプログラムである。具体的には、描画プログラム302bが実行されると、描画制御回路18では、CPU12の指示の下、GPU18aが手書きの文字等をVRAM18bに設けられたレイヤー110に描画する。このとき、文字等を書くのに使用された電子ペン200に対応付けられた(割り当てられた)レイヤー110に手書きの文字等が描画される。また、ユーザが電子ペン150を用いてメニュー150の表示を指示すと、CPU12の指示の下、GPU18aは画像生成データ304dを用いて、当該電子ペン150についてのメニュー150に対応する画像をVRAM18bの空き領域に描画する。   The drawing program 302b uses electronic pen input data (first electronic pen input data 304b and second electronic pen input data 304c in this embodiment) and image generation data 304d, which will be described later, and the touch screen 100 including characters and the like. This is a program for generating display image data for the menu 150. Specifically, when the drawing program 302b is executed, in the drawing control circuit 18, under the instruction of the CPU 12, the GPU 18a draws handwritten characters and the like on the layer 110 provided in the VRAM 18b. At this time, handwritten characters and the like are drawn on the layer 110 associated (assigned) with the electronic pen 200 used for writing the characters and the like. When the user indicates display of the menu 150 using the electronic pen 150, the GPU 18a uses the image generation data 304d to display an image corresponding to the menu 150 for the electronic pen 150 in the VRAM 18b under the instruction of the CPU 12. Draw in free space.

ただし、描画プログラム302bは、他の任意の画面(たとえば、情報処理装置10で実行される他のアプリケーションソフトの実行画面等)についての表示画像データを生成するためのプログラムでもある。   However, the drawing program 302b is also a program for generating display image data for another arbitrary screen (for example, an execution screen of other application software executed by the information processing apparatus 10).

表示プログラム302cは、描画プログラム302bに従ってVRAM18bに生成された表示画像データをディスプレイ22に出力するためのプログラムである。ただし、VRAM18b上の各レイヤー110に描画された手書きの文字等を含む画像(表示画像データ)が重ねて表示されるようにディスプレイ22に出力される。したがって、一人または複数人の利用者が手書きした文字等を含む手書き画像がディスプレイ22に表示される。このとき、複数のレイヤー110の各々に描画された表示画像データは、後述するレイヤー管理データ304fに対応するレイヤー管理テーブルに記載される表示順に従って重なるように、ディスプレイ22に出力される。   The display program 302c is a program for outputting display image data generated in the VRAM 18b in accordance with the drawing program 302b to the display 22. However, an image (display image data) including handwritten characters drawn on each layer 110 on the VRAM 18b is output to the display 22 so as to be displayed in an overlapping manner. Therefore, a handwritten image including characters handwritten by one or more users is displayed on the display 22. At this time, the display image data drawn on each of the plurality of layers 110 is output to the display 22 so as to overlap according to the display order described in a layer management table corresponding to layer management data 304f described later.

また、メニュー150についての画像は、すべてのレイヤー110の前面(最前面)となるようにディスプレイ22に表示される。   In addition, an image of the menu 150 is displayed on the display 22 so as to be in front of all the layers 110 (frontmost).

ペン識別情報検出プログラム302dは、無線通信回路24に入力された電子ペン200の識別情報(ペンID)、つまりペン先スイッチ204がオンである電子ペン200の識別情報を検出するためのプログラムである。また、ペン識別情報検出プログラム302dは、検出した電子ペン200の識別情報を、これと同時またはほぼ同時に入力検出プログラム302aで検出されたタッチ座標データに関連付ける(付加する)ためのプログラムでもある。したがって、後述するように、手書きの文字等に関するタッチ座標データが電子ペン200毎に記憶される。   The pen identification information detection program 302d is a program for detecting identification information (pen ID) of the electronic pen 200 input to the wireless communication circuit 24, that is, identification information of the electronic pen 200 in which the pen tip switch 204 is on. . The pen identification information detection program 302d is also a program for associating (adding) the detected identification information of the electronic pen 200 with the touch coordinate data detected by the input detection program 302a simultaneously or substantially simultaneously. Therefore, as will be described later, touch coordinate data related to handwritten characters and the like is stored for each electronic pen 200.

ペン管理プログラム302eは、利用者によって使用される電子ペン200を登録および管理するためのプログラムである。このペン管理プログラム302eに従って、後述するペン管理データ304eが記憶(更新)される。   The pen management program 302e is a program for registering and managing the electronic pen 200 used by the user. In accordance with the pen management program 302e, pen management data 304e described later is stored (updated).

レイヤー管理プログラム302fは、VRAM18bに生成された(設けられた)レイヤー110を管理するためのプログラムである。このレイヤー管理プログラム302fに従って、後述するレイヤー管理データ304fが記憶(更新)される。   The layer management program 302f is a program for managing the layer 110 generated (provided) in the VRAM 18b. In accordance with this layer management program 302f, later-described layer management data 304f is stored (updated).

なお、図示は省略するが、プログラム記憶領域302には、各種の機能やアクションを選択および実行するためのプログラムや他のアプリケーションプログラムなども記憶される。   Although not shown, the program storage area 302 also stores programs for selecting and executing various functions and actions, other application programs, and the like.

データ記憶領域304には、タッチ座標データ304a、第1電子ペン入力データ304b、第2電子ペン入力データ304c、画像生成データ304d、ペン管理データ304e、およびレイヤー管理データ304fなどが記憶される。   The data storage area 304 stores touch coordinate data 304a, first electronic pen input data 304b, second electronic pen input data 304c, image generation data 304d, pen management data 304e, layer management data 304f, and the like.

タッチ座標データ304aは、入力検出プログラム302aに従って検出(取得)された現在(現フレーム)のタッチ座標データであり、入力された電子ペン200の識別情報が関連付けられている。タッチ座標データ304aは、CPU12の処理に用いられると消去される。ただし、利用者が手書きした文字等についてのタッチ座標データ304aは、電子ペン200毎に、電子ペン入力データ(この第1実施例では、第1電子ペン入力データ304bおよび第2電子ペン入力データ304c)としてRAM14に記憶される。つまり、手書きの文字等に関するタッチ座標データが電子ペン200毎に記憶される。   The touch coordinate data 304a is current (current frame) touch coordinate data detected (acquired) according to the input detection program 302a, and the input identification information of the electronic pen 200 is associated therewith. The touch coordinate data 304a is deleted when it is used for the processing of the CPU 12. However, the touch coordinate data 304a for the character handwritten by the user is the electronic pen input data (in this first embodiment, the first electronic pen input data 304b and the second electronic pen input data 304c) for each electronic pen 200. ) Is stored in the RAM 14. That is, touch coordinate data related to handwritten characters and the like is stored for each electronic pen 200.

第1電子ペン入力データ304bは、第1電子ペン200aを用いて手書きされた文字等についてのタッチ座標データの集合である。具体的には、第1電子ペン入力データ304bは、タップによる点、または、スライドによる線を、点または線毎に管理するデータである。ただし、線については、スライドにおけるタッチオンからタッチオフまでに検出された複数のタッチ入力に対応するタッチ座標データが記憶される。また、アイコン等の指示や任意のアクションの指示のためのタッチ座標データは第1電子ペン入力データ304bに含まれない。なお、詳細な説明は省略するが、第1電子ペン入力データ304bでは、点や線毎に識別可能に管理されるとともに、点や線毎に属性情報(線種、線色および線幅の情報)も管理される。   The first electronic pen input data 304b is a set of touch coordinate data for characters and the like handwritten using the first electronic pen 200a. Specifically, the first electronic pen input data 304b is data for managing a point by a tap or a line by a slide for each point or line. However, for the line, touch coordinate data corresponding to a plurality of touch inputs detected from touch-on to touch-off in the slide is stored. Further, touch coordinate data for an instruction such as an icon or an arbitrary action is not included in the first electronic pen input data 304b. Although detailed description is omitted, the first electronic pen input data 304b is managed so that it can be identified for each point or line, and attribute information (line type, line color, and line width information) for each point or line. ) Is also managed.

第2電子ペン入力データ304cは、第2電子ペン200bを用いて手書きされた文字等についてのタッチ座標データの集合である。なお、具体的なデータの内容は第1電子ペン入力データ304bと同様であるので詳細な説明は省略する。   The second electronic pen input data 304c is a set of touch coordinate data for characters and the like handwritten using the second electronic pen 200b. The specific data content is the same as that of the first electronic pen input data 304b, and thus detailed description thereof is omitted.

画像生成データ304dは、タッチ画面100のような各種の画面やメニュー150に対応する表示画像データを生成するためのポリゴンデータやテクスチャデータなどのデータである。また、画像生成データ304dには、タッチ画面100に表示される各種のアイコンについての画像データも含まれる。   The image generation data 304 d is data such as polygon data and texture data for generating display image data corresponding to various screens such as the touch screen 100 and the menu 150. The image generation data 304 d also includes image data for various icons displayed on the touch screen 100.

ペン管理データ304eは、ペン管理プログラム302eに従って記憶(更新)されるペン管理テーブルについてのデータである。また、レイヤー管理データ304fは、レイヤー管理プログラム302fに従って記憶(更新)されるレイヤー管理テーブルについてのデータである。   The pen management data 304e is data about a pen management table stored (updated) in accordance with the pen management program 302e. The layer management data 304f is data regarding a layer management table stored (updated) in accordance with the layer management program 302f.

図8(A)はペン管理テーブルの一例を示す図であり、図8(B)はレイヤー管理テーブルの一例を示す図である。   FIG. 8A shows an example of the pen management table, and FIG. 8B shows an example of the layer management table.

図8(A)に示すように、ペン管理テーブルには、ペンIDに対応して、編集可能なレイヤーIDが記載される。ペンIDは、電子ペン200(第1実施例では、第1電子ペン200a、第2電子ペン200b)を識別するための識別情報である。レイヤーIDは、レイヤー110(第1実施例では、第1レイヤー110a、第2レイヤー110b)を識別するための識別情報である。第1実施例では、第1電子ペン200aのペンIDは“P1”であり、第2電子ペン200bのペンIDは“P2”である。また、第1レイヤー110aのレイヤーIDは“L1”であり、第2レイヤー110bのレイヤーIDは“L2”である。   As shown in FIG. 8A, the editable layer ID is described in the pen management table in correspondence with the pen ID. The pen ID is identification information for identifying the electronic pen 200 (in the first embodiment, the first electronic pen 200a and the second electronic pen 200b). The layer ID is identification information for identifying the layer 110 (the first layer 110a and the second layer 110b in the first embodiment). In the first embodiment, the pen ID of the first electronic pen 200a is “P1”, and the pen ID of the second electronic pen 200b is “P2”. The layer ID of the first layer 110a is “L1”, and the layer ID of the second layer 110b is “L2”.

図8(A)に示すペン管理テーブルでは、第1電子ペン200aが第1レイヤー110aを編集可能に対応付けられている(割り当てられている)ことが分かる。同様に、第2電子ペン200bが第2レイヤー110bを編集可能に対応付けられている(割り当てられている)ことが分かる。   In the pen management table shown in FIG. 8A, it can be seen that the first electronic pen 200a is associated (assigned) with the first layer 110a so as to be editable. Similarly, it can be seen that the second electronic pen 200b is associated with (assigned to) the second layer 110b in an editable manner.

したがって、CPU12は、ペン管理テーブル(後述するレイヤー管理テーブルでもよい。)を参照して、第1電子ペン入力データ304bに従って第1レイヤー110aに文字等を描画することをGPU18aに指示する。同様に、CPU12は、ペン管理テーブル(または、レイヤー管理テーブル)を参照して、第2電子ペン入力データ304cに従って第2レイヤー110bに文字等を描画することをGPU18aに指示する。このため、電子ペン200を用いて手書きした文字等が当該電子ペン200に割り当てられたレイヤー110に描画される。   Therefore, the CPU 12 refers to the pen management table (which may be a layer management table described later) and instructs the GPU 18a to draw characters and the like on the first layer 110a according to the first electronic pen input data 304b. Similarly, the CPU 12 refers to the pen management table (or layer management table) and instructs the GPU 18a to draw characters and the like on the second layer 110b according to the second electronic pen input data 304c. For this reason, characters and the like handwritten with the electronic pen 200 are drawn on the layer 110 assigned to the electronic pen 200.

なお、ペンIDおよびレイヤーIDはローマ字および数字を用いて示してあるが、これに限定される必要はない。ペンIDおよびレイヤーIDは、ローマ字または数字のみで表してもよいし、人間が解読できない記号で表してもよい。また、ペンIDおよびレイヤーIDは3文字以上で表されてもよい。   Note that the pen ID and the layer ID are illustrated using Roman letters and numerals, but are not limited thereto. The pen ID and the layer ID may be represented by only Roman letters or numerals, or may be represented by symbols that cannot be deciphered by humans. Further, the pen ID and the layer ID may be represented by three or more characters.

このペン管理テーブルには、編集モードが開始された当初はペンIDおよびレイヤーIDは登録されておらず、新しい電子ペン200が検出される毎に、ペンIDおよびレイヤーIDが登録(追加)され、対応するペン管理データ304eがRAM14に記憶(登録)される。具体的には、一本目の電子ペン200のペンIDが検出されると、VRAM18bに設けられた描画領域(第1レイヤー110a)にレイヤーIDが付与され、それらが対応付けられてペン管理テーブルに登録される。二本目以降の電子ペン200では、ペン管理テーブルに登録されていない電子ペン200のペンIDが検出されると、VRAM18bに新しく描画領域(レイヤー110)が生成され、生成されたレイヤー110にレイヤーIDが付与される。そして、検出されたペンIDおよびこれに対応付けられたレイヤーIDがペン管理テーブルに追加される。したがって、ペン管理データ304eが更新される。   In the pen management table, the pen ID and the layer ID are not registered at the beginning of the editing mode, and the pen ID and the layer ID are registered (added) every time a new electronic pen 200 is detected. Corresponding pen management data 304e is stored (registered) in the RAM. Specifically, when the pen ID of the first electronic pen 200 is detected, a layer ID is assigned to the drawing area (first layer 110a) provided in the VRAM 18b, and these are associated with each other in the pen management table. be registered. In the second and subsequent electronic pens 200, when a pen ID of the electronic pen 200 not registered in the pen management table is detected, a new drawing area (layer 110) is generated in the VRAM 18b, and a layer ID is generated in the generated layer 110. Is granted. Then, the detected pen ID and the layer ID associated therewith are added to the pen management table. Accordingly, the pen management data 304e is updated.

図8(B)に示すように、レイヤー管理テーブルには、レイヤーIDに対応して、編集可能なペンIDおよび表示順が記載される。このレイヤー管理テーブルでは、第1電子ペン200aが第1レイヤー110aを編集可能に対応付けられている(割り当てられている)ことが分かる。同様に、第2電子ペン200bが第2レイヤー110bを編集可能に対応付けられている(割り当てられている)ことが分かる。また、レイヤーの表示順は、第1レイヤー110aが“2”であり、第2レイヤー110bが“1”である。ただし、表示順は“1”が最前面(最上層)であり、数字が大きくなるにつれて背面(下層)側に配置される。   As shown in FIG. 8B, the editable pen ID and display order are described in the layer management table corresponding to the layer ID. In this layer management table, it can be seen that the first electronic pen 200a is associated (assigned) with the first layer 110a in an editable manner. Similarly, it can be seen that the second electronic pen 200b is associated with (assigned to) the second layer 110b in an editable manner. The display order of the layers is “2” for the first layer 110a and “1” for the second layer 110b. However, in the display order, “1” is the forefront (uppermost layer), and is arranged on the back (lower layer) side as the number increases.

このレイヤー管理テーブルの作成および記憶(更新)は、上記のペン管理テーブルの作成および記憶(更新)と同様であるため、重複した説明は省略する。表示順は、利用者の指示に従って変更される。ただし、ペンIDおよびレイヤーIDが登録(追加)される場合には、追加されたレイヤーが最前面となるように、各レイヤー110の表示順が決定(更新)される。ただし、編集中のレイヤー110が有る場合には、当該レイヤー110が最前面となるように、各レイヤー110の表示順が決定される。   Since the creation and storage (update) of the layer management table is the same as the creation and storage (update) of the pen management table, a duplicate description is omitted. The display order is changed according to a user instruction. However, when the pen ID and the layer ID are registered (added), the display order of each layer 110 is determined (updated) so that the added layer becomes the foreground. However, when there is a layer 110 being edited, the display order of each layer 110 is determined so that the layer 110 is the foreground.

なお、図示は省略するが、データ記憶領域304には、キーボードや操作パネルからの操作データなど、情報処理プログラムの実行に必要な他のデータが記憶されたり、情報処理プログラムの実行に必要なタイマ(カウンタ)やレジスタが設けられたりする。   Although not shown, the data storage area 304 stores other data necessary for executing the information processing program such as operation data from a keyboard or an operation panel, or a timer required for executing the information processing program. (Counter) and registers are provided.

図9は図1に示すCPU12のペン登録処理の一例を示すフロー図である。このペン登録処理は、利用者によって用いられる電子ペン200をペン管理テーブルおよびレイヤー管理テーブルに登録するための処理である。   FIG. 9 is a flowchart showing an example of pen registration processing of the CPU 12 shown in FIG. This pen registration process is a process for registering the electronic pen 200 used by the user in the pen management table and the layer management table.

図9に示すように、CPU12は、ペン登録処理を開始すると、ステップS1で、タッチ入力が有るかどうかを判断する。ここでは、現フレームにおいて、タッチ入力に対応するタッチ座標データ304aがデータ記憶領域304に記憶されているかどうかを判断する。以下、タッチ入力が有るかどうかを判断する場合について同様である。また、このとき、ペン識別情報検出プログラム302dに従って検出された電子ペン200の識別情報(ペンID)が関連付けられる。   As shown in FIG. 9, when starting the pen registration process, the CPU 12 determines whether or not there is a touch input in step S1. Here, it is determined whether or not touch coordinate data 304a corresponding to the touch input is stored in the data storage area 304 in the current frame. The same applies to the case where it is determined whether there is a touch input. At this time, the identification information (pen ID) of the electronic pen 200 detected according to the pen identification information detection program 302d is associated.

なお、タッチ入力に対応するタッチ座標データを検出してデータ記憶領域304に記憶するための処理(タッチ入力検出処理)は、図9に示すペン登録処理および後述するペン入力処理(図10参照)と並行して実行される。   The processing for detecting touch coordinate data corresponding to touch input and storing it in the data storage area 304 (touch input detection processing) includes pen registration processing shown in FIG. 9 and pen input processing described later (see FIG. 10). Executed in parallel.

ステップS1で“NO”であれば、つまり、タッチ入力が無ければ、同じステップS1に戻り、タッチ入力が有るのを待機する。一方、ステップS1で“YES”であれば、つまりタッチ入力が有れば、ステップS3で、タッチ入力を行った電子ペン200のペンIDを検出する。ここでは、CPU12は、タッチ座標データ304aに関連付けられたペンIDを検出する。   If “NO” in the step S1, that is, if there is no touch input, the process returns to the same step S1 and waits for the touch input. On the other hand, if “YES” in the step S1, that is, if there is a touch input, the pen ID of the electronic pen 200 that has performed the touch input is detected in a step S3. Here, the CPU 12 detects the pen ID associated with the touch coordinate data 304a.

次に、ステップS5で、タッチ入力した電子ペン200が登録されているかどうかを判断する。ここでは、CPU12は、ペン管理テーブル(レイヤー管理テーブルでもよい)を参照して、ステップS3で検出したペンIDが登録されているか否かを判断する。   Next, in step S5, it is determined whether or not the touch-input electronic pen 200 is registered. Here, the CPU 12 refers to a pen management table (may be a layer management table) and determines whether or not the pen ID detected in step S3 is registered.

ステップS5で“YES”であれば、つまり、タッチ入力した電子ペン200がペン管理テーブルに登録されている場合には、そのままステップS1に戻る。一方、ステップS5で“NO”であれば、つまり、タッチ入力した電子ペン200がペン管理テーブルに登録されていない場合には、新規の電子ペン200が検出されたと判断して、ステップS7で、一本目の電子ペン200であるかどうかを判断する。ここでは、CPU12は、ペン管理テーブルに、何らペンIDが登録されていないかどうかを判断する。   If “YES” in the step S5, that is, if the electronic pen 200 input by touching is registered in the pen management table, the process returns to the step S1 as it is. On the other hand, if “NO” in the step S5, that is, if the touch-input electronic pen 200 is not registered in the pen management table, it is determined that a new electronic pen 200 has been detected, and in a step S7, It is determined whether or not the first electronic pen 200 is used. Here, the CPU 12 determines whether or not any pen ID is registered in the pen management table.

ステップS7で“YES”であれば、つまり一本目の電子ペン200であれば、ステップS9で、現在のレイヤー(第1レイヤー110a)にレイヤーIDを付与して、ステップS15に進む。一方、ステップS7で“NO”であれば、つまり二本目以降の電子ペン200であれば、ステップS11で、新規のレイヤー110を作成し、ステップS13で、作成した新規のレイヤー110にレイヤーIDを付与する。   If “YES” in the step S7, that is, if it is the first electronic pen 200, a layer ID is assigned to the current layer (first layer 110a) in a step S9, and the process proceeds to a step S15. On the other hand, if “NO” in the step S7, that is, if it is the second and subsequent electronic pens 200, a new layer 110 is created in a step S11, and a layer ID is assigned to the created new layer 110 in a step S13. Give.

続くステップS15では、ペン管理テーブルにペンを登録する。つまり、今回検出したペンIDと付与したレイヤーIDを対応付けてペン管理テーブルに登録する。したがって、ペン管理データ304eが更新される。さらに、ステップS17で、レイヤー管理テーブルにペンを登録する。つまり、今回検出したペンIDと付与したレイヤーIDを対応付けてレイヤー管理テーブルに登録する。このとき、表示順を最下位に設定する。したがって、レイヤー管理データ304fが更新される。そして、ステップS19で、タッチ入力した電子ペン200についてのペン入力処理を起動(開始)して、ステップS1に戻る。   In subsequent step S15, the pen is registered in the pen management table. That is, the pen ID detected this time and the assigned layer ID are associated with each other and registered in the pen management table. Accordingly, the pen management data 304e is updated. In step S17, a pen is registered in the layer management table. That is, the pen ID detected this time and the assigned layer ID are associated and registered in the layer management table. At this time, the display order is set to the lowest. Therefore, the layer management data 304f is updated. In step S19, pen input processing for the electronic pen 200 that has been touch-input is started (started), and the process returns to step S1.

図10は図1に示すCPU12のペン入力処理の一例を示すフロー図である。上述したように、このペン入力処理は、図9に示したペン登録処理と並行して実行される。また、複数本の電子ペン200が使用される場合には、各電子ペン200についてのペン入力処理が並行して実行される。   FIG. 10 is a flowchart showing an example of pen input processing of the CPU 12 shown in FIG. As described above, this pen input process is executed in parallel with the pen registration process shown in FIG. When a plurality of electronic pens 200 are used, pen input processing for each electronic pen 200 is executed in parallel.

図10に示すように、CPU12は、ペン入力処理を開始すると、ステップS31で、タッチ入力が有るかどうかを判断する。ステップS31で“NO”であれば、そのまま同じステップS31に戻る。一方、ステップS31で“YES”であれば、ステップS33で、メニュー選択かどうかを判断する。具体的には、CPU12は、タッチ入力によって、メニュー150のいずれかの項目(ボタン)が選択されたかどうかを判断する。   As shown in FIG. 10, when starting the pen input process, the CPU 12 determines in step S31 whether there is a touch input. If “NO” in the step S31, the process returns to the same step S31 as it is. On the other hand, if “YES” in the step S31, it is determined whether or not a menu is selected in a step S33. Specifically, the CPU 12 determines whether any item (button) of the menu 150 is selected by touch input.

ステップS33で“YES”であれば、つまりメニュー選択であれば、ステップS35で、選択されたモードを設定したり、選択されたアクションを実行したりして、ステップS31に戻る。モードやアクションについては、図4を用いて説明したとおりである。一方、ステップS33で“NO”であれば、つまりメニュー選択でなければ、ステップS37で、手書き入力モードが設定されているかどうかを判断する。   If “YES” in the step S33, that is, if the menu is selected, the selected mode is set or the selected action is executed in a step S35, and the process returns to the step S31. The modes and actions are as described with reference to FIG. On the other hand, if “NO” in the step S33, that is, if the menu is not selected, it is determined whether or not the handwriting input mode is set in a step S37.

ステップS37で“YES”であれば、つまり手書き入力モードが設定されていれば、ステップS39で、ペン管理テーブル(またはレイヤー管理テーブル)を参照して、当該電子ペン200に割り当てられたレイヤー110に、当該電子ペン200についての電子ペン入力データ(第1実施例では、第1電子ペン入力データ304bまたは第2電子ペン入力データ304cである。以下、同様である)に従って文字等を描画して、ステップS31に戻る。ただし、CPU12の指示の下、GPU18aがVRAM18bに設けられたレイヤー110に文字等を描画する。   If “YES” in the step S37, that is, if the handwriting input mode is set, the pen management table (or the layer management table) is referred to in the step 110 to refer to the layer 110 assigned to the electronic pen 200. In accordance with the electronic pen input data for the electronic pen 200 (in the first embodiment, the first electronic pen input data 304b or the second electronic pen input data 304c, the same applies hereinafter), characters and the like are drawn, The process returns to step S31. However, under the instruction of the CPU 12, the GPU 18a draws characters and the like on the layer 110 provided in the VRAM 18b.

一方、ステップS37で“NO”であれば、つまり手書き入力モードが設定されていなければ、ステップS41で、消しゴムモードが設定されているかどうかを判断する。ステップS41で“YES”であれば、つまり消しゴムモードが設定されていれば、ステップS43で、当該電子ペン200に割り当てられたレイヤー110で文字等を消去して、ステップS31に戻る。ステップS43では、CPU12は、消しゴムカーソル120が指示する位置に描画された点や線に対応するタッチ座標データを、当該電子ペン200に対応する電子ペン入力データから消去する。したがって、次のフレームで、GPU18aが、電子ペン入力データに従って文字等を描画する場合に、消去された点や線については描画されない。このようにして、利用者の操作に従って文字等の一部ないし全部が消去される。   On the other hand, if “NO” in the step S37, that is, if the handwriting input mode is not set, it is determined whether or not the eraser mode is set in a step S41. If “YES” in the step S41, that is, if the eraser mode is set, in a step S43, characters and the like are erased in the layer 110 assigned to the electronic pen 200, and the process returns to the step S31. In step S <b> 43, the CPU 12 deletes the touch coordinate data corresponding to the point or line drawn at the position indicated by the eraser cursor 120 from the electronic pen input data corresponding to the electronic pen 200. Accordingly, in the next frame, when the GPU 18a draws a character or the like according to the electronic pen input data, the erased point or line is not drawn. In this way, some or all of the characters and the like are erased according to the user's operation.

一方、ステップS41で“NO”であれば、つまり消しゴムモードが設定されていなければ、ステップS45で、当該電子ペン200に割り当てられたレイヤー110でその他の処理を実行して、ステップS31に戻る。その他の処理としては、線の太さや線の色を変更したり、範囲指定を行ったり、当該電子ペン200についてのメニュー150を表示したりなどすることが該当する。   On the other hand, if “NO” in the step S41, that is, if the eraser mode is not set, other processes are executed in the layer 110 assigned to the electronic pen 200 in a step S45, and the process returns to the step S31. Other processing includes changing the line thickness and line color, specifying a range, and displaying the menu 150 for the electronic pen 200.

この第1実施例によれば、複数の電子ペン200の各々にレイヤー110を割り当てて、電子ペン200を用いたタッチ入力があると、当該電子ペン200に割り当てられたレイヤー110において、文字等を描画したり、文字等を削除したりするので、他の電子ペン200で手書きした文字等を消去または修正することがない。つまり、他人が書いた文字等を誤って編集してしまうような誤操作を防止することができる。
[第2実施例]
第2実施例の情報処理装置10は、電子ペン200毎に割り当てられたレイヤー110をさらに合成できるようにした以外は、第1実施例と同じであるため、第1実施例と異なる内容について説明し、重複した説明については省略することにする。
According to the first embodiment, when a layer 110 is assigned to each of the plurality of electronic pens 200 and there is a touch input using the electronic pen 200, characters or the like are displayed on the layer 110 assigned to the electronic pen 200. Since drawing or deleting characters or the like, characters or the like handwritten with another electronic pen 200 are not erased or corrected. That is, it is possible to prevent an erroneous operation such that a character written by another person is mistakenly edited.
[Second Embodiment]
The information processing apparatus 10 according to the second embodiment is the same as the first embodiment except that the layer 110 assigned to each electronic pen 200 can be further combined, so that the contents different from the first embodiment will be described. The duplicated explanation will be omitted.

簡単に説明すると、一方の利用者が他方の利用者に対して、レイヤー110を合成することを要求(合成要求)する。他方の利用者は、その合成要求を承諾または拒否する。合成要求が承諾すると、一方の利用者が使用する電子ペン200に割り当てられたレイヤー110と、他の利用者が使用する電子ペン200に割り当てられたレイヤー110とが合成される。つまり、二つのレイヤー110が一つのレイヤー110に統合され、それぞれのレイヤー110に描画されていた文字等が、統合された一つのレイヤー110に描画される。この第2実施例では、二つのレイヤー110は、合成することを要求した電子ペン200に割り当てられているレイヤー110に統合される。ただし、合成要求が拒否された場合には、二つのレイヤー110は合成(統合)されない。   Briefly, one user requests the other user to compose the layer 110 (composition request). The other user accepts or rejects the composition request. If the composition request is accepted, the layer 110 assigned to the electronic pen 200 used by one user and the layer 110 assigned to the electronic pen 200 used by another user are combined. That is, the two layers 110 are integrated into one layer 110, and characters and the like drawn on the respective layers 110 are drawn on the integrated one layer 110. In this second embodiment, the two layers 110 are integrated into the layer 110 assigned to the electronic pen 200 that has requested to be combined. However, when the synthesis request is rejected, the two layers 110 are not synthesized (integrated).

以下、第2実施例では、二つのレイヤー110が合成される場合について説明するが、三つ以上のレイヤー110が選択的に合成されるようにしてもよい。かかる場合には、合成要求する際に、合成(合成要求を通知)するレイヤー110を選択するようしたり、合成要求を承諾した電子ペン200に割り当てられたレイヤー110とだけ合成したり、合成要求を受けた電子ペン200のいずれか一つでも拒否した場合には、合成しないようにしたりすればよい。   Hereinafter, in the second embodiment, a case where two layers 110 are combined will be described, but three or more layers 110 may be selectively combined. In such a case, when the composition request is made, the layer 110 to be composed (notifying the composition request) is selected, or only the layer 110 assigned to the electronic pen 200 that has accepted the composition request is composed, or the composition request is made. If any one of the received electronic pens 200 is rejected, it may be prevented from combining.

図11は第2実施例における合成操作の一例を説明するための図解図である。この図11では、第1利用者が第1電子ペン200aを用いて、第2電子ペン200b(第2利用者)に対して合成要求し、これに対して、第2利用者が第2電子ペン200bを用いて合成を承諾する場合についての一例が示される。   FIG. 11 is an illustrative view for explaining an example of the composition operation in the second embodiment. In FIG. 11, the first user makes a composition request to the second electronic pen 200b (second user) using the first electronic pen 200a, and the second user responds to the second electronic pen 200a. An example of accepting composition using the pen 200b is shown.

この第2実施例では、図11に示すように、利用者の操作に応じて、タッチ画面100に表示されるメニュー150には、ペン、消しゴム、線の太さ、色の選択などの機能を設定(選択)するためのボタンに加えて、レイヤー110を合成することを設定(選択)するためのボタン(合成ボタン)がさらに設けられる。図11(A)からも分かるように、第1電子ペン200aを使用する第1利用者に対して表示されるメニュー150には合成を要求する相手(ここでは、第2電子ペン200bまたは第2利用者)が分かるように、合成ボタンには、“ペン2と合成する”の文字列が表示される。なお、この文字列は、ペン管理テーブルまたはレイヤー管理テーブルを参照することにより、合成を要求する相手を検出して表示される。   In the second embodiment, as shown in FIG. 11, the menu 150 displayed on the touch screen 100 has functions such as a pen, an eraser, a line thickness, and a color selection in response to a user operation. In addition to a button for setting (selecting), a button (synthesizing button) for setting (selecting) to combine the layers 110 is further provided. As can be seen from FIG. 11A, the menu 150 displayed for the first user using the first electronic pen 200a is displayed on the other party (in this case, the second electronic pen 200b or the second electronic pen 200b). As understood by the user, a character string “combined with pen 2” is displayed on the composite button. This character string is displayed by detecting a partner who requests composition by referring to the pen management table or the layer management table.

第1電子ペン200aにより合成ボタンがタッチされると、合成要求が第2電子ペン200bの第2利用者に通知される。この第2実施例では、図11(B)に示すようなウインドウ160がディスプレイ22に表示される。なお、ウインドウ160は、ディスプレイ22の任意の位置に表示してよいし、第2利用者が文字等を手書きした際に最後にタッチしたタッチ位置の近傍に表示してもよい。ただし、最後にタッチしたタッチ位置は、第2電子ペン入力データ304cに含まれる最新のタッチ位置データが示すタッチ位置である。   When the composition button is touched with the first electronic pen 200a, a composition request is notified to the second user of the second electronic pen 200b. In the second embodiment, a window 160 as shown in FIG. Note that the window 160 may be displayed at an arbitrary position on the display 22 or may be displayed near the touch position touched last when the second user handwritten a character or the like. However, the touch position touched last is the touch position indicated by the latest touch position data included in the second electronic pen input data 304c.

このウインドウ160には、“ペン1と合成しますか”のメッセージが表示されるとともに、合成することを承諾するためのボタン(“はい”が表示されたボタン)および合成することを拒否するためのボタン(“いいえ”が表示されたボタン)が表示される。   In this window 160, a message “Do you want to compose with pen 1” is displayed, a button for accepting the composition (a button with “Yes” displayed), and rejecting the composition Button (button with “No” displayed).

図11(B)に示すように、第2電子ペン200bにより承諾するためのボタン(承諾ボタン)がタッチされた場合は、第1電子ペン200aは、合成することが承諾されたと判断して、レイヤー110を合成する。つまり、第1レイヤー110aと第2レイヤー110bが合成される。この第1実施例は、合成要求した電子ペン110に割り当てられたレイヤー110と、合成することを承諾した電子ペン200に割り当てられたレイヤー110が、合成要求した電子ペン200に割り当てられたレイヤー110に統合される。したがって、図11(A)および図11(B)に示す例では、第1レイヤー110aと第2レイヤー110bが、一つの第1レイヤー110aに統合される。   As shown in FIG. 11B, when the button for accepting (accepting button) is touched by the second electronic pen 200b, the first electronic pen 200a determines that the composition is accepted, Layer 110 is synthesized. That is, the first layer 110a and the second layer 110b are synthesized. In the first embodiment, the layer 110 assigned to the electronic pen 110 that requested the composition and the layer 110 assigned to the electronic pen 200 that accepted the composition are the layers 110 assigned to the electronic pen 200 that requested the composition. Integrated into. Therefore, in the example shown in FIGS. 11A and 11B, the first layer 110a and the second layer 110b are integrated into one first layer 110a.

ただし、合成要求した電子ペン110に割り当てられたレイヤー110と、合成することを承諾した電子ペン200に割り当てられたレイヤー110が、合成することを承諾した電子ペン200に割り当てられたレイヤー110に統合されるようにしてもよい。   However, the layer 110 assigned to the electronic pen 110 that requested the composition and the layer 110 assigned to the electronic pen 200 that accepted the composition are integrated into the layer 110 assigned to the electronic pen 200 that accepted the composition. You may be made to do.

レイヤー110が合成されると、その後において、合成要求した電子ペン110の電子ペン入力データに従う文字等および合成することを承諾した電子ペン200の電子ペン入力データに従う文字等は、合成されたレイヤー110に描画される。また、合成されたレイヤー110には、第1電子ペン200aおよび第2電子ペン200bのいずれのタッチ入力による指示も反映させる。   When the layer 110 is synthesized, the characters and the like according to the electronic pen input data of the electronic pen 110 requested to be synthesized and the characters and the like according to the electronic pen input data of the electronic pen 200 approved to be synthesized are thereafter combined. Drawn on. Also, the combined layer 110 reflects an instruction by any touch input of the first electronic pen 200a and the second electronic pen 200b.

一方、第2電子ペン200bにより拒否するためのボタン(拒否ボタン)がタッチされると、第1電子ペン200aは、合成することが拒否されたと判断して、レイヤー110を合成する処理をキャンセルする。   On the other hand, when a button (reject button) for rejection is touched by the second electronic pen 200b, the first electronic pen 200a determines that the composition is rejected and cancels the process of compositing the layers 110. .

なお、第2実施例では、ウインドウ160におけるタッチ入力は、合成要求を受けた電子ペン200のみが行うことができ、したがって、合成要求を受けていない電子ペン200で承諾ボタンや拒否ボタンがタッチされた場合には、そのタッチ入力は受け付けないようにされている。   In the second embodiment, the touch input in the window 160 can be performed only by the electronic pen 200 that has received the composition request. Therefore, the accept button or the reject button is touched by the electronic pen 200 that has not received the composition request. In such a case, the touch input is not accepted.

図12は第2実施例におけるタッチ画面100の一例を示す図解図である。ただし、図12に示すタッチ画面100は、図5(A)に示した第1レイヤー110aと図5(B)に示した第2レイヤー110bを合成することにより、図3に示したようなタッチ画面100が表示され、このタッチ画面100において文字等を消去する操作が行われることにより、表示される。   FIG. 12 is an illustrative view showing one example of a touch screen 100 in the second embodiment. However, the touch screen 100 shown in FIG. 12 combines the first layer 110a shown in FIG. 5A and the second layer 110b shown in FIG. The screen 100 is displayed, and the touch screen 100 is displayed by performing an operation of deleting characters and the like.

上述したように、合成されたレイヤー110には、第1電子ペン200aおよび第2電子ペン200bのいずれの入力指示も反映させる。たとえば、第1利用者が第1電子ペン200aを用いてまたは第2利用者が第2電子ペン200bを用いて、消しゴム機能を実行し、タッチ画面100に書いた文字等の一部を消去すると、合成されたレイヤー110に含まれる文字等のうち、消しゴムカーソル120が移動された部分が消去される。したがって、図3に示したようなタッチ画面100において、丸と三角が重なる部分が、第1電子ペン200aや第2電子ペン200bを用いてなぞられると、なぞられた部分の画像が消去される。   As described above, the combined layer 110 reflects any input instruction of the first electronic pen 200a and the second electronic pen 200b. For example, when the first user uses the first electronic pen 200a or the second user uses the second electronic pen 200b to execute the eraser function and erase a part of characters or the like written on the touch screen 100 Of the characters included in the combined layer 110, the part to which the eraser cursor 120 has been moved is deleted. Therefore, in the touch screen 100 as shown in FIG. 3, when a portion where the circle and the triangle overlap is traced using the first electronic pen 200a or the second electronic pen 200b, the image of the traced portion is erased. .

このような合成処理を実行するために、第2実施例では、情報処理プログラムは、さらに、合成プログラムを含む。合成プログラムは、レイヤー110の合成を要求する側の要求プログラムと、レイヤー110の合成を要求される側の被要求プログラムを含む。   In order to execute such synthesis processing, in the second embodiment, the information processing program further includes a synthesis program. The synthesis program includes a request program on the side requesting synthesis of the layer 110 and a requested program on the side requested to synthesize the layer 110.

具体的には、図11(A)に示したようなメニュー150で、電子ペン200を用いて合成することが選択されると、要求プログラムは、合成する他のレイヤー110が割り当てられた他の電子ペン200に対して合成要求を通知する。つまり、図11(B)に示したようなウインドウ160がディスプレイ22に表示される。また、要求プログラムは、合成要求した他の電子ペン200から承諾することが通知されると、当該電子ペン200に割り当てられたレイヤー110と、合成要求を承諾した他の電子ペンに割り当てられた電子ペン200に割り当てられたレイヤー110を合成する。ただし、要求プログラムは、合成要求した他の電子ペン200から拒否することが通知されると、レイヤー110の合成要求をキャンセルする。また、レイヤー110が合成されると、要求プログラムは、合成を承諾した電子ペン200に割り当てられていたレイヤー110をVRAM18bから消去する。   Specifically, when the menu 150 as shown in FIG. 11A is selected to be combined using the electronic pen 200, the request program displays another layer 110 to which another layer 110 to be combined is assigned. The composition request is notified to the electronic pen 200. That is, a window 160 as shown in FIG. 11B is displayed on the display 22. When the request program is notified of acceptance from another electronic pen 200 that requested the composition, the layer 110 assigned to the electronic pen 200 and the electronic assigned to the other electronic pen that accepted the composition request. The layer 110 assigned to the pen 200 is synthesized. However, when the request program is notified of rejection from the other electronic pen 200 that requested the composition, the request program cancels the composition request of the layer 110. When the layer 110 is combined, the request program deletes the layer 110 assigned to the electronic pen 200 that has accepted the combination from the VRAM 18b.

また、被要求プログラムは、合成要求に対して、他の電子ペン200のタッチ入力受け付け、承諾(はい)または拒否(いいえ)を合成要求した電子ペン200に通知する。   Further, in response to the composition request, the requested program notifies the electronic pen 200 that requested the composition to accept the touch input of another electronic pen 200 and accept (Yes) or reject (No).

なお、ここでは、合成要求を受けた他の電子ペン200の利用者が承諾または拒否することを前提として説明してあるが、当該利用者が承諾または拒否を選択しない場合には、合成要求してから所定時間(たとえば、60秒)を経過した後に、合成要求をキャンセルするようにしてある。ただし、所定時間を経過しても、他の電子ペン200から何ら通知が無い場合には、合成を実行(強制実行)するようにしてもよい。   Here, the description has been made on the assumption that the user of the other electronic pen 200 that has received the composition request accepts or rejects, but if the user does not select accept or reject, a composition request is requested. The composition request is canceled after a predetermined time (for example, 60 seconds) has elapsed. However, if there is no notification from the other electronic pen 200 even after the predetermined time has elapsed, the composition may be executed (forced execution).

図13(A)は第2実施例のペン管理テーブルの一例を示す図解図である。図13(B)は第2実施例のレイヤー管理テーブルの一例を示す図解図である。上記のようなレイヤー110の合成は、厳密には、ペン管理テーブルおよびレイヤー管理テーブルを用いて行われる。また、図13(A)に示すペン管理テーブルおよび図13(B)に示すレイヤー管理テーブルは、図11(A)および図11(B)を用いて第1レイヤー110aと第2実レイヤー110bが合成された場合の例を示す。   FIG. 13A is an illustrative view showing one example of a pen management table of the second embodiment. FIG. 13B is an illustrative view showing one example of a layer management table of the second embodiment. Strictly speaking, the composition of the layers 110 as described above is performed using a pen management table and a layer management table. In addition, the pen management table shown in FIG. 13A and the layer management table shown in FIG. 13B have the first layer 110a and the second actual layer 110b shown in FIG. 11A and FIG. An example when synthesized is shown.

図13(A)に示すように、第2実施例のペン管理テーブルでは、ペンIDに対応して、編集可能なレイヤーIDおよび合成されたペンIDが記載される。つまり、図8(A)に示したペン管理テーブルに合成されたペンIDの項目が追加される。ただし、合成されるのはレイヤー110であるため、合成されたペンIDとは、ペンIDの項目に記載されたペンIDを有する電子ペン200に割り当てられていたペンIDと合成された他のレイヤー110に対応付けられていた他の電子ペン200のペンIDを意味する。   As shown in FIG. 13A, in the pen management table of the second embodiment, an editable layer ID and a combined pen ID are described corresponding to the pen ID. That is, the item of the pen ID synthesized is added to the pen management table shown in FIG. However, since the layer 110 is combined, the combined pen ID is the other layer combined with the pen ID assigned to the electronic pen 200 having the pen ID described in the pen ID item. This means the pen ID of another electronic pen 200 associated with 110.

上述したように、第1レイヤー110aおよび第2レイヤー110bが合成され、第2レイヤー110bが第1レイヤー110aに統合される。また、第2レイヤー110bは消去される。   As described above, the first layer 110a and the second layer 110b are combined, and the second layer 110b is integrated with the first layer 110a. Also, the second layer 110b is erased.

したがって、図13(A)に示すペン管理テーブルでは、編集可能なレイヤーIDとして、ペンID“P1”および“P2”に対応して“L1”が記載されている。また、合成されたペンIDとして、ペンID“P1”に対応してペンID“P2”が記載され、ペンID“P2”に対応してペンID“P1”が記載される。   Therefore, in the pen management table shown in FIG. 13A, “L1” is described as the editable layer ID corresponding to the pen IDs “P1” and “P2”. As the combined pen ID, a pen ID “P2” is described corresponding to the pen ID “P1”, and a pen ID “P1” is described corresponding to the pen ID “P2”.

図示は省略するが、レイヤー110が合成される前においては、合成されるペンIDの欄には何も記載されない。   Although illustration is omitted, before the layer 110 is combined, nothing is described in the column of the pen ID to be combined.

また、図13(B)に示すように、レイヤー管理テーブルでは、レイヤーID“L1”に対応して、編集可能なペンIDとしてペンID“P1”および“P2”が記載される。また、当然のことではあるが、レイヤー110は一つであるため、表示順として“1”が記載される。   Also, as shown in FIG. 13B, in the layer management table, pen IDs “P1” and “P2” are described as pen IDs that can be edited corresponding to the layer ID “L1”. As a matter of course, since there is one layer 110, “1” is described as the display order.

第2実施例においても、ペン管理テーブル(レイヤー管理テーブルでもよい。)に従って文字等が描画および消去される。したがって、上述したように、二つのレイヤー110が合成された場合には、図13(A)に示すペン管理テーブル(図13(B)に示すレイヤー管理テーブルでもよい。)を参照して、GPU18aは、CPU12の指示の下、第1電子ペン入力データ304bに従う文字等を第1レイヤー110aに描画するとともに、第2電子ペン入力データ304cに従う文字等を第1レイヤー110aに描画する。   Also in the second embodiment, characters and the like are drawn and erased according to the pen management table (or a layer management table). Therefore, as described above, when the two layers 110 are combined, the GPU 18a is referred to with reference to the pen management table shown in FIG. 13A (or the layer management table shown in FIG. 13B). Under the instruction of the CPU 12, the characters and the like according to the first electronic pen input data 304b are drawn on the first layer 110a, and the characters and the like according to the second electronic pen input data 304c are drawn on the first layer 110a.

なお、この第2実施例では、第1電子ペン200aの利用者が第2電子ペン200bの利用者に合成要求する場合について説明したが、第2電子ペン200bの利用者が第1電子ペン200aの利用者に合成要求する場合も同様である。   In the second embodiment, the case where the user of the first electronic pen 200a makes a composition request to the user of the second electronic pen 200b has been described. However, the user of the second electronic pen 200b receives the first electronic pen 200a. The same applies to the case of requesting the composition to the user.

以下、フロー図を用いて、第2実施例におけるCPU12のペン入力処理について説明するが、第1実施例で説明したペン入力処理と同じ処理については同じ参照符号を付し、重複した内容については、説明を省略するまたは簡単に説明することにする。なお、ペン登録処理は、第1実施例と同じであるため、重複した説明は省略する。   Hereinafter, the pen input process of the CPU 12 in the second embodiment will be described with reference to the flowchart. The same processes as the pen input process described in the first embodiment are denoted by the same reference numerals, and the duplicated contents are not described. The description will be omitted or briefly described. Note that the pen registration process is the same as that in the first embodiment, and a duplicate description is omitted.

図14および図15は第2実施例におけるCPU12のペン入力処理の一例を示すフロー図である。   14 and 15 are flowcharts showing an example of pen input processing of the CPU 12 in the second embodiment.

図14に示すように、第2実施例では、CPU12は、ステップS31で、タッチ入力が有るかどうかを判断する。ステップS31で“NO”であれば、同じステップS31に戻る。一方、ステップS31で“YES”であれば、ステップS33で、タッチ入力がメニュー選択かどうかを判断する。ステップS33で“YES”であれば、ステップS51で、合成することが選択されたかどうかを判断する。   As shown in FIG. 14, in the second embodiment, the CPU 12 determines whether or not there is a touch input in step S31. If “NO” in the step S31, the process returns to the same step S31. On the other hand, if “YES” in the step S31, it is determined whether or not the touch input is a menu selection in a step S33. If “YES” in the step S33, it is determined whether or not combining is selected in a step S51.

ステップS51で“NO”であれば、ステップS35で、選択された機能を設定したり、選択されたアクションを実行したりして、ステップS31に戻る。一方、ステップS51で“YES”であれば、つまり合成することが選択されれば、ステップS53で、他の電子ペン200(ここでは、第1電子ペン200aまたは第2電子ペン200b)に合成要求を通知し、ステップS55で、ウインドウ160を表示し、そして、ステップS57で、タイマをリセットおよびスタートしてから、ステップS31に戻る。   If “NO” in the step S51, the selected function is set or the selected action is executed in a step S35, and the process returns to the step S31. On the other hand, if “YES” in the step S51, that is, if the composition is selected, a composition request is made to another electronic pen 200 (here, the first electronic pen 200a or the second electronic pen 200b) in a step S53. In step S55, the window 160 is displayed. In step S57, the timer is reset and started, and then the process returns to step S31.

ただし、ステップS53では、CPU12は、実際には、他の電子ペン200に合成要求を通知するのでは無く、当該他の電子ペン200について実行されているペン入力処理に対して合成要求を通知する。また、ステップS55では、CPU12の指示の下、GPU18aは、図11(B)に示したようなウインドウ160の画像を生成し、ディスプレイ22に表示する。さらに、タイマは、合成要求された他の電子ペン200からの応答(承諾または拒否の通知)を待機する時間をカウントするためのタイマであり、RAM14に設けられる。ただし、タイマは、ペン入力処理(電子ペン200)毎に設けられる。   However, in step S53, the CPU 12 does not actually notify the other electronic pen 200 of the composition request, but notifies the composition request to the pen input process executed for the other electronic pen 200. . In step S55, under the instruction of the CPU 12, the GPU 18a generates an image of the window 160 as shown in FIG. Further, the timer is a timer for counting a time for waiting for a response (a notification of acceptance or rejection) from another electronic pen 200 requested to be combined, and is provided in the RAM 14. However, a timer is provided for each pen input process (electronic pen 200).

また、ステップS33で“NO”であれば、つまりメニュー選択でなければ、ステップS59で、他の電子ペン200からの合成要求があるかどうかを判断する。ステップS59で“NO”であれば、つまり合成要求が無い場合には、図15に示すステップS69に進む。   If “NO” in the step S33, that is, if the menu is not selected, it is determined whether or not there is a composition request from another electronic pen 200 in a step S59. If “NO” in the step S59, that is, if there is no synthesis request, the process proceeds to a step S69 shown in FIG.

一方、ステップS59で“YES”であれば、つまり他の電子ペン200からの合成要求がある場合は、ステップS61で、合成要求に対して、承諾または拒否が選択されたかどうかを判断する。ここでは、当該電子ペン200を用いて、ウインドウ160における承諾ボタンまたは拒否ボタンがタッチされたかどうかを判断する。ただし、このウインドウ160は、他の電子ペン200におけるペン入力処理によって表示される。   On the other hand, if “YES” in the step S59, that is, if there is a composition request from another electronic pen 200, it is determined whether or not acceptance or rejection is selected for the composition request in a step S61. Here, the electronic pen 200 is used to determine whether or not the accept button or the reject button in the window 160 has been touched. However, this window 160 is displayed by pen input processing in another electronic pen 200.

ステップS61で“NO”であれば、つまり合成要求に対して、承諾または拒否が選択されていなければ、図16に示すステップS35に進む。一方、ステップS61で“YES”であれば、つまり合成要求に対して、承諾または拒否が選択されれば、ステップS61で、承諾するかどうかを判断する。ここでは、CPU12は、タッチされたボタンが承諾ボタンかどうかを判断する。   If “NO” in the step S61, that is, if acceptance or rejection is not selected for the synthesis request, the process proceeds to a step S35 shown in FIG. On the other hand, if “YES” in the step S61, that is, if acceptance or rejection is selected with respect to the synthesis request, it is determined whether or not to accept in a step S61. Here, the CPU 12 determines whether or not the touched button is an acceptance button.

ステップS63で“YES”であれば、つまり承諾する場合には、ステップS65で、合成要求してきた他の電子ペン200に承諾を通知して、ステップS31に戻る。一方、ステップS63で“NO”であれば、つまり拒否する場合には、ステップS67で、合成要求してきた他の電子ペン200に拒否を通知して、ステップS31に戻る。ただし、ステップS65およびS67の処理は、実際には、他の電子ペン200に通知するのでは無く、他の電子ペン200について実行されているペン入力処理に対して、承諾または拒否を返す。   If “YES” in the step S63, that is, if the consent is accepted, the consent is notified to the other electronic pen 200 that has requested the composition in a step S65, and the process returns to the step S31. On the other hand, if “NO” in the step S63, that is, if the rejection is made, the rejection is notified to the other electronic pen 200 that has requested the composition in a step S67, and the process returns to the step S31. However, the processes in steps S65 and S67 do not actually notify the other electronic pen 200, but return acceptance or rejection to the pen input process executed for the other electronic pen 200.

図15に示すステップS69では、合成要求中かどうかを判断する。ここでは、CPU12は、上記のステップS53において、合成要求を通知し、これをキャンセル(後述するステップS73)していないかどうかを判断する。具体的には、CPU12は、合成要求したときに表示したウインドウ160を閉じていないかどうかを判断する。   In step S69 shown in FIG. 15, it is determined whether a composition request is being made. Here, the CPU 12 notifies the composition request in step S53 described above, and determines whether or not it has been canceled (step S73 described later). Specifically, the CPU 12 determines whether or not the window 160 displayed when the composition request is made is not closed.

ステップS69で“NO”であれば、つまり合成要求中であれば、ステップS37に進む。なお、図16に示すステップS37〜S45の処理は第1実施例のペン入力処理と同じであるため、重複した説明は省略する。   If “NO” in the step S69, that is, if a composition request is being made, the process proceeds to a step S37. Note that the processing in steps S37 to S45 shown in FIG. 16 is the same as the pen input processing in the first embodiment, and thus a duplicate description is omitted.

一方、ステップS69で“YES”であれば、つまり合成要求中であれば、ステップS71で、合成要求に対して、他の電子ペン200から通知があるかどうかを判断する。ステップS71で“NO”であれば、つまり合成要求に対して、他の電子ペンから通知が無ければ、ステップS73で、所定時間を経過したかどうかを判断する。ここでは、CPU12は、タイマのカウント値が所定時間(たとえば、60秒)を経過したかどうかを判断する。   On the other hand, if “YES” in the step S69, that is, if a composition request is being made, it is determined whether or not there is a notification from the other electronic pen 200 in response to the composition request in a step S71. If “NO” in the step S71, that is, if there is no notification from the other electronic pen in response to the composition request, it is determined whether or not a predetermined time has elapsed in a step S73. Here, the CPU 12 determines whether or not the count value of the timer has passed a predetermined time (for example, 60 seconds).

ステップS73で“NO”であれば、つまり所定時間を経過していなければ、ステップS31に戻る。一方、ステップS73で“YES”であれば、つまり所定時間を経過していれば、ステップS75で、合成要求をキャンセルして、図14に示したステップS31に戻る。ただし、ステップS75では、CPU12は、合成要求したときに表示したウインドウ160を閉じる。   If “NO” in the step S73, that is, if the predetermined time has not elapsed, the process returns to the step S31. On the other hand, if “YES” in the step S73, that is, if a predetermined time has elapsed, the combining request is canceled in a step S75, and the process returns to the step S31 shown in FIG. However, in step S75, the CPU 12 closes the window 160 displayed when the composition request is made.

また、ステップS71で“YES”であれば、つまり合成要求に対して通知があれば、ステップS77で、合成要求に対して、承諾されたかどうかを判断する。つまり、CPU12は、承諾の通知を受けたかどうかを判断する。ステップS77で“NO”であれば、つまり拒否の通知を受ければ、ステップS75に進む。一方、ステップS77で“YES”であれば、つまり承諾の通知を受ければ、ステップS79で、レイヤー110を合成する。ここでは、CPU12の指示の下、GPU18aが当該電子ペン110に割り当てられたレイヤー110を残して、合成することを承諾した他の電子ペン110に割り当てられたレイヤー110をVRAM18bから消去する。   If “YES” in the step S71, that is, if there is a notification with respect to the combining request, it is determined whether or not the combining request has been accepted in a step S77. That is, the CPU 12 determines whether a notification of consent has been received. If “NO” in the step S77, that is, if a rejection notice is received, the process proceeds to a step S75. On the other hand, if “YES” in the step S77, that is, if a notice of acceptance is received, the layer 110 is synthesized in a step S79. Here, under the instruction of the CPU 12, the GPU 18a leaves the layer 110 assigned to the electronic pen 110, and erases the layer 110 assigned to the other electronic pen 110 that has accepted the composition from the VRAM 18b.

続くステップS81では、レイヤー管理テーブルを更新する。つまり、CPU12は、合成することを承諾した他の電子ペン200に割り当てられたレイヤーID、編集可能なペンIDおよび表示順を消去して、合成要求した電子ペン200に割り当てられたレイヤー110のレイヤーIDに対応する編集可能なペンIDの当該他の電子ペン200のペンIDを追記する。   In a succeeding step S81, the layer management table is updated. That is, the CPU 12 erases the layer ID, editable pen ID, and display order assigned to the other electronic pen 200 that has accepted the composition, and the layer 110 of the layer 110 assigned to the electronic pen 200 that requested the composition. The pen ID of the other electronic pen 200 of the editable pen ID corresponding to the ID is added.

そして、ステップS83で、ペン管理テーブルを更新して、ステップS31に戻る。ステップS83では、CPU12は、合成することを承諾した他の電子ペン200のペンIDに対応する編集可能なレイヤーIDの欄に記載されたレイヤーIDを、合成要求した電子ペン200に割り当てられたレイヤーIDに書き換える。また、CPU12は、合成要求した電子ペン200のペンIDに対応する合成されたペンIDの欄に、合成することを承諾した他の電子ペン200のペンIDを記載する。さらに、CPU12は、合成することを承諾した他の電子ペン200のペンIDに対応する合成されたペンIDの欄に、合成要求した電子ペン200のペンIDを記載する。   In step S83, the pen management table is updated, and the process returns to step S31. In step S83, the CPU 12 assigns the layer ID described in the editable layer ID column corresponding to the pen ID of the other electronic pen 200 that has accepted the composition to the layer assigned to the electronic pen 200 that requested the composition. Rewrite to ID. In addition, the CPU 12 writes the pen ID of another electronic pen 200 that has been accepted to be combined in the column of the combined pen ID corresponding to the pen ID of the electronic pen 200 requested to be combined. Further, the CPU 12 writes the pen ID of the electronic pen 200 requested to be combined in the column of the combined pen ID corresponding to the pen ID of another electronic pen 200 that has accepted the combining.

この第2実施例によれば、二つのレイヤー110を合成するので、合成した後では、合成前の二つのレイヤー110のそれぞれに割り当てられていた電子ペン200を使用する利用者が協力して文字等を編集することができる。   According to the second embodiment, since the two layers 110 are synthesized, after the synthesis, the user who uses the electronic pen 200 assigned to each of the two layers 110 before the synthesis cooperates with the characters. Etc. can be edited.

なお、第2実施例では、二つのレイヤー110を合成した後では、二人の利用者が一つのレイヤー110において文字等を編集するため、他の利用者が手書きした文字等を削除したり、訂正したりすることもあるが、合意の上で二つのレイヤー110が合成されるため、他の利用者が手書きした文字等を誤って編集したことにはならないと考えられる。   In the second embodiment, after two layers 110 are combined, two users edit characters and the like in one layer 110, so that characters handwritten by other users can be deleted, Although it may be corrected, since the two layers 110 are synthesized upon agreement, it is considered that the characters handwritten by other users are not mistakenly edited.

また、第2実施例では、二つのレイヤー110を合成するようにしたが、上述したように、三つ以上のレイヤー110を合成するようにしてもよい。   In the second embodiment, two layers 110 are synthesized. However, as described above, three or more layers 110 may be synthesized.

さらに、第2実施例では、複数のレイヤー110を合成する場合について説明したが、合成したレイヤー110をさらに分離するようにしてもよい。たとえば、二つのレイヤー110が合成されていた場合には、レイヤー110を分離することが決定されると、他の電子ペン200についてのレイヤー110が生成され、ペン管理テーブルと、レイヤー管理テーブルとが合成前の状態に戻される(更新される)。   Furthermore, in the second embodiment, the case where a plurality of layers 110 are synthesized has been described, but the synthesized layers 110 may be further separated. For example, when two layers 110 are combined, if it is determined that the layers 110 are to be separated, a layer 110 for another electronic pen 200 is generated, and a pen management table and a layer management table are generated. The state before synthesis is restored (updated).

さらにまた、第2実施例によれば、複数のレイヤー110が合成されると、合成前のレイヤー110が割り当てられていた電子ペン200のそれぞれに、合成後のレイヤー110を編集可能なレイヤー110として割り当てるようにしたが、いずれか一本の電子ペン200にのみ、合成されたレイヤー110を割り当てるようにしてもよい。かかる場合には、合成されたレイヤー110が対応付けられた電子ペン20を使用する一人の利用者だけが文字等を編集することができるので、合成されたレイヤー110に関係しない他の利用者が手書きした文字等を消去または編集する等の誤操作を防止できる。
[第3実施例]
第3実施例は、上述した複数の電子ペン200(200a、200b)とは異なる権限を有する電子ペン200mを設けるようにした以外は、第1実施例および第2実施例の情報処理装置10と同じであるため、異なる内容について説明し、重複した説明については省略することにする。
Furthermore, according to the second embodiment, when a plurality of layers 110 are combined, each of the electronic pens 200 to which the pre-combination layer 110 has been assigned is used as an editable layer 110. However, the combined layer 110 may be assigned to only one of the electronic pens 200. In such a case, since only one user who uses the electronic pen 20 associated with the combined layer 110 can edit characters, other users who are not related to the combined layer 110 can It is possible to prevent erroneous operations such as erasing or editing handwritten characters.
[Third embodiment]
The third embodiment is the same as the information processing apparatus 10 of the first and second embodiments except that an electronic pen 200m having authority different from that of the plurality of electronic pens 200 (200a, 200b) described above is provided. Since they are the same, different contents will be described, and redundant descriptions will be omitted.

簡単に説明すると、第1実施例で示した複数の電子ペン(以下、説明の都合上、「通常電子ペン」と呼ぶ。)200(第1通常電子ペン200a、第2通常電子ペン200b)は、対応づけられた一つのレイヤー110に対して文字等を描画するなどの編集を可能にしてあるが、第3実施例の電子ペン(以下、「管理用電子ペン」と呼ぶ。)200mは、自身に割り当てられたレイヤー110のみならず、通常電子ペン200に割り当てられたレイヤー110に対しても編集可能に設定されている。つまり、管理用電子ペン200mは、すべてのレイヤー110に対して個別に編集することができる。したがって、この管理用電子ペン200mを用いた利用者は、編集するレイヤー110を自由に選択できるとともに、各レイヤー110を自由に合成することができる。   Briefly, a plurality of electronic pens (hereinafter referred to as “normal electronic pens” for convenience of description) 200 (first normal electronic pen 200a and second normal electronic pen 200b) shown in the first embodiment are as follows. The electronic pen (hereinafter referred to as “management electronic pen”) 200m according to the third embodiment is capable of editing such as drawing characters on the associated layer 110. Not only the layer 110 assigned to itself but also the layer 110 assigned to the electronic pen 200 is set to be editable. That is, the management electronic pen 200m can individually edit all the layers 110. Therefore, the user using the management electronic pen 200m can freely select the layers 110 to be edited and can freely combine the layers 110.

たとえば、第1利用者および第2利用者以外の利用者(以下、「管理者」という。)は、自分以外の利用者が手書きした文字等を編集したい場合、管理用電子ペン200mを用いて編集したいレイヤー110を選択して、選択したレイヤー110に描画された文字等を編集することができる。   For example, when a user other than the first user and the second user (hereinafter referred to as “manager”) wants to edit a character handwritten by a user other than himself / herself, the electronic pen 200m for management is used. The layer 110 to be edited can be selected, and characters drawn on the selected layer 110 can be edited.

このため、管理用電子ペン200mについては、図17に示すようなメニュー150mが表示される。つまり、通常電子ペン200に割り当てられたレイヤー110について編集することを選択する機能についてのボタンが設けられる。たとえば、通常電子ペン200aおよび通常電子ペン200bが設けられるため、ペン1の管理ボタンおよびペン2の管理ボタンが設けられる。   Therefore, a menu 150m as shown in FIG. 17 is displayed for the management electronic pen 200m. That is, a button for a function of selecting to edit the layer 110 normally assigned to the electronic pen 200 is provided. For example, since the normal electronic pen 200a and the normal electronic pen 200b are provided, a management button for the pen 1 and a management button for the pen 2 are provided.

なお、通常電子ペン200が三本以上であれば、さらに、三本目以降の通常電子ペン200に割り当てられたレイヤー110において編集するためのボタンがさらに設けられる。   If there are three or more normal electronic pens 200, a button for editing in the layer 110 assigned to the third and subsequent normal electronic pens 200 is further provided.

ペン1の管理ボタンが選択されると、第1通常電子ペン200aについてのメニュー150(図11(A))がサブメニューとしてさらに表示される。また、ペン2の管理ボタンが選択されると、第2通常電子ペン200bについてのメニューがサブメニューとしてさらに表示される。ただし、第2通常電子ペン200bについてのサブメニューは、図11(A)のメニュー150において、ペン2と合成するボタンを、ペン1と合成するボタンに代えたメニューである。   When the management button of the pen 1 is selected, a menu 150 (FIG. 11A) for the first normal electronic pen 200a is further displayed as a submenu. When the management button of the pen 2 is selected, a menu for the second normal electronic pen 200b is further displayed as a submenu. However, the submenu for the second normal electronic pen 200b is a menu in which the button to be combined with the pen 2 is replaced with the button to be combined with the pen 1 in the menu 150 of FIG.

したがって、管理用電子ペン200mで、通常電子ペン200に割り当てられたレイヤー110において編集することが選択された場合、レイヤー110が変更されるまで、管理用電子ペン200mによってタッチ入力されると、当該タッチ入力は、選択されたレイヤー110に反映される。したがって、第3実施例では、管理用電子ペン200mについては、編集中のレイヤー110を識別するための情報(編集中レイヤー情報)が、データ記憶領域304にさらに記憶される。ここでは、管理用電子ペン200mに割り当てられレイヤー110m(図示せず)、第1通常電子ペン200aに割り当てられたレイヤー110aまたは第2通常電子ペン200bに割り当てられたレイヤー110bのレイヤーIDが編集中レイヤー情報として記憶される。そして、編集するレイヤー110が変更されると、編集中レイヤー情報が更新される。ただし、管理用電子ペン200mに割り当てられたレイヤー110mのレイヤーIDは、“L0”である(図18(A)参照)。   Therefore, when editing is selected in the layer 110 assigned to the normal electronic pen 200 with the management electronic pen 200m, when the touch input is performed by the management electronic pen 200m until the layer 110 is changed, The touch input is reflected on the selected layer 110. Therefore, in the third embodiment, for the management electronic pen 200m, information for identifying the layer 110 being edited (layer information being edited) is further stored in the data storage area 304. Here, the layer ID of the layer 110m (not shown) assigned to the management electronic pen 200m, the layer 110a assigned to the first normal electronic pen 200a, or the layer 110b assigned to the second normal electronic pen 200b is being edited. Stored as layer information. When the layer 110 to be edited is changed, the editing layer information is updated. However, the layer ID of the layer 110m assigned to the management electronic pen 200m is “L0” (see FIG. 18A).

なお、管理用電子ペン200mを用いて各レイヤー110において編集する方法については、第1実施例で説明した、通常電子ペン200a、200bのそれぞれを用いて編集する方法と同じであるため、重複した説明は省略する。   The method of editing in each layer 110 using the management electronic pen 200m is the same as the method of editing using each of the normal electronic pens 200a and 200b described in the first embodiment. Description is omitted.

ただし、レイヤー110mは、通常電子ペン200と同様に、管理用電子ペン200mがペン登録処理によって情報処理装置10(RAM14)に登録されるときに、CPU12の指示の下、GPU18aによってVRAM18bに生成される。また、このとき、ペン管理テーブルおよびレイヤー管理テーブルに管理用電子ペン200mの情報が登録される。ただし、管理用電子ペン200mの識別情報(ペンID)は“PM”である。   However, like the normal electronic pen 200, the layer 110m is generated in the VRAM 18b by the GPU 18a under the instruction of the CPU 12 when the management electronic pen 200m is registered in the information processing apparatus 10 (RAM 14) by the pen registration process. The At this time, information on the management electronic pen 200m is registered in the pen management table and the layer management table. However, the identification information (pen ID) of the management electronic pen 200m is “PM”.

図18(A)は第3実施例のペン管理テーブルの一例を示す図解図であり、図18(B)は第3実施例のレイヤー管理テーブルの一例を示す図解図である。ただし、図18(A)および図18(B)は、レイヤー110が合成されていない状態におけるペン管理テーブルおよびレイヤー管理テーブルである。   FIG. 18A is an illustrative view showing an example of a pen management table of the third embodiment, and FIG. 18B is an illustrative view showing an example of a layer management table of the third embodiment. However, FIGS. 18A and 18B are a pen management table and a layer management table in a state where the layer 110 is not combined.

図16(A)に示すように、第3実施例のペン管理テーブルでは、ペンIDに対応して、編集可能なレイヤーID、合成されたペンIDおよび権限が記載される。つまり、第3実施例のペン管理テーブルは、第2実施例のペン管理テーブルにおいて、権限の情報が追加される。これは、通常電子ペン200と管理用電子ペン200mを区別するために設けられる。この第3実施例では、通常電子ペン200のペンIDに対応して、権限の欄に“一般”の情報が記載され、管理用電子ペン200のペンIDに対応して、権限の欄に“管理”の情報が記載される。   As shown in FIG. 16A, in the pen management table of the third embodiment, editable layer IDs, synthesized pen IDs, and authorities are described corresponding to the pen IDs. In other words, authority information is added to the pen management table of the third embodiment in the pen management table of the second embodiment. This is usually provided to distinguish the electronic pen 200 from the management electronic pen 200m. In the third embodiment, “general” information is written in the authority column corresponding to the pen ID of the normal electronic pen 200, and “authority” column is written in the authority column corresponding to the pen ID of the management electronic pen 200. "Management" information is described.

したがって、第3実施例では、情報処理装置10に通常電子ペン200または管理用電子ペン200mの識別情報が予め登録されており、登録された識別情報と通常電子ペン200および管理用電子ペン200mから送信された識別情報とが比較されて、通常電子ペン200または管理用電子ペン200mが識別される。   Therefore, in the third embodiment, the identification information of the normal electronic pen 200 or the management electronic pen 200m is registered in the information processing apparatus 10 in advance, and the registered identification information and the normal electronic pen 200 and the management electronic pen 200m are used. The transmitted identification information is compared to identify the normal electronic pen 200 or the management electronic pen 200m.

また、図18(A)からも分かるように、管理用電子ペン200は、すべてのレイヤー110について編集可能であるため、編集可能なレイヤーIDの欄に、“L0”、“L1”、“L2”が記載される。   Further, as can be seen from FIG. 18A, since the management electronic pen 200 can edit all the layers 110, “L0”, “L1”, “L2” are displayed in the editable layer ID column. "Is written.

なお、通常電子ペン200と管理用電子ペン200mが識別されて、編集可能なレイヤーIDが記載されるため、権限の情報はペン管理テーブルに記載されなくてもよい。   Since the normal electronic pen 200 and the management electronic pen 200m are identified and the editable layer ID is described, the authority information may not be described in the pen management table.

同様に、管理用電子ペン200は、すべてのレイヤー110について編集可能であるため、図18(B)に示すレイヤー管理テーブルでは、レイヤーID“L1”に対する編集可能なペンIDとして、“P1”および“PM”が記載され、レイヤーID“L2”に対する編集可能なペンIDとして、“P2”および“PM”が記載される。ただし、レイヤーID“L0”に対しては、編集可能なペンIDとして、“PM”のみが記載される。   Similarly, since the management electronic pen 200 can be edited for all the layers 110, in the layer management table shown in FIG. 18B, “P1” and “P1” are set as editable pen IDs for the layer ID “L1”. “PM” is described, and “P2” and “PM” are described as editable pen IDs for the layer ID “L2”. However, for the layer ID “L0”, only “PM” is described as an editable pen ID.

第3実施例においても、ペン管理テーブル(レイヤー管理テーブルでもよい。)に従って文字等が描画および消去される。したがって、CPU12の指示の下、GPU18aは、ペン管理テーブル(レイヤー管理テーブルでもよい。)を参照して、第1電子ペン入力データ304bに従う文字等を割り当てられたレイヤー110に描画するとともに、第2電子ペン入力データ304cに従う文字等を割り当てられたレイヤー110に描画する。   Also in the third embodiment, characters and the like are drawn and erased according to the pen management table (or a layer management table). Therefore, under the instruction of the CPU 12, the GPU 18a refers to the pen management table (may be a layer management table) and draws characters or the like according to the first electronic pen input data 304b on the assigned layer 110, and the second Characters or the like according to the electronic pen input data 304c are drawn on the assigned layer 110.

ただし、管理用電子ペン200mは、すべてのレイヤー110において編集可能であるため、ペン管理テーブル(またはレイヤー管理テーブル)に従わないで文字等が描画および消去される。このため、管理用電子ペン200mの入力データ(管理用電子ペン入力データ)は、データ記憶領域304に記憶される際、点や線に対応するタッチ座標データに、編集中のレイヤー110のレイヤーIDが付加される。このレイヤーIDが示すレイヤー110に管理用電子ペン200mを用いたタッチ入力が反映される。   However, since the management electronic pen 200m can be edited in all the layers 110, characters and the like are drawn and deleted without following the pen management table (or the layer management table). For this reason, when the input data of the management electronic pen 200m (management electronic pen input data) is stored in the data storage area 304, the touch coordinate data corresponding to the point or line is added to the layer ID of the layer 110 being edited. Is added. Touch input using the management electronic pen 200m is reflected in the layer 110 indicated by the layer ID.

また、上述したように、この第3実施例では、管理用電子ペン200mは、第1レイヤー110aと第2レイヤー110bを合成することができる。ただし、管理権限を有している管理用電子ペン200mを用いて、通常電子ペン200に割り当てられたレイヤー110を合成することが選択された場合には、合成されることについての承諾を各通常電子ペン200の利用者から得なくても良いように設定されている。   Further, as described above, in the third embodiment, the management electronic pen 200m can synthesize the first layer 110a and the second layer 110b. However, when it is selected that the layer 110 assigned to the normal electronic pen 200 is selected using the management electronic pen 200m having the management authority, each normal approval is given for the combination. It is set so as not to be obtained from the user of the electronic pen 200.

したがって、第3実施例では、合成プログラムは、第2実施例で説明した、通常電子ペン200を用いた合成についてのプログラム(要求プログラムおよび被要求プログラム)の他に、管理電子ペン200mを用いた合成についてのプログラム(以下、「管理用合成プログラム」という。)が設けられる。この管理用合成プログラムは、管理用電子ペン200mを用いて、複数のレイヤー110を合成することが指示されると、直ちに、当該複数のレイヤー110が合成される。ただし、第3実施例では、合成される複数のレイヤー110は、通常電子ペン200に割り当てられたレイヤー110である。   Therefore, in the third embodiment, the management electronic pen 200m is used as the synthesis program in addition to the program (request program and requested program) for the synthesis using the normal electronic pen 200 described in the second embodiment. A program for synthesis (hereinafter referred to as “management synthesis program”) is provided. When this management composition program is instructed to compose a plurality of layers 110 using the management electronic pen 200m, the plurality of layers 110 are synthesized immediately. However, in the third embodiment, the plurality of layers 110 to be combined are the layers 110 assigned to the normal electronic pen 200.

以下、フロー図を用いて、第3実施例におけるCPU12の管理用ペン入力処理について説明するが、第1実施例または第2実施例で示したペン入力処理と同様の処理については、簡単に説明することにする。   Hereinafter, the management pen input processing of the CPU 12 in the third embodiment will be described with reference to the flowchart, but the same processing as the pen input processing shown in the first embodiment or the second embodiment will be briefly described. I will do it.

なお、第3実施例のペン登録処理は、第1実施例で説明したおよびペン入力処理と同様であるため、図示および重複した説明は省略する。第3実施例のペン登録処理では、新規の電子ペン200が検出されると、当該新規の電子ペン200についての権限が識別され、識別された権限に応じて、ペン管理テーブルおよびレイヤー管理テーブルにペンIDおよびレイヤーIDが登録される点が第1実施例と異なる。   The pen registration process of the third embodiment is the same as that described in the first embodiment and the pen input process. In the pen registration process of the third embodiment, when a new electronic pen 200 is detected, the authority for the new electronic pen 200 is identified, and the pen management table and the layer management table are displayed according to the identified authority. The difference from the first embodiment is that the pen ID and the layer ID are registered.

また、通常電子ペン200のペン入力処理は、第1実施例または第2実施例で示したペン入力処理と同じであるため、重複した説明は省略する。   Further, since the pen input process of the normal electronic pen 200 is the same as the pen input process shown in the first embodiment or the second embodiment, a duplicate description is omitted.

図19および図20は第3実施例におけるCPU12の管理用電子ペン処理の一例を示すフロー図である。   FIGS. 19 and 20 are flowcharts showing an example of the management electronic pen process of the CPU 12 in the third embodiment.

図19に示すように、CPU12は、管理用ペン入力処理を開始すると、ステップS101で、タッチ入力が有るかどうかを判断する。ステップS101で“NO”であれば、そのまま同じステップS101に戻る。一方、ステップS101で“YES”であれば、ステップS103で、メニュー選択かどうかを判断する。具体的には、CPU12は、タッチ入力によって、管理用電子ペン200mのメニュー150mのいずれかの項目(ボタン)が選択されたかどうかを判断する。   As shown in FIG. 19, when starting the management pen input process, the CPU 12 determines whether or not there is a touch input in step S101. If “NO” in the step S101, the process returns to the same step S101 as it is. On the other hand, if “YES” in the step S101, it is determined whether or not the menu is selected in a step S103. Specifically, the CPU 12 determines whether any item (button) of the menu 150m of the management electronic pen 200m is selected by touch input.

ステップS103で“YES”であれば、図20に示すステップS115に進む。一方、ステップS103で“NO”であれば、ステップS105で、手書き入力モードが設定されているかどうかを判断する。ステップS105で“YES”であれば、ステップS107で、選択中のレイヤー110に、管理用電子ペン入力データに従って文字等を描画して、ステップS101に戻る。   If “YES” in the step S103, the process proceeds to a step S115 shown in FIG. On the other hand, if “NO” in the step S103, it is determined whether or not the handwriting input mode is set in a step S105. If “YES” in the step S105, characters and the like are drawn on the selected layer 110 in accordance with the management electronic pen input data in a step S107, and the process returns to the step S101.

ただし、CPU12の指示の下、GPU18aがVRAM18bに設けられたレイヤー110に文字等を描画する。また、編集中のレイヤー110のレイヤーIDが編集中レイヤー情報として記憶され、これに従って、管理用電子ペン200mのタッチ入力によるタッチ座標データにレイヤーIDが付加されるため、編集中のレイヤー110に文字等を描画することができる。後述するステップS111で、文字等を消去する場合についても同様に、タッチ座標データに付加されたレイヤーIDに従って、消去するレイヤー110が判断される。また、編集中のレイヤー110でその他の処理を実行する場合についても同様に、タッチ座標データに付加されたレイヤーIDに従って、その他の処理を実行するレイヤー110が判断される。   However, under the instruction of the CPU 12, the GPU 18a draws characters and the like on the layer 110 provided in the VRAM 18b. Also, the layer ID of the layer 110 being edited is stored as the layer information being edited, and according to this, the layer ID is added to the touch coordinate data by the touch input of the management electronic pen 200m. Etc. can be drawn. Similarly, in the case of deleting characters or the like in step S111 described later, the layer 110 to be deleted is determined according to the layer ID added to the touch coordinate data. Similarly, when other processing is executed on the layer 110 being edited, the layer 110 that executes other processing is determined according to the layer ID added to the touch coordinate data.

また、ステップS105で“NO”であれば、ステップS109で、消しゴムモードが設定されているかどうかを判断する。ステップS109で“YES”であれば、ステップS111で、編集中のレイヤー110で文字等を消去して、ステップS101に戻る。   If “NO” in the step S105, it is determined whether or not the eraser mode is set in a step S109. If “YES” in the step S109, characters and the like are deleted in the layer 110 being edited in a step S111, and the process returns to the step S101.

一方、ステップS109で“NO”であれば、ステップS113で、編集中のレイヤー110でその他の処理を実行して、ステップS101に戻る。   On the other hand, if “NO” in the step S109, other processes are executed in the layer 110 being edited in a step S113, and the process returns to the step S101.

上述したように、ステップS103で“YES”であれば、図20に示すステップS115で、レイヤー選択かどうかを判断する。つまり、CPU12は、メニュー150mにおいて、ペン1の管理ボタンまたはペン2の管理ボタンがタッチされたかどうかを判断する。ステップS115で“YES”であれば、つまりレイヤー選択であれば、ステップS117で、選択されたレイヤー110を編集中のレイヤー110に設定して、図19に示したステップS101に戻る。つまり、ステップS117では、CPU12は、選択されたレイヤー110のレイヤーIDを編集中レイヤー情報として記憶する。また、このとき、選択された通常電子ペン200に応じたメニュー(150など)がサブメニューとして表示される。   As described above, if “YES” in the step S103, it is determined whether or not the layer is selected in a step S115 shown in FIG. That is, the CPU 12 determines whether the management button of the pen 1 or the management button of the pen 2 is touched in the menu 150m. If “YES” in the step S115, that is, if a layer is selected, the selected layer 110 is set to the layer 110 being edited in a step S117, and the process returns to the step S101 shown in FIG. That is, in step S117, the CPU 12 stores the layer ID of the selected layer 110 as editing layer information. At this time, a menu (such as 150) corresponding to the selected normal electronic pen 200 is displayed as a submenu.

一方、ステップS115で“NO”であれば、つまりレイヤー選択でなければ、合成かどうかを判断する。ステップS119で“NO”であれば、ステップS121で、選択されたモードを設定したり、選択されたアクションを実行したりして、ステップS101に戻る。一方、ステップS121で“YES”であれば、ステップS123で、レイヤー110を合成する。そして、ステップS125で、レイヤー管理テーブルを更新し、ステップS127で、ペン管理テーブルを更新して、ステップS101に戻る。   On the other hand, if “NO” in the step S115, that is, if the layer is not selected, it is determined whether or not the composition is performed. If “NO” in the step S119, the selected mode is set or the selected action is executed in a step S121, and the process returns to the step S101. On the other hand, if “YES” in the step S121, the layer 110 is synthesized in a step S123. In step S125, the layer management table is updated. In step S127, the pen management table is updated, and the process returns to step S101.

この第3実施例によれば、すべてのレイヤー110にタッチ入力による指示を反映させることが可能な管理用電子ペン200mをさらに設けるので、他の利用者が手書きした文字等をまとめて編集することができ、情報処理装置10の使い勝手を向上させることができる。   According to the third embodiment, since the management electronic pen 200m that can reflect the instruction by the touch input is further provided on all the layers 110, characters handwritten by other users can be edited together. And the usability of the information processing apparatus 10 can be improved.

なお、第3実施例では、管理用電子ペン200mを用いるのは、すべてのレイヤー110を編集する権限のある管理者であるため、管理用電子ペン200mを用いて、他の利用者が手書きした文字等を編集したり、通常電子ペン200に割り当てられたレイヤー110を合成したりしても、他の利用者が手書きした文字等を誤って編集したことにはならないと考えられる。   In the third embodiment, the management electronic pen 200m is used by an administrator who has authority to edit all the layers 110, so that another user uses the management electronic pen 200m to write by hand. Even if characters or the like are edited or the layer 110 normally assigned to the electronic pen 200 is combined, it is considered that the characters handwritten by other users are not mistakenly edited.

また、第1実施例〜第3実施例では、ペン管理テーブルおよびレイヤー管理テーブルを設けるようにしたが、これは、第2実施例において、レイヤー110を合成したり、第3実施例において、管理用電子ペン200mを設けたりするためである。したがって、第1実施例では、電子ペン200毎にレイヤーを割り当てるだけなので、ペン管理テーブルを設ける必要は無く、レイヤー管理テーブルだけを設けるようにしてもよい。   In the first to third embodiments, the pen management table and the layer management table are provided. This is because the layer 110 is synthesized in the second embodiment or the management is performed in the third embodiment. This is because an electronic pen 200m is provided. Therefore, in the first embodiment, since only a layer is assigned to each electronic pen 200, it is not necessary to provide a pen management table, and only a layer management table may be provided.

さらに、第1実施例〜第3実施例に示した態様は、いずれか二つ以上を同時に採用することも可能である。   Furthermore, any two or more of the embodiments shown in the first to third embodiments can be adopted at the same time.

さらにまた、上述の実施例で挙げた具体的な数値、画面構成等は一例であり、実際の製品に応じて適宜変更することが可能である。   Furthermore, the specific numerical values, screen configurations, and the like given in the above-described embodiments are examples, and can be appropriately changed according to actual products.

また、上述の実施例で示したフロー図の各ステップは、同じ結果が得られるのであれば、処理される順番は適宜変更することが可能である。   Moreover, as long as the same result is obtained for each step of the flowchart shown in the above-described embodiment, the processing order can be changed as appropriate.

10 …情報処理装置
12 …CPU
14 …RAM
16 …タッチパネル制御回路
18 …描画制御回路
18a …GPU
18b …VRAM
20 …タッチパネル
22 …ディスプレイ
100 …タッチ画面
110 …レイヤー
10 ... Information processing device 12 ... CPU
14 ... RAM
16 ... Touch panel control circuit 18 ... Drawing control circuit 18a ... GPU
18b ... VRAM
20 ... Touch panel 22 ... Display 100 ... Touch screen 110 ... Layer

Claims (5)

複数の電子ペンを用いて、表示手段に表示された画面において編集を行う情報処理装置であって、
前記電子ペンによる操作指示を検出する入力検出手段、
前記操作指示を行う電子ペンを識別する識別手段、および
前記複数の電子ペンの内の一つの電子ペンの操作指示によって描画された表示内容が、他の電子ペンによって編集できないように制御する表示制御手段
を備える、情報処理装置。
An information processing apparatus that performs editing on a screen displayed on a display unit using a plurality of electronic pens,
Input detection means for detecting an operation instruction by the electronic pen;
Identification means for identifying the electronic pen that performs the operation instruction, and display control for controlling the display content drawn by the operation instruction of one of the plurality of electronic pens so that it cannot be edited by another electronic pen An information processing apparatus comprising means.
前記複数の電子ペンの内の一つの電子ペンの操作指示によって描画された表示内容について、他の電子ペンによって編集できないようにするか否かを選択可能にする選択手段を備えることを特徴とする請求項1に記載の情報処理装置。   And a selection unit configured to select whether or not the display contents drawn by an operation instruction of one of the plurality of electronic pens cannot be edited by another electronic pen. The information processing apparatus according to claim 1. 前記選択手段は、前記一つの電子ペンの操作者と前記他の電子ペンの操作者との合意によって前記選択を決定する合意手段を有することを特徴とする請求項2に記載の情報処理装置。   The information processing apparatus according to claim 2, wherein the selection unit includes an agreement unit that determines the selection based on an agreement between an operator of the one electronic pen and an operator of the other electronic pen. 前記複数の電子ペンの内の一つの電子ペンが、他の電子ペンの入力操作によって描画された表示内容を編集しないようにするか否かに関わらず、各電子ペンの操作によって描画された表示内容を編集可能にする管理用電子ペンを備える請求項1から3の何れかに記載の情報処理装置。   Display drawn by operation of each electronic pen, regardless of whether or not one electronic pen of the plurality of electronic pens does not edit display content drawn by input operation of another electronic pen The information processing apparatus according to claim 1, further comprising a management electronic pen that enables editing of contents. 複数の電子ペンを用いて、表示手段に表示された画面において編集を行うコンピュータの情報処理方法であって、
前記コンピュータは、
(a)前記電子ペンによる操作指示を検出し、
(b)前記操作指示を行う電子ペンを識別し、そして
(c)前記複数の電子ペンの内の一つの電子ペンの操作指示によって描画された表示内容が、他の電子ペンによって編集できないように制御する、
情報処理方法。
An information processing method for a computer that performs editing on a screen displayed on a display means using a plurality of electronic pens,
The computer
(A) detecting an operation instruction by the electronic pen;
(B) identifying an electronic pen that performs the operation instruction; and (c) preventing display contents drawn by the operation instruction of one of the plurality of electronic pens from being edited by another electronic pen. Control,
Information processing method.
JP2018207190A 2018-11-02 2018-11-02 Information processor, information processing program, and method for processing information Pending JP2019036352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018207190A JP2019036352A (en) 2018-11-02 2018-11-02 Information processor, information processing program, and method for processing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018207190A JP2019036352A (en) 2018-11-02 2018-11-02 Information processor, information processing program, and method for processing information

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015001247A Division JP6452453B2 (en) 2015-01-07 2015-01-07 Information processing apparatus, information processing program, and information processing method

Publications (1)

Publication Number Publication Date
JP2019036352A true JP2019036352A (en) 2019-03-07

Family

ID=65637557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018207190A Pending JP2019036352A (en) 2018-11-02 2018-11-02 Information processor, information processing program, and method for processing information

Country Status (1)

Country Link
JP (1) JP2019036352A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000003252A (en) * 1999-04-26 2000-01-07 Fujitsu Ltd Pen input information processor
JP2002328422A (en) * 2001-04-27 2002-11-15 Tatsumi Denshi Kogyo Kk Picture seal preparing device
JP2004252689A (en) * 2003-02-20 2004-09-09 Wao Corporation Information processor and program therefor
JP2006129222A (en) * 2004-10-29 2006-05-18 Omron Entertainment Kk Photographic sticker creating apparatus, and method and program therefor
JP2012053526A (en) * 2010-08-31 2012-03-15 Brother Ind Ltd Input control device, input control method and input control program
JP2014135096A (en) * 2014-04-25 2014-07-24 Square Enix Co Ltd Communication program, communication terminal, and communication method
JP2014230034A (en) * 2013-05-21 2014-12-08 シャープ株式会社 Electronic information apparatus and operation right limitation method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000003252A (en) * 1999-04-26 2000-01-07 Fujitsu Ltd Pen input information processor
JP2002328422A (en) * 2001-04-27 2002-11-15 Tatsumi Denshi Kogyo Kk Picture seal preparing device
JP2004252689A (en) * 2003-02-20 2004-09-09 Wao Corporation Information processor and program therefor
JP2006129222A (en) * 2004-10-29 2006-05-18 Omron Entertainment Kk Photographic sticker creating apparatus, and method and program therefor
JP2012053526A (en) * 2010-08-31 2012-03-15 Brother Ind Ltd Input control device, input control method and input control program
JP2014230034A (en) * 2013-05-21 2014-12-08 シャープ株式会社 Electronic information apparatus and operation right limitation method
JP2014135096A (en) * 2014-04-25 2014-07-24 Square Enix Co Ltd Communication program, communication terminal, and communication method

Similar Documents

Publication Publication Date Title
AU2020267498B2 (en) Handwriting entry on an electronic device
US20220100368A1 (en) User interfaces for improving single-handed operation of devices
CN105302784B (en) Method and system for copying/cutting and pasting data
CN107683458B (en) Device, method and graphical user interface for manipulating windows of related applications
DK179048B1 (en) Devices and methods for manipulating user interfaces with stylus
US20120313865A1 (en) Interactive surface with a plurality of input detection technologies
CN107678644B (en) Image processing method and mobile terminal
WO2012050009A1 (en) Information-processing device, control method for information-processing device, program, and recording medium
JP6452453B2 (en) Information processing apparatus, information processing program, and information processing method
JP5989903B2 (en) Electronic device, method and program
JPWO2005091117A1 (en) Information processing apparatus, information processing program, storage medium storing information processing program, and window control method
JP2011128962A (en) Information processing apparatus and method, and computer program
MX2014002955A (en) Formula entry for limited display devices.
EP2849044A1 (en) Electronic device and method for note-taking by handwriting on a touch screen
CN106033301B (en) Application program desktop management method and touch screen terminal
CN106502571A (en) Hand-written inputting method and electronic equipment
CN107515681A (en) A kind of character input method, mobile terminal and computer-readable recording medium
JP2015018426A (en) Information display device
JP2019036352A (en) Information processor, information processing program, and method for processing information
JP6584876B2 (en) Information processing apparatus, information processing program, and information processing method
JP2019023888A (en) Information processing apparatus, information processing program and information processing method
KR20110093050A (en) An apparatus for user interface by detecting increase or decrease of touch area and method thereof
JP6408273B2 (en) Information processing apparatus, information processing program, and information processing method
JP2016045854A (en) Information processing device, information processing program, and information processing method
JP6884543B2 (en) Information processing equipment, information processing programs and information processing methods

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181102

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190618

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190619

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190807

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20190821

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20190822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190827

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191025

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20200317