JP3486476B2 - Graphic processing method and apparatus - Google Patents
Graphic processing method and apparatusInfo
- Publication number
- JP3486476B2 JP3486476B2 JP07318195A JP7318195A JP3486476B2 JP 3486476 B2 JP3486476 B2 JP 3486476B2 JP 07318195 A JP07318195 A JP 07318195A JP 7318195 A JP7318195 A JP 7318195A JP 3486476 B2 JP3486476 B2 JP 3486476B2
- Authority
- JP
- Japan
- Prior art keywords
- edit
- tilt
- area
- point
- specified
- 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
Links
Landscapes
- Processing Or Creating Images (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、図形の傾斜を指示し、
所望の図形が得られる図形処理方法及び装置に関する。BACKGROUND OF THE INVENTION The present invention indicates the inclination of a figure,
The present invention relates to a graphic processing method and apparatus that can obtain a desired graphic.
【0002】[0002]
【従来の技術】従来、例えば、ビットマップデータを表
示し、それを編集する装置において、編集するビットマ
ップの領域を指定し、その指定領域内のデータを1ドッ
トずつマトリックスの一次変換により傾斜させる方法が
知られている。2. Description of the Related Art Conventionally, for example, in an apparatus for displaying and editing bitmap data, an area of a bitmap to be edited is designated, and the data in the designated area is inclined dot by dot by a primary conversion of a matrix. The method is known.
【0003】この方法により複数の行又は列を有する領
域を指定するには、そのドット数分だけ一次変換を行う
必要がある。In order to specify an area having a plurality of rows or columns by this method, it is necessary to perform primary conversion for the number of dots.
【0004】[0004]
【発明が解決しようとする課題】そのため、上述の装置
では、複数の行又は列を有する領域に対して傾斜を実行
するには、そのドット数分だけマトリックスの一次変換
を行わなければならず、計算回数が増大するという欠点
があった。Therefore, in the above-described apparatus, in order to perform the tilt on the region having a plurality of rows or columns, the linear transformation of the matrix must be performed by the number of dots, There is a drawback that the number of calculations increases.
【0005】本発明は、上述の課題を解決するために成
されたものであり、その目的とするところは、複数の行
又は列を有する領域を傾斜させる際の計算回数を低減し
得る図形処理方法及び装置を提供することである。The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to perform graphic processing capable of reducing the number of calculations when tilting a region having a plurality of rows or columns. A method and apparatus are provided.
【0006】[0006]
【課題を解決するための手段】上記目的を達成するため
に、本発明の図形処理方法は、表示された図形の編集領
域上で編集基準点と編集終了点を、また前記編集領域内
の任意の位置で傾斜始点と傾斜終点をそれぞれ指定し、
指定した前記編集基準点と編集終了点とから編集対象領
域を特定し、指定した前記傾斜始点と傾斜終点とから傾
斜軌跡を算出し、算出した傾斜軌跡から前記特定した編
集対象領域の傾斜枠を特定し、前記傾斜始点から傾斜終
点の方向が右下の場合は、前記編集対象領域を左方向へ
傾斜させた領域全体の矩形領域を傾斜枠内の領域とし、
前記編集対象領域を傾斜させる各工程を有することを特
徴とする。In order to achieve the above-mentioned object, the graphic processing method of the present invention provides an editing area for a displayed graphic.
Edit reference point and edit end point on the area, and within the edit area
Specify the slope start point and slope end point at any position of
Edit target area from the specified edit reference point and edit end point.
Specify the area and tilt from the specified tilt start point and tilt end point.
An oblique locus is calculated, and the specified volume is calculated from the calculated inclination locus.
Specify the tilt frame of the collection target area, and from the tilt start point to the tilt end
If the direction of the point is lower right, move the editing area to the left.
The rectangular area of the entire tilted area is set as the area inside the tilted frame,
It is characterized in that each step of inclining the area to be edited is included.
To collect .
【0007】[0007]
【0008】 また、上記目的を達成するために、本発
明による図形処理装置は、表示された図形の編集領域上
で編集基準点と編集終了点を指定する第1の指定手段
と、前記編集領域内の任意の位置で傾斜始点と傾斜終点
を指定する第2の指定手段と、前記第1の指定手段で指
定された編集基準点と編集終了点とから編集対象領域を
特定する第1の特定手段と、前記第2の指定手段で指定
された傾斜始点と傾斜終点とから傾斜軌跡を算出する算
出手段と、前記算出手段で算出した傾斜軌跡から前記編
集対象領域の傾斜枠を特定する第2の特定手段と、前記
傾斜始点から傾斜終点の方向が右下の場合は、前記編集
対象領域を左方向へ傾斜させた領域全体の矩形領域を傾
斜枠内の領域とし、前記編集対象領域を傾斜させる手段
とを備えることを特徴とする。In addition, in order to achieve the above-mentioned object, the graphic processing apparatus according to the present invention is arranged on the editing area of the displayed graphic.
First designation means for designating the editing reference point and editing end point with
And the tilt start point and tilt end point at any position in the editing area
The second designating means for designating the
Select the edit target area from the specified edit reference point and edit end point.
Specified by the first specifying means for specifying and the second specifying means
Calculation of the slope trajectory from the slope start point and slope end point
From the output means and the inclination trajectory calculated by the calculation means,
Second specifying means for specifying an inclined frame of the collection target area;
If the direction from the slope start point to the slope end point is lower right, edit as above.
Tilt the rectangular area of the entire area where the target area is tilted to the left
Means for tilting the area to be edited as an area within a diagonal frame
And is provided .
【0009】[0009]
【0010】[0010]
【0011】[0011]
【実施例】以下、図面を参照しながら本発明に係る好適
な一実施例を詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of the present invention will be described in detail below with reference to the drawings.
【0012】<第1の実施例>図1は、実施例における
図形処理装置の構成を示すブロック図である。同図中、
1は図形処理装置で、詳細は後述する制御部2、表示部
(CRT)3、ビデオメモリ(VRAM)4、キーボー
ド(KBD)5、及びポインティングデバイス(PD)
6を主要な構成要素とし、これらの構成要素がシステム
バス7を介して互いに接続されている。<First Embodiment> FIG. 1 is a block diagram showing the arrangement of a graphic processing apparatus according to this embodiment. In the figure,
Reference numeral 1 is a graphic processing device, and a control unit 2, a display unit (CRT) 3, a video memory (VRAM) 4, a keyboard (KBD) 5, and a pointing device (PD) which will be described in detail later.
6 is a main constituent element, and these constituent elements are connected to each other via a system bus 7.
【0013】制御部2は、本装置1全体を制御するもの
で、マイクロプロセッサ等のCPU(中央処理装置)
8、RAM(読み書き可能メモリ)等により構成される
プログラムメモリ(PMEM)9、I/Oインターフェ
ース部10及びハードディスク装置11等を備えてい
る。ここで、CPU8は後述する図2等のフローチャー
トで表されるプログラムに従って本装置1全体を制御す
るものである。また、プログラムメモリ9は、プログラ
ムを格納すると共に、CPU8による制御実行時、編集
データやワークエリアとして使用される各種データの一
次保存領域を備えている。そして、I/Oインターフェ
ース部10は、ハードディスク装置11とのインターフ
ェース制御を行うものであり、ハードディスク装置11
はディスク上の磁気記録媒体にデータを記録して読み書
きするための記憶装置である。The control unit 2 controls the entire apparatus 1 and includes a CPU (central processing unit) such as a microprocessor.
8, a program memory (PMEM) 9 including a RAM (readable and writable memory), an I / O interface unit 10, a hard disk device 11, and the like. Here, the CPU 8 controls the entire apparatus 1 according to a program represented by a flowchart such as FIG. 2 described later. Further, the program memory 9 stores a program and is provided with a primary storage area of various data used as edit data and a work area when the CPU 8 executes control. The I / O interface unit 10 performs interface control with the hard disk device 11, and the hard disk device 11
Is a storage device for recording and reading data on and from a magnetic recording medium on a disk.
【0014】また、表示部3は、本装置1において作成
或いは編集処理された種々の図形やオペレータへのメッ
セージを画面に表示するもので、CRT(陰極線管)等
からなる。ビデオメモリ4は、表示部3の画面に表示す
べきデータを展開するものである。キーボード5及びポ
インティングデバイス6は、何れもオペレータにより操
作され、各種のデータやコマンドを入力するものであ
る。また、キーボード5及びポインティングデバイス6
により、表示部3の画面上のカーソルを任意方向へ移動
させ、表示部3の画面に表示された編集領域の任意の位
置を指示することができる。更に、キーボード5及びポ
インティングデバイス6により、コマンドメニューのコ
マンドイメージ等を選択することにより、そのコマンド
を選択して指示することもできる。The display unit 3 displays various graphics created or edited by the apparatus 1 and messages to the operator on the screen, and is composed of a CRT (cathode ray tube) or the like. The video memory 4 expands data to be displayed on the screen of the display unit 3. The keyboard 5 and the pointing device 6 are both operated by an operator to input various data and commands. Also, the keyboard 5 and pointing device 6
Thus, the cursor on the screen of the display unit 3 can be moved in an arbitrary direction, and an arbitrary position in the editing area displayed on the screen of the display unit 3 can be designated. Furthermore, by selecting a command image or the like in the command menu with the keyboard 5 and the pointing device 6, the command can be selected and instructed.
【0015】次に、上述の構成における図形処理装置1
の傾斜処理動作を図2に示すフローチャートに従って以
下に説明する。尚、この傾斜処理を実行する制御プログ
ラムは、制御部2のプログラムメモリ9に記憶されてい
る。また、この傾斜処理は、編集領域が編集対象である
図形と共に、表示部3の画面に表示されている状態で開
始される。Next, the graphic processing apparatus 1 having the above-mentioned configuration
The inclination processing operation of the above will be described below with reference to the flowchart shown in FIG. The control program for executing this tilting process is stored in the program memory 9 of the control unit 2. Further, this tilting process is started in a state where the edit area is displayed on the screen of the display unit 3 together with the figure to be edited.
【0016】第1の実施例では、矩形領域をその対象と
なる2点(編集始点と編集終点)と傾斜角度を決定する
2点(傾斜始点と傾斜終点)とを指定するだけで、編集
対象領域を傾斜させるものである。In the first embodiment, the rectangular area is to be edited only by designating two points (editing start point and edit end point) to be the object and two points (tilt start point and tilt end point) that determine the tilt angle. It is intended to incline the area.
【0017】まず、図2のステップS101で、表示部
3の画面に表示されている編集領域上において、編集基
準点がポインティングデバイス6により指定され、ステ
ップS102では、表示部3の画面に表示されている編
集領域上において、編集終了点がポインティングデバイ
ス6により指定される。そして、ステップS103へ進
み、上述のステップS101及びステップS102でそ
れぞれ指定された編集基準点及び編集終了点により編集
対象領域を特定する。次に、ステップS104では、表
示部3の画面に表示されている編集領域上において、傾
斜始点がポインティングデバイス6により指定され、続
くステップS105で、表示部3の画面に表示されてい
る編集領域上において、傾斜終点がポインティングデバ
イス6により指定される。First, in step S101 of FIG. 2, an edit reference point is designated by the pointing device 6 in the edit area displayed on the screen of the display unit 3, and is displayed on the screen of the display unit 3 in step S102. The editing end point is designated by the pointing device 6 in the editing area. Then, the process proceeds to step S103, and the edit target area is specified by the edit reference point and the edit end point designated in step S101 and step S102. Next, in step S104, the tilt start point is designated by the pointing device 6 on the edit area displayed on the screen of the display unit 3, and in the subsequent step S105, the tilt start point is displayed on the edit area displayed on the screen of the display unit 3. At, the end point of the tilt is designated by the pointing device 6.
【0018】次に、ステップS106では、上述のステ
ップS104及びステップS105でそれぞれ指定され
た傾斜始点及び傾斜終点により、傾斜軌跡をDDA(Di
gital Differential Analyzer )により算出する。そし
て、ステップS107へ進み、ステップS106で算出
された傾斜軌跡から上述のステップS103で特定され
た編集対象領域の傾斜枠を特定する。そして、ステップ
S108へ進み、ステップS107で特定された傾斜枠
内の領域を、上述のステップS106で算出された傾斜
軌跡に沿って傾斜させる。Next, in step S106, the slope locus is calculated by DDA (Di) by the slope start point and slope end point designated in the above-mentioned steps S104 and S105, respectively.
It is calculated by the "Gital Differential Analyzer". Then, the process proceeds to step S107, and the tilt frame of the edit target area specified in step S103 is specified from the tilt locus calculated in step S106. Then, the process proceeds to step S108, and the region in the tilt frame specified in step S107 is tilted along the tilt locus calculated in step S106.
【0019】ここで、上述のステップS103において
実行される編集対象領域を特定する方法を図3乃至図1
2を用いて説明する。図3は、編集対象領域と傾斜枠を
特定する制御手順を示すフローチャートである。また、
図5乃至図9及び図11は、表示部3の画面の編集領域
上に編集図形が表示されている状態を示す図であり、各
図において、P0は編集領域の左上の点、P1は編集領
域の右下の点、PsはステップS101で指定された編
集基準点、PeはステップS102で指定された編集終
了点、P2はステップS103で特定された編集対象領
域の左上の点、P3はステップS103で特定された編
集対象領域の右下の点、PiはステップS104で指定
された傾斜始点、PjはステップS105で指定された
傾斜終点、P4はステップS107で特定された傾斜枠
の左上の点、そして、P5はステップS107で特定さ
れた傾斜枠の右下の点である。Here, the method for specifying the edit target area executed in step S103 described above will be described with reference to FIGS.
2 is used for the explanation. FIG. 3 is a flowchart showing a control procedure for specifying the edit target area and the tilted frame. Also,
5 to 9 and 11 are diagrams showing a state in which an edit graphic is displayed in the edit area of the screen of the display unit 3. In each figure, P0 is the upper left point of the edit area, and P1 is the edit. The lower right point of the area, Ps is the edit reference point specified in step S101, Pe is the edit end point specified in step S102, P2 is the upper left point of the edit target area specified in step S103, and P3 is the step. The lower right point of the editing target area specified in S103, Pi is the tilt start point specified in step S104, Pj is the tilt end point specified in step S105, and P4 is the upper left point of the tilt frame specified in step S107. , And P5 is the lower right point of the tilt frame specified in step S107.
【0020】また、点P0の座標値を(x0,y0)、
点P1の座標値を(x1、y1)、点Psの座標値を
(xs,ys)、点Peの座標値を(xe,ye)、点
P2の座標値を(x2,y2)、点P3の座標値を(x
3,y3)、点Piの座標値を(xi,yi)、点Pj
の座標値を(xj,yj)、点P4の座標値を(x4,
y4)、点P5の座標値を(x5,y5)とする。更
に、軌跡Dを点Pi−点Pjの軌跡とし、点Pを編集対
象領域の基準点とし、軌跡D’を点Pから軌跡Dを再現
させた軌跡とし、点P’を軌跡D’と編集領域Sとの境
界点とし、軌跡D’に沿い、且つ、点Psを点P’に一
致させるような領域の傾斜を実現するものとする。Further, the coordinate value of the point P0 is (x0, y0),
The coordinate value of the point P1 is (x1, y1), the coordinate value of the point Ps is (xs, ys), the coordinate value of the point Pe is (xe, ye), the coordinate value of the point P2 is (x2, y2), the point P3. The coordinate value of (x
3, y3), the coordinate value of the point Pi is (xi, yi), the point Pj
The coordinate value of (xj, yj) and the coordinate value of the point P4 (x4, yj).
y4) and the coordinate value of the point P5 is (x5, y5). Further, the locus D is a locus of points Pi-Pj, the point P is a reference point of the edit target area, the locus D ′ is a locus of the locus D reproduced from the point P, and the point P ′ is locus D ′. It is assumed that a boundary point with the area S is used, and the inclination of the area along the locus D ′ and the point Ps coincides with the point P ′ is realized.
【0021】まず、図3のステップS201で、編集終
了点Peと編集基準点Psのx座標値がxe≧xsであ
るか否かを判別する。ここで、xe≧xsであればステ
ップS202へ進み、同様にy座標値がye≧ysであ
るか否かを判別する。ここで、ye≧ysであればステ
ップS204へ進み、編集対象領域Sの左上の点P2を
(xs,ys)に、また右下の点P3を(xe,ye)
に、基準点Pを(xs,ye)に特定して、ステップS
208へ進む。図5は、このステップS204で特定し
た場合の表示部3の画面の表示例を示す図である。First, in step S201 of FIG. 3, it is determined whether or not the x coordinate values of the edit end point Pe and the edit reference point Ps are xe ≧ xs. If xe ≧ xs, the process proceeds to step S202, and similarly, it is determined whether or not the y coordinate value is ye ≧ ys. Here, if ye ≧ ys, the process proceeds to step S204, where the upper left point P2 of the edit target area S is (xs, ys) and the lower right point P3 is (xe, ye).
Then, the reference point P is specified as (xs, ye), and step S
Proceed to 208. FIG. 5 is a diagram showing a display example of the screen of the display unit 3 when the specification is made in step S204.
【0022】また、上述のステップS202で、ye≧
ysでなければステップS205へ進み、編集対象領域
Sの左上の点P2を(xs,ye)に、また右下の点P
3を(xe,ys)に、基準点Pを(xs,ys)に特
定して、ステップS208へ進む。図6は、このステッ
プS205で特定した場合の表示部3の画面の表示例を
示す図である。In step S202, ye ≧
If it is not ys, the process proceeds to step S205, where the upper left point P2 of the edit target area S is set to (xs, ye), and the lower right point P is set.
3 is specified as (xe, ys) and the reference point P is specified as (xs, ys), and the process proceeds to step S208. FIG. 6 is a diagram showing a display example of the screen of the display unit 3 when the specification is made in step S205.
【0023】一方、上述のステップS201で、xe≧
xsでなければステップS203へ進み、同様にye≧
ysであるか否かを判別する。ここで、ye≧ysであ
ればステップS206へ進み、編集対象領域Sの左上の
点P2を(xe,ys)に、また右下の点P3を(x
s,ye)に、基準点Pを(xe,ye)に特定して、
ステップS208へ進む。図7は、このステップS20
6で特定した場合の表示部3の画面の表示例を示す図で
ある。On the other hand, in step S201 described above, xe ≧
If it is not xs, the process proceeds to step S203 and similarly ye ≧
It is determined whether it is ys. Here, if ye ≧ ys, the process proceeds to step S206, where the upper left point P2 of the edit target area S is (xe, ys) and the lower right point P3 is (x
s, ye), the reference point P is specified as (xe, ye),
It proceeds to step S208. FIG. 7 shows the step S20.
FIG. 6 is a diagram showing a display example of a screen of the display unit 3 when specified in 6.
【0024】また、上述のステップS203で、ye≧
ysでなければステップS207へ進み、編集対象領域
Sの左上の点P2を(xe,ye)に、また右下の点P
3を(xs,ys)に、基準点Pを(xe,ys)に特
定して、ステップS208へ進む。図8は、このステッ
プS207で特定した場合の表示部3の画面の表示例を
示す図である。In step S203, ye ≧
If it is not ys, the process proceeds to step S207, the upper left point P2 of the edit target area S is set to (xe, ye), and the lower right point P is set.
3 is specified as (xs, ys) and the reference point P is specified as (xe, ys), and the process proceeds to step S208. FIG. 8 is a diagram showing a display example of the screen of the display unit 3 when the specification is made in step S207.
【0025】次に、ステップS208では、点Pi−点
Pjの軌跡をDDAにより算出し、その軌跡をDとす
る。また、傾斜幅をdw(dw=|xi−xj|)と
し、傾斜高さをdh(dh=|yi−yj|)とする。
そして、ステップS209では、xi≧xj、且つ、y
i≧yjであるか否かを判別する。ここで、xi≧x
j、且つ、yi≧yjであればステップS210へ進
み、傾斜後の領域の左上の点P4を(x2−dw,y
2)に、右下の点P5を(x3,y3)に特定する。図
9は、このステップS210で特定した場合の表示部3
の画面の表示例を示す図である。Next, in step S208, the locus of point Pi-point Pj is calculated by DDA, and the locus is set to D. Further, the inclination width is dw (dw = | xi-xj |) and the inclination height is dh (dh = | yi-yj |).
Then, in step S209, xi ≧ xj and y
It is determined whether i ≧ yj. Where xi ≧ x
If j and yi ≧ yj, the process proceeds to step S210, where the upper left point P4 of the tilted region is (x2-dw, y
In 2), the lower right point P5 is specified as (x3, y3). FIG. 9 shows the display unit 3 when specified in step S210.
It is a figure which shows the example of a display of this screen.
【0026】また、上述のステップS209で、xi≧
xj、且つ、yi≧yjでなければステップS211へ
進み、xi≦xj、且つ、yi≦yjであるか否かを判
別する。ここで、xi≦xj、且つ、yi≦yjであれ
ば上述のステップS210へ進む。また、ステップS2
11で、xi≦xj、且つ、yi≦yjでなければステ
ップS212へ進み、傾斜後の領域の左上の点P4を
(x2,y2)に、右下の点P5を(x3,y3+d
w)に特定する。図11は、このステップS212で特
定した場合の表示部3の画面の表示例を示す図である。In step S209, xi ≧
If xj and yi ≧ yj are not satisfied, the process proceeds to step S211, and it is determined whether or not xi ≦ xj and yi ≦ yj. If xi ≦ xj and yi ≦ yj, the process proceeds to step S210. Also, step S2
In step 11, if xi ≦ xj and yi ≦ yj are not satisfied, the process proceeds to step S212, where the upper left point P4 of the tilted area is (x2, y2) and the lower right point P5 is (x3, y3 + d).
w). FIG. 11 is a diagram showing a display example of the screen of the display unit 3 when the specification is made in step S212.
【0027】次に、図2のステップS108において実
行される編集対象領域の傾斜処理を図4を参照して説明
する。図4は、編集領域の座標値と編集領域上の図形で
あるビットマップパターン、図2のステップS103に
おいて特定された座標値と編集対象領域上のビットマッ
プパターン、図2のステップS106において算出され
た座標値と傾斜度、及び図2のステップS107のおい
て特定された座標値と傾斜枠内のビットマップパターン
を格納するビットマップデータテーブルを示す図であ
り、このビットマップデータテーブルは制御部2のプロ
グラムメモリ9に格納される。Next, the inclination processing of the edit target area executed in step S108 of FIG. 2 will be described with reference to FIG. FIG. 4 shows the coordinate values of the edit area and the bitmap pattern that is a figure on the edit area, the coordinate values identified in step S103 of FIG. 2 and the bitmap pattern of the edit target area, which are calculated in step S106 of FIG. FIG. 3 is a diagram showing a bitmap data table storing the coordinate values and the degree of inclination, and the coordinate values specified in step S107 of FIG. 2 and the bitmap pattern in the inclination frame. This bitmap data table is a control unit. 2 is stored in the program memory 9.
【0028】図4において、格納領域p0,p1には、
編集領域を表す座標値P0,P1が格納され、格納領域
bには、編集領域上のビットマップパターンがそれぞれ
格納される。そして、図2のステップS103で特定さ
れた編集対象領域Sの左上の座標値P2と右下の座標値
P3は、格納領域p2,p3内に格納され、編集対象領
域Sのビットマップパターンは格納領域s’内に格納さ
れるものとする。In FIG. 4, the storage areas p0 and p1 are
The coordinate values P0 and P1 representing the edit area are stored, and the bitmap pattern on the edit area is stored in the storage area b. Then, the upper left coordinate value P2 and the lower right coordinate value P3 of the edit target area S specified in step S103 of FIG. 2 are stored in the storage areas p2 and p3, and the bitmap pattern of the edit target area S is stored. It shall be stored in the area s'.
【0029】また、図2のステップS106で特定され
た傾斜度の始点の座標値Piと終点の座標値Pjは、格
納領域pi,pj内に格納され、傾斜軌跡Dは格納領域
d内に格納される。更に、図2のステップS107で特
定された傾斜枠の左上の座標値P4と右下の座標値P5
は、格納領域p4,p5内に格納され、傾斜枠内の領域
Tのビットマップパターンは格納領域t’内に格納され
るものとする。Further, the coordinate value Pi of the start point and the coordinate value Pj of the end point of the inclination specified in step S106 of FIG. 2 are stored in the storage areas pi and pj, and the inclination locus D is stored in the storage area d. To be done. Furthermore, the coordinate value P4 at the upper left and the coordinate value P5 at the lower right of the inclined frame specified in step S107 of FIG.
Are stored in the storage areas p4 and p5, and the bitmap pattern of the area T in the inclined frame is stored in the storage area t ′.
【0030】まず、格納領域s’内に格納された傾斜枠
内の領域Tのビットマップデータを格納領域p4に格納
された傾斜枠の左上の座標値P4に、排他的論理和(X
OR)で、格納領域bに格納されているビットマップデ
ータに重ねる。これにより、格納領域bに格納されたビ
ットマップデータ上の傾斜枠内の領域は、パターンがク
リアされる。First, the bit map data of the area T in the tilted frame stored in the storage area s'is set to the exclusive OR (X) of the coordinate value P4 at the upper left of the tilted frame stored in the storage area p4.
OR) to superimpose on the bitmap data stored in the storage area b. As a result, the pattern is cleared in the area within the inclined frame on the bitmap data stored in the storage area b.
【0031】次に、格納領域dに格納された傾斜軌跡D
に沿って傾斜させたデータを格納領域t’内に格納され
た傾斜枠内の領域Tに格納し、格納領域p4に格納され
た傾斜枠の左上の座標値P4に、コピー(COPY)
で、格納領域bに格納されているビットマップデータに
重ねる。これにより、編集対象領域Sを所望の傾斜度で
傾斜させることができる。Next, the slope locus D stored in the storage area d
The data tilted along is stored in the area T in the tilt frame stored in the storage area t ′, and copied (COPY) to the coordinate value P4 at the upper left of the tilt frame stored in the storage area p4.
Then, it is overlaid on the bitmap data stored in the storage area b. As a result, the edit target area S can be tilted at a desired tilt degree.
【0032】図10は、図3のステップS210におい
て特定された値に従って図9に示す編集対象領域Sを傾
斜させた場合の表示部3の画面の表示例を示す図、図1
2は、図3のステップS212において特定された値に
従って図11に示す編集対象領域Sを傾斜させた場合の
表示部3の画面の表示例を示す図である。FIG. 10 is a view showing a display example of the screen of the display unit 3 when the edit target area S shown in FIG. 9 is tilted according to the value specified in step S210 of FIG. 3, FIG.
2 is a diagram showing a display example of the screen of the display unit 3 when the edit target area S shown in FIG. 11 is tilted according to the value specified in step S212 of FIG.
【0033】<第2の実施例>次に、本発明に係る第2
の実施例を図13乃至図17を用いて説明する。尚、第
2の実施例における図形処理装置の基本構成及び傾斜処
理は、上述した第1の実施例における図1及び図2と同
一であり、これらを流用して説明する。<Second Embodiment> Next, the second embodiment of the present invention will be described.
The embodiment will be described with reference to FIGS. 13 to 17. The basic configuration and the tilting process of the graphic processing apparatus in the second embodiment are the same as those in FIGS. 1 and 2 in the above-described first embodiment, and the description will be made by diverting them.
【0034】第2の実施例では、矩形領域をその対象と
なる2点(始点と終点)と傾斜度を決める2点(始点と
終点)とを指定するだけで、列方向の傾斜として、編集
対象領域を傾斜させるものである。In the second embodiment, the rectangular area is edited by setting the two points (starting point and ending point) and the two points (starting point and ending point) that determine the inclination degree as the inclination in the column direction. The target area is tilted.
【0035】また、上述した第1の実施例と異なる点
は、図13に示すステップS310とステップS312
において実行される傾斜枠を特定する処理で、その他は
同一である。従って、ここでは、異なる処理についての
み、図13乃至図17を用いて説明し、その他の説明は
省略する。The difference from the first embodiment described above is that steps S310 and S312 shown in FIG.
The process is the same as the process for specifying the tilted frame executed in (3). Therefore, here, only different processing will be described with reference to FIGS. 13 to 17, and other description will be omitted.
【0036】図13は、第2の実施例における傾斜処理
動作を示すフローチャートであり、この傾斜処理を実行
させるための制御プログラムは、編集領域が編集対象で
ある図形と共に表示部3の画面に表示されている状態で
開始される。FIG. 13 is a flow chart showing the tilt processing operation in the second embodiment. The control program for executing this tilt processing is displayed on the screen of the display unit 3 together with the figure whose editing area is the object of editing. It will be started in the state that has been done.
【0037】図14と図16は、表示部3の画面の編集
領域上に編集図形が表示されている状態をそれぞれ示す
図であり、各図において、P0は編集領域の左上の点、
P1は編集領域の右下の点、Psは図2のステップS1
01において指定された編集基準点、Peは図2のステ
ップS102において指定された編集終了点、P2は図
2のステップS103において特定された編集対象領域
の左上の点、P3は図2のステップS103において特
定された編集対象領域の右下の点、Piは図2のステッ
プS104において指定された傾斜始点、Pjは図2の
ステップS105において指定された傾斜終点、P4は
図2のステップS107で特定された傾斜枠の左上の
点、P5は図2のステップS107で特定された傾斜枠
の右下の点である。FIGS. 14 and 16 are views respectively showing a state in which an edit graphic is displayed on the edit area of the screen of the display unit 3, where P0 is the upper left point of the edit area,
P1 is the lower right point of the editing area, and Ps is the step S1 in FIG.
2, the edit reference point specified in 01, Pe is the edit end point specified in step S102 of FIG. 2, P2 is the upper left point of the edit target area specified in step S103 of FIG. 2, and P3 is step S103 of FIG. 2, the lower right point of the editing target area, Pi is the tilt start point specified in step S104 of FIG. 2, Pj is the tilt end point specified in step S105 of FIG. 2, and P4 is specified in step S107 of FIG. The upper left point of the tilted frame is P5, and the point P5 is the lower right point of the tilted frame specified in step S107 of FIG.
【0038】第1の実施例と同様に、まず図13のステ
ップS301〜ステップS307において、基準点P、
編集対象領域の左上の点P2及び右下の点P3を特定す
る。次に、ステップS308で点Pi−点Pjの軌跡を
DDAにより算出し、その軌跡をDとする。また、傾斜
幅をDw(Dw=|xi−xj|)とし、傾斜高さをd
h(dh=|yi−yj|)とする。そして、ステップ
S309で、xi≧xj、且つ、yi≧yjであるか否
かを判別し、xi≧xj、且つ、yi≧yjであればス
テップS310へ進み、傾斜後の領域の左上の点P4を
(x2,y2)に、右下の点P5を(x3,y3+d
h)に特定する。図14は、このステップS310にお
いて特定した場合の表示部3の画面の表示例を示す図で
ある。Similar to the first embodiment, first in steps S301 to S307 of FIG. 13, the reference point P,
An upper left point P2 and a lower right point P3 of the edit target area are specified. Next, in step S308, the locus of point Pi-point Pj is calculated by DDA, and the locus is set to D. Further, the inclination width is Dw (Dw = | xi−xj |), and the inclination height is d.
Let h (dh = | yi-yj |). Then, in step S309, it is determined whether or not xi ≧ xj and yi ≧ yj. If xi ≧ xj and yi ≧ yj, the process proceeds to step S310, and the upper left point P4 of the tilted region is determined. To (x2, y2) and the lower right point P5 to (x3, y3 + d
h). FIG. 14 is a diagram showing a display example of the screen of the display unit 3 when specified in step S310.
【0039】また、上述のステップS309で、xi≧
xj、且つ、yi≧yjでなければステップS311へ
進み、xi≦xj、且つ、yi≦yjであるか否かを判
別する。ここで、xi≦xj、且つ、yi≦yjであれ
ば上述のステップS310へ進む。また、ステップS3
11で、xi≦xj、且つ、yi≦yjでなければステ
ップS312へ進み、傾斜後の領域の左上の点P4を
(x2,y2−dh)に、右下の点P5を(x3,y
3)に特定する。図16は、このステップS312にお
いて特定した場合の表示部3の画面の表示例を示す図で
ある。In step S309 described above, xi ≧
If xj and yi ≧ yj are not satisfied, the process proceeds to step S311, and it is determined whether or not xi ≦ xj and yi ≦ yj. If xi ≦ xj and yi ≦ yj, the process proceeds to step S310. Also, step S3
In step 11, if xi ≦ xj and yi ≦ yj are not satisfied, the process proceeds to step S312, where the upper left point P4 of the tilted area is (x2, y2-dh) and the lower right point P5 is (x3, y).
Specify 3). FIG. 16 is a diagram showing a display example of the screen of the display unit 3 when the specification is made in step S312.
【0040】図15は、図13のステップS310にお
いて特定された値に従って図14に示す編集対象領域S
を傾斜した場合の表示部3の画面の表示例を示す図、図
17は、図13のステップS312において特定された
値に従って図16に示す編集対象領域Sを傾斜した場合
の表示部3の画面の表示例を示す図である。FIG. 15 shows the edit target area S shown in FIG. 14 according to the value specified in step S310 of FIG.
FIG. 17 is a diagram showing a display example of the screen of the display unit 3 when the display area 3 is tilted, and FIG. 17 is a screen of the display section 3 when the editing target area S shown in FIG. It is a figure which shows the example of a display of.
【0041】<第3の実施例>次に、本発明に係る第3
の実施例を図18乃至図20を用いて説明する。尚、第
3の実施例における図形処理装置の基本構成及び傾斜処
理は、前述した第1の実施例における図1及び図2と同
一であり、これらを流用して説明する。<Third Embodiment> Next, the third embodiment of the present invention will be described.
The embodiment will be described with reference to FIGS. 18 to 20. The basic configuration and the tilting process of the graphic processing apparatus in the third embodiment are the same as those in FIGS. 1 and 2 in the first embodiment described above, and the description will be made by diverting them.
【0042】第3の実施例では、傾斜度を決めるのに、
始点からはじまり終点に至るまでのマウスボタンの軌跡
を基にして編集対象領域を傾斜させるものである。In the third embodiment, in determining the inclination,
The edit target area is tilted based on the locus of the mouse button from the start point to the end point.
【0043】また、前述した第1の実施例と異なる点
は、図2で示すステップS104とS105における始
点終点の指定方法と、図18に示すステップS408に
おいて実行される傾斜軌跡を算出する処理で、その他は
同一である。従って、ここでは、異なる処理についての
み、図18乃至図21を用いて説明し、その他の説明は
省略する。The difference from the first embodiment described above is in the method of designating the starting point and the ending point in steps S104 and S105 shown in FIG. 2 and the processing for calculating the inclination locus executed in step S408 shown in FIG. , And others are the same. Therefore, here, only different processing will be described with reference to FIGS. 18 to 21, and other description will be omitted.
【0044】図18及び図19は、第3の実施例におけ
る傾斜処理動作を示すフローチャートであり、この傾斜
処理を実行させるための制御プログラムは、編集領域が
編集対象である図形と共に表示部3の画面に表示されて
いる状態で開始される。18 and 19 are flow charts showing the tilt processing operation in the third embodiment. The control program for executing this tilt processing is a control program for the display unit 3 together with a graphic whose edit area is an edit target. It will start as it is displayed on the screen.
【0045】図20は、表示部3の画面の編集領域上に
編集図形が表示されている状態を示す図であり、この図
においてP0は編集領域の左上の点、P1は編集領域の
右下の点、Pは図2のステップS101において指定さ
れた編集基準点、Peは図18のステップS402にお
いて指定された編集終了点、P2は図18のステップS
403において特定された編集対象領域の左上の点、P
3は図18のステップS403において特定された編集
対象領域の右下の点、Piは図18のステップS404
において指定された傾斜始点、Pi1〜Pi6は図18のス
テップS404において指定された軌跡の通過点、Pj
は図18のステップS405において指定された傾斜終
点、P4は図2のステップS107で特定された傾斜枠
の左上の点、P5は図2のステップS107で特定され
た傾斜枠の右下の点である。FIG. 20 is a diagram showing a state in which an edit graphic is displayed in the edit area of the screen of the display unit 3, in which P0 is the upper left point of the edit area and P1 is the lower right corner of the edit area. 2, P is the editing reference point designated in step S101 of FIG. 2, Pe is the editing end point designated in step S402 of FIG. 18, and P2 is the step S of FIG.
The upper left point of the edit target area specified in 403, P
3 is the lower right point of the edit target area specified in step S403 of FIG. 18, and Pi is the step S404 of FIG.
18, the inclination start points designated by Pi1 to Pi6 are passing points of the locus designated in step S404 of FIG.
Is the end point of the tilt specified in step S405 of FIG. 18, P4 is the upper left point of the tilt frame specified in step S107 of FIG. 2, and P5 is the lower right point of the tilt frame specified in step S107 of FIG. is there.
【0046】第1の実施例と同様に、図18のステップ
S401〜S403において、編集対象領域を特定す
る。その後、ステップS404でマウスポインタ等で傾
斜軌跡を指定し、ステップS405〜S407で同様に
傾斜を実現する。また図19のステップS501〜ステ
ップS507において、基準点P、編集対象領域の左上
の点P2及び右下の点P3を特定する。次に、ステップ
S508では、ステップS404で指定された軌跡を用
い、その幅dwと高さdhを求める。Similar to the first embodiment, the editing target area is specified in steps S401 to S403 of FIG. After that, an inclination locus is designated by a mouse pointer or the like in step S404, and the inclination is similarly realized in steps S405 to S407. Further, in steps S501 to S507 of FIG. 19, the reference point P, the upper left point P2 and the lower right point P3 of the edit target area are specified. Next, in step S508, the width dw and height dh are obtained using the locus designated in step S404.
【0047】そして、ステップS509で、xi≧x
j、且つ、yi≧yjであるか否かを判断し、xi≧x
j、且つ、yi≧yjであればステップS510に進
み、傾斜後の領域の左上の点P4を(x2,y2)に、
右下の点P5を(x3,y3+dh)に特定する。図2
0は、このステップS510において特定した場合の表
示部3の画面の表示例を示す図である。Then, in step S509, xi ≧ x
j and yi ≧ yj are determined, and xi ≧ x
If j and yi ≧ yj, the process proceeds to step S510, and the upper left point P4 of the tilted region is set to (x2, y2),
The point P5 at the lower right is specified as (x3, y3 + dh). Figure 2
0 is a diagram showing a display example of the screen of the display unit 3 when specified in step S510.
【0048】また、上述のステップS509で、xi≧
xj、且つ、yi≧yjでなければステップS511へ
進み、xi≦xj、且つ、yi≦yjであるか否かを判
別する。ここで、xi≦xj、且つ、yi≦yjであれ
ば上述のステップS510へ進む。また、ステップS5
11で、xi≦xj、且つ、yi≦yjでなければステ
ップS512へ進み、傾斜後の領域の左上の点P4を
(x2,y2−dh)に、右下の点P5を(x3,y
3)に特定する。In step S509 described above, xi ≧
If xj and yi ≧ yj are not satisfied, the process proceeds to step S511, and it is determined whether or not xi ≦ xj and yi ≦ yj. Here, if xi ≦ xj and yi ≦ yj, the process proceeds to step S510. Also, step S5
In step 11, if xi ≦ xj and yi ≦ yj are not satisfied, the process proceeds to step S512, where the upper left point P4 of the tilted region is (x2, y2-dh) and the lower right point P5 is (x3, y
Specify 3).
【0049】図21は、上述のステップS510におい
て特定した値に従って図19に示す編集対象領域Sを傾
斜した場合の表示部3の画面の表示例を示す図である。FIG. 21 is a diagram showing a display example of the screen of the display unit 3 when the edit target area S shown in FIG. 19 is tilted according to the value specified in step S510.
【0050】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device.
【0051】また、本発明はシステム或いは装置にプロ
グラムを供給することによって達成される場合にも適用
できることはいうまでもない。It goes without saying that the present invention can also be applied to the case where it is achieved by supplying a program to a system or an apparatus.
【0052】[0052]
【発明の効果】以上詳述したように、本発明によれば、
複数の行又は列を有する領域を傾斜させる際の計算回数
を低減し得る効果を奏する。As described in detail above, according to the present invention,
This has the effect of reducing the number of calculations when tilting a region having a plurality of rows or columns.
【0053】[0053]
【図1】実施例における図形処理装置の構成を示すブロ
ック図である。FIG. 1 is a block diagram showing a configuration of a graphic processing device according to an embodiment.
【図2】実施例における傾斜処理動作を示すフローチャ
ートである。FIG. 2 is a flowchart showing an inclination processing operation in the embodiment.
【図3】第1の実施例における編集対象領域と傾斜枠を
特定する制御手順を示すフローチャートである。FIG. 3 is a flowchart showing a control procedure for specifying an edit target area and a tilt frame in the first embodiment.
【図4】実施例における傾斜処理のデータ格納領域を示
す図である。FIG. 4 is a diagram showing a data storage area for tilt processing in the embodiment.
【図5】ステップS204で特定した場合の表示例を示
す図である。FIG. 5 is a diagram showing a display example when it is specified in step S204.
【図6】ステップS205で特定した場合の表示例を示
す図である。FIG. 6 is a diagram showing a display example when specified in step S205.
【図7】ステップS206で特定した場合の表示例を示
す図である。FIG. 7 is a diagram showing a display example when it is specified in step S206.
【図8】ステップS207で特定した場合の表示例を示
す図である。FIG. 8 is a diagram showing a display example when it is specified in step S207.
【図9】ステップS210で特定した場合の表示例を示
す図である。FIG. 9 is a diagram showing a display example when specified in step S210.
【図10】ステップS210において特定された値に従
って図9に示す編集対象領域Sを傾斜させた場合の表示
例を示す図である。FIG. 10 is a diagram showing a display example when the edit target area S shown in FIG. 9 is tilted according to the value specified in step S210.
【図11】ステップS212で特定した場合の表示例を
示す図である。FIG. 11 is a diagram showing a display example when it is specified in step S212.
【図12】ステップS212において特定された値に従
って図11に示す編集対象領域Sを傾斜させた場合の表
示例を示す図である。FIG. 12 is a diagram showing a display example when the edit target area S shown in FIG. 11 is tilted according to the value specified in step S212.
【図13】第2の実施例における編集対象領域と傾斜枠
を特定する制御手順を示すフローチャートである。FIG. 13 is a flowchart showing a control procedure for specifying an edit target area and an inclined frame in the second embodiment.
【図14】ステップS310において特定した場合の表
示例を示す図である。FIG. 14 is a diagram showing a display example when it is specified in step S310.
【図15】図13のステップS310において特定され
た値に従って図14に示す編集対象領域Sを傾斜した場
合の表示例を示す図である。15 is a diagram showing a display example when the edit target region S shown in FIG. 14 is tilted according to the value specified in step S310 of FIG.
【図16】ステップS312において特定した場合の表
示例を示す図である。FIG. 16 is a diagram showing a display example when it is specified in step S312.
【図17】ステップS312において特定された値に従
って図16に示す編集対象領域Sを傾斜した場合の表示
例を示す図である。FIG. 17 is a diagram showing a display example when the edit target area S shown in FIG. 16 is tilted according to the value specified in step S312.
【図18】第3の実施例における傾斜処理動作を示すフ
ローチャートである。FIG. 18 is a flowchart showing an inclination processing operation in the third embodiment.
【図19】第3の実施例における編集対象領域と傾斜枠
を特定する制御手順を示すフローチャートである。FIG. 19 is a flowchart showing a control procedure for specifying an edit target area and an inclined frame in the third embodiment.
【図20】ステップS510において特定した場合の表
示例を示す図である。FIG. 20 is a diagram showing a display example when specified in step S510.
【図21】ステップS510において特定された値に従
って図20に示す編集対象領域Sを傾斜した場合の表示
例を示す図である。FIG. 21 is a diagram showing a display example when the edit target area S shown in FIG. 20 is tilted according to the value specified in step S510.
1 図形処理装置 2 制御部 5 キーボード 6 ポインティングデバイス 8 CPU 1 Graphic processing device 2 control unit 5 keyboard 6 pointing device 8 CPU
フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 11/60 G06T 11/80 G06F 3/00 G06F 3/14 - 3/153 G09G 5/24 Front page continued (58) Fields surveyed (Int.Cl. 7 , DB name) G06T 11/60 G06T 11/80 G06F 3/00 G06F 3/14-3/153 G09G 5/24
Claims (8)
点と編集終了点を、また前記編集領域内の任意の位置で
傾斜始点と傾斜終点をそれぞれ指定し、 指定した前記編集基準点と編集終了点とから編集対象領
域を特定し、 指定した前記傾斜始点と傾斜終点とから傾斜軌跡を算出
し、 算出した傾斜軌跡から前記特定した編集対象領域の傾斜
枠を特定し、 前記傾斜始点から傾斜終点の方向が右下の場合は、前記
編集対象領域を左方向へ傾斜させた領域全体の矩形領域
を傾斜枠内の領域とし、前記編集対象領域を傾斜させる
各工程を有することを特徴とする図形処理方法。1. An edit reference point and an edit end point are specified on an edit area of a displayed graphic, and a tilt start point and a tilt end point are respectively specified at arbitrary positions in the edit area. The edit target area is specified from the edit end point, the tilt trajectory is calculated from the specified tilt start point and tilt end point, the tilt frame of the specified edit target area is specified from the calculated tilt trajectory, and the tilt start point is calculated. When the direction of the end point of inclination is the lower right, a rectangular area of the entire area obtained by inclining the edit target area to the left is set as an area within a tilt frame, and each step has a step of tilting the edit target area. Figure processing method.
点と編集終了点を、また前記編集領域内の任意の位置で
傾斜始点と傾斜終点をそれぞれ指定し、 指定した前記編集基準点と編集終了点とから編集対象領
域を特定し、 指定した前記傾斜始点と傾斜終点とから傾斜軌跡を算出
し、 算出した傾斜軌跡から前記特定した編集対象領域の傾斜
枠を特定し、 前記傾斜始点から傾斜終点の方向が右上の場合は、前記
編集対象領域を右方向へ傾斜させた領域全体の矩形領域
を傾斜枠内の領域とし、前記編集対象領域を傾斜させる
各工程を有することを特徴とする図形処理方法。2. An edit reference point and an edit end point are designated on the edit area of the displayed graphic, and a tilt start point and a tilt end point are designated at arbitrary positions in the edit area, and the designated edit reference point and The edit target area is specified from the edit end point, the tilt trajectory is calculated from the specified tilt start point and tilt end point, the tilt frame of the specified edit target area is specified from the calculated tilt trajectory, and the tilt start point is calculated. When the direction of the end point of inclination is the upper right, a rectangular region of the entire region in which the editing target region is tilted to the right is set as a region within a tilt frame, and each process has a step of tilting the editing target region. Figure processing method.
点と編集終了点を、また前記編集領域内の任意の位置で
傾斜始点と傾斜終点をそれぞれ指定し、 指定した前記編集基準点と編集終了点とから編集対象領
域を特定し、 指定した前記傾斜始点と傾斜終点とから傾斜軌跡を算出
し、 算出した傾斜軌跡から前記特定した編集対象領域の傾斜
枠を特定し、 前記傾斜始点から傾斜終点の方向が左下の場合は、前記
編集対象領域を右方向へ傾斜させた領域全体の矩形領域
を傾斜枠内の領域とし、前記編集対象領域を傾斜させる
各工程を有することを特徴とする図形処理方法。3. An edit reference point and an edit end point are designated on the edit area of the displayed graphic, and a tilt start point and a tilt end point are designated at arbitrary positions in the edit area, and the designated edit reference point and The edit target area is specified from the edit end point, the tilt trajectory is calculated from the specified tilt start point and tilt end point, the tilt frame of the specified edit target area is specified from the calculated tilt trajectory, and the tilt start point is calculated. When the direction of the end point of inclination is the lower left, the rectangular area of the entire area in which the editing target area is tilted to the right is set as an area within the tilt frame, and each step of tilting the editing target area is provided. Figure processing method.
点と編集終了点を、また前記編集領域内の任意の位置で
傾斜始点と傾斜終点をそれぞれ指定し、 指定した前記編集基準点と編集終了点とから編集対象領
域を特定し、 指定した前記傾斜始点と傾斜終点とから傾斜軌跡を算出
し、 算出した傾斜軌跡から前記特定した編集対象領域の傾斜
枠を特定し、 前記傾斜始点から傾斜終点の方向が左上の場合は、前記
編集対象領域を左方向へ傾斜させた領域全体の矩形領域
を傾斜枠内の領域とし、前記編集対象領域を傾斜させる
各工程を有することを特徴とする図形処理方法。4. An edit reference point and an edit end point are designated on the edit area of the displayed graphic, and a tilt start point and a tilt end point are designated at arbitrary positions in the edit area, and the designated edit reference point and The edit target area is specified from the edit end point, the tilt trajectory is calculated from the specified tilt start point and tilt end point, the tilt frame of the specified edit target area is specified from the calculated tilt trajectory, and the tilt start point is calculated. When the direction of the end point of inclination is the upper left, a rectangular region of the entire region in which the editing target region is tilted to the left is set as a region within the tilt frame, and each step of tilting the editing target region is included. Figure processing method.
点と編集終了点を指定する第1の指定手段と、 前記編集領域内の任意の位置で傾斜始点と傾斜終点を指
定する第2の指定手段と、 前記第1の指定手段で指定された編集基準点と編集終了
点とから編集対象領域を特定する第1の特定手段と、 前記第2の指定手段で指定された傾斜始点と傾斜終点と
から傾斜軌跡を算出する算出手段と、 前記算出手段で算出した傾斜軌跡から前記編集対象領域
の傾斜枠を特定する第2の特定手段と、 前記傾斜始点から傾斜終点の方向が右下の場合は、前記
編集対象領域を左方向へ傾斜させた領域全体の矩形領域
を傾斜枠内の領域とし、前記編集対象領域を傾斜させる
手段とを備えることを特徴とする図形処理装置。5. A first designating means for designating an edit reference point and an edit end point on the displayed graphic editing area, and a second designating means for designating a tilt start point and a tilt end point at arbitrary positions in the edit area. Specifying means, first specifying means for specifying an edit target area from the edit reference point and the edit end point specified by the first specifying means, and an inclination start point specified by the second specifying means. Calculation means for calculating a tilt locus from the tilt end point, second specifying means for specifying the tilt frame of the edit target region from the tilt locus calculated by the calculation means, and a direction from the tilt start point to the tilt end point in the lower right direction. In this case, the graphic processing apparatus further comprises means for tilting the edit target area, with a rectangular area of the entire area in which the edit target area is tilted leftward as an area within a tilt frame.
点と編集終了点を指定する第1の指定手段と、 前記編集領域内の任意の位置で傾斜始点と傾斜終点を指
定する第2の指定手段と、 前記第1の指定手段で指定された編集基準点と編集終了
点とから編集対象領域を特定する第1の特定手段と、 前記第2の指定手段で指定された傾斜始点と傾斜終点と
から傾斜軌跡を算出する算出手段と、 前記算出手段で算出した傾斜軌跡から前記編集対象領域
の傾斜枠を特定する第2の特定手段と、 前記傾斜始点から傾斜終点の方向が右上の場合は、前記
編集対象領域を右方向へ傾斜させた領域全体の矩形領域
を傾斜枠内の領域とし、前記編集対象領域を傾斜させる
手段とを備えることを特徴とする図形処理装置。6. A first designating means for designating an edit reference point and an edit end point on the displayed graphic editing area, and a second designating means for designating a tilt start point and a tilt end point at arbitrary positions in the edit area. Specifying means, first specifying means for specifying an edit target area from the edit reference point and the edit end point specified by the first specifying means, and an inclination start point specified by the second specifying means. Calculation means for calculating a tilt trajectory from the tilt end point, second specifying means for specifying a tilt frame of the edit target area from the tilt trajectory calculated by the calculation means, and a direction from the tilt start point to the tilt end point is at the upper right. In this case, the graphic processing apparatus further comprises means for tilting the edit target area, with a rectangular area of the entire area obtained by tilting the edit target area to the right as an area within a tilt frame.
点と編集終了点を指定する第1の指定手段と、 前記編集領域内の任意の位置で傾斜始点と傾斜終点を指
定する第2の指定手段と、 前記第1の指定手段で指定された編集基準点と編集終了
点とから編集対象領域を特定する第1の特定手段と、 前記第2の指定手段で指定された傾斜始点と傾斜終点と
から傾斜軌跡を算出する算出手段と、 前記算出手段で算出した傾斜軌跡から前記編集対象領域
の傾斜枠を特定する第2の特定手段と、 前記傾斜始点から傾斜終点の方向が左下の場合は、前記
編集対象領域を右方向へ傾斜させた領域全体の矩形領域
を傾斜枠内の領域とし、前記編集対象領域を傾斜させる
手段とを備えることを特徴とする図形処理装置。7. A first designating means for designating an edit reference point and an edit end point on an edit area of a displayed graphic, and a second designating means for designating a tilt start point and a tilt end point at arbitrary positions in the edit area. Specifying means, first specifying means for specifying an edit target area from the edit reference point and the edit end point specified by the first specifying means, and an inclination start point specified by the second specifying means. Calculation means for calculating a tilt locus from the tilt end point, second specifying means for specifying the tilt frame of the editing target area from the tilt locus calculated by the calculation means, and a direction from the tilt start point to the tilt end point is at the lower left. In this case, the graphic processing apparatus further comprises means for tilting the edit target area, with a rectangular area of the entire area obtained by tilting the edit target area to the right as an area within a tilt frame.
点と編集終了点を指定する第1の指定手段と、 前記編集領域内の任意の位置で傾斜始点と傾斜終点を指
定する第2の指定手段と、 前記第1の指定手段で指定された編集基準点と編集終了
点とから編集対象領域を特定する第1の特定手段と、 前記第2の指定手段で指定された傾斜始点と傾斜終点と
から傾斜軌跡を算出する算出手段と、 前記算出手段で算出した傾斜軌跡から前記編集対象領域
の傾斜枠を特定する第2の特定手段と、 前記傾斜始点から傾斜終点の方向が左上の場合は、前記
編集対象領域を左方向へ傾斜させた領域全体の矩形領域
を傾斜枠内の領域とし、前記編集対象領域を傾斜させる
手段とを備えることを特徴とする図形処理装置。8. A first designating means for designating an edit reference point and an edit end point on the displayed graphic editing area, and a second designating means for designating a tilt start point and a tilt end point at arbitrary positions in the edit area. Specifying means, first specifying means for specifying an edit target area from the edit reference point and the edit end point specified by the first specifying means, and an inclination start point specified by the second specifying means. Calculation means for calculating a tilt locus from the tilt end point, second specifying means for specifying the tilt frame of the edit target area from the tilt locus calculated by the calculation means, and a direction from the tilt start point to the tilt end point is at the upper left. In this case, the graphic processing apparatus further comprises means for tilting the edit target area, with a rectangular area of the entire area obtained by tilting the edit target area to the left as an area within a tilt frame.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP07318195A JP3486476B2 (en) | 1995-03-30 | 1995-03-30 | Graphic processing method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP07318195A JP3486476B2 (en) | 1995-03-30 | 1995-03-30 | Graphic processing method and apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08272985A JPH08272985A (en) | 1996-10-18 |
| JP3486476B2 true JP3486476B2 (en) | 2004-01-13 |
Family
ID=13510723
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP07318195A Expired - Fee Related JP3486476B2 (en) | 1995-03-30 | 1995-03-30 | Graphic processing method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3486476B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100438767B1 (en) * | 1997-08-26 | 2004-07-16 | 삼성전자주식회사 | D.D.A. Line Drawing Device Using Algorithm |
-
1995
- 1995-03-30 JP JP07318195A patent/JP3486476B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH08272985A (en) | 1996-10-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS63184879A (en) | Picture processor | |
| JP3585357B2 (en) | Information processing apparatus and method, and recording medium recording information processing program | |
| JP3391852B2 (en) | Document processing apparatus and method | |
| JPH064607A (en) | Data display | |
| JP3486476B2 (en) | Graphic processing method and apparatus | |
| JP2916347B2 (en) | Character string display method and apparatus and graphic information management system | |
| US5302967A (en) | Figure processing apparatus and method aided by display with ruled lines | |
| JP2854174B2 (en) | Enlargement drawing method in numerical controller | |
| JP3483333B2 (en) | Graphic processing method and apparatus | |
| JP3274850B2 (en) | Character / graphic deformation processing apparatus and processing method | |
| JP3375044B2 (en) | Input display method of pillar on computer screen | |
| JPH0816906B2 (en) | How to edit a table by computer | |
| JP2922578B2 (en) | Character processor | |
| JP3381994B2 (en) | Display screen switching device | |
| JP3113105B2 (en) | Graph creation apparatus and graph creation method | |
| JP2722544B2 (en) | Data processing device | |
| JP2944826B2 (en) | Document processing device | |
| JP2798688B2 (en) | Character processing apparatus and method | |
| JP2721344B2 (en) | Image processing method | |
| JP2575636B2 (en) | Graphic display device | |
| JPH07311855A (en) | Graphic processing method and apparatus | |
| JPH07320077A (en) | Area designation device | |
| JPS59148975A (en) | Editing device of pattern | |
| JPH11109940A (en) | Image data contour editing apparatus, image data contour editing method, and storage medium | |
| JP3246952B2 (en) | CAD processing method and apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20031003 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071024 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081024 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091024 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091024 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101024 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |