JP4314517B2 - Information processing apparatus, information processing method, and program - Google Patents

Information processing apparatus, information processing method, and program Download PDF

Info

Publication number
JP4314517B2
JP4314517B2 JP2004005199A JP2004005199A JP4314517B2 JP 4314517 B2 JP4314517 B2 JP 4314517B2 JP 2004005199 A JP2004005199 A JP 2004005199A JP 2004005199 A JP2004005199 A JP 2004005199A JP 4314517 B2 JP4314517 B2 JP 4314517B2
Authority
JP
Japan
Prior art keywords
coordinates
user
designated
coordinate
operation input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004005199A
Other languages
Japanese (ja)
Other versions
JP2005202465A (en
Inventor
賢成 柴田
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.)
Daikin Industries Ltd
Original Assignee
Daikin Industries 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 Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP2004005199A priority Critical patent/JP4314517B2/en
Publication of JP2005202465A publication Critical patent/JP2005202465A/en
Application granted granted Critical
Publication of JP4314517B2 publication Critical patent/JP4314517B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Description

本発明は、情報処理装置および情報処理方法、並びに、プログラムに関し、特に、図形の描写や配置などを含む作図処理を行う場合に用いて好適な、情報処理装置および情報処理方法、並びに、プログラムに関する。   The present invention relates to an information processing device, an information processing method, and a program, and more particularly, to an information processing device, an information processing method, and a program that are suitable for performing drawing processing including drawing and arrangement of graphics. .

従来、例えば設計図面など、複雑な図形や線を複数描画する必要のある図面をできるだけ容易に作図することができるように、描画される図形の終点や、図形の配置位置などを、予め定められたポイント、または、既に描画されている図形の位置などを基準として補正することにより、その操作性を改善するための技術が存在する。   Conventionally, the end point of a figure to be drawn, the arrangement position of a figure, and the like are determined in advance so that a drawing that requires drawing a plurality of complicated figures and lines such as a design drawing can be drawn as easily as possible. There is a technique for improving the operability by correcting a point or the position of a graphic already drawn as a reference.

図1を用いて、既に描画済みの図形1の近傍に、直線2を描画する処理について説明する。例えば、入力デバイスとしてマウスを利用することが可能なパーソナルコンピュータなどを用いて作図操作をする場合、表示画面には、図1に示されるように、図形1、描画中の直線2、現在のユーザのマウスによる操作入力によって指示される座標位置を示す垂直ライン11および水平ライン12、並びに、指示座標を補正することが可能な座標範囲に補正の基準となる座標が存在するか否かを確認するためのアパチャ13が表示される。すなわち、垂直ライン11と水平ライン12との交点は、ユーザがマウスの移動により指示する座標位置に対応する。   A process of drawing a straight line 2 near the already drawn figure 1 will be described with reference to FIG. For example, when a drawing operation is performed using a personal computer that can use a mouse as an input device, the display screen includes a graphic 1, a straight line 2 being drawn, and the current user as shown in FIG. 1. It is confirmed whether or not the vertical line 11 and the horizontal line 12 indicating the coordinate position indicated by the operation input by the mouse, and the coordinates serving as the reference for correction exist in the coordinate range in which the indicated coordinate can be corrected. An aperture 13 is displayed. That is, the intersection of the vertical line 11 and the horizontal line 12 corresponds to the coordinate position designated by the user by moving the mouse.

直線2の描写のための操作入力を、マウスを用いたドラックアンドドロップ操作、すなわち、直線2の描画を開始する座標を指定した状態でマウスボタンをクリックし、クリックした状態を保持して、垂直ライン11と水平ライン12との交点を所望の位置に移動させて、ユーザの所望の位置でクリックしていたマウスボタンを離して、直線2の終点位置を決定する操作で実現するものとして説明する。   The operation input for drawing the straight line 2 is a drag-and-drop operation using the mouse, that is, the mouse button is clicked with the coordinates for starting the drawing of the straight line 2 being clicked, and the clicked state is held and the vertical It is assumed that the operation is performed by moving the intersection of the line 11 and the horizontal line 12 to a desired position, releasing the mouse button clicked at the user's desired position, and determining the end point position of the straight line 2. .

アパチャ13は、描画の終点位置となる座標を補正することが可能な座標範囲に補正の基準となる座標が存在するか否かを確認するために表示される。図1に示されるように、アパチャ13内に、例えば、図形の交点、端点、中点、図上の点など、指示座標位置の補正の基準となる座標が存在していない状態において、ユーザがドロップ操作を行った場合、直線2の終点は、図2に示されるように、ユーザが指示した座標位置となる。一方、図3に示されるように、アパチャ13内に、例えば、図形の交点、端点、中点、図上の点など、指示座標位置の補正の基準となる座標が存在している状態において、ユーザがドロップ操作を行った場合、直線2の終点は、図4に示されるように、図形1上の座標位置に補正される。   The aperture 13 is displayed in order to confirm whether or not coordinates serving as a reference for correction exist in a coordinate range in which coordinates serving as an end position of drawing can be corrected. As shown in FIG. 1, in a state in which there are no coordinates serving as a reference for correcting the designated coordinate position, such as an intersection, an end point, a midpoint, or a point on the drawing, When the drop operation is performed, the end point of the straight line 2 is the coordinate position designated by the user as shown in FIG. On the other hand, as shown in FIG. 3, in the state in which the aperture 13 has coordinates serving as a reference for correcting the designated coordinate position, such as an intersection, an end point, a midpoint, and a point on the figure, for example. When the user performs a drop operation, the end point of the straight line 2 is corrected to the coordinate position on the graphic 1 as shown in FIG.

また、作図処理において、図形を配置する場合、図形が描画されるフィールドに予めグリッド線を定めておき、図形が配置される位置を、ユーザが指示した座標位置に最も近いグリッド線にあわせるようにすることにより、図形を簡単に整列させて配置させることができるようにしたスナップ機能を有する場合がある。   Also, when placing a figure in the drawing process, a grid line is set in advance in the field in which the figure is drawn, and the position where the figure is placed is matched with the grid line closest to the coordinate position designated by the user. By doing so, there may be a snap function that allows the figures to be easily aligned and arranged.

例えば、図5に示されるように、図形を描画するフィールドに、予め、縦グリッド線21−1乃至21−5が定められ、横グリッド線22−1乃至22−3が定められている場合において、三角形の頂点のうちのいずれか1つを図形配置の基準位置aとする図形32を配置する処理について説明する。ここでも、入力デバイスとしてマウスを利用することが可能なパーソナルコンピュータなどを用いて作図操作が行われるものとし、図形32の配置のための操作入力を、マウスを用いたドラックアンドドロップ操作、すなわち、図形32を選択した状態でマウスボタンをクリックしたまま、マウスカーソル31を所望の位置に移動させて、表示部に表示されているマウスカーソル31および図形32の位置を確認し、ユーザの所望の位置でクリックしていたマウスボタンを離して、図形32が配置される位置を決定する操作で実現するものとして説明する。   For example, as shown in FIG. 5, when vertical grid lines 21-1 to 21-5 and horizontal grid lines 22-1 to 22-3 are determined in advance in a field for drawing a figure. A process of arranging the figure 32 having any one of the vertices of the triangle as the reference position a of the figure arrangement will be described. Also here, it is assumed that a drawing operation is performed using a personal computer or the like that can use a mouse as an input device, and a drag-and-drop operation using a mouse, that is, an operation input for arranging the figure 32 is performed. While the figure 32 is selected, the mouse cursor 31 is moved to a desired position while the mouse button is clicked, and the positions of the mouse cursor 31 and the figure 32 displayed on the display unit are confirmed. In the following description, it is assumed that the operation is performed by releasing the mouse button clicked on and determining the position where the figure 32 is arranged.

スナップ機能が有効である場合、マウスのドラッグ操作により、マウスカーソル31とともに図形32の表示位置が移動されて、図形32の基準位置aがいずれのグリッド線の交点とも異なる位置においてドロップ操作がなされたとき、図形32は、その基準位置aが、最も近いグリッド線の交点となるように位置が補正されて配置される。例えば、図5に示されるように、縦グリッド線21−2と横グリッド線22−1との交点付近に図形32の基準位置aがある状態で、ドロップ操作が入力されたとき、図6に示されるように、縦グリッド線21−2と横グリッド線22−1との交点が図形32の基準位置aと一致するように、図形32の位置が補正されて配置される。   When the snap function is enabled, the display position of the graphic 32 is moved together with the mouse cursor 31 by the mouse drag operation, and the drop operation is performed at a position where the reference position a of the graphic 32 is different from the intersection of any grid lines. At this time, the figure 32 is arranged with its position corrected such that the reference position a is the intersection of the nearest grid lines. For example, as shown in FIG. 5, when a drop operation is input in a state where the reference position a of the figure 32 is near the intersection of the vertical grid line 21-2 and the horizontal grid line 22-1, FIG. As shown, the position of the graphic 32 is corrected and arranged so that the intersection of the vertical grid line 21-2 and the horizontal grid line 22-1 matches the reference position a of the graphic 32.

しかしながら、例えば、図3に示されるように、アパチャ13内に指示座標位置の補正の基準となる座標が存在している状態で、直線2の終点を補正せずにユーザが指令した位置としたい場合、ユーザは、指示座標の補正機能が有効である状態から無効である状態に設定を変更した後に操作入力を実行するか、または、図7に示されるように、アパチャ13内に、図形1が入らないように拡大表示した後に、ユーザの所望の位置においてドロップ操作を行うことにより、垂直ライン11と水平ライン12との交点を、補正されることなく直線2の終点位置として指示するという操作を行わなければならないため、操作が煩雑となる。   However, for example, as shown in FIG. 3, when the coordinates serving as a reference for correcting the designated coordinate position exist in the aperture 13, the end point of the straight line 2 is not corrected, and the user commanded the position. In such a case, the user performs an operation input after changing the setting from a state where the function for correcting the designated coordinates is valid to a state where it is invalid, or, as shown in FIG. An operation of instructing the intersection point of the vertical line 11 and the horizontal line 12 as the end point position of the straight line 2 without being corrected by performing a drop operation at a user's desired position after enlarging the display so as not to enter Therefore, the operation becomes complicated.

また、スナップ機能を利用して作図を行う場合、グリッド線の交点に一致させて配置される座標を補正させたい図形と、グリッド線の交点に一致させることなく、ユーザの指示した座標に図形を配置させたい図形が1つの画像に混在するとき、ユーザは、図形の配置操作ごとに、例えば、図8に示されるような描画補正設定ウィンドウ41を所定の操作により表示させ、図形オブジェクトをグリッド線にあわせるか否かを設定するチェックボックス51のチェックの有無を切り換えたり、図形オブジェクトを他のオブジェクトにあわせるか否かを設定するチェックボックス52のチェックの有無を切り換えて、再設定を行う場合はOKボタン53を、再設定を行わず、現状の設定を維持する場合はキャンセルボタン54を選択する操作を実行する必要があるため、操作が煩雑となる。   In addition, when drawing using the snap function, the figure to be corrected by adjusting the coordinates that are arranged to match the intersections of the grid lines and the coordinates specified by the user without matching the intersections of the grid lines. When the figure to be arranged is mixed in one image, the user displays the drawing correction setting window 41 as shown in FIG. 8 by a predetermined operation for each figure arrangement operation, and the figure object is displayed on the grid line. If the check box 51 for setting whether or not to match is switched on or off, or the check box 52 for setting whether or not the graphic object is to be matched with another object is switched for resetting In order to maintain the current setting without resetting the OK button 53, an operation for selecting the cancel button 54 is executed. Because there is a need, operation becomes complicated.

本発明はこのような状況に鑑みてなされたものであり、ユーザが指示する座標位置の補正機能の有効と無効を、設定の変更や図形の表示倍率の変更を行うことなく、簡単な操作で切り換えることができるようにするものである。   The present invention has been made in view of such a situation, and enables and disables the coordinate position correction function designated by the user with a simple operation without changing the setting or changing the display magnification of the figure. It can be switched.

本発明の情報処理装置は、ユーザの操作入力により指示される画像データ内の座標である指示座標が、所定の時間内に変更されるか否かに基づいて、指示座標の補正機能の有効と無効を切り替える切り替え手段と、画像データに基づく画像および指示座標の表示を制御するとともに、補正機能が有効である場合、指示座標の近傍の指示座標を補正することが可能な座標の範囲である補正可能範囲を表示し、補正機能が無効である場合、補正可能範囲を表示しないように制御する表示制御手段と、ユーザの操作入力により指示座標の決定が指令された場合、補正機能が有効であり、かつ、画像データに既に描画されている所定の図形によって定められる補正の基準となる基準座標が補正可能範囲内に存在するとき、指示座標を基準座標に補正する補正手段とを備えることを特徴とする。 According to the information processing apparatus of the present invention , the instruction coordinate correction function is enabled based on whether or not the instruction coordinates, which are coordinates in the image data instructed by a user operation input, are changed within a predetermined time. A switching means for switching invalidity, and control of display of an image and designated coordinates based on image data, and correction that is a range of coordinates that can correct designated coordinates in the vicinity of designated coordinates when the correction function is valid Display control means that displays the possible range and when the correction function is invalid, the display control means that controls not to display the correctable range, and the correction function is valid when commanded coordinate determination is instructed by user operation input and, when the reference coordinate to correction defined by predetermined graphic that has already been drawn in the image data is present in the correctable range, to correct the designated coordinates with the reference coordinates Characterized in that it comprises a correction means.

切り替え手段には、指示座標が所定の時間変更されない場合、補正機能が有効であるときは無効に切り換え、無効であるときは有効に切り換えさせるようにすることができる。 The switching means, when the designated coordinates are not changed a predetermined time, disable switching if the correction function is enabled, it is possible to make cause effectively switched when invalid.

補正手段には、補正機能が有効である場合図形の描画の終了位置に対応する座標としての指示座標を補正させるようにすることができる。 The correction means, if the compensation function is enabled, it can be so as to correct the indicated coordinate as coordinates corresponding to the end position of the drawing figure.

補正手段には、補正機能が有効である場合画像データ内に配置される図形の基準位置に対応する座標としての指示座標を補正させるようにすることができる。 The correction means, if the compensation function is enabled, the designated coordinates as coordinates corresponding to the reference position of the graphic is placed in the image data can be made to be corrected.

ユーザの操作入力に基づいて、所定の時間を設定する時間設定手段を更に備えさせるようにすることができる。 A time setting means for setting a predetermined time based on a user operation input can be further provided.

ユーザの操作入力を受ける操作手段を更に備えさせるようにすることができる。 Ru can be so cause further comprising an operation unit for receiving a user operation input.

本発明の情報処理方法は、ユーザの操作入力により指示される画像データ内の座標である指示座標が、所定の時間内に変更されるか否かに基づいて、指示座標の補正機能の有効と無効を切り替える切り替えステップと、画像データに基づく画像および指示座標の表示を制御するとともに、補正機能が有効である場合、指示座標の近傍の指示座標を補正することが可能な座標の範囲である補正可能範囲を表示し、補正機能が無効である場合、補正可能範囲を表示しないように制御する表示制御ステップと、ユーザの操作入力により指示座標の決定が指令された場合、補正機能が有効であり、かつ、画像データに既に描画されている所定の図形によって定められる補正の基準となる基準座標が補正可能範囲内に存在するとき、指示座標を基準座標に補正する補正ステップとを含むことを特徴とする。 According to the information processing method of the present invention , the instruction coordinate correction function is effective based on whether or not the instruction coordinates that are coordinates in the image data instructed by a user's operation input are changed within a predetermined time. A switching step for switching invalidity, control of display of an image based on image data and indication coordinates, and correction that is a range of coordinates that can correct indication coordinates in the vicinity of indication coordinates when the correction function is valid When the possible range is displayed and the correction function is invalid, the correction function is valid when the display control step for controlling not to display the correctable range and the determination of the designated coordinates by the user's operation input are instructed. When the reference coordinates that are the reference for correction determined by the predetermined graphic already drawn in the image data are within the correctable range, the indicated coordinates are used as the reference coordinates. Characterized in that it comprises a step of correcting.

本発明のプログラムは、ユーザの操作入力により指示される画像データ内の座標である指示座標が、所定の時間内に変更されるか否かに基づいて、指示座標の補正機能の有効と無効を切り替える切り替えステップと、画像データに基づく画像および指示座標の表示を制御するとともに、補正機能が有効である場合、指示座標の近傍の指示座標を補正することが可能な座標の範囲である補正可能範囲を表示し、補正機能が無効である場合、補正可能範囲を表示しないように制御する表示制御ステップと、ユーザの操作入力により指示座標の決定が指令された場合、補正機能が有効であり、かつ、画像データに既に描画されている所定の図形によって定められる補正の基準となる基準座標が補正可能範囲内に存在するとき、指示座標を基準座標に補正する補正ステップとを含むことを特徴とする処理をコンピュータに実行させる。 The program according to the present invention enables or disables the function for correcting the designated coordinates based on whether or not the designated coordinates in the image data designated by the user's operation input are changed within a predetermined time. A switchable step, a display of an image based on image data and display of designated coordinates, and a correction range that is a range of coordinates that can correct the designated coordinates in the vicinity of the designated coordinates when the correction function is valid When the correction function is invalid, the display control step for controlling not to display the correctable range and the determination of the designated coordinates by the user's operation input are commanded, and the correction function is valid, and When the reference coordinates that are the reference for correction determined by the predetermined graphic already drawn in the image data are within the correctable range, the indicated coordinates are used as the reference coordinates. To execute a process which comprises a positive correcting step into the computer.

本発明によれば、必要に応じて、座標情報を補正して画像データを処理することができ、特に、補正機能の有効または無効の設定を簡単な処理で切り換えることができる。   According to the present invention, image data can be processed by correcting coordinate information as necessary, and in particular, the setting of whether the correction function is enabled or disabled can be switched by a simple process.

以下に本発明の実施の形態を説明するが、本明細書に記載の発明と、発明の実施の形態との対応関係を例示すると、次のようになる。この記載は、本明細書に記載されている発明をサポートする実施の形態が、本明細書に記載されていることを確認するためのものである。したがって、発明の実施の形態中には記載されているが、発明に対応するものとして、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その発明に対応するものではないことを意味するものではない。逆に、実施の形態が発明に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その発明以外の発明には対応しないものであることを意味するものでもない。   Embodiments of the present invention will be described below. The correspondence relationship between the invention described in this specification and the embodiments of the invention is exemplified as follows. This description is intended to confirm that the embodiments supporting the invention described in this specification are described in this specification. Therefore, even if there is an embodiment that is described in the embodiment of the invention but is not described here as corresponding to the invention, the fact that the embodiment is not It does not mean that it does not correspond to the invention. Conversely, even if an embodiment is described herein as corresponding to an invention, that means that the embodiment does not correspond to an invention other than the invention. Absent.

更に、この記載は、本明細書に記載されている発明の全てを意味するものでもない。換言すれば、この記載は、本明細書に記載されている発明であって、この出願では請求されていない発明の存在、すなわち、将来、分割出願されたり、補正により出現、追加される発明の存在を否定するものではない。   Further, this description does not mean all the inventions described in this specification. In other words, this description is for the invention described in the present specification, which is not claimed in this application, that is, for the invention that will be applied for in the future or that will appear and be added by amendment. It does not deny existence.

請求項1に記載の情報処理装置(例えば、図9のパーソナルコンピュータ101)は、ユーザの操作入力により指示される画像データ内の座標である指示座標が、所定の時間内に変更されるか否かに基づいて、指示座標の補正機能の有効と無効を切り替える切り替え手段(例えば、図11のデータ処理部163)と、画像データに基づく画像および指示座標の表示を制御するとともに、補正機能が有効である場合、指示座標の近傍の指示座標を補正することが可能な座標の範囲である補正可能範囲を表示し、補正機能が無効である場合、補正可能範囲を表示しないように制御する表示制御手段(例えば、図11の表示制御部166)と、ユーザの操作入力により指示座標の決定が指令された場合、補正機能が有効であり、かつ、画像データに既に描画されている所定の図形によって定められる補正の基準となる基準座標が補正可能範囲内に存在するとき、指示座標を基準座標に補正する補正手段(例えば、図11の指示座標補正部164)とを備えることを特徴とする。 The information processing apparatus according to claim 1 (for example, the personal computer 101 in FIG. 9) determines whether or not the designated coordinates, which are coordinates in the image data designated by a user operation input, are changed within a predetermined time. Based on the above, the switching means (for example, the data processing unit 163 in FIG. 11) for switching between enabling and disabling the instruction coordinate correction function, and the display of the image and the instruction coordinates based on the image data are controlled, and the correction function is effective. Display control that displays a correctable range that is a range of coordinates that can correct the indicated coordinates in the vicinity of the indicated coordinates, and that the correctable range is not displayed when the correction function is disabled When the determination of the designated coordinates is instructed by means (for example, the display control unit 166 in FIG. 11) and the user's operation input, the correction function is effective and the image data is When the reference coordinate to correction defined by predetermined graphic rendered in the are present within the correction range, correction means for correcting the designated coordinates with the reference coordinates (eg, indicated coordinate correcting unit 164 of FIG. 11) It is characterized by providing .

ユーザの操作入力に基づいて、所定の時間を設定する時間設定手段(例えば、図11の待ち時間設定部165)を更に備えることができる。 A time setting unit (for example, a waiting time setting unit 165 in FIG. 11) for setting a predetermined time based on a user operation input can be further provided.

ユーザの操作入力を受ける操作手段(例えば、図9乃至図11の入力部114であり、すなわち、例えば、図10および図11のマウス142およびキーボード143)を更に備えることができる。 Operation means for receiving a user operation input (e.g., an input unit 114 of FIG. 9 through FIG. 11, i.e., for example, a mouse 142 and keyboard 143 of FIG. 10 and FIG. 11) Ru may further comprise a.

請求項の情報処理方法は、ユーザの操作入力に基づいて、画像データを処理する情報
処理装置(例えば、図9のパーソナルコンピュータ101)の情報処理方法であって、ユーザの操作入力により指示される画像データ内の座標である指示座標が、所定の時間内に変更されるか否かに基づいて、指示座標の補正機能の有効と無効を切り替える切り替えステップ(例えば、図12のステップS5、または、図17のステップS35の処理)と、画像データに基づく画像および指示座標の表示を制御するとともに、補正機能が有効である場合、指示座標の近傍の指示座標を補正することが可能な座標の範囲である補正可能範囲を表示し、補正機能が無効である場合、補正可能範囲を表示しないように制御する表示制御ステップと、ユーザの操作入力により指示座標の決定が指令された場合、補正機能が有効であり、かつ、画像データに既に描画されている所定の図形によって定められる補正の基準となる基準座標が補正可能範囲内に存在するとき、指示座標を基準座標に補正する補正ステップ(例えば、図12のステップS9、または、図17のステップS38の処理)とを含むことを特徴とする。
The information processing method according to claim 7 is an information processing method of an information processing apparatus (for example, the personal computer 101 in FIG. 9) that processes image data based on a user operation input, and is instructed by a user operation input. A switching step (for example, step S5 in FIG. 12, , The process of step S35 in FIG. 17) and the display of the image based on the image data and the designated coordinates, and if the correction function is valid, the coordinates of the coordinates that can correct the designated coordinates in the vicinity of the designated coordinates are corrected. A display control step for displaying a correctable range that is a range and controlling so that the correctable range is not displayed when the correction function is disabled, and a user operation When the determination of the designated coordinates is commanded by force, the correction function is effective, and the reference coordinates serving as a correction reference determined by a predetermined graphic already drawn in the image data are within the correctable range. And a correction step (for example, step S9 in FIG. 12 or step S38 in FIG. 17) for correcting the indicated coordinates to the reference coordinates .

また、請求項に記載のプログラムにおいても、各ステップが対応する実施の形態(但し一例)は、請求項に記載の情報処理方法と同様である。 Also in the program according to claim 8 , the embodiment (however, an example) to which each step corresponds is the same as the information processing method according to claim 7 .

以下、図を参照して、本発明の実施の形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図9は、本発明を適応した作図のためのデータ処理を実行可能なパーソナルコンピュータ101の構成を示すブロック図である。   FIG. 9 is a block diagram showing the configuration of the personal computer 101 capable of executing data processing for plotting to which the present invention is applied.

CPU(Central Processing Unit)111は、入出力インターフェース112および内部バス113を介して、パーソナルコンピュータ101のユーザが、入力部114を用いて入力した各種指令に対応する信号を受け、入力された信号に基づいた各種処理を実行する。   A CPU (Central Processing Unit) 111 receives signals corresponding to various commands input by the user of the personal computer 101 using the input unit 114 via the input / output interface 112 and the internal bus 113, and converts them into the input signals. Various processes based on the above are executed.

ROM(Read Only Memory)115は、CPU111が使用するプログラムや演算用のパラメータのうちの基本的に固定のデータを格納する。RAM(Random Access Memory)116は、CPU111の実行において使用するプログラムやデータ、その実行において適宜変化するパラメータなどを格納する。CPU111、ROM115、およびRAM116は、内部バス113により相互に接続されている。   A ROM (Read Only Memory) 115 stores basically fixed data among programs used by the CPU 111 and calculation parameters. A RAM (Random Access Memory) 116 stores programs and data used in the execution of the CPU 111, parameters that change as appropriate during the execution, and the like. The CPU 111, ROM 115, and RAM 116 are connected to each other via an internal bus 113.

内部バス113は、入出力インターフェース112とも接続されている。入力部114は、例えば、キーボード、タッチパッド、ジョグダイヤル、ペンタブレット、あるいはマウスなどからなり、パーソナルコンピュータ101のユーザがCPU111に各種の指令を入力するとき操作される。表示部117は、例えば、CRT(Cathode Ray Tube)や液晶表示部などのディスプレイで構成され、各種情報をテキスト、あるいはイメージなどで表示する。   The internal bus 113 is also connected to the input / output interface 112. The input unit 114 includes, for example, a keyboard, a touch pad, a jog dial, a pen tablet, or a mouse, and is operated when a user of the personal computer 101 inputs various commands to the CPU 111. The display unit 117 is configured by a display such as a CRT (Cathode Ray Tube) or a liquid crystal display unit, for example, and displays various types of information as text or images.

HDD(hard disk drive)118は、ハードディスクを駆動し、それらにCPU111によって実行されるプログラムや情報を記録または再生させる。ドライブ119には、必要に応じて磁気ディスク121、光ディスク122、光磁気ディスク123、および半導体メモリ124が装着され、データの授受を行う。   An HDD (hard disk drive) 118 drives hard disks and causes them to record or play back programs and information executed by the CPU 111. A magnetic disk 121, an optical disk 122, a magneto-optical disk 123, and a semiconductor memory 124 are mounted on the drive 119 as necessary to exchange data.

ネットワークインターフェース120は、有線、あるいは、無線を介して、他の装置などと接続され、情報の授受を行う。   The network interface 120 is connected to another device or the like via wired or wireless communication, and exchanges information.

これらの入力部114乃至ネットワークインターフェース120は、入出力インターフェース112および内部バス113を介してCPU111に接続されている。   The input unit 114 to the network interface 120 are connected to the CPU 111 via the input / output interface 112 and the internal bus 113.

次に、本実施の形態の動作環境について説明する。図10を用いて、図9を用いて説明したパーソナルコンピュータ101のCPU111により実行されるソフトウェアプログラムにおけるソフトウェアスタックについて説明する。   Next, the operating environment of this embodiment will be described. The software stack in the software program executed by the CPU 111 of the personal computer 101 described with reference to FIG. 9 will be described with reference to FIG.

OS(Operation System)141とは、例えば、マウス142、キーボード143、またはディスプレイ144などの周辺機器を動作させるためのソフトウェアであるドライバ145の管理や、各種の情報を記録するメモリ146(具体的には、ROM115、RAM116、または、HDD118など)の管理など、多くのアプリケーションプログラム149から共通して利用される基本的な機能を提供し、コンピュータシステム全体を管理するソフトウェアである。OSは、ハードウェアに組み込まれているコンピュータ(すなわち、CPU111)の基本的な動作基盤となるものである。ここでは、いわゆるPC/AT互換機であるパーソナルコンピュータ101について説明しているが、ハードウェアとして、例えば、サン・ソラリス(Sun Solaris)、マッキントッシュ(Macintosh)などが用いられる場合にも、プラットフォームに対応したOSがそれぞれ選択される。ドライバ145とは、入力部114を構成するマウス142またはキーボード143などによる操作入力や、表示部117を構成するディスプレイ144などへの画像出力など、周辺機器を動作させるためのソフトウェアであり、OS141に組み込まれて動作される。   The OS (Operation System) 141 is, for example, management of a driver 145 that is software for operating peripheral devices such as a mouse 142, a keyboard 143, or a display 144, and a memory 146 for recording various types of information (specifically, Is software that provides basic functions commonly used by many application programs 149, such as management of the ROM 115, RAM 116, or HDD 118, and manages the entire computer system. The OS is a basic operation base of a computer (that is, the CPU 111) incorporated in hardware. Here, the personal computer 101, which is a so-called PC / AT compatible machine, is described. However, for example, when a hardware such as Sun Solaris or Macintosh is used as a hardware, it corresponds to the platform. The selected OS is selected. The driver 145 is software for operating peripheral devices such as an operation input using the mouse 142 or the keyboard 143 constituting the input unit 114, an image output to the display 144 constituting the display unit 117, and the like. Built in and operated.

インタプリタ147とは、プログラミング言語で記述されたソフトウェアの設計図(ソースコード)を、CPU111が実行できる形式(オブジェクトコード)に変換しながら、そのプログラムを実行するソフトウェアである。クラスライブラリ148とは、ある特定の機能を持ったプログラムを、オブジェクト指向プログラミング言語を用いて一つの「クラス」として部品化し、関連する複数のクラスを一つのファイルにまとめたものである。オブジェクト指向言語では、共通する属性やメソッド(手続き)を持ったオブジェクト群をまとめたものを「クラス」と称する。こうした「クラス」は、プログラムの部品として利用できるため、よく使われる汎用的なものをクラスライブラリに集めておくことで、プログラミングの労力を軽減することができる。例えば、所定のOS向けのソフトウェアを開発する際に使用できる命令や関数の集合、または、それらを利用するためのプログラム上の手続きを定めた規約の集合であるAPI(Application Program Interface)は、個々のソフトウェアの開発者が、ソフトウェアが備える全ての機能をプログラミングする困難や無駄を省くために提供されているクラスライブラリ群であり、個々の開発者は、規約に従ってその機能を「呼び出す」だけで、自分でプログラミングすることなくその機能を利用したソフトウェアを作成することができる。   The interpreter 147 is software that executes a program while converting a design drawing (source code) of software described in a programming language into a format (object code) that can be executed by the CPU 111. The class library 148 is a part of a program having a specific function as one “class” using an object-oriented programming language, and a plurality of related classes are collected into one file. In an object-oriented language, a group of objects having common attributes and methods (procedures) is called a “class”. Since these “classes” can be used as parts of programs, it is possible to reduce programming effort by collecting commonly used general-purpose items in a class library. For example, an API (Application Program Interface), which is a set of instructions and functions that can be used when developing software for a predetermined OS, or a set of rules that define the program procedures for using them, is individually Is a group of class libraries provided to reduce the difficulty and waste of programming all the functions of software, and individual developers can simply “call” the functions according to the rules, You can create software that uses the function without programming yourself.

アプリケーションプログラム149は、必要に応じて、メモリ146を用いたり、クラスライブラリ148の機能を呼び出して実行しながら、例えば、後述する操作取得処理や作図のためのデータ処理を、CPU111に実行させるためのプログラムである。   For example, the application program 149 uses the memory 146 or calls a function of the class library 148 to execute the application program 149 to cause the CPU 111 to execute, for example, an operation acquisition process or a data process for drawing described later. It is a program.

ユーザの操作入力に基づいて、本発明を適用した作図のためのデータ処理が行われる場合、アプリケーションプログラム149として、ユーザの操作入力から、画像の描画を指令する操作入力を取得し、取得された指令に基づいて、作図のためのデータ処理を制御するプログラムが実行される。   When data processing for plotting to which the present invention is applied is performed based on a user's operation input, the application program 149 acquires an operation input for instructing drawing of an image from the user's operation input. Based on the command, a program for controlling data processing for drawing is executed.

なお、本発明を適用した作図のためのデータ処理が行われる場合、ユーザの操作入力から、画像の描画を指令する操作入力を取得し、取得された指令に基づいて画像データを処理するまでの全ての処理が、アプリケーションプログラム149として実現されるものであっても良いし、また、これらの処理の一部は、アプリケーションプログラム149としてではなく、クラスライブラリ148として実現されるものであっても良い。   When data processing for plotting to which the present invention is applied is performed, operation input for instructing drawing of an image is acquired from user operation input, and image data is processed based on the acquired instruction. All the processes may be realized as the application program 149, and a part of these processes may be realized as the class library 148 instead of the application program 149. .

図11は、本発明を適用した作図のためのデータ処理を行うためのプログラムが、RAM116にロードされ、CPU111によって実行される場合に実行可能な機能について説明するための機能ブロック図である。   FIG. 11 is a functional block diagram for explaining functions that can be executed when a program for performing data processing for drawing to which the present invention is applied is loaded into the RAM 116 and executed by the CPU 111.

入力デバイスドライバ161は、入力部114を構成するマウス141またはキーボード142の動作を制御し、ユーザにより、マウス141またはキーボード142が操作された場合、ユーザの操作入力を示す信号を操作入力部162に供給する。   The input device driver 161 controls the operation of the mouse 141 or the keyboard 142 constituting the input unit 114. When the user operates the mouse 141 or the keyboard 142, the input device driver 161 sends a signal indicating the user's operation input to the operation input unit 162. Supply.

操作入力部162は、入力デバイスドライバ161からユーザの操作入力を示す信号の供給を受け、例えば、「スペースキーが押下された」「ペンタブレットによって、座標(x,y)が指示された」「マウスの右ボタンがクリックされた」「マウスが(x,y)方向にドラックされた」「マウスの右ボタンのクリックが解除された」または「右移動を指令するカーソルボタンが押下された」などのユーザの操作入力を示す情報を、データ処理部163または表示制御部166に供給する。   The operation input unit 162 receives a signal indicating the user's operation input from the input device driver 161. For example, “the space key is pressed” “the coordinate (x, y) is instructed by the pen tablet” “ "Mouse right button was clicked" "Mouse was dragged in the (x, y) direction" "Mouse right button click was released" or "Cursor button commanding right movement was pressed" Information indicating the user's operation input is supplied to the data processing unit 163 or the display control unit 166.

データ処理部163は、入力デバイスドライバ161から供給されたユーザの操作入力を示す信号を、作図のためのデータ処理に対する指令に対応付けて検出することができ、検出された操作入力を基に、指示座標補正部164および待ち時間設定部165と情報を授受して画像データを処理し、必要に応じて、表示制御部166に対して、表示画像を制御するための制御信号を供給する。   The data processing unit 163 can detect a signal indicating the user's operation input supplied from the input device driver 161 in association with a command for data processing for drawing, and based on the detected operation input, The image data is processed by exchanging information with the designated coordinate correction unit 164 and the waiting time setting unit 165, and a control signal for controlling the display image is supplied to the display control unit 166 as necessary.

指示座標補正部164は、その補正機能が有効である場合、例えば、ユーザが指令した座標に対して最も近い所定の基準座標や、ユーザが指令した座標から所定の範囲内に存在する基準座標を検出し、ユーザが指令した座標を、対応する基準座標に補正する処理を実行する。   When the correction function is valid, for example, the designated coordinate correction unit 164 calculates a predetermined reference coordinate closest to the coordinate specified by the user or a reference coordinate existing within a predetermined range from the coordinate specified by the user. A process of detecting and correcting the coordinates instructed by the user to the corresponding reference coordinates is executed.

待ち時間設定部165は、データ処理部163が操作入力部162から供給されたユーザの操作入力を示す信号を基に、ユーザによる座標の指令が一定時間停止したか否かに基づいて、座標補正機能の有効と無効の切替えを行う場合の規準となる待ち時間を設定し、データ処理部163の制御にしたがって、内部に有するタイマのカウントの開始、終了、およびリセットを実行し、ユーザの操作入力により指令される座標位置の停止時間を計測する処理を実行し、停止時間が規準となる待ち時間を経過したとき、データ処理部162に通知する。また、待ち時間設定部165は、操作入力部162から供給されるユーザの操作入力を基に、待ち時間を設定する。したがって、利用するユーザの操作能力に基づいて、基準となる待ち時間を設定することができる。   The waiting time setting unit 165 performs coordinate correction based on whether or not the coordinate command by the user has been stopped for a certain period of time based on the signal indicating the user's operation input supplied from the operation input unit 162 by the data processing unit 163. A waiting time is set as a standard when switching between enabling and disabling of the function, and according to the control of the data processing unit 163, the count of the internal timer is started, ended, and reset, and the user's operation input The processing for measuring the stop time of the coordinate position instructed by is executed, and when the waiting time that is the reference of the stop time has passed, the data processing unit 162 is notified. The waiting time setting unit 165 sets a waiting time based on the user's operation input supplied from the operation input unit 162. Therefore, the reference waiting time can be set based on the user's operating ability.

まず、アプリケーションプログラム149が、アパチャの範囲内に指示座標の補正の基準となる座標がある場合に座標の補正する機能を有し、直線を描画する処理が実行される場合を例として、データ処理部163、指示座標補正部164、および、待ち時間設定部165の具体的な処理について説明する。   First, in the case where the application program 149 has a function of correcting coordinates when there is a coordinate serving as a reference for correcting the designated coordinates within the aperture range, the data processing is performed by taking as an example a case where a process of drawing a straight line is executed. Specific processing of the unit 163, the designated coordinate correction unit 164, and the waiting time setting unit 165 will be described.

「マウスの左ボタンが押下された状態で、指示された座標の位置が、表示画面中の座標(X1,Y1)から座標(X2,Y2)に移動された」という操作を示す情報の供給を受けた場合、データ処理部163は、表示制御部166に対して、表示されている画像に対して、座標(X1,Y1)から座標(X2,Y2)に伸びる直線を描画させるための制御信号を供給するとともに、待ち時間設定部165に対して、マウスの左ボタンが押下された状態で座標(X2,Y2)に停止している時間の計測を開始させるための制御信号を供給する。データ処理部163は、設定された待ち時間が経過する前に、マウスが移動されたことを示す操作入力、または、マウスの左ボタンが開放されたことを示す操作入力を受けた場合、待ち時間設定部165に対して、時間の計測を終了させ、カウンタをリセットさせるための制御信号を供給する。   Supply of information indicating an operation that “the position of the designated coordinate has been moved from the coordinate (X1, Y1) to the coordinate (X2, Y2) in the display screen while the left button of the mouse is pressed”. When received, the data processing unit 163 causes the display control unit 166 to draw a straight line extending from the coordinates (X1, Y1) to the coordinates (X2, Y2) on the displayed image. And a control signal for starting the measurement of the time during which the mouse is stopped at the coordinates (X2, Y2) when the left button of the mouse is pressed. If the data processing unit 163 receives an operation input indicating that the mouse has been moved or an operation input indicating that the left button of the mouse has been released before the set waiting time has elapsed, A control signal for terminating the time measurement and resetting the counter is supplied to the setting unit 165.

待ち時間設定部165は、データ処理部163から供給される制御信号に基づいて、カウンタをスタート、ストップ、または、リセットさせ、マウスの左ボタンが押下された状態で座標(X2,Y2)に停止している時間を計測する。そして、待ち時間設定部165は、計測している時間が、設定時間となった場合、データ処理部163に対して、設定時間の経過を通知する。データ処理部163は、設定時間の経過の通知を受け、指示座標補正部164による指示座標の補正機能の有効と無効を切り換える。   The waiting time setting unit 165 starts, stops, or resets the counter based on the control signal supplied from the data processing unit 163, and stops at the coordinates (X2, Y2) when the left button of the mouse is pressed. Measure the running time. Then, the waiting time setting unit 165 notifies the data processing unit 163 that the set time has elapsed when the measured time reaches the set time. The data processing unit 163 receives notification that the set time has elapsed, and switches between enabling and disabling the function for correcting the designated coordinates by the designated coordinate correcting unit 164.

データ処理部163は、指示座標補正部164による指示座標の補正機能が無効である状態で「マウスの左ボタンが開放された」という操作を示す情報の供給を受けた場合、処理中の画像データに対して、座標(X1,Y1)から座標(X2,Y2)に伸びる直線のデータを加えるとともに、表示制御部166の処理により表示されている画像に描画されている新たな直線の表示を確定させるための制御信号を表示制御部166に供給する。   When the data processing unit 163 is supplied with information indicating an operation of “the left button of the mouse has been released” in a state where the function of correcting the designated coordinate by the designated coordinate correcting unit 164 is invalid, the image data being processed Is added to the data of the straight line extending from the coordinate (X1, Y1) to the coordinate (X2, Y2), and the display of the new straight line drawn in the image displayed by the processing of the display control unit 166 is confirmed. A control signal for causing the display control unit 166 to supply the control signal.

また、データ処理部163は、指示座標補正部164による指示座標の補正機能が有効である状態で「マウスの左ボタンが開放された」という操作を示す情報の供給を受けた場合、指示座標補正部164に、座標(X2,Y2)の情報を供給する。指示座標補正部164は、座標(X2,Y2)近傍の所定の範囲内、すなわち、表示画面上のアパチャの範囲内に指示座標の補正の基準となる座標があるか否かを判断し、座標(X2,Y2)近傍の所定の範囲内に指示座標の補正の基準となる座標がない場合、データ処理部163に、座標の補正処理がないことを通知する。データ処理部163は、処理中の画像データに対して、座標(X1,Y1)から座標(X2,Y2)に伸びる直線のデータを加えるとともに、表示制御部166の処理により表示されている画像に描画されている新たな直線の表示を確定させるための制御信号を表示制御部166に供給する。これに対して、座標(X2,Y2)近傍の所定の範囲内に指示座標の補正の基準となる座標(X3,Y3)が存在した場合、指示座標補正部164は、データ処理部163が処理中の画像データに対して、描画の終了位置の座標を座標(X2,Y2)から座標(X3,Y3)に補正させる。データ処理部163は、指示座標補正部164の処理に基づいて、処理中の画像データに対して、座標(X1,Y1)から座標(X3,Y3)に伸びる直線のデータを加えるとともに、表示制御部166の処理により表示されている画像に描画されている直線を座標(X1,Y1)から座標(X3,Y3)に伸びる直線に補正させ、その表示を確定させるための制御信号を表示制御部166に供給する。   Further, when the data processing unit 163 receives information indicating an operation “the left button of the mouse has been released” in a state where the function of correcting the designated coordinate by the designated coordinate correcting unit 164 is valid, the data processing unit 163 corrects the designated coordinate. Information of coordinates (X2, Y2) is supplied to the unit 164. The designated coordinate correction unit 164 determines whether there is a coordinate serving as a reference for correcting the designated coordinate within a predetermined range near the coordinate (X2, Y2), that is, within the aperture range on the display screen. If there is no reference coordinate correction reference within a predetermined range near (X2, Y2), the data processor 163 is notified that there is no coordinate correction processing. The data processing unit 163 adds straight line data extending from the coordinates (X1, Y1) to the coordinates (X2, Y2) to the image data being processed, and also adds to the image displayed by the processing of the display control unit 166. A control signal for confirming the display of the new straight line being drawn is supplied to the display control unit 166. On the other hand, when the coordinates (X3, Y3) serving as the reference coordinate correction reference exist within a predetermined range in the vicinity of the coordinates (X2, Y2), the indicated coordinate correction unit 164 is processed by the data processing unit 163. For the image data in the middle, the coordinates of the drawing end position are corrected from the coordinates (X2, Y2) to the coordinates (X3, Y3). Based on the processing of the designated coordinate correction unit 164, the data processing unit 163 adds straight line data extending from the coordinates (X1, Y1) to the coordinates (X3, Y3) to the image data being processed, and performs display control. The display control unit displays a control signal for correcting the straight line drawn in the image displayed by the processing of the unit 166 to a straight line extending from the coordinates (X1, Y1) to the coordinates (X3, Y3) and confirming the display. 166.

なお、アプリケーションプログラム149が、アパチャの範囲内に指示座標の補正の基準となる座標がある場合に座標の補正する機能を有し、所定の図形を配置する処理が実行される場合も、配置される図形の基準位置となる座標(X2,Y2)近傍の所定の範囲内、すなわち、表示画面上のアパチャの範囲内に指示座標の補正の基準となる座標があるか否かが判断されて、座標(X2,Y2)近傍の所定の範囲内に指示座標の補正の基準となる座標(X3,Y3)が存在した場合、同様にして、図形の基準位置が座標(X3,Y3)に補正されて、画像データが処理されるとともに、補正された画像データに対応する画像の表示を確定させるための制御信号が表示制御部166に供給される。   The application program 149 has a function of correcting coordinates when there is a reference coordinate correction reference within the aperture range, and the arrangement is also performed when a process of arranging a predetermined figure is executed. It is determined whether or not there is a coordinate serving as a reference for correcting the designated coordinates within a predetermined range in the vicinity of the coordinates (X2, Y2) serving as the reference position of the figure to be displayed, that is, within the aperture range on the display screen. If the coordinates (X3, Y3) serving as the reference coordinate correction reference exist within a predetermined range near the coordinates (X2, Y2), the figure reference position is similarly corrected to the coordinates (X3, Y3). Then, the image data is processed, and a control signal for determining display of an image corresponding to the corrected image data is supplied to the display control unit 166.

次に、アプリケーションプログラム149が、グリッド線などの所定の座標位置を基準として座標の補正する機能を有し、所定の図形を配置する処理が実行される場合を例として、データ処理部163、指示座標補正部164、および、待ち時間設定部165の具体的な処理について説明する。   Next, taking as an example the case where the application program 149 has a function of correcting coordinates with reference to a predetermined coordinate position such as a grid line and executes a process of arranging a predetermined figure, the data processing unit 163, Specific processing of the coordinate correction unit 164 and the waiting time setting unit 165 will be described.

「図形が選択され、マウスの左ボタンが押下された状態のまま、選択された図形の配置の基準となる座標位置が、表示画面中の座標(X1,Y1)から座標(X2,Y2)に移動された」という操作を示す情報の供給を受けた場合、データ処理部163は、表示制御部166に対して、表示されている画像に配置されている選択された図形に対して、座標(X1,Y1)から座標(X2,Y2)に移動させて表示させるための制御信号を供給するとともに、待ち時間設定部165に対して、マウスの左ボタンが押下された状態で座標(X2,Y2)に対応する位置に停止している時間の計測を開始させるための制御信号を供給する。データ処理部163は、設定された待ち時間が経過する前に、マウスが移動されたことを示す操作入力、または、マウスの左ボタンが開放されたことを示す操作入力を受けた場合、待ち時間設定部165に対して、時間の計測を終了させ、カウンタをリセットさせるための制御信号を供給する。   “With the figure selected and the left mouse button pressed, the coordinate position serving as the reference for the arrangement of the selected figure is changed from the coordinates (X1, Y1) to the coordinates (X2, Y2) on the display screen. When the information indicating the operation “moved” is supplied, the data processing unit 163 instructs the display control unit 166 to display the coordinates (for the selected graphic arranged in the displayed image). A control signal for moving the display from X1, Y1) to coordinates (X2, Y2) for display is supplied, and the coordinates (X2, Y2) are displayed with the left button of the mouse pressed against the waiting time setting unit 165. ) To supply a control signal for starting the measurement of the time stopped at the position corresponding to. If the data processing unit 163 receives an operation input indicating that the mouse has been moved or an operation input indicating that the left button of the mouse has been released before the set waiting time has elapsed, A control signal for terminating the time measurement and resetting the counter is supplied to the setting unit 165.

待ち時間設定部165は、データ処理部163から供給される制御信号に基づいて、カウンタをスタート、ストップ、または、リセットさせ、マウスの左ボタンが押下された状態で座標(X2,Y2)に対応する位置に停止している時間を計測する。そして、待ち時間設定部165は、計測している時間が、設定時間となった場合、データ処理部163に対して、設定時間の経過を通知する。データ処理部163は、設定時間の経過の通知を受け、指示座標補正部164による指示座標の補正機能の有効と無効を切り換える。   The waiting time setting unit 165 starts, stops, or resets the counter based on the control signal supplied from the data processing unit 163, and corresponds to the coordinates (X2, Y2) with the left mouse button pressed. Measure the time of stopping at the position to be. Then, the waiting time setting unit 165 notifies the data processing unit 163 that the set time has elapsed when the measured time reaches the set time. The data processing unit 163 receives notification that the set time has elapsed, and switches between enabling and disabling the function for correcting the designated coordinates by the designated coordinate correcting unit 164.

データ処理部163は、指示座標補正部164による指示座標の補正機能が無効である状態で「マウスの左ボタンが開放された」という操作を示す情報の供給を受けた場合、処理中の画像データに対して、座標(X2,Y2)に対応する位置に配置される図形のデータを加えるとともに、表示制御部166の処理により表示されている画像に配置されている図形の表示を確定させるための制御信号を表示制御部166に供給する。   When the data processing unit 163 is supplied with information indicating an operation of “the left button of the mouse has been released” in a state where the function of correcting the designated coordinate by the designated coordinate correcting unit 164 is invalid, the image data being processed Is added to the graphic data arranged at the position corresponding to the coordinates (X2, Y2) and the display of the graphic arranged in the image displayed by the processing of the display control unit 166 is confirmed. A control signal is supplied to the display control unit 166.

また、データ処理部163は、指示座標補正部164による指示座標の補正機能が有効である状態で「マウスの左ボタンが開放された」という操作を示す情報の供給を受けた場合、指示座標補正部164に、座標(X2,Y2)の情報を供給する。指示座標補正部164は、座標(X2,Y2)近傍の座標補正のための基準点の座標(X3,Y3)を検出し、検出された座標(X3,Y3)を、データ処理部163に通知する。データ処理部163は、座標(X2,Y2)近傍の補正の基準となる座標(X3,Y3)の通知を受けて、処理中の画像データに対して、図形が配置される位置の座標を補正して、座標(X3,Y3)に対応する位置に配置される図形のデータを加えるとともに、表示制御部166の処理により表示されている画像に描画されている図形が配置される位置を座標(X2,Y2)に対応する位置から座標(X3,Y3)に対応する位置に補正させ、その表示を確定させるための制御信号を表示制御部166に供給する。   Further, when the data processing unit 163 receives information indicating an operation “the left button of the mouse has been released” in a state where the function of correcting the designated coordinate by the designated coordinate correcting unit 164 is valid, the data processing unit 163 corrects the designated coordinate. Information of coordinates (X2, Y2) is supplied to the unit 164. The designated coordinate correction unit 164 detects the coordinates (X3, Y3) of the reference point for coordinate correction near the coordinates (X2, Y2) and notifies the data processing unit 163 of the detected coordinates (X3, Y3). To do. The data processing unit 163 receives the notification of the coordinates (X3, Y3) as a correction reference in the vicinity of the coordinates (X2, Y2), and corrects the coordinates of the position where the figure is arranged with respect to the image data being processed. Then, the data of the figure arranged at the position corresponding to the coordinates (X3, Y3) is added, and the position where the figure drawn in the image displayed by the processing of the display control unit 166 is arranged is set to the coordinates ( The display control unit 166 is supplied with a control signal for correcting the position corresponding to the coordinates (X3, Y3) from the position corresponding to X2, Y2) and confirming the display.

なお、アプリケーションプログラム149が、グリッド線などの所定の座標位置を基準として座標の補正する機能を有し、直線を描画する処理が実行される場合も、直線の描画の終了位置となる座標(X2,Y2)近傍の指示座標の補正の基準となる座標が検出されて、同様にして、直線の描画の終了位置が座標(X2,Y2)から基準点の座標(X3,Y3)に補正されて、画像データが処理されるとともに、補正された画像データに対応する画像の表示を確定させるための制御信号が表示制御部166に供給される。   Note that the application program 149 has a function of correcting coordinates with reference to a predetermined coordinate position such as a grid line, and even when a process of drawing a straight line is executed, the coordinates (X2) that are the end positions of the straight line drawing are executed. , Y2) A coordinate serving as a reference for correction of the designated coordinate in the vicinity is detected, and similarly, the end position of the straight line drawing is corrected from the coordinate (X2, Y2) to the coordinate (X3, Y3) of the reference point. The image data is processed, and a control signal for determining display of an image corresponding to the corrected image data is supplied to the display control unit 166.

表示制御部166は、データ処理部163から供給される制御信号とともに、操作入力部162から供給されるユーザの操作入力を示す信号に基づいて、表示データ生成部167による表示データの生成処理を制御する。例えば、表示制御部166は、データ処理部163から、表示されている画像に配置されている選択された図形に対して、座標(X1,Y1)から座標(X2,Y2)に移動させて表示させるための制御信号の供給を受け、これを基に、表示データ生成部167による図形を座標(X1,Y1)から座標(X2,Y2)に移動させた表示データの生成処理を制御する。また、表示制御部166は、操作入力部162から、画像の表示を拡大することを指令する操作入力を受けたことを示す信号の供給を受け、表示データ生成部167による表示中の画像データが拡大された表示データの生成処理を制御する。   The display control unit 166 controls display data generation processing by the display data generation unit 167 based on a control signal supplied from the data processing unit 163 and a signal indicating a user operation input supplied from the operation input unit 162. To do. For example, the display control unit 166 moves the coordinates (X1, Y1) from the coordinates (X1, Y1) to the coordinates (X2, Y2) and displays the selected graphic arranged in the displayed image from the data processing unit 163. Based on this, the display data generation unit 167 controls display data generation processing in which the figure is moved from the coordinates (X1, Y1) to the coordinates (X2, Y2). In addition, the display control unit 166 receives a signal indicating that an operation input commanding enlargement of the image display has been received from the operation input unit 162, and the image data being displayed by the display data generation unit 167 is displayed. Controls generation processing of enlarged display data.

次に、表示データ生成部167は、表示制御部166の制御に基づいて、表示データメモリ168に保存されている画像データを読み出して、表示処理部169に供給したり、ユーザの操作入力を基に、新たな直線が追加されたり、図形などのオブジェクトが移動された表示画像データを生成し、表示処理部169に供給するとともに、表示データメモリ168に供給する。表示データメモリ168は、表示データ生成部167から供給された画像データを記憶する。   Next, the display data generation unit 167 reads out image data stored in the display data memory 168 based on the control of the display control unit 166 and supplies the image data to the display processing unit 169 or based on a user operation input. In addition, display image data in which a new straight line is added or an object such as a figure is moved is generated and supplied to the display processing unit 169 and supplied to the display data memory 168. The display data memory 168 stores the image data supplied from the display data generation unit 167.

表示処理部169が実行する処理は、一般的に、グラフィックアクセラレータまたはグラフィックプロセッサと称されるハードウェアの処理に対応するものであり、表示データ生成部167から供給された画像データを描画するための処理を実行する。すなわち、表示処理部169は、供給された画像データを構成する、例えば、直線や曲線、あるいは、円や四角形などに対応する図形データ(多くの場合は、ベクトルデータにより記述されているデータ)を基に、指定の位置に指定の図形を順次発生させ、内部に有するフレームメモリに書き込む処理を行う。   The processing executed by the display processing unit 169 generally corresponds to processing of hardware called a graphic accelerator or a graphic processor, and is used for rendering image data supplied from the display data generating unit 167. Execute the process. In other words, the display processing unit 169 generates graphic data (in many cases, data described by vector data) corresponding to, for example, a straight line, a curved line, a circle, a quadrangle, or the like that constitutes the supplied image data. Based on this, a specified figure is sequentially generated at a specified position and written into a frame memory included therein.

表示デバイスドライバ170は、表示部117を構成するディスプレイ144の動作を制御するものであり、表示処理部169のフレームメモリに書き込まれた情報を読み込んで、ディスプレイ144に表示させる。   The display device driver 170 controls the operation of the display 144 constituting the display unit 117, reads information written in the frame memory of the display processing unit 169, and displays the information on the display 144.

図11に示される各ブロックと、図10を用いて説明したソフトウェアスタックとの関係を例示すると、例えば、入力デバイスドライバ161および表示デバイスドライバ170は、図10におけるドライバ145に含まれるものであり、表示データメモリ168は、メモリ146に含まれるものであり、操作入力部162および表示処理部169の処理は、クラスライブラリ148として実現されるものであり、データ処理部163、指示座標補正部164、待ち時間設定部165、表示制御部166、および表示データ生成部167の処理は、アプリケーションプログラム149として実現されるものであるとすることができる。   When the relationship between each block shown in FIG. 11 and the software stack described with reference to FIG. 10 is illustrated, for example, the input device driver 161 and the display device driver 170 are included in the driver 145 in FIG. The display data memory 168 is included in the memory 146, and the processing of the operation input unit 162 and the display processing unit 169 is realized as a class library 148. The data processing unit 163, the indicated coordinate correction unit 164, The processes of the waiting time setting unit 165, the display control unit 166, and the display data generation unit 167 can be realized as the application program 149.

なお、図11に示される各ブロックと、図10を用いて説明したソフトウェアスタックとの関係は、上述した例示のとおりでなくても良く、例えば、操作入力部162および表示処理部169の処理がクラスライブラリ148として用意されていなくても、アプリケーションプログラム149として実現されていても良いし、表示制御部166および表示データ生成部167の処理のうちの一部が、クラスライブラリ148として用意されていてもよい。   Note that the relationship between each block shown in FIG. 11 and the software stack described with reference to FIG. 10 does not have to be as illustrated above. For example, the processing of the operation input unit 162 and the display processing unit 169 is performed. Even if it is not prepared as the class library 148, it may be realized as the application program 149, and part of the processing of the display control unit 166 and the display data generation unit 167 is prepared as the class library 148. Also good.

次に、図12のフローチャートを参照して、本発明を適用した作図のためのデータ処理を行うためのプログラムが、RAM116にロードされ、CPU111によって実行された場合であって、既に描画されている図形を基に指示された座標を補正する機能の有効と無効を切り換えることが可能なようになされているときの、指示座標補正機能切替え処理1について説明する。   Next, referring to the flowchart of FIG. 12, a program for performing data processing for drawing to which the present invention is applied is loaded into the RAM 116 and executed by the CPU 111, and has already been drawn. The instruction coordinate correction function switching process 1 when the function for correcting the specified coordinates based on the figure can be switched between valid and invalid will be described.

ステップS1において、データ処理部163は、操作入力部162から供給されたユーザの操作入力を示す信号を基に、例えば、「マウスの左ボタンが押下された状態で、指示される座標が表示画面中の座標(X1,Y1)から座標(X2,Y2)に移動された」という操作を検出するなど、図形の描画の終了点、または、図形の配置を指令する操作入力を受けることが可能な状態であることが検出されたか否かを判断する。図形の描画の終了点、または、図形の配置を指令する操作入力を受けることが可能な状態とは、すなわち、座標の指示操作がある位置で停止したことと等しい。   In step S <b> 1, the data processing unit 163 displays, for example, “the coordinate indicated by the left button of the mouse is displayed on the display screen based on the signal indicating the user's operation input supplied from the operation input unit 162. It is possible to receive an operation input for instructing an end point of drawing of a figure or an arrangement of the figure, such as detecting an operation “moved from coordinates (X1, Y1) to coordinates (X2, Y2)” It is determined whether or not a state is detected. An end point of drawing of a figure or a state in which an operation input for instructing arrangement of a figure can be received is equivalent to stopping at a position where a coordinate instruction operation is performed.

ステップS2において、データ処理部163は、待ち時間設定部165を制御して、ユーザの操作入力により指令される座標位置の停止時間の計測を開始させる。待ち時間設定部165は、内部に有するタイマのカウントを開始する。   In step S <b> 2, the data processing unit 163 controls the waiting time setting unit 165 to start measuring the stop time of the coordinate position commanded by the user's operation input. The waiting time setting unit 165 starts counting of a timer included therein.

ステップS3において、データ処理部163は、操作入力部162から供給されたユーザの操作入力を示す信号を基に、例えば、「マウスの左ボタンが開放された」など、図形の描画の終了点、または、図形の配置を指令する操作入力を受けたか否かを判断する。ステップS3において、図形の描画の終了点、または、図形の配置を指令する操作入力を受けたと判断された場合、データ処理部163は、待ち時間設定部165へカウンタのストップを制御する信号を供給し、処理は、ステップS7に進む。   In step S3, the data processing unit 163, based on the signal indicating the user's operation input supplied from the operation input unit 162, for example, the drawing drawing end point such as “the left mouse button is released”, Alternatively, it is determined whether or not an operation input for instructing the arrangement of the figure has been received. In step S 3, when it is determined that the drawing end point of the figure or the operation input for instructing the figure placement has been received, the data processing unit 163 supplies a signal for controlling the stop of the counter to the waiting time setting unit 165. Then, the process proceeds to step S7.

ステップS3において、図形の描画の終了点、または、図形の配置を指令する操作入力を受けていないと判断された場合、データ処理部163は、待ち時間設定部165へカウンタのストップを制御する信号を供給しないので、ステップS4において、待ち時間設定部165は、タイマのカウントが開始されてから予め設定されている所定の待ち時間が経過したか否かを判断する。データ処理部163は、待ち時間設定部165から待ち時間が経過したことの通知が供給されるか否かを基に、タイマのカウントが開始されてから予め設定されている所定の待ち時間が経過したか否かを判断する。ステップS4において、所定の待ち時間が経過していないと判断された場合、処理は、ステップS3に戻り、それ以降の処理が繰り返される。   In step S3, when it is determined that the drawing end point of the figure or the operation input for instructing the figure arrangement has not been received, the data processing unit 163 sends a signal for controlling the stop of the counter to the waiting time setting unit 165 In step S4, the waiting time setting unit 165 determines whether or not a predetermined waiting time set in advance has elapsed since the timer was started. Based on whether or not the notification that the waiting time has elapsed is supplied from the waiting time setting unit 165, the data processing unit 163 has passed a predetermined waiting time that has been set in advance after the timer starts counting. Determine whether or not. If it is determined in step S4 that the predetermined waiting time has not elapsed, the process returns to step S3, and the subsequent processes are repeated.

ステップS4において、所定の待ち時間が経過したと判断された場合、ステップS5において、データ処理部163は、待ち時間設定部165から待ち時間が経過したことの通知をうけるので、指示座標補正部164の処理による指示座標補正機能の有効と無効を切り換える。   If it is determined in step S4 that the predetermined waiting time has elapsed, in step S5, the data processing unit 163 receives a notification from the waiting time setting unit 165 that the waiting time has elapsed. This switches between enabling and disabling the indicated coordinate correction function.

ステップS5により切り換えられた指示座標補正機能の有効と無効は、今回の操作入力に限って切り換えられた設定で処理されるものとしても良いし、これ以降の操作入力に対しても切り換えられた設定で処理されるようにしても良い。更に、指示座標補正機能は、基本的には常に有効であるとし、所定の待ち時間が経過したと判断された場合には、指示座標補正機能を無効であるとしたり、指示座標補正機能は、基本的には常に無効であるとし、所定の待ち時間が経過したと判断された場合には、指示座標補正機能を有効であるとするようにしても良い。   Validity and invalidity of the designated coordinate correction function switched in step S5 may be processed with settings switched only for the current operation input, or settings switched for subsequent operation inputs. You may make it process by. Further, the indicated coordinate correction function is basically always effective, and when it is determined that a predetermined waiting time has elapsed, the indicated coordinate correction function is disabled, or the indicated coordinate correction function is Basically, it is always invalid, and when it is determined that a predetermined waiting time has elapsed, the designated coordinate correction function may be valid.

ステップS6において、データ処理部163は、操作入力部162から供給されたユーザの操作入力を示す信号を基に、例えば、「マウスの左ボタンが開放された」など、図形の描画の終了点、または、図形の配置を指令する操作入力を受けたか否かを判断する。ステップS6において、図形の描画の終了点、または、図形の配置を指令する操作入力を受けていないと判断された場合、図形の描画の終了点、または、図形の配置を指令する操作入力を受けたと判断されるまで、ステップS6の処理が繰り返される。   In step S6, the data processing unit 163, based on the signal indicating the user's operation input supplied from the operation input unit 162, for example, the end point of drawing of the graphic such as “the left button of the mouse has been released”, Alternatively, it is determined whether or not an operation input for instructing the arrangement of the figure has been received. In step S6, when it is determined that the drawing input end point or the operation input for instructing the graphic arrangement is not received, the graphic drawing end point or the operation input for instructing the graphic arrangement is received. The process of step S6 is repeated until it is determined that

ステップS3において、図形の描画の終了点、または、図形の配置を指令する操作入力を受けたと判断された場合、または、ステップS6において、図形の描画の終了点、または、図形の配置を指令する操作入力を受けたと判断された場合、ステップS7において、データ処理部163は、指示座標補正部164による指示座標補正機能は有効であるか否かを判断する。   If it is determined in step S3 that an end point of drawing of a figure or an operation input for instructing placement of a figure has been received, or in step S6, an end point of drawing of a figure or placement of a figure is instructed. When it is determined that the operation input has been received, in step S7, the data processing unit 163 determines whether or not the designated coordinate correction function by the designated coordinate correction unit 164 is valid.

ステップS7において、指示座標補正部164による指示座標補正機能は有効であると判断された場合、ステップS8において、データ処理部163は、指示座標補正部164に、ユーザによって指令された座標の情報を供給する。指示座標補正部164は、ユーザによって指令された座標近傍の所定の範囲内、すなわち、表示画面上のアパチャの範囲内に、座標補正の基準となる座標が存在するか否かを判断する。ステップS8において、ユーザによって指令された座標近傍の所定の範囲内に、座標補正の基準となる座標が存在しないと判断された場合、指示座標補正部164は、座標近傍の所定の範囲内に、座標補正の基準となる座標が存在しないことをデータ処理部163に通知し、処理は、ステップS10に進む。   If it is determined in step S7 that the designated coordinate correction function by the designated coordinate correction unit 164 is valid, in step S8, the data processing unit 163 sends the coordinate information instructed by the user to the designated coordinate correction unit 164. Supply. The designated coordinate correction unit 164 determines whether or not coordinates serving as a reference for coordinate correction exist within a predetermined range in the vicinity of the coordinates instructed by the user, that is, within the aperture range on the display screen. In step S8, if it is determined that there is no coordinate correction reference within a predetermined range in the vicinity of the coordinate instructed by the user, the designated coordinate correction unit 164 includes a predetermined range in the vicinity of the coordinate. The data processing unit 163 is notified that there is no coordinate serving as a reference for coordinate correction, and the process proceeds to step S10.

ステップS8において、ユーザによって指令された座標近傍の所定の範囲内に、座標補正の基準となる座標が存在すると判断された場合、ステップS9において、指示座標補正部164は、座標補正の基準となる座標に基づいて、座標を補正し、補正された座標をデータ処理部163に通知する。データ処理部163は、補正された座標において図形の描画を終了するか、または、図形を配置する処理を実行し、補正された座標において図形の描画が終了された画像、または、図形が配置された画像を表示させるための制御信号を生成し、表示制御部166に供給して、処理は、ステップS1に戻り、それ以降の処理が繰り返される。   If it is determined in step S8 that coordinates serving as a reference for coordinate correction exist within a predetermined range in the vicinity of the coordinates instructed by the user, the designated coordinate correction unit 164 serves as a reference for coordinate correction in step S9. Based on the coordinates, the coordinates are corrected, and the corrected coordinates are notified to the data processing unit 163. The data processing unit 163 completes drawing of the figure at the corrected coordinates or executes a process of arranging the figure, and an image or figure after drawing of the figure is corrected at the corrected coordinates. A control signal for displaying the displayed image is generated and supplied to the display control unit 166, and the process returns to step S1, and the subsequent processes are repeated.

指示座標補正機能が有効であり、例えば、図13に示されるように、ユーザの操作入力により指令される座標、すなわち、垂直ライン211と水平ライン212との交点の座標を基準とした所定の範囲を示すアパチャ213内に、すでに描画されている図形1が存在している状態で、ユーザが、「マウスの左ボタンを開放する」など、図形の描画の終了点を指令する操作入力を行った場合、データ処理部163により作成された画像データと、それに対応してディスプレイ144に表示される画像とにおける描画の終了点は、図14に示されるように、図形1上の所定の基準点と一致するように補正される。   The designated coordinate correction function is effective. For example, as shown in FIG. 13, a predetermined range based on coordinates instructed by a user operation input, that is, the coordinates of the intersection of the vertical line 211 and the horizontal line 212. In the state where the already drawn figure 1 exists in the aperture 213 indicating, the user performs an operation input for instructing an end point of drawing of the figure, such as “release the left mouse button”. In this case, the drawing end point of the image data created by the data processing unit 163 and the image displayed on the display 144 corresponding thereto is the predetermined reference point on the graphic 1 as shown in FIG. Corrected to match.

ステップS7において、指示座標補正部164による指示座標補正機能は無効であると判断された場合、または、ステップS8において、ユーザによって指令された座標近傍の所定の範囲内に、座標補正の基準となる座標が存在しないと判断された場合、ステップS10において、データ処理部163は、ユーザの操作入力に基づいた座標で、図形の描画を終了するか、または、図形を配置する処理を実行し、補正されていない、ユーザによって指令された座標において図形の描画が終了された画像、または、図形が配置された画像を表示させるための制御信号を生成し、表示制御部166に供給して、処理は、ステップS1に戻り、それ以降の処理が繰り返される。   When it is determined in step S7 that the designated coordinate correction function by the designated coordinate correction unit 164 is invalid, or in step S8, the coordinate correction reference is within a predetermined range in the vicinity of the coordinate specified by the user. If it is determined that the coordinates do not exist, in step S10, the data processing unit 163 executes a process of ending drawing of the figure or arranging the figure at the coordinates based on the operation input by the user, and correcting the coordinates. The control signal for displaying the image in which the drawing of the figure is finished at the coordinates designated by the user or the image on which the figure is arranged is generated and supplied to the display control unit 166, and the processing is performed. Returning to step S1, the subsequent processing is repeated.

指示座標補正機能が無効であれば、ユーザの操作入力により指令される座標、すなわち、垂直ライン211と水平ライン212との交点の座標に基づいた作図作業が実行されるので、例えば、図15に示されるように、表示画面にはアパチャ213が表示されず、ユーザの操作入力により指令される座標、すなわち、垂直ライン211と水平ライン212との交点の座標が図形1の近傍に存在している状態で、ユーザが、例えば、「マウスの左ボタンを開放する」など、図形の描画の終了点を指令する操作入力を行った場合、データ処理部163により作成された画像データと、それに対応してディスプレイ144に表示される画像における描画の終了点は、図16に示されるように、垂直ライン211と水平ライン212との交点の座標となる。   If the designated coordinate correction function is invalid, the drawing work based on the coordinates instructed by the user's operation input, that is, the coordinates of the intersection of the vertical line 211 and the horizontal line 212 is executed. As shown, the aperture 213 is not displayed on the display screen, and the coordinates instructed by the user's operation input, that is, the coordinates of the intersection of the vertical line 211 and the horizontal line 212 exist in the vicinity of the graphic 1. In the state, for example, when the user performs an operation input for instructing an end point of drawing of the figure, such as “release the left mouse button”, the image data created by the data processing unit 163 and the corresponding data As shown in FIG. 16, the drawing end point in the image displayed on the display 144 is the coordinates of the intersection of the vertical line 211 and the horizontal line 212. That.

このような処理により、そのつど、設定ウィンドウなどを表示させて座標補正機能の有効または無効の設定を変更させることなく、ユーザが所望する設定で、座標位置を指令することができるようになる。   Through such processing, the coordinate position can be instructed with the setting desired by the user without changing the setting of whether the coordinate correction function is enabled or disabled by displaying a setting window or the like each time.

例えば、現在の座標補正機能が無効であり、無効と有効の切替えのために設定される待ち時間を1.0秒と指定した場合、ユーザは、1.0秒以内に座標を指示することにより、複数の図形が混在するような座標位置においても、画面を拡大することなく、所望の座標が指示できる。そして、ユーザは、座標の補正のためにアパチャ内の図形を認識して座標を補正したいとき、1.0秒以上マウス142を止めて、指示する座標位置を固定しておくことにより、座標補正機能の設定を有効に切り換えて、アパチャ内の図形を認識して座標位置を補正することができる。   For example, when the current coordinate correction function is invalid and the waiting time set for switching between invalid and valid is specified as 1.0 second, the user designates the coordinate within 1.0 second. Even at coordinate positions where a plurality of figures are mixed, desired coordinates can be designated without enlarging the screen. Then, when the user wants to correct the coordinates by recognizing the figure in the aperture for correcting the coordinates, the coordinate correction is performed by stopping the mouse 142 for 1.0 second or more and fixing the indicated coordinate position. The function setting can be switched to enable recognition of the figure in the aperture and correction of the coordinate position.

例えば、指示座標補正機能が有効である状態において、図13に示されるように、アパチャ213内に、あらかじめ描画された図形1による補正の基準となる座標が存在している状態で、ユーザの操作入力により指令される座標、すなわち、垂直ライン211と水平ライン212との交点の座標に基づいた作図作業を行いたい場合、ユーザは、図13に示される状態で、マウス142の動きを無効と有効の切替えのために設定される待ち時間(例えば、1.0秒)以上停止させる。そして、設定される待ち時間以上、マウス142の動きが停止されたとき、指示座標補正機能は有効から無効に切り替わるので、表示画面は図15を用いて説明したように変更されて、アパチャ213の表示がなくなる。この状態において、ユーザが、例えば、「マウスの左ボタンの開放」など、図形の描画の終了点を指令する操作入力を行った場合、データ処理部163により作成される画像データと、それに対応してディスプレイ144に表示される画像における描画の終了点は、図16に示されるように、垂直ライン211と水平ライン212との交点の座標となる。   For example, in a state where the designated coordinate correction function is valid, as shown in FIG. 13, the user's operation is performed in a state in which coordinates serving as a reference for correction by the graphic 1 drawn in advance exist in the aperture 213. When the user wants to perform a drawing operation based on the coordinates instructed by the input, that is, the coordinates of the intersection of the vertical line 211 and the horizontal line 212, the user disables and enables the movement of the mouse 142 in the state shown in FIG. Is stopped for a waiting time (for example, 1.0 second) set for switching. When the movement of the mouse 142 is stopped for the set waiting time or longer, the designated coordinate correction function is switched from valid to invalid, so the display screen is changed as described with reference to FIG. The display disappears. In this state, when the user performs an operation input for instructing an end point of drawing of a graphic, such as “opening the left mouse button”, for example, the image data created by the data processing unit 163 and the corresponding data are generated. Thus, the drawing end point in the image displayed on the display 144 is the coordinates of the intersection of the vertical line 211 and the horizontal line 212, as shown in FIG.

なお、ここでは、指示座標補正機能は有効から無効に切り替わったとき、アパチャ213の表示がなくなるものとして説明したが、アパチャ213は、常に表示するようにしておき、他の表示などを用いて、ユーザに、指示座標補正機能の有効と無効の切替えを通知するようにしても良い。   Here, it has been described that the display of the aperture 213 disappears when the designated coordinate correction function is switched from valid to invalid. However, the aperture 213 is always displayed, and other displays are used. The user may be notified of switching between valid and invalid of the designated coordinate correction function.

一方、例えば、指示座標補正機能が無効である図15に示される状態において、指示座標補正機能を有効にして、図形1上の基準点に直線2の終点を一致させたい場合、ユーザは、図15に示される状態で、マウス142の動きを無効と有効の切替えのために設定される待ち時間(例えば、1.0秒)以上停止させる。そして、設定される待ち時間以上、マウス142の動きが停止されたとき、指示座標補正機能は無効から有効に切り替わるので、表示画面は図13を用いて説明したように変更されて、アパチャ213が表示される。この状態において、ユーザが、例えば、「マウスの左ボタンの開放」など、図形の描画の終了点を指令する操作入力を行った場合、指示座標補正部164の処理により、座標が補正されるので、データ処理部163により作成される画像データと、それに対応してディスプレイ144に表示される画像における描画の終了点は、図14に示されるように、図形1上の基準点と一致するように補正される。   On the other hand, for example, in the state shown in FIG. 15 in which the designated coordinate correction function is disabled, when the designated coordinate correction function is enabled and the end point of the straight line 2 matches the reference point on the graphic 1, the user In the state shown in FIG. 15, the movement of the mouse 142 is stopped for a waiting time (for example, 1.0 second) set for switching between invalid and valid. When the movement of the mouse 142 is stopped for the set waiting time or longer, the designated coordinate correction function is switched from invalid to valid, so the display screen is changed as described with reference to FIG. Is displayed. In this state, when the user performs an operation input for instructing an end point of drawing of the figure, such as “opening the left mouse button”, the coordinates are corrected by the processing of the indicated coordinate correction unit 164. The drawing end point in the image data created by the data processing unit 163 and the image displayed on the display 144 corresponding to the image data is matched with the reference point on the graphic 1 as shown in FIG. It is corrected.

次に、図17のフローチャートを参照して、本発明を適用した作図のためのデータ処理を行うためのプログラムが、RAM116にロードされ、CPU111によって実行された場合であって、グリッド線を基に指示座標を補正する機能の有効と無効を切り換えることが可能なようになされているときの、指示座標補正機能切替え処理2について説明する。   Next, referring to the flowchart of FIG. 17, a program for performing data processing for drawing to which the present invention is applied is loaded into the RAM 116 and executed by the CPU 111, based on the grid lines. The instruction coordinate correction function switching process 2 when the function for correcting the instruction coordinates can be switched between valid and invalid will be described.

ステップS31乃至ステップS37において、図12のステップS1乃至ステップS7と同様の処理が実行される。   In steps S31 to S37, the same processing as in steps S1 to S7 of FIG. 12 is executed.

すなわち、操作入力部162から供給されたユーザの操作入力を示す信号を基に、座標の指示操作がある位置で停止されたか否かが判断されて、座標の指示操作が停止された時間の計測が開始され、図形の描画の終了点、または、図形の配置を指令する操作入力を受ける前に、所定の待ち時間が経過したと判断された場合、指示座標補正機能の有効と無効が切り換えられる。ここでも、図12を用いて説明した場合と同様に、切り換えられた指示座標補正機能の有効と無効は、今回の操作入力に限って切り換えられた設定で処理されるものとしても良いし、これ以降の操作入力に対しても切り換えられた設定で処理されるようにしても良い。更に、指示座標補正機能は、基本的には常に有効であるとし、所定の待ち時間が経過したと判断された場合には、指示座標補正機能を無効であるとしたり、指示座標補正機能は、基本的には常に無効であるとし、所定の待ち時間が経過したと判断された場合には、指示座標補正機能を有効であるとするようにしても良い。そして、例えば、「マウスの左ボタンが開放された」など、図形の描画の終了点、または、図形の配置を指令する操作入力を受けたと判断された場合、指示座標補正機能は有効であるか否かが判断される。   That is, based on the signal indicating the user's operation input supplied from the operation input unit 162, it is determined whether or not the coordinate instruction operation is stopped at a certain position, and the time when the coordinate instruction operation is stopped is measured. Is started, and if it is determined that a predetermined waiting time has elapsed before receiving the end point of drawing of the figure or an operation input for instructing the placement of the figure, the indication coordinate correction function is switched between valid and invalid . Here, as in the case described with reference to FIG. 12, the validity / invalidity of the switched designated coordinate correction function may be processed by the switched setting only for the current operation input. Subsequent operation inputs may be processed with the switched setting. Further, the indicated coordinate correction function is basically always effective, and when it is determined that a predetermined waiting time has elapsed, the indicated coordinate correction function is disabled, or the indicated coordinate correction function is Basically, it is always invalid, and when it is determined that a predetermined waiting time has elapsed, the designated coordinate correction function may be valid. And, for example, if it is determined that the drawing end point of the figure drawing or the operation input commanding the arrangement of the figure has been received such as “the left button of the mouse has been released”, is the indicated coordinate correction function effective? It is determined whether or not.

ステップS37において、指示座標補正機能は有効であると判断された場合、ステップS38において、データ処理部163は、指示座標補正部164に、ユーザによって指令された座標の情報を供給する。指示座標補正部164は、操作入力部162から供給されたユーザの操作入力に基づいた座標から最も近いグリットの座標に基づいて、座標を補正し、補正された座標をデータ処理部163に通知する。データ処理部163は、グリッドにあわせて補正された座標において図形の描画を終了するか、または、図形を配置する処理を実行し、補正された座標において図形の描画が終了された画像、または、図形が配置された画像を表示させるための制御信号を生成し、表示制御部166に供給して、処理は、ステップS31に戻り、それ以降の処理が繰り返される。   If it is determined in step S37 that the designated coordinate correction function is valid, in step S38, the data processing unit 163 supplies the coordinate information instructed by the user to the designated coordinate correction unit 164. The designated coordinate correction unit 164 corrects the coordinates based on the coordinates of the grid closest to the coordinates based on the user's operation input supplied from the operation input unit 162, and notifies the data processing unit 163 of the corrected coordinates. . The data processing unit 163 completes drawing of the figure at the coordinates corrected according to the grid, or executes a process of arranging the figure, and the image after drawing of the figure at the corrected coordinates, or A control signal for displaying the image on which the graphic is arranged is generated and supplied to the display control unit 166, and the process returns to step S31, and the subsequent processes are repeated.

指示座標補正機能が有効であり、例えば、図18に示されるように、図形32の図形配置の基準位置aが、縦グリッド線221−1乃至221−5と、横グリッド線222−1乃至222−3とのいずれの交点とも一致しない状態において、ユーザが、例えば、「マウスの左ボタンの開放」など、図形の描画の終了点を指令する操作入力を行った場合、データ処理部163により作成される画像データと、それに対応してディスプレイ144に表示される画像における図形32の図形配置の基準位置aの座標は、図19に示されるように、ユーザが指令した座標位置から最も近いグリット線の交点(図19においては、縦グリッド線221−2と横グリッド線222−1との交点)と一致するように補正される。   The designated coordinate correction function is effective. For example, as shown in FIG. 18, the reference position a of the graphic arrangement of the graphic 32 is the vertical grid lines 221-1 to 221-5 and the horizontal grid lines 222-1 to 222. When the user inputs an operation command for instructing an end point of drawing of the graphic, for example, “opening the left button of the mouse” in a state where it does not coincide with any intersection with −3, the data processing unit 163 creates The coordinates of the reference position a of the graphic arrangement of the graphic 32 in the image data to be displayed and the image displayed on the display 144 corresponding thereto are the grid lines closest to the coordinate position designated by the user as shown in FIG. Is corrected so as to coincide with the intersection point (in FIG. 19, the intersection point of the vertical grid line 221-2 and the horizontal grid line 222-1).

ステップS36において、指示座標補正機能は有効ではないと判断された場合、ステップS39において、データ処理部163は、操作入力部162から供給されたユーザの操作入力に基づいた座標で、図形の描画を終了するか、または、図形を配置する処理を実行し、補正されていない、ユーザによって指令された座標において図形の描画が終了された画像、または、図形が配置された画像を表示させるための制御信号を生成し、表示制御部166に供給して、処理は、ステップS31に戻り、それ以降の処理が繰り返される。   If it is determined in step S36 that the designated coordinate correction function is not valid, in step S39, the data processing unit 163 draws a figure with coordinates based on the user's operation input supplied from the operation input unit 162. Control to display an image that has finished drawing or has been placed at the coordinates specified by the user, or that has finished drawing or that has been placed, or that has been processed by placing the figure. A signal is generated and supplied to the display control unit 166, and the process returns to step S31, and the subsequent processes are repeated.

指示座標補正機能が無効であれば、ユーザの操作入力により指令される図形32の基準位置aの座標に基づいた作図作業が実行されるので、例えば、図20に示されるように、表示画面には縦グリッド線221−1乃至221−5と、横グリッド線222−1乃至222−3が表示されず、ユーザの操作入力により指令される図形32の基準位置aの座標がいずれの位置にある場合においても、ユーザが、例えば、「マウスの左ボタンの開放」など、図形の描画の終了点を指令する操作入力を行った場合、データ処理部163により作成される画像データと、それに対応してディスプレイ144に表示される画像における図形32の位置は、図20に示されるように、ユーザの操作入力により指令される図形32の基準位置aの座標により定められるものとなる。   If the designated coordinate correction function is invalid, the drawing work based on the coordinates of the reference position a of the figure 32 that is instructed by the user's operation input is executed. For example, as shown in FIG. The vertical grid lines 221-1 to 221-5 and the horizontal grid lines 222-1 to 222-3 are not displayed, and the coordinates of the reference position a of the figure 32 instructed by the user's operation input are in any position. Even in this case, when the user performs an operation input for instructing an end point of drawing of the figure, such as “opening the left button of the mouse”, for example, the image data created by the data processing unit 163 and the corresponding data are generated. As shown in FIG. 20, the position of the graphic 32 in the image displayed on the display 144 is determined by the coordinates of the reference position “a” of the graphic 32 instructed by the user's operation input. The ones that are.

このような処理により、そのつど、設定ウィンドウなどを表示させて座標補正機能の有効または無効の設定を変更させることなく、ユーザが所望する設定で、座標位置を指令することができるようになる。   Through such processing, the coordinate position can be instructed with the setting desired by the user without changing the setting of whether the coordinate correction function is enabled or disabled by displaying a setting window or the like each time.

例えば、現在の座標補正機能が無効であり、無効と有効の切替えのために設定される待ち時間を1.0秒と指定した場合、ユーザは、1.0秒以内に座標を指示することにより、任意の位置に図形32を配置することができる。そして、ユーザは、座標の補正のためにグリッド線を利用したいとき、1.0秒以上マウス142を止めて、縦グリッド線221−1乃至221−5と、横グリッド線222−1乃至222−3を表示させて、これらのグリット線の交点を基準点として座標位置を補正することができる。   For example, when the current coordinate correction function is invalid and the waiting time set for switching between invalid and valid is specified as 1.0 second, the user designates the coordinate within 1.0 second. The figure 32 can be arranged at an arbitrary position. When the user wants to use grid lines for coordinate correction, the user stops the mouse 142 for 1.0 second or longer, and the vertical grid lines 221-1 to 221-5 and the horizontal grid lines 222-1 to 222- 3 is displayed, and the coordinate position can be corrected using the intersection of these grid lines as a reference point.

例えば、指示座標補正機能が有効である状態において、図18に示されるように、図形32の図形配置の基準位置aが、縦グリッド線221−1乃至221−5と、横グリッド線222−1乃至222−3とのいずれの交点とも一致しない状態で、ユーザの操作入力により指令される座標に基づいた作図作業を行いたい場合、ユーザは、図18に示される状態で、マウス142の動きを無効と有効の切替えのために設定される待ち時間(例えば、1.0秒)以上停止させる。そして、設定される待ち時間以上、マウス142の動きが停止されたとき、指示座標補正機能は有効から無効に切り替わるので、表示画面は図20を用いて説明したように変更されて、縦グリッド線221−1乃至221−5と、横グリッド線222−1乃至222−3の表示がなくなる。この状態において、ユーザが、例えば、「マウスの左ボタンの開放」など、図形の描画の終了点を指令する操作入力を行った場合、データ処理部163により作成された画像データと、それに対応してディスプレイ144に表示される画像における図形32の配置は、図21に示されるように、ユーザが指令した座標に基づくものとなる。   For example, in the state where the designated coordinate correction function is valid, as shown in FIG. 18, the reference position a of the graphic arrangement of the graphic 32 is the vertical grid lines 221-1 to 221-5 and the horizontal grid line 222-1. When the user wants to perform the drawing work based on the coordinates instructed by the user's operation input in a state that does not coincide with any of the intersection points with 222 to 222-3, the user moves the mouse 142 in the state shown in FIG. Stop for a waiting time (for example, 1.0 second) set for switching between invalid and valid. Then, when the movement of the mouse 142 is stopped for the set waiting time or longer, the designated coordinate correction function is switched from valid to invalid, so the display screen is changed as described with reference to FIG. Display of 221-1 to 221-5 and horizontal grid lines 222-1 to 222-3 are eliminated. In this state, when the user performs an operation input for instructing an end point of drawing of the figure, such as “opening the left button of the mouse”, for example, the image data created by the data processing unit 163 and the corresponding data are generated. As shown in FIG. 21, the arrangement of the graphic 32 in the image displayed on the display 144 is based on the coordinates designated by the user.

一方、例えば、指示座標補正機能が無効である図20に示される状態において、指示座標補正機能を有効にして、縦グリッド線221−1乃至221−5と横グリッド線222−1乃至222−3とのいずれかの交点と、図形32の図形配置の基準位置aの座標とを一致させたい場合、ユーザは、図20に示される状態で、マウス142の動きを無効と有効の切替えのために設定される待ち時間(例えば、1.0秒)以上停止させる。そして、設定される待ち時間以上、マウス142の動きが停止されたとき、指示座標補正機能は無効から有効に切り替わるので、表示画面は図18を用いて説明したように変更されて、縦グリッド線221−1乃至221−5と横グリッド線222−1乃至222−3とが表示される。この状態において、ユーザが、例えば、「マウスの左ボタンの開放」など、図形の描画の終了点を指令する操作入力を行った場合、指示座標補正部164の処理により、座標が補正されるので、データ処理部163により作成された画像データと、それに対応してディスプレイ144に表示される画像における図形32の図形配置の基準位置aは、図19に示されるように、ユーザが指令した座標位置から最も近いグリット線の交点(図19においては、縦グリッド線221−2と横グリッド線222−1との交点)と一致するように補正される。   On the other hand, for example, in the state shown in FIG. 20 in which the designated coordinate correction function is disabled, the designated coordinate correction function is enabled, and the vertical grid lines 221-1 to 221-5 and the horizontal grid lines 222-1 to 222-3 are enabled. When the user wants to match the point of intersection with the coordinates of the reference position “a” of the graphic arrangement of the graphic 32, the user changes the movement of the mouse 142 in the state shown in FIG. Stop for a set waiting time (for example, 1.0 second) or longer. When the movement of the mouse 142 is stopped for the set waiting time or longer, the indicated coordinate correction function is switched from invalid to valid, so the display screen is changed as described with reference to FIG. 221-1 to 221-5 and horizontal grid lines 222-1 to 222-3 are displayed. In this state, when the user performs an operation input for instructing an end point of drawing of the figure, such as “opening the left mouse button”, the coordinates are corrected by the processing of the indicated coordinate correction unit 164. The reference position a of the graphic arrangement of the graphic 32 in the image data created by the data processing unit 163 and the image displayed on the display 144 corresponding thereto is the coordinate position designated by the user as shown in FIG. Is corrected so as to coincide with the intersection of the grid lines closest to (in FIG. 19, the intersection of the vertical grid line 221-2 and the horizontal grid line 222-1).

上述した一連の処理を実行するソフトウェアは、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、記録媒体からインストールされる。   The software that executes the above-described series of processing can execute various functions by installing a computer in which the program constituting the software is installed in dedicated hardware or various programs. For example, it is installed from a recording medium in a general-purpose personal computer or the like.

この記録媒体は、図9に示すように、コンピュータとは別に、ユーザにプログラムを提供するために配布される、プログラムが記録されている磁気ディスク121(フレキシブルディスクを含む)、光ディスク122(CD-ROM(Compact Disk-Read Only Memory),DVD(Digital Versatile Disk)を含む)、光磁気ディスク123(MD(Mini-Disk)(商標)を含む)、もしくは半導体メモリ124などよりなるパッケージメディアなどにより構成される。   As shown in FIG. 9, this recording medium is distributed to provide a program to the user separately from the computer, and includes a magnetic disk 121 (including a flexible disk) on which the program is recorded, an optical disk 122 (CD- ROM (Compact Disk-Read Only Memory), DVD (including Digital Versatile Disk)), magneto-optical disk 123 (including MD (Mini-Disk) (trademark)), or a package medium composed of semiconductor memory 124, etc. Is done.

また、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   Further, in the present specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in chronological order according to the described order, but may be performed in parallel or It also includes processes that are executed individually.

描画済みの図形近傍に、直線を描画する場合の従来の処理について説明するための図である。It is a figure for demonstrating the conventional process in the case of drawing a straight line in the vicinity of the already-drawn figure. 描画済みの図形近傍に、直線を描画する場合の従来の処理について説明するための図である。It is a figure for demonstrating the conventional process in the case of drawing a straight line in the vicinity of the already-drawn figure. 描画済みの図形近傍に、直線を描画する場合の従来の処理について説明するための図である。It is a figure for demonstrating the conventional process in the case of drawing a straight line in the vicinity of the already-drawn figure. 描画済みの図形近傍に、直線を描画する場合の従来の処理について説明するための図である。It is a figure for demonstrating the conventional process in the case of drawing a straight line in the vicinity of the already-drawn figure. スナップ機能を利用して図形を配置する場合の従来の処理について説明するための図である。It is a figure for demonstrating the conventional process in the case of arrange | positioning a figure using a snap function. スナップ機能を利用して図形を配置する場合の従来の処理について説明するための図である。It is a figure for demonstrating the conventional process in the case of arrange | positioning a figure using a snap function. 描画済みの図形近傍に直線を接しないように描画する場合の従来の処理について説明するための図である。It is a figure for demonstrating the conventional process in the case of drawing so that a straight line may not contact | connect the vicinity of the already-drawn figure. スナップ機能の各種設定を行うためのウィンドウについて説明するための図である。It is a figure for demonstrating the window for performing various settings of a snap function. 本発明を適用したパーソナルコンピュータの構成を示すブロック図である。It is a block diagram which shows the structure of the personal computer to which this invention is applied. ソフトウェアスタックについて説明するための図である。It is a figure for demonstrating a software stack. 図9のパーソナルコンピュータにおいて本発明を適用した処理が実行される場合の機能ブロック図である。FIG. 10 is a functional block diagram when processing to which the present invention is applied is executed in the personal computer of FIG. 9. 指示座標補正機能切替え処理1について説明するためのフローチャートである。5 is a flowchart for explaining a designated coordinate correction function switching process 1; 図12の処理について説明するための図である。It is a figure for demonstrating the process of FIG. 図12の処理について説明するための図である。It is a figure for demonstrating the process of FIG. 図12の処理について説明するための図である。It is a figure for demonstrating the process of FIG. 図12の処理について説明するための図である。It is a figure for demonstrating the process of FIG. 指示座標補正機能切替え処理2について説明するためのフローチャートである。It is a flowchart for demonstrating the instruction | command coordinate correction function switching process 2. FIG. 図17の処理について説明するための図である。It is a figure for demonstrating the process of FIG. 図17の処理について説明するための図である。It is a figure for demonstrating the process of FIG. 図17の処理について説明するための図である。It is a figure for demonstrating the process of FIG. 図17の処理について説明するための図である。It is a figure for demonstrating the process of FIG.

符号の説明Explanation of symbols

101 パーソナルコンピュータ
111 CPU
114 入力部
115 ROM
116 RAM
117 表示部
118 HDD
141 OS
145 ドライバ
146 メモリ
147 インタプリタ
148 クラスライブラリ
149 アプリケーションプログラム
161 入力デバイスドライバ
162 操作入力部
163 データ処理部
164 指示座標補正部
165 待ち時間設定部
166 表示制御部
167 表示データ生成部
168 表示データメモリ
169 表示処理部
170 表示デバイスドライバ
101 Personal computer 111 CPU
114 Input section 115 ROM
116 RAM
117 Display 118 HDD
141 OS
145 Driver 146 Memory 147 Interpreter 148 Class library 149 Application program 161 Input device driver 162 Operation input unit 163 Data processing unit 164 Pointed coordinate correction unit 165 Wait time setting unit 166 Display control unit 167 Display data generation unit 168 Display data memory 169 Display processing Part 170 Display device driver

Claims (8)

ユーザの操作入力に基づいて、画像データを処理する情報処理装置において、
前記ユーザの操作入力により指示される前記画像データ内の座標である指示座標が、所定の時間内に変更されるか否かに基づいて、前記指示座標の補正機能の有効と無効を切り替える切り替え手段と、
前記画像データに基づく画像および前記指示座標の表示を制御するとともに、前記補正機能が有効である場合、前記指示座標の近傍の前記指示座標を補正することが可能な座標の範囲である補正可能範囲を表示し、前記補正機能が無効である場合、前記補正可能範囲を表示しないように制御する表示制御手段と、
前記ユーザの操作入力により前記指示座標の決定が指令された場合、前記補正機能が有効であり、かつ、前記画像データに既に描画されている所定の図形によって定められる補正の基準となる基準座標が前記補正可能範囲内に存在するとき、前記指示座標を前記基準座標に補正する補正手段と
を備えることを特徴とする情報処理装置。
In an information processing apparatus that processes image data based on a user operation input,
Switching means for switching between enabling and disabling the correction function of the indicated coordinate based on whether or not the indicated coordinate that is the coordinate in the image data indicated by the user's operation input is changed within a predetermined time. When,
A correctable range that is a range of coordinates that controls the display of the image based on the image data and the designated coordinates and that can correct the designated coordinates in the vicinity of the designated coordinates when the correction function is effective. And when the correction function is invalid, display control means for controlling not to display the correctable range;
When the determination of the designated coordinate is instructed by the user's operation input, the correction function is effective, and the reference coordinate serving as a correction reference determined by a predetermined graphic already drawn in the image data is Correction means for correcting the designated coordinates to the reference coordinates when present within the correctable range ;
The information processing apparatus comprising: a.
前記切り替え手段は、前記指示座標が前記所定の時間変更されない場合、前記補正機能が有効であるときは無効に切り換え、無効であるときは有効に切り換え
ことを特徴とする請求項1に記載の情報処理装置。
Said switching means, when the designated coordinates is not changed the predetermined time, the correction function is disabled switched when it is effective, when it is disabled according to claim 1, characterized in that Ru effectively switched Information processing device.
前記補正手段は、前記補正機能が有効である場合図形の描画の終了位置に対応する座標としての前記指示座標を補正する
ことを特徴とする請求項1に記載の情報処理装置。
The information processing apparatus according to claim 1, wherein when the correction function is valid, the correction unit corrects the designated coordinates as coordinates corresponding to a drawing end position of a graphic.
前記補正手段は、前記補正機能が有効である場合前記画像データ内に配置される図形の基準位置に対応する座標としての前記指示座標を補正する
ことを特徴とする請求項1に記載の情報処理装置。
The correction means, when the correction function is enabled, information according to claim 1, characterized in that to correct the indicated coordinate as coordinates corresponding to the reference position of the graphic is positioned within the image data Processing equipment.
前記ユーザの操作入力に基づいて、前記所定の時間を設定する時間設定手段を
更に備えることを特徴とする請求項1に記載の情報処理装置。
Based on an operation input of the user, the time setting means for setting the predetermined time
The information processing apparatus according to claim 1, further comprising:
前記ユーザの操作入力を受ける操作手段を
更に備えることを特徴とする請求項1に記載の情報処理装置。
An operation means for receiving an operation input of the user
The information processing apparatus according to claim 1, further comprising:
ユーザの操作入力に基づいて、画像データを処理する情報処理装置の情報処理方法において、
前記ユーザの操作入力により指示される前記画像データ内の座標である指示座標が、所定の時間内に変更されるか否かに基づいて、前記指示座標の補正機能の有効と無効を切り替える切り替えステップと、
前記画像データに基づく画像および前記指示座標の表示を制御するとともに、前記補正機能が有効である場合、前記指示座標の近傍の前記指示座標を補正することが可能な座標の範囲である補正可能範囲を表示し、前記補正機能が無効である場合、前記補正可能範囲を表示しないように制御する表示制御ステップと、
前記ユーザの操作入力により前記指示座標の決定が指令された場合、前記補正機能が有効であり、かつ、前記画像データに既に描画されている所定の図形によって定められる補正の基準となる基準座標が前記補正可能範囲内に存在するとき、前記指示座標を前記基準座標に補正する補正ステップと
を含むことを特徴とする情報処理方法。
In an information processing method of an information processing apparatus that processes image data based on a user operation input,
A switching step of switching between enabling and disabling the correction function of the indicated coordinates based on whether or not indicated coordinates that are coordinates in the image data indicated by the user's operation input are changed within a predetermined time. When,
A correctable range that is a range of coordinates that controls the display of the image based on the image data and the designated coordinates and that can correct the designated coordinates in the vicinity of the designated coordinates when the correction function is effective. And when the correction function is invalid, a display control step for controlling not to display the correctable range;
When the determination of the designated coordinate is instructed by the user's operation input, the correction function is effective, and the reference coordinate serving as a correction reference determined by a predetermined graphic already drawn in the image data is And a correction step of correcting the designated coordinates to the reference coordinates when they exist within the correctable range .
ユーザの操作入力に基づく画像データの処理をコンピュータに実行させるためのプログラムであって、
前記ユーザの操作入力により指示される前記画像データ内の座標である指示座標が、所定の時間内に変更されるか否かに基づいて、前記指示座標の補正機能の有効と無効を切り替える切り替えステップと、
前記画像データに基づく画像および前記指示座標の表示を制御するとともに、前記補正機能が有効である場合、前記指示座標の近傍の前記指示座標を補正することが可能な座標の範囲である補正可能範囲を表示し、前記補正機能が無効である場合、前記補正可能範囲を表示しないように制御する表示制御ステップと、
前記ユーザの操作入力により前記指示座標の決定が指令された場合、前記補正機能が有効であり、かつ、前記画像データに既に描画されている所定の図形によって定められる補正の基準となる基準座標が前記補正可能範囲内に存在するとき、前記指示座標を前記基準座標に補正する補正ステップと
を含むことを特徴とする処理をコンピュータに実行させるプログラム。
A program for causing a computer to execute processing of image data based on a user operation input,
A switching step of switching between enabling and disabling the correction function of the indicated coordinates based on whether or not indicated coordinates that are coordinates in the image data indicated by the user's operation input are changed within a predetermined time. When,
A correctable range that is a range of coordinates that controls the display of the image based on the image data and the designated coordinates and that can correct the designated coordinates in the vicinity of the designated coordinates when the correction function is effective. And when the correction function is invalid, a display control step for controlling not to display the correctable range;
When the determination of the designated coordinate is instructed by the user's operation input, the correction function is effective, and the reference coordinate serving as a correction reference determined by a predetermined graphic already drawn in the image data is And a correction step of correcting the designated coordinates to the reference coordinates when present within the correctable range .
JP2004005199A 2004-01-13 2004-01-13 Information processing apparatus, information processing method, and program Expired - Fee Related JP4314517B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004005199A JP4314517B2 (en) 2004-01-13 2004-01-13 Information processing apparatus, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004005199A JP4314517B2 (en) 2004-01-13 2004-01-13 Information processing apparatus, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2005202465A JP2005202465A (en) 2005-07-28
JP4314517B2 true JP4314517B2 (en) 2009-08-19

Family

ID=34819604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004005199A Expired - Fee Related JP4314517B2 (en) 2004-01-13 2004-01-13 Information processing apparatus, information processing method, and program

Country Status (1)

Country Link
JP (1) JP4314517B2 (en)

Also Published As

Publication number Publication date
JP2005202465A (en) 2005-07-28

Similar Documents

Publication Publication Date Title
US9229735B2 (en) Graphics items that extend outside a background perimeter
US20100017744A1 (en) Image display control method, image supply device, and image display control program product
JPH1069346A (en) Coordinate input device and its control method
US9146667B2 (en) Electronic device, display system, and method of displaying a display screen of the electronic device
CN111736790B (en) Multi-screen display method, device and system and host equipment
US20080244424A1 (en) Source code generating device
US20020109734A1 (en) GUI processing system for performing an operation of an application which controls testing equipment
JP2006331036A (en) Information processor, movement display method of pointer, program and recording medium
JP2012008808A (en) Information processor
JP4314517B2 (en) Information processing apparatus, information processing method, and program
JP3951492B2 (en) Image processing device
CN111813408A (en) View display processing method and device, terminal equipment and storage medium
JP4073732B2 (en) Time chart creation device, time chart creation program and recording medium
JP4525017B2 (en) Information processing apparatus, information processing method, and program
JP2008071280A (en) Information processor and its control method
JP2009282723A (en) Object editing device and program
JPH04320579A (en) Image processor
JPH1049338A (en) Command button control system
JPH11218562A (en) Gui processing system
JP4670289B2 (en) Display control device
JP5263417B2 (en) Program, editing method, and computer
JP2002007028A (en) Method and device for editing data file
JP2014017011A (en) Display program, display method, and computer
JP2010191586A (en) Interface apparatus and program
JP2010134944A (en) Program, editing method, and computer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090401

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090423

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090506

R151 Written notification of patent or utility model registration

Ref document number: 4314517

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20120529

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120529

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130529

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130529

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees