JP2010039572A - Character decoration system and character decoration program - Google Patents

Character decoration system and character decoration program Download PDF

Info

Publication number
JP2010039572A
JP2010039572A JP2008198823A JP2008198823A JP2010039572A JP 2010039572 A JP2010039572 A JP 2010039572A JP 2008198823 A JP2008198823 A JP 2008198823A JP 2008198823 A JP2008198823 A JP 2008198823A JP 2010039572 A JP2010039572 A JP 2010039572A
Authority
JP
Japan
Prior art keywords
decoration
character
line
information
drawn
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
JP2008198823A
Other languages
Japanese (ja)
Inventor
Katsuya Nakai
克弥 仲井
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.)
SKY Co Ltd
Original Assignee
SKY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SKY Co Ltd filed Critical SKY Co Ltd
Priority to JP2008198823A priority Critical patent/JP2010039572A/en
Publication of JP2010039572A publication Critical patent/JP2010039572A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)
  • Position Input By Displaying (AREA)
  • Document Processing Apparatus (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an easy-to-operate character decoration system and character decoration program which determine the decoration type according to a user's intent and display decoration lines. <P>SOLUTION: This character decoration system includes: an operation information acquisition means 4 which acquires operation information by a pointing device 3; a position information acquisition means 5 which acquires positional information specifying lines drawn by the pointing device 3; an operation screen information acquisition means 7 which acquires information on an operation screen displayed on a display part 10; a character region information acquisition means 8 which acquires character region information from operation screen information on part or the whole of the operation screen; a decoration determining means 6 which determines the decoration type of a character based on the character region information and the positional information; and a decoration displaying means 9 which displays the decoration lines of the character according to the determined decoration type on the operation screen. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、コンピュータの操作画面に表示された文字に対し線で装飾する文字装飾システム及び文字装飾プログラムに関する。   The present invention relates to a character decoration system and a character decoration program for decorating characters displayed on an operation screen of a computer with lines.

従来、コンピュータの操作画面にマウスやペン等のポインティングデバイスを操作して、フリーハンドで線を引き、その操作にしたがって画面表示をしていた。   Conventionally, a pointing device such as a mouse or pen is operated on the operation screen of a computer, a line is drawn freehand, and the screen is displayed according to the operation.

また、電子書籍表示装置では、記録媒体に記録された書籍データを表示し、画面上をペンでクリックされるとクリックされた座標(開始位置)を検出し、このクリックされた座標が文字の「アセント範囲」に含まれるのか「デセント又はリーディング範囲」に含まれるのかを判定する。クリックされた位置が「アセント範囲」に含まれるときには文字をマーカ表示で装飾し、クリックされた位置が「デセント又はリーディング範囲」に含まれるときにはアンダーライン表示をする(例えば、特許文献1参照。)。
特開2001−5816号公報
The electronic book display device displays the book data recorded on the recording medium, detects the clicked coordinate (start position) when the pen is clicked on the screen, and the clicked coordinate is the character “ Whether it is included in the “ascent range” or “descent or reading range” is determined. When the clicked position is included in the “ascent range”, characters are decorated with a marker display, and when the clicked position is included in the “descent or reading range”, an underline is displayed (see, for example, Patent Document 1). .
Japanese Patent Laid-Open No. 2001-5816

しかしながら、画面にマウスやペンで線を書くときには、きれいな線が書きにくく、例えば、文字に対してアンダーラインを引くように操作しても、線がうまく引けず、文字に線が重なり見えづらくなることがあった。   However, when you draw a line with the mouse or pen on the screen, it is difficult to draw a beautiful line, for example, even if you operate to draw an underline on the character, the line does not draw well, and it is difficult to see the line overlapping the character There was a thing.

このような状態では、電子書籍表示装置のように、クリックされた位置(開始位置)によりマーカ表示やアンダーライン表示などを判断することにより、開始位置を正確に指定する必要があり、開始位置がずれると所望する表示ができなくなり、操作性に劣る。   In such a state, like the electronic book display device, it is necessary to accurately specify the start position by determining marker display, underline display, or the like based on the clicked position (start position). If it deviates, the desired display cannot be performed and the operability is poor.

本発明は、係る問題に鑑み、ユーザの意図に沿った装飾種別を決定し装飾線を表示することができ、操作性に優れた文字装飾システム及び文字装飾プログラムを提供することを目的とする。   SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an object of the present invention is to provide a character decoration system and a character decoration program that are capable of determining a decoration type in accordance with a user's intention and displaying a decoration line and having excellent operability.

本発明に係る文字装飾システムは、操作画面に表示される文字をポインティングデバイスで引かれた線により装飾する文字装飾システムであって、前記操作画面の一部又は全部の領域の文字領域情報を取得する文字領域情報取得手段と、前記線を特定する位置情報を取得する位置情報取得手段と、前記文字領域情報及び前記位置情報に基づいて、前記文字の装飾種別を判定する装飾判定手段と、前記装飾種別に従って前記文字の装飾線を前記操作画面に表示する装飾表示手段とを備えることを特徴とする。
また、本発明に係る文字装飾プログラムは、操作画面に表示される文字をポインティングデバイスで引かれた線により装飾する文字装飾プログラムであって、コンピュータを、前記操作画面の一部又は全部の領域の文字領域情報を取得する文字領域情報取得手段と、前記線を特定する位置情報を取得する位置情報取得手段と、前記文字領域情報及び前記位置情報に基づいて、前記文字の装飾種別を判定する装飾判定手段と、前記装飾種別に従って前記文字の装飾線を前記操作画面に表示する装飾表示手段として機能させることを特徴とする。
したがって、ポインティングデバイスで引かれた線の全体で装飾種別を判断することにより、ユーザ操作の意図に応じた装飾線を表示することができる。
The character decoration system according to the present invention is a character decoration system that decorates characters displayed on an operation screen with a line drawn by a pointing device, and acquires character area information of a part or all of the operation screen. Character area information acquisition means for performing position information acquisition means for acquiring position information for specifying the line, decoration determination means for determining a decoration type of the character based on the character area information and the position information, A decoration display unit configured to display a decoration line of the character on the operation screen according to a decoration type.
A character decoration program according to the present invention is a character decoration program for decorating a character displayed on an operation screen with a line drawn by a pointing device, wherein the computer is stored in a part or all of the area of the operation screen. Character area information acquisition means for acquiring character area information, position information acquisition means for acquiring position information for specifying the line, and decoration for determining the decoration type of the character based on the character area information and the position information It is made to function as a determination means and a decoration display means for displaying a decoration line of the character on the operation screen according to the decoration type.
Therefore, by determining the decoration type based on the entire line drawn by the pointing device, it is possible to display a decoration line according to the intention of the user operation.

また、前記文字領域情報及び前記位置情報から前記文字装飾の対象文字を特定する装飾文字特定手段をさらに備え、前記装飾表示手段が前記対象文字に対する前記装飾線を表示してもよい。   Further, a decoration character specifying unit that specifies a target character of the character decoration from the character region information and the position information may be further provided, and the decoration display unit may display the decoration line for the target character.

また、前記文字領域情報は、前記文字の文字記載領域の情報を含み、前記装飾判定手段は、前記文字領域情報及び前記位置情報から算出された前記文字記載領域に含まれる前記引かれた線の割合に基づき、前記装飾種別を判定してもよい。   Further, the character area information includes information on a character description area of the character, and the decoration determination means includes the drawn line included in the character description area calculated from the character area information and the position information. The decoration type may be determined based on the ratio.

前記位置情報は、前記線の開始位置及び終了位置を含み、前記装飾判定手段は、前記位置情報から算出された前記開始位置及び前記終了位置の間の直線距離と、前記ポインティングデバイスで引かれた線の長さとに基づき、前記装飾種別を判定してもよい。   The position information includes a start position and an end position of the line, and the decoration determination unit is drawn by the pointing device and a linear distance between the start position and the end position calculated from the position information. The decoration type may be determined based on the length of the line.

前記文字領域情報及び前記位置情報から前記文字装飾の対象文字を特定する装飾文字特定手段をさらに備え、前記装飾判定手段は、前記文字領域情報から算出された前記対象文字の文字列の幅と、前記位置情報から算出された前記線の長さとに基づき、前記装飾種別を判定してもよい。   A decoration character specifying unit that specifies a target character of the character decoration from the character region information and the position information; and the decoration determination unit includes: a width of the character string of the target character calculated from the character region information; The decoration type may be determined based on the length of the line calculated from the position information.

以上にしてなる本発明に係る、文字装飾システム及び文字装飾プログラムは、ポインティングデバイスで引かれた線の全体で装飾種別を判断するので、ユーザ操作の意図に応じた装飾線を表示することができ、また、1つの操作工程で装飾線を領域だけでなく、装飾種別も決定できるため、操作性に優れる。   Since the character decoration system and the character decoration program according to the present invention as described above determine the decoration type based on the entire line drawn by the pointing device, the decoration line according to the intention of the user operation can be displayed. Further, since the decoration line can be determined not only in the region but also in the decoration operation in one operation process, the operability is excellent.

次に、本発明の実施形態を添付図面に基づき詳細に説明する。   Next, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

まず、本発明の第1実施形態を説明する。   First, a first embodiment of the present invention will be described.

文字装飾システム1は、図3に示すように、ポインティングデバイス3による操作情報を取得する操作情報取得手段4と、操作情報からポインティングデバイス3で引かれた線を特定する位置情報を取得する位置情報取得手段5と、表示部10に表示された操作画面の情報を取得する操作画面情報取得手段7と、操作画面の一部又は全部の領域の操作画面情報から文字領域情報を取得する文字領域情報取得手段8と、当該文字領域情報取得手段8により取得された文字領域情報及び位置情報取得手段5により取得された位置情報に基づいて文字の装飾種別を判定する装飾判定手段6と、当該装飾判定手段6により判定された装飾種別に従って文字の装飾線を操作画面に表示する装飾表示手段9を備える。文字装飾システム1は、文字装飾プログラム2を端末などのコンピュータCにインストールすることにより、各手段として機能する。コンピュータCは、ポインティングデバイス3、表示部10、及び図示しない処理部、記録部を備えている。なお、各手段は、ハードウエアで実現されてもよいし、ソフトウエアで実現されてもよい。コンピュータCは、たとえば1つまたは複数の端末で構成されていてもよいし、サーバ・クライアントシステムにおけるサーバおよびクライアント端末で構成されていてもよい。   As shown in FIG. 3, the text decoration system 1 includes operation information acquisition means 4 for acquiring operation information by the pointing device 3, and position information for acquiring position information for specifying a line drawn by the pointing device 3 from the operation information. The acquisition unit 5, the operation screen information acquisition unit 7 for acquiring information of the operation screen displayed on the display unit 10, and the character region information for acquiring the character region information from the operation screen information of a part or all of the region of the operation screen Acquisition means 8, decoration determination means 6 for determining the decoration type of the character based on the character area information acquired by the character area information acquisition means 8 and the position information acquired by the position information acquisition means 5, and the decoration determination There is provided a decoration display means 9 for displaying a decoration line of characters on the operation screen according to the decoration type determined by the means 6. The character decoration system 1 functions as each unit by installing the character decoration program 2 in a computer C such as a terminal. The computer C includes a pointing device 3, a display unit 10, a processing unit (not shown), and a recording unit. Each means may be realized by hardware or software. The computer C may be composed of, for example, one or a plurality of terminals, or may be composed of a server and a client terminal in a server / client system.

上記処理部は、各装置の制御やデータの演算、加工を行うCPUなどであり、記録部は、情報やプログラムなどを記録する装置であって、ハードディスクなどの外部記録装置及び情報を一時的に記録する半導体記録装置などを含む。ポインティングデバイス3は、操作画面上でカーソル12を移動させ位置を指定してコンピュータCを操作する入力機器であって、例えば、マウス、タッチスクリーン、ペンタブレット、トラックパッド、トラックボールである。表示部10は、操作画面を有し、文字やポインティングデバイス3で引かれた線13などを操作画面に表示するものである。   The processing unit is a CPU that controls each device, calculates and processes data, and the recording unit is a device that records information, a program, and the like, and temporarily stores an external recording device such as a hard disk and information. Includes a semiconductor recording device for recording. The pointing device 3 is an input device that operates the computer C by moving the cursor 12 on the operation screen and specifying a position, and is, for example, a mouse, a touch screen, a pen tablet, a track pad, or a track ball. The display unit 10 has an operation screen, and displays characters, a line 13 drawn by the pointing device 3, and the like on the operation screen.

操作情報取得手段4は、操作情報の操作内容からポインティングデバイス3で線が引かれたか否かを監視し、ポインティングデバイスで引かれた線(以下、「引かれた線」と称す。)を特定する位置情報を含む操作情報を取得し、取得した操作情報を位置情報取得手段5に送信するとともに検知した旨を操作画面情報取得手段7に送信する。例えば、ボタン解放などの線が引かれたことを示す最終処理が操作内容に含まれていることを検知すると、引かれた線に係る操作情報、つまりボタン押下などの線の引き初めを示す開始処理からボタン開放などの線の引き終わりを示す終了処理までの引かれた線を特定する操作情報を取得し、位置情報取得手段5に送信する。 The operation information acquisition unit 4 monitors whether or not a line is drawn with the pointing device 3 from the operation content of the operation information, and identifies a line drawn with the pointing device (hereinafter referred to as “drawn line”). The operation information including the position information to be acquired is acquired, the acquired operation information is transmitted to the position information acquisition means 5, and the fact that it has been detected is transmitted to the operation screen information acquisition means 7. For example, when it is detected that the final content indicating that a line such as button release has been drawn is included in the operation content, operation information related to the drawn line, that is, a start indicating the beginning of drawing a line such as a button press Operation information for identifying a drawn line from the process to the end process indicating the end of line drawing, such as button release, is acquired and transmitted to the position information acquisition means 5.

ここに操作情報とは、ポインティングデバイス3による操作で生成され、例えば、ポインティングデバイス3によるボタン押下、ボタン解放、移動などの位置指定操作で線を引いたことを示す操作内容、当該操作のカーソルの位置や座標などを示す座標情報、操作情報を生成した日時又は当該操作の開始から終了までのカウント時間等を示す日時情報を含む。さらに、操作情報は、例えば、操作が行われた端末を識別する端末識別情報、当該端末のログインユーザを識別するユーザ識別情報を含むことができる。   Here, the operation information is generated by an operation by the pointing device 3, for example, an operation content indicating that a line has been drawn by a position specifying operation such as button pressing, button release, or movement by the pointing device 3, and the cursor of the operation It includes coordinate information indicating a position, coordinates, etc., date and time when operation information is generated, or date and time information indicating a count time from the start to the end of the operation. Further, the operation information can include, for example, terminal identification information for identifying a terminal on which an operation has been performed, and user identification information for identifying a login user of the terminal.

位置情報取得手段5は、引かれた線に係る操作情報の座標情報から引かれた線13を特定する位置情報を取得するものであり、本例ではこの位置情報を装飾判定手段6に送信している。ここに引かれた線13は、軌跡線13a及び仮想線13bを含む。また軌跡線13aは、図1(a)に示すように、ポインティングデバイス3の位置指定操作の開始から終了までに移動したカーソル12の軌跡であり、仮想線13bは、図1(b)に示すように、ポインティングデバイスで指定された開始位置14a及び終了位置14bを結んだ線である。   The position information acquisition means 5 acquires position information for specifying the drawn line 13 from the coordinate information of the operation information related to the drawn line. In this example, the position information acquisition means 5 transmits this position information to the decoration determination means 6. ing. The line 13 drawn here includes a locus line 13a and a virtual line 13b. Further, as shown in FIG. 1A, the locus line 13a is a locus of the cursor 12 moved from the start to the end of the position specifying operation of the pointing device 3, and the virtual line 13b is shown in FIG. In this way, the line connects the start position 14a and the end position 14b specified by the pointing device.

ここで、引かれた線13を特定する位置情報とは、引かれた線13に係る操作情報の座標情報から引かれた線13を表す式を求め、その式又は式から算出される位置座標などである。なお、引かれた線13を特定する位置情報は式又は式から算出される位置座標に限定されず、式を求めずに引かれた線13に係る座標情報であってもよい。   Here, the position information for identifying the drawn line 13 is an expression representing the drawn line 13 from the coordinate information of the operation information related to the drawn line 13, and the position coordinates calculated from the expression or the expression. Etc. Note that the position information for specifying the drawn line 13 is not limited to the position coordinates calculated from the formula or the formula, and may be the coordinate information related to the drawn line 13 without obtaining the formula.

つまり、引かれた線が軌跡線13aの場合、軌跡線13aを特定する位置情報は、例えばカーソル12が移動した座標情報の集合から近似式を求め、この近似式から軌跡線13aを表す位置座標を算出することにより取得される。ここで、座標情報は、軌跡線13aに係る全ての操作情報の座標情報であってもよいし、軌跡線13aに係る操作情報のうち所定間隔ごとに取得した操作情報の座標情報であってもよい。この所定間隔は、操作情報の座標情報を参照し、所定距離ごととすることもできるし、また、操作情報の日時情報を参照し、所定時間ごととすることもできる。また、引かれた線13が仮想線13bの場合、仮想線13bを特定する位置情報は、例えば開始位置及び終了位置を通る線の式を求め、この式から仮想線13bを表す位置座標を算出することにより取得される。   That is, when the drawn line is the trajectory line 13a, the position information specifying the trajectory line 13a is obtained, for example, by calculating an approximate expression from a set of coordinate information to which the cursor 12 has moved, and the position coordinates representing the trajectory line 13a from this approximate expression. Is obtained by calculating. Here, the coordinate information may be coordinate information of all the operation information related to the trajectory line 13a, or may be coordinate information of the operation information acquired at predetermined intervals among the operation information related to the trajectory line 13a. Good. The predetermined interval can be set every predetermined distance by referring to the coordinate information of the operation information, or can be set every predetermined time by referring to the date / time information of the operation information. When the drawn line 13 is a virtual line 13b, the position information for specifying the virtual line 13b is obtained, for example, by calculating an expression of a line passing through the start position and the end position, and calculating the position coordinates representing the virtual line 13b from this expression. It is acquired by doing.

より具体的には、ポインティングデバイス3のボタンを押下(例えば、マウスにおけるクリック)し、その後ボタン解放(例えば、マウスにおけるリリース)をして線を引いた場合、操作内容がボタン押下である操作情報を特定し、その操作情報の座標情報を開始位置として取得する。また、操作内容がボタン解放ある操作情報を特定し、その操作情報の座標情報を終了位置として取得する。ここで、軌跡線13aの場合には、ボタン押下からボタン解放までの操作位置を操作情報の座標情報から取得する。そして、取得した座標情報から式を算出し、式から引かれた線13の位置情報を得る。この引かれた線を表す位置座標は、開始位置、終了位置、及び開始位置と終了位置との間の任意または所定の位置である。   More specifically, when the button of the pointing device 3 is pressed (for example, clicked with the mouse) and then the button is released (for example, released with the mouse) to draw a line, the operation information indicates that the operation content is the button pressed. And coordinate information of the operation information is acquired as a start position. Also, operation information whose operation content is button release is specified, and coordinate information of the operation information is acquired as an end position. Here, in the case of the locus line 13a, the operation position from the button press to the button release is acquired from the coordinate information of the operation information. Then, an equation is calculated from the acquired coordinate information, and position information of the line 13 drawn from the equation is obtained. The position coordinates representing the drawn line are a start position, an end position, and an arbitrary or predetermined position between the start position and the end position.

なお、開始位置及び終了位置の特定はこれに限定されず、例えばこれらは操作情報の日時情報や座標情報などから特定することができる。日時情報で特定する場合、操作情報から座標情報に加えて日時情報を取得し、そして、その日時情報が最も早い日時の操作情報を特定し、その操作情報の座標情報を開始位置の位置情報とする。一方、日時情報が最も遅い日時の操作情報を特定し、その操作情報の座標情報を終了位置の位置情報とする。また、座標情報で特定する場合、操作情報の中から座標情報が最も左端にある(x座標が最も小さい)操作情報を特定し、その操作情報の座標情報を開始位置の位置情報とする。一方、操作情報の中から座標情報が最も右端にある(x座標が最も大きい)操作情報を特定し、その操作情報の座標情報を終了位置の位置情報とする。   Note that the specification of the start position and the end position is not limited to this, and for example, these can be specified from date information or coordinate information of the operation information. When specifying by the date information, the date information is obtained from the operation information in addition to the coordinate information, the operation information of the earliest date is specified, and the coordinate information of the operation information is used as the position information of the start position. To do. On the other hand, the operation information with the latest date and time information is specified, and the coordinate information of the operation information is used as the position information of the end position. Further, when specifying by coordinate information, the operation information whose coordinate information is at the left end (the x coordinate is the smallest) is specified from the operation information, and the coordinate information of the operation information is used as the position information of the start position. On the other hand, the operation information whose coordinate information is at the right end (the largest x coordinate) is specified from the operation information, and the coordinate information of the operation information is used as the position information of the end position.

操作画面情報取得手段7は、例えば上述の操作情報取得手段4から線が引かれたことを検知した旨を受けて、表示部10から操作画面情報を取得するものであり、本例では取得した操作画面情報を文字領域情報取得手段8に送信している。ここに操作画面情報とは、表示部10の操作画面に表示されている画像のデータ、日時情報などを含み、ユーザ識別情報、端末識別情報や位置情報などを含むことができる。   The operation screen information acquisition unit 7 acquires operation screen information from the display unit 10 in response to detecting that a line has been drawn from the operation information acquisition unit 4 described above, for example. The operation screen information is transmitted to the character area information acquisition means 8. Here, the operation screen information includes image data, date information, and the like displayed on the operation screen of the display unit 10, and may include user identification information, terminal identification information, position information, and the like.

文字領域情報取得手段8は、操作画面情報取得手段7から操作画面情報を受けて、操作画面の一部又は全部の領域の文字領域情報を取得するものであり、本例では取得した文字領域情報を装飾判定手段6に送信している。   The character area information acquisition means 8 receives the operation screen information from the operation screen information acquisition means 7 and acquires character area information of a part or all of the operation screen. In this example, the acquired character area information Is transmitted to the decoration determination means 6.

ここで、文字領域情報は、図2に示すように、操作画面に表示されている文字15を示す文字情報、一連の文字が並ぶ領域を示す文字記載領域16aの情報(以下、「文字記載領域情報」と称す。)を有する。文字情報は、操作画面情報をパターン認識などの方法で解析することにより特定され、操作画面に表示されている文字、当該文字の表示位置などを含む。この文字15は、ひらがな、漢字、アルファベットなど言葉を表記するものだけでなく、数字や記号なども含む。表示位置は、文字15の下端位置、上端位置、右端位置及び左端位置を含み、右端位置及び左端位置の差から文字幅16eが得られる。文字記載領域16aは、文字情報から特定される。例えば、文字情報の表示位置から隣り合う文字の間隔を算出し、文字間隔が所定値より小さい場合、隣り合う文字は一連に並ぶものと判断し、これらの文字の領域を文字記載領域と特定する。また、文字記載領域情報は、文字記載領域の下限を示す下限16c、上限を示す上限16d、右端を示す右縁16g、左端を示す左縁16fを含み、これらはそれぞれ、文字記載領域に含まれる文字の上端位置、下限位置、右端位置及び左端位置から得られる。   Here, as shown in FIG. 2, the character area information includes character information indicating the character 15 displayed on the operation screen and information on the character description area 16a indicating an area where a series of characters are arranged (hereinafter referred to as “character description area”). Information "). The character information is specified by analyzing the operation screen information by a method such as pattern recognition, and includes a character displayed on the operation screen, a display position of the character, and the like. The characters 15 include not only words that describe words such as hiragana, kanji, and alphabet, but also numbers and symbols. The display position includes the lower end position, the upper end position, the right end position, and the left end position of the character 15, and the character width 16e is obtained from the difference between the right end position and the left end position. The character description area 16a is specified from the character information. For example, the interval between adjacent characters is calculated from the display position of the character information, and if the character interval is smaller than a predetermined value, it is determined that the adjacent characters are arranged in a series, and the region of these characters is specified as the character description region . The character description area information includes a lower limit 16c indicating the lower limit of the character description area, an upper limit 16d indicating the upper limit, a right edge 16g indicating the right end, and a left edge 16f indicating the left end, each of which is included in the character description area. It is obtained from the upper end position, lower limit position, right end position, and left end position of the character.

装飾判定手段6は、位置情報取得手段5から引かれた線13を特定する位置情報と、文字領域情報取得手段8から文字領域情報とを受けて、これらに基づいて文字の装飾種別を判定するものであり、本例では装飾判定手段6が装飾種別判定手段6aを含み、この装飾種別判定手段6aで装飾種別が判定されている。具体的には、位置情報および文字領域情報から文字記載領域に含まれる引かれた線の割合(以下、線の割合と称する。)を求め、線の割合と装飾種別との関係を示した式や表などの所定の基準を用いて、線の割合から装飾種別を取得する。   The decoration determination means 6 receives the position information for specifying the line 13 drawn from the position information acquisition means 5 and the character area information from the character area information acquisition means 8, and determines the decoration type of the character based on these. In this example, the decoration determination means 6 includes a decoration type determination means 6a, and the decoration type determination means 6a determines the decoration type. Specifically, the ratio of the drawn line included in the character description area (hereinafter referred to as the ratio of the line) is obtained from the position information and the character area information, and an expression showing the relationship between the ratio of the line and the decoration type The decoration type is acquired from the ratio of lines using a predetermined standard such as a table or a table.

ここに装飾種別とは、引かれた線13を装飾線に変換するための規定であって、例えば、直線や波線などの線形状、実線や破線などの線種、線の中央や下線などの位置、色、線幅を含む。装飾線は、文字15を装飾するために文字15に付される線であって、引かれた線13及び装飾種別により決定される。例えば、文字記載領域16aに含まれる引かれた線13の割合に基づき装飾種別は決定される。   Here, the decoration type is a rule for converting the drawn line 13 into a decoration line, such as a line shape such as a straight line or a wavy line, a line type such as a solid line or a broken line, a center of the line, an underline, etc. Includes position, color, and line width. The decoration line is a line attached to the character 15 in order to decorate the character 15, and is determined by the drawn line 13 and the decoration type. For example, the decoration type is determined based on the ratio of the drawn line 13 included in the character description area 16a.

より具体的には、装飾判定手段6は、文字領域情報の文字記載領域情報から文字記載領域16aの上限16d及び下限16cを特定する。次に、引かれた線13を特定する位置座標が文字記載領域16aの上限16d及び下限16cの間に位置するか否かを判定し、位置すればその位置は文字記載領域に含まれるとする。これを、引かれた線13を表す全て又は一部の位置座標に対して繰り返して判定する。それから、判定した全ての位置座標の数に対して、文字記載領域16aに含まれる位置座標の数の割合を算出し、文字記載領域16aに含まれる引かれた線の割合を求める。   More specifically, the decoration determination means 6 specifies the upper limit 16d and the lower limit 16c of the character description area 16a from the character description area information of the character area information. Next, it is determined whether or not the position coordinates specifying the drawn line 13 are located between the upper limit 16d and the lower limit 16c of the character description area 16a, and if so, the position is included in the character description area. . This is repeatedly determined for all or some of the position coordinates representing the drawn line 13. Then, the ratio of the number of position coordinates included in the character description area 16a is calculated with respect to the determined number of position coordinates, and the ratio of the drawn lines included in the character description area 16a is obtained.

例えば、図4(a)に示すように、ポインティングデバイス3によって線13が引かれると、装飾判定手段6は、上限16d及び下限16cのy座標をそれぞれ特定し、ここではそれぞれ上限が「172」、下限が「138」と特定される。次に、図4(b)に示す引かれた線13を特定するx座標及びy座標からなる位置情報から各位置座標が上限と下限の間の文字記載領域「138〜172」の間に含まれるか否か判定する。本例では、全ての位置座標の数は「17」であり、文字記載領域に含まれる位置座標の数は「10」である。そして、全ての位置座標の数「17」に対する文字記載領域16aに含まれる位置座標の数「10」の割合として、「59%」が算出され、これが引かれた線の割合となる。   For example, as shown in FIG. 4A, when the line 13 is drawn by the pointing device 3, the decoration determination means 6 specifies the y-coordinates of the upper limit 16d and the lower limit 16c, and here the upper limit is “172”. The lower limit is specified as “138”. Next, each position coordinate is included between the character description areas “138 to 172” between the upper limit and the lower limit from the position information made up of the x coordinate and the y coordinate specifying the drawn line 13 shown in FIG. It is determined whether or not. In this example, the number of all position coordinates is “17”, and the number of position coordinates included in the character description area is “10”. Then, “59%” is calculated as the ratio of the number “10” of position coordinates included in the character description area 16a to the number “17” of all position coordinates, and this is the ratio of the drawn line.

また、他の例としては、引かれた線13が直線である場合、引かれた線13の開始位置及び終了位置が文字記載領域16aに位置しているか否かを判断する。開始位置及び終了位置の両方が文字記載領域16aに位置している場合、引かれた線13は文字記載領域16aに含まれるため、文字記載領域16aに含まれる引かれた線の割合は100%になる。開始位置及び終了位置の両方が文字記載領域16aに位置していない場合は文字記載領域16aに含まれる引かれた線の割合は0%になる。また、図5に示すように開始位置のy座標及び終了位置のy座標の間の距離Y1と、文字記載領域の下限16c及び終了位置のy座標の間の距離Y2とを求め、前者に対する後者の割合Y2/Y1が文字記載領域16aに含まれる引かれた線の割合としてもよい。   As another example, when the drawn line 13 is a straight line, it is determined whether the start position and the end position of the drawn line 13 are located in the character description area 16a. When both the start position and the end position are located in the character description area 16a, the drawn line 13 is included in the character description area 16a. Therefore, the ratio of the drawn line included in the character description area 16a is 100%. become. When both the start position and the end position are not located in the character description area 16a, the ratio of the drawn line included in the character description area 16a is 0%. Further, as shown in FIG. 5, the distance Y1 between the y-coordinate of the start position and the y-coordinate of the end position and the distance Y2 between the lower limit 16c of the character description area and the y-coordinate of the end position are obtained, and the latter with respect to the former The ratio Y2 / Y1 may be the ratio of the drawn line included in the character description area 16a.

こうして求めた線13の割合から、線の割合と装飾種別との関係基準によって装飾種別を装飾種別判定手段6aが決定する。例えば、文字記載領域16aに含まれる引かれた線13の割合に対する閾値から、線種や線幅などの装飾種別が決められる。例えば、図7に示すように、割合と装飾種別との関係が設定されている。この場合、図6(a)に示すように文字記載領域16aに含まれる引かれた線13aの割合が75%以上の場合、図7のようにマーカ表示として形状、線幅や色などの装飾種別が決められる。また、図6(b)に示すように文字記載領域16aに含まれる引かれた線13aの割合が75%未満35%以上であった場合、図7のように波線状下線表示として形状、線幅や色などの装飾種別が決められる。さらに、図6(c)に示すように文字記載領域16aに含まれる引かれた線13aの割合が35%未満であった場合、図7のように直線状下線表示として形状、線幅や色などの装飾種別が決められる。例えば図4の場合、文字記載領域16aに含まれる引かれた線13aの割合が「59%」であり、波線状下線表示として形状、線幅や色などの装飾種別が決められることとなる。   From the ratio of the line 13 thus obtained, the decoration type determination means 6a determines the decoration type according to the relationship standard between the line ratio and the decoration type. For example, the decoration type such as the line type and the line width is determined from the threshold for the ratio of the drawn line 13 included in the character description area 16a. For example, as shown in FIG. 7, the relationship between the ratio and the decoration type is set. In this case, as shown in FIG. 6A, when the ratio of the drawn line 13a included in the character description area 16a is 75% or more, the marker display is decorated with the shape, line width, color and the like as shown in FIG. The type is determined. Further, as shown in FIG. 6B, when the ratio of the drawn line 13a included in the character description area 16a is less than 75% and 35% or more, the shape and line are displayed as a wavy underline display as shown in FIG. Decoration types such as width and color can be determined. Furthermore, when the ratio of the drawn line 13a included in the character description area 16a is less than 35% as shown in FIG. 6C, the shape, line width and color are displayed as a linear underline display as shown in FIG. The decoration type such as can be determined. For example, in the case of FIG. 4, the ratio of the drawn line 13a included in the character description area 16a is “59%”, and the decoration type such as shape, line width, and color is determined as the wavy underline display.

また、装飾判定手段6は、引かれた線13を特定する位置情報から装飾線の装飾範囲を決定する。装飾範囲は、装飾線を表示する範囲であって、例えば、引かれた線13の開始位置のx座標と終了位置のx座標との間とすることもでき、また、引かれた線の開始位置のx座標及びy座標と、終了位置のx座標及びy座標との間とすることもでき、さらに、引かれた線を装飾範囲とすることもできる。装飾範囲が引かれた線13の開始位置のx座標と終了位置のx座標との間である場合、装飾範囲のy座標は所定または任意に決定される。たとえば、装飾範囲の全範囲において、開始位置のy座標、終了位置のy座標、または開始位置および終了位置の間のy座標とすることができる。また、装飾種別でマーカ表示や下線などと規定されている場合には、それに従い、マーカ表示であれば文字記載領域の上限および下限の間とし、下線表示であれば下限の位置とする。そして、装飾判定手段6は、決められた装飾種別及び装飾範囲を装飾表示手段9に送信する。   Further, the decoration determination means 6 determines the decoration range of the decoration line from the position information specifying the drawn line 13. The decoration range is a range in which a decoration line is displayed. For example, the decoration range can be between the x coordinate of the start position of the drawn line 13 and the x coordinate of the end position, or the start of the drawn line. It can be between the x-coordinate and y-coordinate of the position and the x-coordinate and y-coordinate of the end position, and the drawn line can be used as a decoration range. When the decoration range is between the x coordinate of the start position and the x coordinate of the end position of the drawn line 13, the y coordinate of the decoration range is determined in a predetermined or arbitrary manner. For example, in the entire range of the decoration range, the y coordinate of the start position, the y coordinate of the end position, or the y coordinate between the start position and the end position can be used. Further, when the decoration type defines marker display or underline, the marker display is set between the upper limit and the lower limit of the character description area, and the lower limit display is set for the underline display. Then, the decoration determination unit 6 transmits the determined decoration type and decoration range to the decoration display unit 9.

装飾表示手段9は、装飾判定手段6から装飾範囲と装飾種別とを受け、これらに従って文字の装飾線を表示部10の操作画面に表示するものである。例えば、装飾範囲が、引かれた線13の開始位置のx座標と終了位置のx座標との間の場合、装飾種別で決められた装飾線を、装飾範囲の文字記載領域に表示する。また、装飾範囲が引かれた線13の場合、装飾種別で決められた装飾線を引かれた線13の位置に表示する。   The decoration display means 9 receives the decoration range and decoration type from the decoration determination means 6 and displays the decoration line of characters on the operation screen of the display unit 10 according to these. For example, when the decoration range is between the x coordinate of the start position and the end coordinate of the drawn line 13, the decoration line determined by the decoration type is displayed in the character description area of the decoration range. In the case of the line 13 with the decoration range drawn, the decoration line determined by the decoration type is displayed at the position of the drawn line 13.

次に、図8に基づいて、文字装飾システム1の処理の流れについて説明する。   Next, the processing flow of the character decoration system 1 will be described with reference to FIG.

まず、操作情報取得手段4が操作情報を取得し(S1)、操作情報の操作内容からポインティングデバイス3で線が引かれたか否かを監視する(S2)。ポインティングデバイス3で線が引かれたことを検知すると、引かれた線13に係る操作情報を位置情報取得手段5に送信し、また操作画面情報取得手段7に検知した旨を送信する。操作画面情報取得手段7は、操作情報取得手段4の引かれた線13の検知を受け、それに基づいて表示部10の操作画面に表示された画像イメージの操作画面情報を取得し(S3)、操作画面情報を文字領域情報取得手段8に送信する。   First, the operation information acquisition means 4 acquires operation information (S1), and monitors whether or not a line is drawn by the pointing device 3 from the operation content of the operation information (S2). When it is detected that the line is drawn by the pointing device 3, the operation information related to the drawn line 13 is transmitted to the position information acquisition unit 5, and the detection information is transmitted to the operation screen information acquisition unit 7. The operation screen information acquisition unit 7 receives the detection of the line 13 drawn by the operation information acquisition unit 4 and acquires operation screen information of the image image displayed on the operation screen of the display unit 10 based on the detection (S3). The operation screen information is transmitted to the character area information acquisition means 8.

次に、文字領域情報取得手段8が、操作画面情報取得手段7から操作画面の操作画面情報を取得し、操作画面情報から文字領域情報を取得する(S4)。つまり、図2に示すように、操作画面情報から文字15を特定して、その文字幅16eなどの文字情報を取得し、文字情報から文字記載領域16aを特定して、文字記載領域情報を取得する。そして、文字記載領域情報を装飾判定手段6に送信する。   Next, the character area information acquisition means 8 acquires the operation screen information of the operation screen from the operation screen information acquisition means 7, and acquires the character area information from the operation screen information (S4). That is, as shown in FIG. 2, the character 15 is specified from the operation screen information, the character information such as the character width 16e is acquired, the character description region 16a is specified from the character information, and the character description region information is acquired. To do. Then, the character description area information is transmitted to the decoration determination means 6.

また、ポインティングデバイス3で線が引かれたことを検知すると、位置情報取得手段5が、引かれた線13に係る操作情報を取得し、その操作情報の座標情報から引かれた線を表す式を算出し、その式から位置座標を引かれた線13を特定する位置情報として取得する(S5)。また、図1(b)に示すように引かれた線が仮想線13bである場合、位置指定操作で指定された開始位置14a及び終了位置14bの座標情報から求められた式による位置14c,14c,…の位置座標の集合である。そして、取得すると、位置情報取得手段5は、引かれた線13を特定する位置情報を装飾判定手段6に送信する。   When the pointing device 3 detects that a line has been drawn, the position information acquisition unit 5 acquires operation information related to the drawn line 13, and an expression representing the line drawn from the coordinate information of the operation information. Is obtained as position information for specifying the line 13 from which the position coordinates are drawn (S5). Further, when the drawn line is a virtual line 13b as shown in FIG. 1B, the positions 14c and 14c according to the formulas obtained from the coordinate information of the start position 14a and the end position 14b specified by the position specifying operation. ,... Is a set of position coordinates. When the position information is acquired, the position information acquisition unit 5 transmits position information for specifying the drawn line 13 to the decoration determination unit 6.

次に、装飾判定手段6は、位置情報、文字記載領域情報に基づいて文字記載領域16aに含まれる引かれた線の割合を算出し(S6)、その割合から装飾種別を判定する(S7)。例えば、図7に示す割合と装飾種別との関係から形状、線幅や色などの装飾種別が決められる。また、装飾判定手段6は、引かれた線を特定する位置情報から装飾範囲を決定する(S8)。次に、装飾表示手段9は装飾範囲及び装飾種別を受けて、装飾線を装飾範囲に表示する(S9)。   Next, the decoration determination means 6 calculates the ratio of the drawn line included in the character description area 16a based on the position information and the character description area information (S6), and determines the decoration type from the ratio (S7). . For example, the decoration type such as shape, line width, and color is determined from the relationship between the ratio and the decoration type shown in FIG. Further, the decoration determination means 6 determines the decoration range from the position information that identifies the drawn line (S8). Next, the decoration display means 9 receives the decoration range and the decoration type, and displays the decoration line in the decoration range (S9).

このように、線の割合が大きいと、文字記載領域に線が引かれている可能性が高いと判断され、装飾線は文字記載領域に表示されるように、装飾種別が判定される。一方、線の割合が小さいと、文字記載領域に線が引かれている可能性が低く、たとえば文字記載領域の下に引かれていると判断され、装飾線は文字記載領域の下、つまり下線として表示されるように、装飾種別が判定される。このため、引かれた線の全体と文字記載領域との関係でユーザの意図を判断し、装飾線を表示することができる。また、引かれた線の全体で判断されることにより、正確に線を引く必要がなく、操作性に優れる。さらに、線を引くという1つの操作で装飾範囲および装飾種別を決定することができ、操作性に優れる。なお、上記実施例では線の割合によりマーカ表示や下線表示などを判定したが、これに限定されず、線の割合に応じて装飾線の線形状、線種、線幅、位置、これらの組合せなどの装飾種別を判定できる。   As described above, when the proportion of the line is large, it is determined that there is a high possibility that a line is drawn in the character description area, and the decoration type is determined so that the decoration line is displayed in the character description area. On the other hand, if the percentage of the line is small, it is unlikely that a line is drawn in the character description area. For example, it is determined that the line is drawn below the character description area. As a result, the decoration type is determined. For this reason, the user's intention can be determined based on the relationship between the entire drawn line and the character description area, and the decoration line can be displayed. Moreover, since it is judged by the whole drawn line, it is not necessary to draw a line accurately, and the operability is excellent. Furthermore, the decoration range and decoration type can be determined by one operation of drawing a line, and the operability is excellent. In the above embodiment, marker display or underline display is determined based on the line ratio. However, the present invention is not limited to this, and the line shape, line type, line width, position, and combination of the decorative lines are determined according to the line ratio. The decoration type such as can be determined.

次に、本発明の第2実施形態を説明する。   Next, a second embodiment of the present invention will be described.

本実施形態の文字装飾システム1は、ポインティングデバイス3で引かれた線13の長さと当該引かれた線13の開始位置と終了位置の直線距離とに基づいて装飾種別を判定するものである。引かれた線13の長さとは、引かれた線13に沿った長さであって、引かれた線13を特定する位置情報から算出される。例えば、位置情報の各位置座標から隣接位置間の距離をそれぞれ算出し、それを積算することによって得られる。   The character decoration system 1 according to the present embodiment determines the decoration type based on the length of the line 13 drawn by the pointing device 3 and the linear distance between the start position and the end position of the drawn line 13. The length of the drawn line 13 is a length along the drawn line 13 and is calculated from position information for specifying the drawn line 13. For example, it is obtained by calculating the distance between adjacent positions from each position coordinate of the position information and integrating the distances.

装飾判定手段6は、位置情報取得手段5から引かれた線13を特定する位置情報と、文字領域情報取得手段8から文字領域情報とを受けて、これらに基づいて文字の装飾種別を判定する。装飾判定手段6は装飾種別判定手段6aを含み、この装飾種別判定手段6aで装飾種別が判定される。具体的には、位置情報から引かれた線の長さLと、引かれた線の開始位置および終了位置の直線距離Sとを求め、これらを比較し、その比較結果と装飾種別との関係を示した式や表などの所定の基準を用いて、線の長さLと直線距離Sとの比較結果から装飾種別を取得する。   The decoration determination means 6 receives the position information for specifying the line 13 drawn from the position information acquisition means 5 and the character area information from the character area information acquisition means 8, and determines the decoration type of the character based on these. . The decoration determination means 6 includes a decoration type determination means 6a, and the decoration type determination means 6a determines the decoration type. Specifically, the length L of the line drawn from the position information and the straight line distance S between the start position and the end position of the drawn line are obtained, compared, and the relationship between the comparison result and the decoration type The decoration type is acquired from the comparison result between the line length L and the straight line distance S using a predetermined criterion such as an expression or a table indicating the above.

より具体的には、例えば図9(a)に示すように、引かれた線13の長さと、当該引かれた線13の開始位置19aと終了位置19bとの直線距離Sとに基づき装飾種別は決定される。引かれた線13の長さは、位置情報取得手段5によって特定された引かれた線13の位置情報から引かれた線13を構成する点間の距離を求め、それらを加算して距離を算出する。また、装飾判定手段6は引かれた線13の開始位置19aと終了位置19bとの直線距離(以下、「直線距離」と称す。)Sを算出する。   More specifically, for example, as shown in FIG. 9A, the decoration type is based on the length of the drawn line 13 and the linear distance S between the start position 19a and the end position 19b of the drawn line 13. Is determined. The length of the drawn line 13 is obtained by calculating the distance between points constituting the drawn line 13 from the position information of the drawn line 13 specified by the position information acquiring means 5, and adding them to obtain the distance. calculate. Further, the decoration determination means 6 calculates a linear distance (hereinafter referred to as “linear distance”) S between the start position 19 a and the end position 19 b of the drawn line 13.

例えば、図10(a)に示すように、ポインティングデバイス3によって線13が引かれると、装飾判定手段6は、図10(b)に示すように、位置情報が得られた場合、引かれた線13を特定するx座標及びy座標からなる位置情報から隣接位置間の距離を算出し、算出した隣接位置間の距離を積算し、引かれた線13の長さLを算出する。さらに、引かれた線13の開始位置19aと終了位置19bの座標から直線距離Sを算出する。この場合、図10(c)に示すように、引かれた線13の長さLが「129.1」と算出され、直線距離Sが「80.0」と算出される。   For example, as shown in FIG. 10 (a), when the line 13 is drawn by the pointing device 3, the decoration determining means 6 is drawn when the position information is obtained as shown in FIG. 10 (b). The distance between adjacent positions is calculated from the position information consisting of the x coordinate and the y coordinate specifying the line 13, the calculated distances between adjacent positions are integrated, and the length L of the drawn line 13 is calculated. Further, the straight line distance S is calculated from the coordinates of the start position 19a and the end position 19b of the drawn line 13. In this case, as shown in FIG. 10C, the length L of the drawn line 13 is calculated as “129.1”, and the straight line distance S is calculated as “80.0”.

そして、装飾判定手段6は、引かれた線13の長さLと直線距離Sとを比較する。例えば、直線距離Sに対する引かれた線13の長さLの比率(L/S)、引かれた線13の長さLから直線距離Sを引いた差(L−S)により引かれた線13の長さと直線距離Sとを比較することができる。そして、この比較の結果に基づいて装飾種別を決定する。図10(b)の場合には、図10(c)に示すように、直線距離Sに対する引かれた線13の長さLの比率(L/S)は「1.6」、引かれた線の長さLから直線距離Sの差(L−S)は「49.1」がそれぞれ算出される。   Then, the decoration determination unit 6 compares the length L of the drawn line 13 with the linear distance S. For example, the ratio of the length L of the drawn line 13 to the linear distance S (L / S), and the line drawn by the difference (LS) obtained by subtracting the linear distance S from the length L of the drawn line 13. The length of 13 and the linear distance S can be compared. Then, the decoration type is determined based on the comparison result. In the case of FIG. 10B, as shown in FIG. 10C, the ratio (L / S) of the length L of the drawn line 13 to the straight line distance S is “1.6”. The difference (LS) between the line length L and the straight line distance S is calculated as “49.1”.

装飾判定手段6は、引かれた線13の長さと、直線距離Sの比率や距離の差等を算出し、当該比率や距離の差等に基づいて装飾種別を決定する。具体的には、直線距離Sに対する引かれた線13の長さの比率が求められると、比率と装飾種別との関係基準を示す当該比率に対する閾値から、線種や線幅などの装飾種別が決められる。例えば、直線距離Sより引かれた線13の長さLが1.2倍長い場合の比率(L/S)と、直線距離Sより引かれた線13の長さLが1.5倍長い場合とを比率(L/S)を閾値とし、比率が1.2未満であれば直線状の線種の装飾種別が決定され、比率が1.2以上1.5未満であれば波長の長い波線状の線種の装飾種別が決定され、比率が1.5以上であれば比率が1.2以上1.5未満のときの波長より短い波長の波線上の線種の装飾種別が決定される。   The decoration determination means 6 calculates the ratio of the length of the drawn line 13 and the straight line distance S, the difference in distance, and the like, and determines the decoration type based on the ratio, the difference in distance, and the like. Specifically, when the ratio of the length of the drawn line 13 to the straight line distance S is obtained, the decoration type such as the line type and the line width is determined from the threshold value for the ratio indicating the relation standard between the ratio and the decoration type. It is decided. For example, the ratio (L / S) when the length L of the line 13 drawn from the straight line distance S is 1.2 times longer and the length L of the line 13 drawn from the straight line distance S are 1.5 times longer. If the ratio (L / S) is a threshold value and the ratio is less than 1.2, the decoration type of the linear line type is determined, and if the ratio is 1.2 or more and less than 1.5, the wavelength is long. The decoration type of the wavy line type is determined. If the ratio is 1.5 or more, the decoration type of the line type on the wavy line having a wavelength shorter than the wavelength when the ratio is 1.2 or more and less than 1.5 is determined. The

また、装飾判定手段6は、第1実施形態で説明したように、引かれた線13を特定する位置情報から装飾線の装飾範囲を決定する。そして、装飾表示手段9は、装飾判定手段6から装飾範囲と装飾種別とを受け、操作画面25に装飾線20を表示する。例えば、図9(b)のように、引かれた線13の長さLが100.3、直線距離Sが85の場合、比率は1.18となり、引かれた線13の開始位置19aのx座標と終了位置19bのx座標との間の装飾範囲において文字記載領域の下限に直線状の装飾線20bを表示する。また、図9(c)のように、引かれた線13の長さLが117.3、直線距離Sが85の場合、比率は1.38となり、引かれた線13の開始位置19aのx座標と終了位置19bのx座標との間の装飾範囲において文字記載領域の下限に、波長の長い波線状の装飾線20cを表示する。さらに、図9(d)のように、引かれた線13の長さLが138.6、直線距離Sが85の場合、比率は1.63となり、引かれた線13の開始位置19aのx座標と終了位置19bのx座標との間の装飾範囲において文字記載領域の下限に、波長の短い波線状の装飾線20dを表示する。本例では、比率に対する閾値から所定の波線の波長を求めたが、波の計算式を用いて引かれた線の長さおよび直線距離から波線の波長を算出することもできる。   Further, as described in the first embodiment, the decoration determination unit 6 determines the decoration range of the decoration line from the position information that specifies the drawn line 13. The decoration display unit 9 receives the decoration range and the decoration type from the decoration determination unit 6 and displays the decoration line 20 on the operation screen 25. For example, as shown in FIG. 9B, when the length L of the drawn line 13 is 100.3 and the linear distance S is 85, the ratio is 1.18, and the start position 19a of the drawn line 13 is In the decoration range between the x-coordinate and the x-coordinate of the end position 19b, a linear decoration line 20b is displayed at the lower limit of the character description area. 9C, when the length L of the drawn line 13 is 117.3 and the linear distance S is 85, the ratio is 1.38, and the start position 19a of the drawn line 13 is In the decoration range between the x-coordinate and the x-coordinate of the end position 19b, a wavy line-shaped decoration line 20c having a long wavelength is displayed at the lower limit of the character description area. Further, as shown in FIG. 9D, when the length L of the drawn line 13 is 138.6 and the straight line distance S is 85, the ratio is 1.63, and the start position 19a of the drawn line 13 is In the decoration range between the x coordinate and the x coordinate of the end position 19b, a wavy decorative line 20d having a short wavelength is displayed at the lower limit of the character description area. In this example, the wavelength of the predetermined wave line is obtained from the threshold value with respect to the ratio, but the wavelength of the wave line can also be calculated from the length of the line drawn using the wave calculation formula and the straight line distance.

本実施形態における文字装飾システム1の処理の流れにおいて、上記実施形態と同様の部分についての説明は省略する。図8のステップ6(S6)において、装飾判定手段6は、引かれた線13の長さLを算出すると共に、当該引かれた線13の開始位置19aと終了位置19bとから直線距離Sを算出し、引かれた線13の長さLと直線距離Sとを比較する。そして、ステップ7(S7)において、装飾種別判定手段6aは比較結果に基づき装飾種別を判定し、また、ステップ8(S8)において装飾判定手段6は文字記載領域情報及び位置情報から装飾範囲を決定する。そして、装飾表示手段9は、装飾範囲及び装飾種別を受けて、装飾線を装飾範囲に表示する(S9)。   In the processing flow of the character decoration system 1 in this embodiment, the description of the same parts as those in the above embodiment is omitted. In step 6 (S6) of FIG. 8, the decoration determination means 6 calculates the length L of the drawn line 13, and calculates the linear distance S from the start position 19a and the end position 19b of the drawn line 13. The length L of the drawn line 13 is compared with the straight line distance S. In step 7 (S7), the decoration type determination means 6a determines the decoration type based on the comparison result. In step 8 (S8), the decoration determination means 6 determines the decoration range from the character description area information and the position information. To do. And the decoration display means 9 receives a decoration range and a decoration classification, and displays a decoration line in a decoration range (S9).

このように、引かれた線の長さLと直線距離Sとの比較の結果、長さLが直線距離Sに比べて小さいと、長さがLが直線距離に近い、つまり引かれた線が直線である可能性が高いと判断され、装飾線が直線に表示されるように、装飾種別が判定される。一方、長さLが直線距離Sに比べて長いと、引かれた線が波打っている可能性が高いと判断され、装飾線が波線に表示されるように、装飾種別が判定される。さらに、長さLが直線距離Sより非常に長いと、波線の波数が多い、または波の振幅が大きい可能性が高いと判断され、長さLと直線距離Sとの比較の結果に応じて波線の形状を変えた波線が表示されるように、装飾種別が判定される。このため、引かれた線の全体と直線との関係でユーザの意図を判断し、装飾線を表示することができる。また、引かれた線の全体で判断されることにより、正確に線を引く必要がなく、操作性に優れる。さらに、線を引くという1つの操作で装飾範囲および装飾種別を決定することができ、操作性に優れる。   As described above, when the length L is smaller than the linear distance S as a result of the comparison between the length L of the drawn line and the linear distance S, the length L is close to the linear distance, that is, the drawn line. Is determined to be a straight line, and the decoration type is determined so that the decorative line is displayed in a straight line. On the other hand, if the length L is longer than the straight line distance S, it is determined that there is a high possibility that the drawn line is wavy, and the decoration type is determined so that the decoration line is displayed on the wavy line. Furthermore, if the length L is much longer than the linear distance S, it is determined that there is a high possibility that the wave number of the wavy line is large or the amplitude of the wave is large. The decoration type is determined so that a wavy line whose shape is changed is displayed. For this reason, the user's intention can be determined based on the relationship between the entire drawn line and the straight line, and the decoration line can be displayed. Moreover, since it is judged by the whole drawn line, it is not necessary to draw a line accurately, and the operability is excellent. Furthermore, the decoration range and decoration type can be determined by one operation of drawing a line, and the operability is excellent.

その他の構成、変形例については、基本的に上記第1実施形態と同じであるので、その説明を省略する。   Since other configurations and modifications are basically the same as those in the first embodiment, description thereof will be omitted.

なお、図9では、直線距離Sと引かれた線13の長さの比率に基づいて、直線状や波線状などの装飾線の線形状を判定したが、比率に基づいて装飾線の線種、線幅、色、位置これらの組み合わせなどの装飾種別を判定することもできる。また、上記実施例では、直線距離に対する引かれた線の長さの比率にも基づいて装飾種別を判定したが、これと同様に、引かれた線の長さと直線距離との差でも装飾種別を判定することができる。   In FIG. 9, the line shape of a decoration line such as a straight line or a wavy line is determined based on the ratio between the straight line distance S and the length of the drawn line 13, but the line type of the decoration line is determined based on the ratio. It is also possible to determine a decoration type such as a combination of line width, color, and position. In the above-described embodiment, the decoration type is determined based on the ratio of the length of the drawn line to the straight line distance. Similarly, the decoration type is determined by the difference between the length of the drawn line and the straight line distance. Can be determined.

次に、本発明の第3実施形態を説明する。   Next, a third embodiment of the present invention will be described.

本実施形態は、引かれた線13が引かれた際の操作速度に基づいて装飾種別を判定するものであり、操作速度の算出手法としては種々の方法が考えられるが、本例では装飾判定手段6が、位置情報取得手段5から引かれた線を特定する位置情報および操作情報の日時情報を受けて、日時情報から操作時間を算出し、位置情報および操作時間から操作速度を算出する。   In the present embodiment, the decoration type is determined based on the operation speed when the drawn line 13 is drawn, and various methods can be considered as a method for calculating the operation speed. In this example, the decoration determination is performed. The means 6 receives the position information specifying the line drawn from the position information acquisition means 5 and the date information of the operation information, calculates the operation time from the date information, and calculates the operation speed from the position information and the operation time.

位置情報取得手段5は、引かれた線に係る操作情報の座標情報から引かれた線13を特定する位置情報を取得しながら、操作内容や日時情報、座標情報などにより開始位置及び終了位置を特定する。また、開始位置および終了位置の日時情報を操作情報から取得する。取得した位置情報および日時情報を装飾判定手段6に送信する。   The position information acquisition means 5 obtains the position information for identifying the line 13 drawn from the coordinate information of the operation information related to the drawn line, and sets the start position and end position based on the operation content, date information, coordinate information, etc. Identify. Further, the date and time information of the start position and the end position is acquired from the operation information. The acquired position information and date / time information are transmitted to the decoration determination means 6.

装飾判定手段6は、位置情報取得手段5から引かれた線13を特定する位置情報および操作情報の日時情報と、文字領域情報取得手段8から文字領域情報とを受け、位置情報および日時情報から操作速度を算出し、この操作速度に基づいて文字の装飾種別を決定する。装飾判定手段6は装飾種別判定手段6aを含み、この装飾種別判定手段6aで装飾種別が決められる。この装飾種別は、操作速度と装飾種別との関係を示した式や表などの所定の基準を用いて、操作速度から決定される。   The decoration determination means 6 receives the position information specifying the line 13 drawn from the position information acquisition means 5 and the date / time information of the operation information, and the character area information from the character area information acquisition means 8, and from the position information and the date / time information. The operation speed is calculated, and the decoration type of the character is determined based on the operation speed. The decoration determination means 6 includes a decoration type determination means 6a, and the decoration type is determined by the decoration type determination means 6a. This decoration type is determined from the operation speed using a predetermined standard such as an expression or a table showing the relationship between the operation speed and the decoration type.

例えば、上記した図10(a)に示すように、ポインティングデバイス3によって線13が引かれると、装飾判定手段6は、図10(b)に示すように、引かれた線13を特定するx座標及びy座標からなる位置情報から隣接位置間の距離を算出し、算出した隣接位置間の距離を積算し、引かれた線13の長さLが「129.1」と算出される。   For example, when the line 13 is drawn by the pointing device 3 as shown in FIG. 10A described above, the decoration determination means 6 identifies the drawn line 13 as shown in FIG. The distance between the adjacent positions is calculated from the position information including the coordinates and the y-coordinate, the calculated distances between the adjacent positions are integrated, and the length L of the drawn line 13 is calculated as “129.1”.

また、開始位置の日時情報と終了位置の日時情報との差、例えば、2008年6月20日AM10時53分35秒〜2008年6月20日AM10時53分40.5秒までの5.5秒間などから操作時間Tを算出する。なお、装飾判定手段6は、日時情報を位置情報と対応付けて位置情報取得手段5から取得し操作時間Tは、図10(b)に示すように各位置点の日時情報から隣接位置点間の時間差を算出し、これらを積算し、「5.50」と算出することもできる。   Also, the difference between the date and time information of the start position and the date and time information of the end position, for example, from June 20, 2008 AM 10:53:35 to June 20, 2008 AM 10: 53: 40.5. The operation time T is calculated from 5 seconds or the like. The decoration determination unit 6 associates the date and time information with the position information and acquires it from the position information acquisition unit 5, and the operation time T is calculated from the date and time information of each position point to the adjacent position points as shown in FIG. It is also possible to calculate “5.50” by calculating the time difference between the two.

そして、長さLおよび操作時間Tから図10(c)のように、操作速度(L/T)を「23.5」と算出する。   Then, the operation speed (L / T) is calculated as “23.5” from the length L and the operation time T as shown in FIG.

例えば、操作速度と装飾種別との関係基準を示す操作速度に対する閾値で、マーカ表示の色の濃淡を装飾種別として設定する。具体的には、操作速度が閾値20以上では濃色とし、閾値20未満では淡色とする。この場合、図10の例のように操作速度が23.5のときには、図11(a)に示すように、淡色のマーカ表示26aが決定される。また、図11(b)に示すように、操作速度が17.9のときには、操作画面25bの装飾範囲に対応する位置への濃色のマーカ表示26bが決定される。なお、装飾種別を操作速度の閾値で決定したが、これに限定されず、たとえば操作速度に応じて色の濃淡を変化させることもできる。   For example, the color of the marker display is set as the decoration type with a threshold value for the operation speed indicating the relational standard between the operation speed and the decoration type. Specifically, when the operation speed is 20 or more, the color is dark, and when the operation speed is less than the value 20, the color is light. In this case, as shown in FIG. 11A, when the operation speed is 23.5 as in the example of FIG. 10, the light marker display 26a is determined. Further, as shown in FIG. 11B, when the operation speed is 17.9, the dark marker display 26b at a position corresponding to the decoration range of the operation screen 25b is determined. Although the decoration type is determined by the threshold value of the operation speed, the present invention is not limited to this. For example, the color shade can be changed according to the operation speed.

また、装飾判定手段6は、第1実施形態で説明したように、引かれた線13を特定する位置情報から装飾線の装飾範囲を決定する。装飾表示手段9は、装飾判定手段6から装飾範囲と装飾種別とを受け、操作画面25に装飾線26を表示する。例えば、図11の場合、装飾範囲に対応する位置を、装飾種別に従い淡色のマーカ表示26a及び濃色のマーカ表示26bで表示する。   Further, as described in the first embodiment, the decoration determination unit 6 determines the decoration range of the decoration line from the position information that specifies the drawn line 13. The decoration display means 9 receives the decoration range and decoration type from the decoration determination means 6 and displays a decoration line 26 on the operation screen 25. For example, in the case of FIG. 11, the position corresponding to the decoration range is displayed with a light marker display 26a and a dark marker display 26b according to the decoration type.

本実施形態における文字装飾システム1の処理の流れにおいて、上記実施形態と同様の部分についての説明は省略する。図8におけるステップ6(S6)において、装飾判定手段6は、操作情報取得手段4によって取得された操作情報の日時情報に基づきポインティングデバイス3を操作して線を引くときの開始位置から終了位置までの操作時間Tを演算すると共に、位置情報から引かれた線13の長さLを演算する。そして、引かれた線13の長さLと操作時間Tとから操作速度(L/T)を演算する(S6)。さらに、ステップ7において、装飾判定手段6が、操作速度(L/T)と文字記載領域情報に基づき装飾種別を判定する(S7)。また、装飾判定手段6は、引かれた線を特定する位置情報から装飾範囲を決定する(S8)。そして、装飾表示手段9は、装飾範囲及び装飾種別を受けて、装飾線を装飾範囲に表示する(S9)。   In the processing flow of the character decoration system 1 in this embodiment, the description of the same parts as those in the above embodiment is omitted. In step 6 (S6) in FIG. 8, the decoration determination means 6 operates from the start position to the end position when the pointing device 3 is drawn based on the date information of the operation information acquired by the operation information acquisition means 4. And the length L of the line 13 drawn from the position information is calculated. Then, the operation speed (L / T) is calculated from the length L of the drawn line 13 and the operation time T (S6). Furthermore, in step 7, the decoration determination means 6 determines the decoration type based on the operation speed (L / T) and the character description area information (S7). Further, the decoration determination means 6 determines the decoration range from the position information that identifies the drawn line (S8). And the decoration display means 9 receives a decoration range and a decoration classification, and displays a decoration line in a decoration range (S9).

このように、操作速度が小さいと、ポインティングデバイスのカーソルの動きが遅いので、たとえば、カーソルをペンと見立てた場合、ペンの接触時間が長く、インクの供給量が多くなる可能性が高いと判断され、装飾線の色が濃く表示されるように、装飾種別が判定される。一方、操作速度が小さいと、ポインティングデバイスのカーソルの動きが速いので、たとえば、カーソルをペンと見立てた場合、ペンの接触時間が短く、インクの供給量が少なくなる可能性が高いと判断され、装飾線の色が淡く表示されるように、装飾種別が判定される。このため、引かれた線の全体の長さおよび時間の関係でユーザの意図を判断し、装飾線を表示することができる。また、引かれた線の全体で判断されることにより、正確に線を引く必要がなく、操作性に優れる。さらに、線を引くという1つの操作で装飾範囲および装飾種別を決定することができ、操作性に優れる。   As described above, when the operation speed is low, the cursor of the pointing device moves slowly. For example, when the cursor is regarded as a pen, it is determined that there is a high possibility that the pen contact time is long and the amount of ink supply increases. The decoration type is determined so that the color of the decoration line is darkly displayed. On the other hand, if the operation speed is low, the cursor of the pointing device moves quickly. For example, when the cursor is regarded as a pen, it is determined that there is a high possibility that the pen contact time is short and the ink supply amount is low. The decoration type is determined so that the color of the decoration line is displayed lightly. For this reason, the user's intention can be determined based on the overall length of the drawn line and time, and the decoration line can be displayed. Moreover, since it is judged by the whole drawn line, it is not necessary to draw a line accurately, and the operability is excellent. Furthermore, the decoration range and decoration type can be determined by one operation of drawing a line, and the operability is excellent.

その他の構成、変形例については、基本的に上記実施形態と同じであるので、その説明を省略する。   Other configurations and modifications are basically the same as those in the above-described embodiment, and thus the description thereof is omitted.

尚、上記実施例では速度により色の濃淡を判定したが、これに限定されず、速度に応じて装飾線の線形状、線種、線幅、位置、これらの組合せなどの装飾種別を判定できる。   In the above-described embodiment, the color shade is determined based on the speed. However, the present invention is not limited to this, and the decoration type such as the line shape, line type, line width, position, and combination thereof can be determined according to the speed. .

上記全ての実施例において、装飾範囲を引かれた線の位置情報から求め、引かれた線自体や、開始位置および終了位置の間などを装飾範囲として決定したが、これに限定されない。たとえば、文字領域情報および位置情報から装飾文字の対象文字を特定し、その対象文字を装飾範囲とすることもできる。   In all the embodiments described above, the decoration range is obtained from the position information of the drawn line, and the drawn line itself and the start position and the end position are determined as the decoration range. However, the present invention is not limited to this. For example, it is possible to specify a target character of a decoration character from character area information and position information, and set the target character as a decoration range.

対象文字とは、操作画面に表示された文字のうち、装飾線で装飾される文字である。例えば、引かれた線13と操作画面上の文字との位置関係で判断され、引かれた線13のx方向の範囲に含まれる文字を装飾の対象とすることもできるし、また、文字の幅の中に引かれた線が含まれる文字を装飾の対象とすることもできる。さらに、引かれた線13との関係は文字単位で判断することもできるし、文字の組み合わせである単語で判断することもできる。単語で判断する場合は、辞書などを参照して文字から単語を特定する単語特定部を有する。   The target character is a character decorated with a decorative line among characters displayed on the operation screen. For example, it is determined based on the positional relationship between the drawn line 13 and the character on the operation screen, and the character included in the range of the drawn line 13 in the x direction can be used as a decoration target. A character including a line drawn in the width can be set as a decoration target. Further, the relationship with the drawn line 13 can be determined in units of characters, or can be determined by a word that is a combination of characters. When judging by a word, it has the word specific | specification part which specifies a word from a character with reference to a dictionary.

具体的には、図12に示すように、装飾種別判定手段6が装飾種別判定手段6aと装飾文字特定手段6bを含み、装飾種別判定手段6aによって装飾種別を判定するとともに、装飾文字特定手段6bによって文字装飾の対象文字を特定する。また、装飾文字特定手段6bは、位置情報取得手段5から引かれた線13を特定する位置情報と、文字領域情報取得手段8から文字領域情報とを受けて、装飾対象の文字を特定した対象文字情報を取得し、装飾表示手段9に送る。すわなち、引かれた線を特定する位置情報から開始位置のx座標および終了位置のx座標を取得し、これらの間を装飾対象領域とする。そして、この装飾対象領域と文字領域情報に含まれる各文字の表示位置の左端位置および右端位置のx座標とを比較して、装飾対象領域に相当する文字を対象文字とし、当該対象文字を装飾範囲として特定する。   Specifically, as shown in FIG. 12, the decoration type determination means 6 includes a decoration type determination means 6a and a decoration character specification means 6b. The decoration type determination means 6a determines the decoration type and the decoration character specification means 6b. The target character for character decoration is specified by. Further, the decoration character specifying unit 6b receives the position information specifying the line 13 drawn from the position information acquisition unit 5 and the character area information from the character region information acquisition unit 8, and specifies the character to be decorated Character information is acquired and sent to the decoration display means 9. That is, the x-coordinate of the start position and the x-coordinate of the end position are acquired from the position information specifying the drawn line, and the space between these is set as the decoration target area. Then, the decoration target area is compared with the x-coordinates of the left end position and the right end position of the display position of each character included in the character area information, the character corresponding to the decoration target area is set as the target character, and the target character is decorated. Specify as a range.

より具体的には、図14に示すように、引かれた線を特定する位置情報から取得した開始位置のx座標26.5および終了位置のx座標105.55の間を装飾対象領域として、この装飾対象領域と文字領域情報に含まれる「あ」「い」「う」「え」「お」「か」の表示位置の左端位置および右端位置のx座標とを比較する。この場合、「い」「う」「え」「お」の各文字の左端位置および右端位置は装飾対象領域に含まれているため、文字幅に占める引かれた線の比率は100%である。これに対して、「あ」の左端位置は18であり、右端位置35であるため、その比率は50%であり、「か」の左端位置は103であり、右端位置は120であるため、その比率は15%である。このとき、対象文字とするか否かの判断基準を40%としたときには、「あ」「い」「う」「え」「お」が対象文字として特定される。そして、対象文字の幅M、つまり対象文字の表示位置の左端位置x座標と右端位置のx座標との間を装飾範囲として、装飾表示手段9に送る。   More specifically, as shown in FIG. 14, a region between the x coordinate 26.5 of the start position and the x coordinate 105.55 of the end position acquired from the position information specifying the drawn line is set as a decoration target region. The decoration target area is compared with the x coordinate of the left end position and the right end position of the display positions of “A”, “I”, “U”, “E”, “O”, and “KA” included in the character area information. In this case, since the left end position and the right end position of each character of “I”, “U”, “E”, and “O” are included in the decoration target area, the ratio of the drawn line to the character width is 100%. . On the other hand, since the left end position of “A” is 18 and the right end position 35, the ratio is 50%, the left end position of “KA” is 103, and the right end position is 120. The ratio is 15%. At this time, when the criterion for determining whether or not to be a target character is 40%, “A”, “I”, “U”, “E”, and “O” are specified as target characters. Then, the width M of the target character, that is, the space between the left end position x coordinate of the display position of the target character and the x coordinate of the right end position is sent to the decoration display means 9 as a decoration range.

また、装飾表示手段9は、装飾判定手段6から装飾種別と対象文字情報とを受けて、対象文字の領域にわたって装飾線17を表示する。例えば、図14(a)の場合には、対象文字として特定された「あ」〜「お」の全域の文字記載領域16aを装飾種別として判定されたマーカ表示26aで表示する。図14(b)の場合には、対象文字として特定された「あ」〜「お」の全域の下限16cを装飾種別として判定された波線17aで表示する。図14(c)の場合には、対象文字として特定された「あ」〜「お」の全域の下限16cを装飾種別として判定された装飾線17cで表示する。   Further, the decoration display means 9 receives the decoration type and the target character information from the decoration determination means 6 and displays the decoration line 17 over the area of the target character. For example, in the case of FIG. 14A, the character description area 16a in the entire range of “A” to “O” specified as the target character is displayed with the marker display 26a determined as the decoration type. In the case of FIG. 14B, the lower limit 16c of the entire range of “A” to “O” specified as the target character is displayed by the wavy line 17a determined as the decoration type. In the case of FIG. 14C, the lower limit 16c of the entire range of “A” to “O” specified as the target character is displayed with the decoration line 17c determined as the decoration type.

次に、図8に基づいて文字装飾システム1の処理の流れについて説明する。なお、上記実施形態と同様の部分についての説明は省略する。ステップ(S8)において、装飾文字特定手段6bは、引かれた線を特定する位置情報および文字領域情報を受けて、これらから文字装飾の対象文字を装飾範囲として特定する。そして、装飾表示手段9は装飾範囲及び装飾種別を受けて、装飾線を装飾範囲に表示する(S9)。   Next, the flow of processing of the character decoration system 1 will be described with reference to FIG. In addition, description about the same part as the said embodiment is abbreviate | omitted. In step (S8), the decorative character specifying means 6b receives the position information and character area information specifying the drawn line, and specifies the target character for character decoration as the decorative range. Then, the decoration display means 9 receives the decoration range and the decoration type, and displays the decoration line in the decoration range (S9).

このように、対象文字を装飾範囲として特定すると、文字単位で装飾したい場合に、ユーザの意図に沿った装飾線を装飾すべき文字に付すことができ、また、ユーザは正確に装飾する文字を指定する必要がないので、操作性に優れる。   In this way, when the target character is specified as a decoration range, when it is desired to decorate in character units, a decoration line in line with the user's intention can be attached to the character to be decorated, and the user can accurately specify the character to be decorated. Since it is not necessary to specify, it is excellent in operability.

次に、本発明の第4実施形態を説明する。   Next, a fourth embodiment of the present invention will be described.

本実施形態では、文字領域情報及び位置情報から文字装飾の対象文字を特定した上で、さらに対象文字の幅Mと引かれた線13の長さとに基づいて装飾種別を判定するものである。具体的には、文字装飾の対象文字の文字列の幅Mと引かれた線の長さLとを比較し、その比較結果と装飾種別との関係を示した式や表などの所定の基準を用いて、文字列の幅Mと線の長さLとの比較結果から装飾種別を取得する。
対象文字の文字列の幅Mとは、文字装飾される文字列の幅である。なお、対象文字が1つの場合、文字列には1つの文字も含む。また、対象文字が複数である場合、それらの文字のうち、左端に位置する文字の左端位置と、右端に位置する文字の右端位置との間の距離に相当する。
In this embodiment, after specifying the target character of the character decoration from the character area information and the position information, the decoration type is determined based on the width M of the target character and the length of the drawn line 13. Specifically, the character string width M of the character decoration target character is compared with the length L of the drawn line, and a predetermined standard such as an expression or a table showing the relationship between the comparison result and the decoration type. Is used to obtain the decoration type from the comparison result between the width M of the character string and the length L of the line.
The width M of the character string of the target character is the width of the character string to be decorated. When there is one target character, the character string includes one character. Further, when there are a plurality of target characters, this corresponds to the distance between the left end position of the character located at the left end of the characters and the right end position of the character located at the right end.

具体的には、図12に示す実施形態と同様に、装飾判定手段6は装飾種別判定手段6aと装飾文字特定手段6bとを含み、装飾文字特定手段6bによって文字装飾の対象文字を特定する。   Specifically, as in the embodiment shown in FIG. 12, the decoration determining means 6 includes a decoration type determining means 6a and a decorative character specifying means 6b, and the decorative character specifying means 6b specifies the target character for character decoration.

装飾種別判定手段6aは、装飾文字特定手段6bによって特定された文字装飾の対象文字の文字列の幅Mと、引かれた線13の長さLとに基づき装飾種別が決定される。具体的には、装飾判定手段6は、第2実施形態と同様、位置情報取得手段5によって取得された引かれた線13の位置情報に基づき、引かれた線13の長さLを算出する。装飾文字特定手段6bによって特定された対象文字について文字領域情報を得て、この文字領域情報から対象文字の文字列の幅を算出する。たとえば、対象文字の文字領域情報から対象文字のそれぞれの文字幅を取得し、それを積算して対象文字の文字列の幅Mを算出する。たとえば、対象文字「あ」「い」「う」「え」「お」の各文字の幅が17である場合、この文字列の幅Mは17×5=85となる。また、対象文字の文字領域情報の表示位置から対象文字の文字列の右端位置および左端位置を特定し、これらの差から文字列の幅Mを算出する。たとえば、図16に示すように、対象文字の文字列「あいうえお」の「あ」の左端位置18と、「お」の右端位置103との差から文字列の幅Mが85と算出される。   The decoration type determination unit 6 a determines the decoration type based on the width M of the character string of the character decoration target character specified by the decoration character specification unit 6 b and the length L of the drawn line 13. Specifically, the decoration determination unit 6 calculates the length L of the drawn line 13 based on the position information of the drawn line 13 acquired by the position information acquisition unit 5 as in the second embodiment. . Character area information is obtained for the target character specified by the decorative character specifying means 6b, and the width of the character string of the target character is calculated from the character area information. For example, each character width of the target character is acquired from the character area information of the target character, and is added to calculate the width M of the character string of the target character. For example, if the width of each of the target characters “A”, “I”, “U”, “E”, and “O” is 17, the width M of this character string is 17 × 5 = 85. Further, the right end position and the left end position of the character string of the target character are specified from the display position of the character area information of the target character, and the width M of the character string is calculated from the difference therebetween. For example, as shown in FIG. 16, the width M of the character string is calculated as 85 from the difference between the left end position 18 of “A” in the character string “AIUEO” of the target character and the right end position 103 of “O”.

そして、装飾判定手段6は、引かれた線13の長さLと文字列の幅Mとを比較する。例えば、文字列の幅Mに対する引かれた線13の長さLの比率(L/M)、引かれた線13の長さLから文字列の幅Mを引いた差(L−M)により引かれた線13の長さLと文字列の幅Mとを比較することができる。そして、この比較の結果に基づいて装飾種別を決定する。   Then, the decoration determination unit 6 compares the length L of the drawn line 13 with the width M of the character string. For example, the ratio (L / M) of the length L of the drawn line 13 to the width M of the character string and the difference (LM) obtained by subtracting the width M of the character string from the length L of the drawn line 13 The length L of the drawn line 13 can be compared with the width M of the character string. Then, the decoration type is determined based on the comparison result.

例えば、文字列の幅Mより引かれた線13の長さLが短い場合の比率(L/M)と、文字列の幅Mより引かれた線13の長さLが1.2倍長い場合の比率(L/M)とを閾値とし、比率が1.0未満であれば直線状の線種の装飾種別が決定され、比率が1.0以上1.2未満であれば波長の長い波線状の線種の装飾種別が決定され、比率が1.2以上であれば比率が1.0以上1.2未満のときの波長より短い波長の波線上の線種の装飾種別が決定される。   For example, the ratio (L / M) when the length L of the line 13 drawn from the width M of the character string is short and the length L of the line 13 drawn from the width M of the character string are 1.2 times longer. If the ratio is less than 1.0, a linear line type decoration type is determined. If the ratio is 1.0 or more and less than 1.2, the wavelength is long. The decoration type of the wavy line type is determined. If the ratio is 1.2 or more, the decoration type of the line type on the wavy line having a wavelength shorter than the wavelength when the ratio is 1.0 or more and less than 1.2 is determined. The

図15(a)に示すように、操作画面24にポインティングデバイス3で線13が引かれた線の長さLが111.6、文字列の幅Mが125の場合、比率は0.9となり、直線状の装飾種別が決定される。また、図15(b)のように、操作画面24にポインティングデバイス3で線13が引かれた線の長さLが143.6、文字列の幅Mが125の場合、比率は1.1となり、波長の長い波線状の装飾種別が決定される。さらに、図15(c)のように、操作画面24にポインティングデバイス3で線13が引かれた線の長さLが165.8、文字列の幅Mが125の場合、比率は1.3となり、波長の短い波線状の装飾種別が決定される。より具体的には、例えば、図16の場合、引かれた線13の長さLが129.1、文字列の幅Mが85となり、比率は1.5となり、波長の短い波線状の装飾種別が決定されることとなる。そして、装飾表示手段9は、装飾判定手段6から装飾範囲と装飾種別とを受け、操作画面25に装飾線20を表示する。   As shown in FIG. 15A, when the length L of the line 13 drawn by the pointing device 3 on the operation screen 24 is 111.6 and the width M of the character string is 125, the ratio is 0.9. The linear decoration type is determined. Further, as shown in FIG. 15B, when the line length L is 143.6 and the character string width M is 125 when the line 13 is drawn on the operation screen 24 by the pointing device 3, the ratio is 1.1. Thus, a wavy line-shaped decoration type having a long wavelength is determined. Further, as shown in FIG. 15C, when the length L of the line drawn by the pointing device 3 on the operation screen 24 is 165.8 and the width M of the character string is 125, the ratio is 1.3. Thus, a wavy decoration type with a short wavelength is determined. More specifically, for example, in the case of FIG. 16, the length L of the drawn line 13 is 129.1, the width M of the character string is 85, the ratio is 1.5, and the wavy line-shaped decoration with a short wavelength. The type will be determined. The decoration display unit 9 receives the decoration range and the decoration type from the decoration determination unit 6 and displays the decoration line 20 on the operation screen 25.

次に、図13に基づいて、文字装飾システム1の処理の流れについて説明する。なお、上記実施形態と同様の部分についての説明は省略する。ステップ16(S16)において、装飾文字特定手段6bは、引かれた線を特定する位置情報および文字領域情報を受けて、これらから対象文字を特定し、装飾判定手段6はこの対象文字を装飾範囲として決定するとともに、対象文字の文字列の幅Mを算出する。また、引かれた線を特定する位置情報から引かれた線の長さLを算出し、文字列の幅Mと長さLを比較する(S17)。そして、ステップ18(S18)において、装飾種別判定手段6Aは比較結果から装飾種別を判定する。そして、装飾表示手段9は装飾判定手段6から装飾範囲及び装飾種別を受けて、装飾線を装飾範囲に表示する(S19)。   Next, the processing flow of the character decoration system 1 will be described with reference to FIG. In addition, description about the same part as the said embodiment is abbreviate | omitted. In step 16 (S16), the decoration character specifying means 6b receives the position information and the character area information specifying the drawn line, specifies the target character from these, and the decoration determination means 6 sets the target character in the decoration range. And the width M of the character string of the target character is calculated. Also, the length L of the drawn line is calculated from the position information for specifying the drawn line, and the width M and the length L of the character string are compared (S17). In step 18 (S18), the decoration type determination means 6A determines the decoration type from the comparison result. The decoration display means 9 receives the decoration range and decoration type from the decoration determination means 6 and displays the decoration line in the decoration range (S19).

このように、引かれた線の長さLと文字列の幅Mとの比較の結果、長さLが幅Mに比べて小さいと、長さLが装飾すべき文字の幅である直線距離に近い、つまり引かれた線が直線である可能性が高いと判断され、装飾線が直線に表示されるように、装飾種別が判定される。一方、長さLが文字列の幅Mに比べて長いと、引かれた線が波打っている可能性が高いと判断され、装飾線が波線に表示されるように、装飾種別が判定される。このため、引かれた線の全体と装飾対象の文字列の幅との関係でユーザの意図を判断し、装飾線を表示することができる。また、引かれた線の全体で判断されることにより、正確に線を引く必要がなく、操作性に優れる。さらに、線を引くという1つの操作で装飾範囲および装飾種別を決定することができ、操作性に優れる。   As described above, when the length L is smaller than the width M as a result of the comparison between the length L of the drawn line and the width M of the character string, the linear distance is the width of the character to be decorated. It is determined that there is a high possibility that the drawn line is a straight line, and the decoration type is determined so that the decorative line is displayed in a straight line. On the other hand, if the length L is longer than the width M of the character string, it is determined that the drawn line is likely to be wavy, and the decoration type is determined so that the decoration line is displayed in the wavy line. The Therefore, the user's intention can be determined based on the relationship between the entire drawn line and the width of the character string to be decorated, and the decoration line can be displayed. Moreover, since it is judged by the whole drawn line, it is not necessary to draw a line accurately, and the operability is excellent. Furthermore, the decoration range and decoration type can be determined by one operation of drawing a line, and the operability is excellent.

その他の構成、変形例については、基本的に上記の実施形態と同じであるので、その説明を省略する。   Other configurations and modifications are basically the same as those in the above-described embodiment, and thus the description thereof is omitted.

上記実施例では、引かれた線の長さLと文字列の幅Mとの比較結果により装飾線の線形状を判定したが、これに限定されず、比較結果に応じて装飾線種、線幅、位置、色、これらの組合せなどの装飾種別を判定できる。   In the above embodiment, the line shape of the decoration line is determined based on the comparison result between the length L of the drawn line and the width M of the character string. However, the present invention is not limited to this, and the decoration line type and line are determined according to the comparison result. Decoration types such as width, position, color, and combinations thereof can be determined.

次に、本発明の第5実施形態を説明する。   Next, a fifth embodiment of the present invention will be described.

本実施形態では、引かれた線13が、文字記載領域16aの下限16cを通過した回数に基づいて装飾種別を判定する。この場合、軌跡線13aに含まれる複数の位置のそれぞれが文字記載領域16a内にあるか否かを判断し、文字記載領域16aにある位置の次の位置が文字記載領域16aになければ、その2つの位置の間で下限16cを通過して文字記載領域16aの外に移っているため、1回下限16cを通過したことになり、その反対も同様である。この判断を続けて、下限16cを通過した回数を算出する。その回数は所定数以上であれば、波線とし、所定数未満であれば直線と判断する。例えば、上記図4の例では、下限16cを通過する回数は4回となる。   In the present embodiment, the decoration type is determined based on the number of times the drawn line 13 has passed the lower limit 16c of the character description area 16a. In this case, it is determined whether or not each of the plurality of positions included in the locus line 13a is in the character description area 16a. If the next position after the position in the character description area 16a is not in the character description area 16a, Since it passes the lower limit 16c between the two positions and moves outside the character description area 16a, it means that it has passed the lower limit 16c once, and vice versa. This determination is continued, and the number of times that the lower limit 16c is passed is calculated. If the number of times is greater than or equal to a predetermined number, it is determined as a wavy line. For example, in the example of FIG. 4 described above, the number of passes through the lower limit 16c is four.

なお、引かれた線13が、文字記載領域16aの下限16cを通過した回数だけでなく、文字記載領域16aにガイド線を設け、ガイド線の通過回数から装飾種別を判定することができる。ガイド線は、例えば文字記載領域16aの上限16dと下限16cの中央などに設けてもよく、また、その本数は単数でも複数でもよい。   In addition to the number of times the drawn line 13 has passed the lower limit 16c of the character description area 16a, a guide line can be provided in the character description area 16a, and the decoration type can be determined from the number of times the guide line has passed. For example, the guide line may be provided at the center of the upper limit 16d and the lower limit 16c of the character description area 16a, and the number of guide lines may be singular or plural.

このように、たとえば引かれた線が下限を通過した回数が少ないと、引かれた線が波打っている可能性が低いと判断され、装飾線が直線で表示されるように、装飾種別が判定される。一方、引かれた線が下限を通過した回数が多いと、引かれた線が波打っている可能性が高いと判断され、装飾線が波線で表示されるように、装飾種別が判定される。このため、引かれた線の全体と装飾対象の文字列の幅との関係でユーザの意図を判断し、装飾線を表示することができる。また、引かれた線の全体で判断されることにより、正確に線を引く必要がなく、操作性に優れる。なお、ガイド線、たとえば下限の通過回数の閾値を引いた線の長さにより変更することができる。さらに、線を引くという1つの操作で装飾範囲および装飾種別を決定することができ、操作性に優れる。   Thus, for example, if the number of times the drawn line has passed the lower limit is small, it is determined that the drawn line is unlikely to be wavy, and the decoration type is set so that the decoration line is displayed as a straight line. Determined. On the other hand, if the number of times the drawn line passes the lower limit is large, it is determined that the drawn line is likely to be wavy, and the decoration type is determined so that the decoration line is displayed as a wavy line. . Therefore, the user's intention can be determined based on the relationship between the entire drawn line and the width of the character string to be decorated, and the decoration line can be displayed. Moreover, since it is judged by the whole drawn line, it is not necessary to draw a line accurately, and the operability is excellent. In addition, it can change with the length of a guide line, for example, the line which pulled the threshold value of the minimum passage frequency. Furthermore, the decoration range and decoration type can be determined by one operation of drawing a line, and the operability is excellent.

その他の構成、変形例については、基本的に上記の実施形態と同じであるので、その説明を省略する。なお、上記実施例では下限の通過回数に応じて直線や波線などの線形状を判定したが、これに限定されず、下限などの通過回数に応じて装飾線の色、線種、線幅、位置、これらの組合せなどの装飾種別を判定できる。   Other configurations and modifications are basically the same as those in the above-described embodiment, and thus the description thereof is omitted. In the above embodiment, the line shape such as a straight line or a wavy line is determined according to the number of passes at the lower limit, but is not limited thereto, and the color, line type, line width, etc. of the decorative line according to the number of passes such as the lower limit. The decoration type such as the position and the combination thereof can be determined.

上記実施形態では、文字の特定に操作画面情報のパターン認識など公知の方法を用いたが、これに限定されず、例えば、白でない部分を文字として特定することもできる。この場合、色の判断で文字を特定できるため、特定方法が容易である。また、上記実施形態では、隣り合う文字15の間隔から文字記載領域16aを特定したが、これに限定されない。例えば、図17に示すように引かれた線13から所定範囲の領域Wの色を検出し、その領域の中で色が黒である範囲A1は文字記載領域と判定し、黒でない範囲A2は文字記載領域でないと判定する。色が黒である範囲A1については、例えば、x軸方向(紙面の横方向)の左側から右側に領域Wの色が黒か否かを判断し、黒と判断された位置P1から次の黒と判断された位置P2までを黒である範囲A1とし、さらに先の位置P2から次の黒と判断された位置P3までを黒である範囲A1に加える。これを繰り返して、黒と判断された位置P4,…,Pn,…,Pzを検出し、黒と判断された最初の位置P1から最後の位置Pzの範囲A1を特定して文字記載領域とする。   In the above-described embodiment, a known method such as pattern recognition of operation screen information is used for specifying characters. However, the present invention is not limited to this. For example, a non-white portion can be specified as a character. In this case, since the character can be specified by judging the color, the specifying method is easy. Moreover, in the said embodiment, although the character description area | region 16a was identified from the space | interval of the adjacent character 15, it is not limited to this. For example, as shown in FIG. 17, the color of a region W in a predetermined range is detected from the line 13 drawn, and in the region, the range A1 whose color is black is determined as the character description region, and the non-black range A2 is It is determined that it is not a character description area. For the range A1 in which the color is black, for example, it is determined whether the color of the region W is black from the left side to the right side in the x-axis direction (the horizontal direction of the paper surface). The range up to the position P2 determined to be black is set as a black range A1, and the range from the previous position P2 to the position P3 determined as black is added to the black range A1. By repeating this, positions P4,..., Pn,..., Pz determined to be black are detected, and a range A1 from the first position P1 determined to be black to the last position Pz is specified as a character description area. .

さらに、上記実施形態では、操作画面情報取得手段7から取得した操作画面情報に基づいて文字領域情報を文字領域情報取得手段8は取得したが、これに限定されず、例えばワープロソフトの設定条件などの付属情報から操作画面の文字領域情報を取得することもできる。また、上記実施形態では、操作情報取得手段4が操作画面情報取得手段7に線が引かれたことを検知した旨を送信し、操作画面情報取得手段7がこれを受け、表示部10の操作画面の全部に表示された画像イメージの操作画面情報を取得したが、これに限定されない。例えば、操作情報取得手段4でなく、位置情報取得手段5が引かれた線を特定する位置情報を操作画面情報取得手段7に送信し、操作画面情報取得手段7がこれを受けて、位置情報から引かれた線に対応する操作画面の位置を特定し、この位置を含む操作画面の一部に表示された画像イメージの操作画面情報を取得することもできる。なお、上記実施形態では、文字記載領域が横書きの場合であるが、文字記載領域が縦書きの場合も同様である。   Further, in the above embodiment, the character area information acquisition unit 8 acquires the character area information based on the operation screen information acquired from the operation screen information acquisition unit 7, but the present invention is not limited to this. The character area information of the operation screen can be acquired from the attached information. Further, in the above-described embodiment, the operation information acquisition unit 4 transmits information indicating that a line has been drawn to the operation screen information acquisition unit 7, and the operation screen information acquisition unit 7 receives this and receives the operation of the display unit 10. Although the operation screen information of the image displayed on the entire screen is acquired, the present invention is not limited to this. For example, instead of the operation information acquisition unit 4, the position information acquisition unit 5 transmits position information specifying the drawn line to the operation screen information acquisition unit 7, and the operation screen information acquisition unit 7 receives the position information and receives the position information. It is also possible to specify the position of the operation screen corresponding to the line drawn from and to obtain the operation screen information of the image displayed on a part of the operation screen including this position. In the above embodiment, the character description area is written horizontally, but the same applies to the case where the character description area is written vertically.

以上、本発明の実施形態について説明したが、本発明はこうした実施例に何ら限定されるものではなく、本発明の要旨を逸脱しない範囲において種々なる形態で実施し得ることは勿論である。また、上述の全実施形態における装飾判定手段6による装飾種別の判定を組み合わせて装飾種別を決定することも勿論可能である。これにより、1つの操作工程や判断結果で複数の装飾種別を判断することができる。たとえば、線の割合、引かれた線が下限を通過した回数、および引かれた線の長さLと直線距離Sとの比較結果(L/S)を組み合わせて装飾種別を判定する場合、割合から位置などの装飾種別を判断し、通過回数から線形状などの装飾種別を判断する。そして、その線形状が波線と判断されると、比較結果(L/S)で波線の波数や振幅を判断する。これにより、一度引かれた線で複数の装飾種別を同時に決定することができる。また、割合と位置、通過数と線形状、比較結果(L/S)と波数などとユーザが直感的に認識し易い関係であるため、ユーザの意図に沿って装飾線を表示できると共に、操作性に優れる。   Although the embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and can of course be implemented in various forms without departing from the gist of the present invention. It is of course possible to determine the decoration type by combining the decoration type determination by the decoration determination means 6 in all the embodiments described above. Thereby, a plurality of decoration types can be determined by one operation process or determination result. For example, when the decoration type is determined by combining the line ratio, the number of times the drawn line has passed the lower limit, and the comparison result (L / S) between the length L of the drawn line and the straight line distance S, the ratio Is used to determine the decoration type such as the position, and the decoration type such as the line shape is determined from the number of passes. When the line shape is determined to be a wavy line, the wave number and amplitude of the wavy line are determined from the comparison result (L / S). As a result, a plurality of decoration types can be determined simultaneously with a line drawn once. In addition, since the user can intuitively recognize the ratio and position, the number of passages and the line shape, the comparison result (L / S) and the wave number, etc., the decorative line can be displayed according to the user's intention and the operation can be performed. Excellent in properties.

また、上述の実施形態では、文字装飾システム1及び文字装飾プログラム2は、上記各手段、及びポインティングデバイス3、表示部10等を1台のコンピュータに備えていたが、複数台のコンピュータによって構成してもよい。例えば、単又は複数のクライアントコンピュータとサーバコンピュータとをネットワークを介して通信可能に構成し、サーバコンピュータが操作情報取得手段、位置情報取得手段、操作画面情報取得手段、文字領域情報取得手段、装飾判定手段などを備えており、操作情報取得手段により取得されるクライアントコンピュータのポインティングデバイスの操作情報と、操作画面情報取得手段により取得される表示部の操作画面情報とに基づき、位置情報取得手段がサーバコンピュータにて位置情報を取得すると共に、文字領域情報取得手段により文字領域情報を取得し、装飾判定手段によって装飾種別を判定してもよい。   In the above-described embodiment, the character decoration system 1 and the character decoration program 2 are provided with the above-described units, the pointing device 3, the display unit 10 and the like in one computer, but are configured by a plurality of computers. May be. For example, a single or a plurality of client computers and a server computer are configured to be communicable via a network, and the server computer has operation information acquisition means, position information acquisition means, operation screen information acquisition means, character area information acquisition means, decoration determination The position information acquisition means is a server based on the operation information of the pointing device of the client computer acquired by the operation information acquisition means and the operation screen information of the display unit acquired by the operation screen information acquisition means. The position information may be acquired by a computer, the character area information may be acquired by a character area information acquisition unit, and the decoration type may be determined by a decoration determination unit.

ポインティングデバイスで引かれた線の説明図。Explanatory drawing of the line drawn with the pointing device. 文字領域情報についての説明図。Explanatory drawing about character area information. 本発明の第1実施形態に係る文字装飾システムのブロック図。The block diagram of the character decoration system which concerns on 1st Embodiment of this invention. ポインティングデバイスで引かれた線についての説明図。Explanatory drawing about the line drawn with the pointing device. 文字記載領域に含まれる引かれた線の判定についての説明図。Explanatory drawing about determination of the drawn line contained in a character description area. 画面の説明図。Explanatory drawing of a screen. 装飾種別の判定基準についての説明図。Explanatory drawing about the determination criteria of a decoration classification. フロー図。Flow diagram. 第2実施形態に係る画面の説明図。Explanatory drawing of the screen which concerns on 2nd Embodiment. ポインティングデバイスで引かれた線についての説明図。Explanatory drawing about the line drawn with the pointing device. 画面の説明図。Explanatory drawing of a screen. 第4実施形態に係る文字装飾システムのブロック図。The block diagram of the character decoration system which concerns on 4th Embodiment. フロー図。Flow diagram. 画面の説明図。Explanatory drawing of a screen. 画面の説明図。Explanatory drawing of a screen. ポインティングデバイスで引かれた線についての説明図。Explanatory drawing about the line drawn with the pointing device. 文字記載領域と文字記載領域でない領域の判定についての説明図。Explanatory drawing about determination of the area | region which is not a character description area | region and a character description area | region.

符号の説明Explanation of symbols

1 文字装飾システム
2 文字装飾プログラム
3 ポインティングデバイス
4 操作情報取得手段
5 位置情報取得手段
6 装飾判定手段
6a 装飾種別判定手段
6b 装飾文字特定手段
7 操作画面情報取得手段
8 文字領域情報取得手段
9 装飾表示手段
10 表示部
13 ポインティングデバイスで引かれた線
13a 操作軌跡
13b 仮想線
14 ポインティングデバイスで指示された点
15 文字
16a 文字記載領域
16c 下限
16d 上限
16e 文字幅
16f 左縁
16g 右縁
17 装飾線
19a 開始位置
19b 終了位置
20 装飾線
21 波長
22 装飾線
24 画面
25 画面
28 波長
29 装飾線
A1 領域の中で色が黒である範囲
A2 領域の中で色が黒でない範囲
C コンピュータ
M 対象文字の文字列の幅
P 黒と判断された位置
W 所定の領域
DESCRIPTION OF SYMBOLS 1 Character decoration system 2 Character decoration program 3 Pointing device 4 Operation information acquisition means 5 Position information acquisition means 6 Decoration determination means 6a Decoration type determination means 6b Decoration character specification means 7 Operation screen information acquisition means 8 Character area information acquisition means 9 Decoration display Means 10 Display unit 13 Line 13a drawn by pointing device Operation locus 13b Virtual line 14 Point indicated by pointing device 15 Character 16a Character description area 16c Lower limit 16d Upper limit 16e Character width 16f Left edge 16g Right edge 17 Decoration line 19a Start Position 19b End position 20 Decorated line 21 Wavelength 22 Decorated line 24 Screen 25 Screen 28 Wavelength 29 Decorated line A1 Range in which the color is black A2 Range in which the color is not black C Computer M Character string of the target character Width P Position determined to be black W Predetermined area

Claims (6)

操作画面に表示される文字をポインティングデバイスで引かれた線により装飾する文字装飾システムであって、
前記操作画面の一部又は全部の領域の文字領域情報を取得する文字領域情報取得手段と、
前記線を特定する位置情報を取得する位置情報取得手段と、
前記文字領域情報及び前記位置情報に基づいて、前記文字の装飾種別を判定する装飾判定手段と、
前記装飾種別に従って前記文字の装飾線を前記操作画面に表示する装飾表示手段と、
を備えることを特徴とする文字装飾システム。
A character decoration system for decorating characters displayed on an operation screen with a line drawn with a pointing device,
Character area information acquisition means for acquiring character area information of a part or all of the operation screen;
Position information acquisition means for acquiring position information for specifying the line;
Decoration determination means for determining a decoration type of the character based on the character area information and the position information;
Decoration display means for displaying a decoration line of the character on the operation screen according to the decoration type;
A character decoration system comprising:
前記文字領域情報及び前記位置情報から前記文字装飾の対象文字を特定する装飾文字特定手段をさらに備え、
前記装飾表示手段は、前記対象文字に対する前記装飾線を表示する請求項1記載の文字装飾システム。
A decorative character specifying means for specifying a target character of the character decoration from the character area information and the position information;
The character decoration system according to claim 1, wherein the decoration display unit displays the decoration line for the target character.
前記文字領域情報は、前記文字の文字記載領域の情報を含み、
前記装飾判定手段は、前記文字領域情報及び前記位置情報から算出された前記文字記載領域に含まれる前記引かれた線の割合に基づき、前記装飾種別を判定する請求項1または2記載の文字装飾システム。
The character area information includes information on a character description area of the character,
The character decoration according to claim 1, wherein the decoration determination unit determines the decoration type based on a ratio of the drawn line included in the character description area calculated from the character area information and the position information. system.
前記位置情報は、前記線の開始位置及び終了位置を含み、
前記装飾判定手段は、前記位置情報から算出された前記開始位置及び前記終了位置の間の直線距離と、前記ポインティングデバイスで引かれた線の長さとに基づき、前記装飾種別を判定する請求項1〜3のいずれかに記載の文字装飾システム。
The position information includes a start position and an end position of the line,
2. The decoration determination unit determines the decoration type based on a linear distance between the start position and the end position calculated from the position information and a length of a line drawn by the pointing device. The character decoration system in any one of -3.
前記文字領域情報及び前記位置情報から前記文字装飾の対象文字を特定する装飾文字特定手段をさらに備え、
前記装飾判定手段は、前記文字領域情報から算出された前記対象文字の文字列の幅と、前記位置情報から算出された前記線の長さとに基づき、前記装飾種別を判定する請求項1〜3のいずれかに記載の文字装飾システム。
A decorative character specifying means for specifying a target character of the character decoration from the character area information and the position information;
The said decoration determination means determines the said decoration classification based on the width | variety of the character string of the said target character calculated from the said character area information, and the length of the said line calculated from the said positional information. The character decoration system as described in any one of.
操作画面に表示される文字をポインティングデバイスで引かれた線により装飾する文字装飾プログラムであって、
コンピュータを、
前記操作画面の一部又は全部の領域の文字領域情報を取得する文字領域情報取得手段と、
前記線を特定する位置情報を取得する位置情報取得手段と、
前記文字領域情報及び前記位置情報に基づいて、前記文字の装飾種別を判定する装飾判定手段と、
前記装飾種別に従って前記文字の装飾線を前記操作画面に表示する装飾表示手段として機能させることを特徴とする文字装飾プログラム。
A character decoration program for decorating characters displayed on an operation screen with a line drawn with a pointing device,
Computer
Character area information acquisition means for acquiring character area information of a part or all of the operation screen;
Position information acquisition means for acquiring position information for specifying the line;
Decoration determination means for determining a decoration type of the character based on the character area information and the position information;
A character decoration program that causes a decoration display unit to display a decoration line of the character on the operation screen according to the decoration type.
JP2008198823A 2008-07-31 2008-07-31 Character decoration system and character decoration program Pending JP2010039572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008198823A JP2010039572A (en) 2008-07-31 2008-07-31 Character decoration system and character decoration program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008198823A JP2010039572A (en) 2008-07-31 2008-07-31 Character decoration system and character decoration program

Publications (1)

Publication Number Publication Date
JP2010039572A true JP2010039572A (en) 2010-02-18

Family

ID=42012087

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008198823A Pending JP2010039572A (en) 2008-07-31 2008-07-31 Character decoration system and character decoration program

Country Status (1)

Country Link
JP (1) JP2010039572A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012027721A (en) * 2010-07-23 2012-02-09 Sony Corp Information processor, information processing method and information processing program
JP2012243167A (en) * 2011-05-20 2012-12-10 Sharp Corp Display device and display program
JP2016194801A (en) * 2015-03-31 2016-11-17 富士通株式会社 Sideline problem scoring method, sideline problem scoring program and sideline problem scoring apparatus
JP2018049319A (en) * 2016-09-20 2018-03-29 コニカミノルタ株式会社 Document browsing device and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000112599A (en) * 1998-10-01 2000-04-21 Sharp Corp Device and method for processing document image
JP2000250866A (en) * 1999-02-24 2000-09-14 Hewlett Packard Co <Hp> Method for automatically selecting electronic write pen tool and electronic marker tool
JP2006065754A (en) * 2004-08-30 2006-03-09 Toshiba Corp Information processor, information processing method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000112599A (en) * 1998-10-01 2000-04-21 Sharp Corp Device and method for processing document image
JP2000250866A (en) * 1999-02-24 2000-09-14 Hewlett Packard Co <Hp> Method for automatically selecting electronic write pen tool and electronic marker tool
JP2006065754A (en) * 2004-08-30 2006-03-09 Toshiba Corp Information processor, information processing method, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012027721A (en) * 2010-07-23 2012-02-09 Sony Corp Information processor, information processing method and information processing program
JP2012243167A (en) * 2011-05-20 2012-12-10 Sharp Corp Display device and display program
JP2016194801A (en) * 2015-03-31 2016-11-17 富士通株式会社 Sideline problem scoring method, sideline problem scoring program and sideline problem scoring apparatus
JP2018049319A (en) * 2016-09-20 2018-03-29 コニカミノルタ株式会社 Document browsing device and program

Similar Documents

Publication Publication Date Title
US11663784B2 (en) Content creation in augmented reality environment
US9013428B2 (en) Electronic device and handwritten document creation method
KR20180095840A (en) Apparatus and method for writing notes by gestures
JP6010253B2 (en) Electronic device, method and program
US10719229B2 (en) Detecting erasure gestures in an electronic presentation system
CN109002201B (en) Rejection of extraneous touch input in an electronic presentation system
CN108027663B (en) Combining mobile devices with person tracking for large display interaction
JP5925957B2 (en) Electronic device and handwritten data processing method
CN109074223A (en) For carrying out the method and system of character insertion in character string
CN104020948A (en) Method and device for determining position of cursor on touch screen
JP2015158900A (en) Information processing device, information processing method and information processing program
KR20160064925A (en) Handwriting input apparatus and control method thereof
JP2010039572A (en) Character decoration system and character decoration program
JP6237135B2 (en) Information processing apparatus and information processing program
US10241663B2 (en) Information processing apparatus capable of being operated by multi-touch
US20210271380A1 (en) Display device
US20200242346A1 (en) Preserving styles and ink effects in ink-to-text
US10409481B2 (en) Adaptive inking in an electronic presentation system
US20150062038A1 (en) Electronic device, control method, and computer program product
JP2016075976A (en) Image processing apparatus, image processing method, image communication system, and program
JP2015022524A (en) Terminal device and system
KR102094478B1 (en) Method and apparatus of controlling display using control pad, and server that distributes computer program for executing the method
CN104281381B (en) The device and method for controlling the user interface equipped with touch screen
US20170060407A1 (en) Electronic apparatus and method
JP2010039573A (en) Character decoration system and character decoration program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110114

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121009

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130219