WO2017009901A1 - Drawing device - Google Patents

Drawing device Download PDF

Info

Publication number
WO2017009901A1
WO2017009901A1 PCT/JP2015/069917 JP2015069917W WO2017009901A1 WO 2017009901 A1 WO2017009901 A1 WO 2017009901A1 JP 2015069917 W JP2015069917 W JP 2015069917W WO 2017009901 A1 WO2017009901 A1 WO 2017009901A1
Authority
WO
WIPO (PCT)
Prior art keywords
processing unit
container
containers
drawing object
tree structure
Prior art date
Application number
PCT/JP2015/069917
Other languages
French (fr)
Japanese (ja)
Inventor
喬之 築谷
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2016524554A priority Critical patent/JP5972509B1/en
Priority to PCT/JP2015/069917 priority patent/WO2017009901A1/en
Publication of WO2017009901A1 publication Critical patent/WO2017009901A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering

Abstract

In the present invention, a drawing processing unit 1 processes drawing data 5 using a drawing object container 4. The drawing object container 4 is configured such that the same drawing objects can be handled in a unified manner. When the drawing processing unit 1 performs processing of the drawing data, a clipping processing unit 2 clips the same drawing objects that occupy a region within the drawing object container 4. A drawing execution unit 3 performs drawing by arranging the drawing object container 4 that was subjected to the clipping in the drawing data processed by the drawing processing unit 1.

Description

描画装置Drawing device
 本発明は、ディスプレイリストをツリー構造で管理する描画装置に関するものである。 The present invention relates to a drawing device that manages a display list in a tree structure.
 多くの描画処理系(例えば、OpenGL(登録商標)やAdobe Flash(登録商標)など)においては、描画オブジェクト・描画コマンドをディスプレイリストと呼ばれるデータ構造に保存し、まとめて描画処理を実行することで、高速な処理を実現する機能が備えられている。その中でも、2次元描画処理系においては、ディスプレイリストをツリー構造で管理している処理系が多く(例えばAdobe Flash)、このツリーの構造によって描画オブジェクトの重なり順を制御している。 In many drawing processing systems (for example, OpenGL (registered trademark) and Adobe Flash (registered trademark)), drawing objects and drawing commands are stored in a data structure called a display list, and drawing processing is executed collectively. A function for realizing high-speed processing is provided. Among them, in the two-dimensional drawing processing system, there are many processing systems that manage the display list in a tree structure (for example, Adobe Flash), and the overlapping order of drawing objects is controlled by this tree structure.
 図8にツリー構造で描画オブジェクトを管理する例を示す。この図では、角丸四角形、三角形、四角形がツリー801上に管理されており、ツリー801の左側が奥、右側が手前になるように設定されている場合、描画結果802が得られることを示している。
 ここで、描画プログラムを作成する際には、Adobe Flashなどの描画処理系のAPI(Application Programming Interface)経由で、所望の重なり順で描画オブジェクトが並ぶように、このツリー構造を操作することになる。また、各描画オブジェクトは、ディスプレイリストの仕組み上、ツリーの中のある一箇所にのみにしか存在することができないという制約がある。そのため、プログラム作成者はこのようなツリー構造とその制約を理解し、考慮に入れながらプログラムを作成しなければならない。
FIG. 8 shows an example of managing drawing objects in a tree structure. In this figure, a rounded rectangle, a triangle, and a rectangle are managed on the tree 801. If the left side of the tree 801 is set to the back and the right side to the front, the drawing result 802 is obtained. ing.
Here, when creating a drawing program, this tree structure is operated so that drawing objects are arranged in a desired overlapping order via an API (Application Programming Interface) of a drawing processing system such as Adobe Flash. . In addition, each drawing object has a restriction that it can exist only in one place in the tree due to the structure of the display list. Therefore, the program creator must understand the tree structure and its restrictions and create the program while taking into consideration.
 例えば、従来、特許文献1では、描画オブジェクトの重なり順の制御について開示されている。また、特許文献2~4では、ディスプレイリストがツリー構造で描画オブジェクトを管理していることを活かした描画の高速化に関する技術が開示されている。 For example, conventionally, Patent Document 1 discloses the control of the overlapping order of drawing objects. Patent Documents 2 to 4 disclose techniques related to speeding up drawing by taking advantage of the fact that the display list manages drawing objects in a tree structure.
特開平09-128556号公報JP 09-128556 A 特開2014-016869号公報JP 2014-016869 A 特開2002-032750号公報JP 2002-032750 A 特開2010-274534号公報JP 2010-274534 A
 しかしながら、上記特許文献1に記載されたような従来の装置では、ディスプレイリストのツリー構造を意識したものではなかった。また、特許文献2~4に記載されている従来技術では、ツリー構造の特徴を活かした描画高速化手法が提供されているが、ツリー構造で重なり順を制御している都合上、ある描画オブジェクトがツリー構造中の異なるサブツリーの中間をすり抜けるような動きをするといった描画オブジェクトを配置することは非常に困難であった。 However, the conventional apparatus as described in Patent Document 1 is not conscious of the tree structure of the display list. In addition, in the conventional techniques described in Patent Documents 2 to 4, a drawing speed-up technique that makes use of the characteristics of the tree structure is provided, but for the convenience of controlling the overlapping order in the tree structure, a certain drawing object is provided. It is very difficult to place drawing objects that move in the middle of different subtrees in the tree structure.
 例えば、図9では、三角形と四角形があるルールによって配置されており、それぞれの組がサブツリーを作るようなツリー構造901となっている。この状態で、描画結果902のように四角形と三角形の間をすり抜けるような動きのアニメーションが適用される描画オブジェクト903を追加したい場合、ツリー構造による重なり順制御を考慮すると、ツリー構造中の描画オブジェクト904を置くべき箇所を簡単には定めることができず、所望の動作を実装することは困難である。仮に三角形Aと四角形Aの間に描画オブジェクト904を置いた場合には、そのサブツリー内に描画オブジェクト904が置かれているときには問題ないが、Bの描画オブジェクトが含まれるサブツリー内に描画オブジェクト904が移動したときには三角形Bと四角形Bの後ろ側に描画オブジェクトが表示されてしまい、所望の結果は得られない。同様にBのサブツリー内に描画オブジェクト904を置くことも考えられるが、そのときは常に三角形Aと四角形Aの手前に描画オブジェクト904が表示されてしまい、やはり所望の結果が得られない。 For example, in FIG. 9, a tree structure 901 is formed in which triangles and rectangles are arranged according to a rule, and each set forms a subtree. In this state, when it is desired to add a drawing object 903 to which a motion animation that passes between a quadrangle and a triangle is applied as in the drawing result 902, considering the overlapping order control by the tree structure, the drawing object in the tree structure It is difficult to easily determine where to place 904, and it is difficult to implement a desired operation. If the drawing object 904 is placed between the triangle A and the quadrangle A, there is no problem when the drawing object 904 is placed in the subtree, but the drawing object 904 is placed in the subtree including the drawing object B. When moved, a drawing object is displayed behind the triangle B and the rectangle B, and a desired result cannot be obtained. Similarly, it is conceivable to place the drawing object 904 in the sub-tree of B. At that time, however, the drawing object 904 is always displayed in front of the triangle A and the rectangle A, and the desired result cannot be obtained.
 この発明は、かかる問題を解決するためになされたもので、自由な表現が可能な描画装置を得ることを目的とする。 The present invention has been made to solve such a problem, and an object thereof is to obtain a drawing apparatus capable of expressing freely.
 この発明に係る描画装置は、それぞれが同じ描画オブジェクトを統一して操作可能な複数のコンテナを用いて2次元描画座標系の描画データを処理する描画処理部と、描画処理部が描画データの処理を行う際に、複数のコンテナの各コンテナの領域に占める同じ描画オブジェクトをクリッピング処理するクリッピング処理部と、描画処理部で処理された描画データに対して、クリッピング処理された複数のコンテナを配置して描画を行う描画実行部とを備えたものである。 A drawing apparatus according to the present invention includes a drawing processing unit that processes drawing data in a two-dimensional drawing coordinate system using a plurality of containers that can be operated by unifying the same drawing object, and the drawing processing unit processes drawing data. When clipping, the clipping processing unit that performs clipping processing on the same drawing object in each container area of multiple containers, and multiple containers that have been subjected to clipping processing are placed on the drawing data processed by the drawing processing unit And a drawing execution unit for drawing.
 この発明に係る描画装置は、それぞれが同じ描画オブジェクトを統一して操作可能な複数のコンテナを用い、これらコンテナ内の描画オブジェクトをクリッピング処理して配置するようにしたものである。これにより、自由な表現が可能な描画装置を得ることができる。 The drawing apparatus according to the present invention uses a plurality of containers that can be operated by unifying the same drawing objects, and arranges the drawing objects in these containers by clipping processing. Thereby, it is possible to obtain a drawing apparatus capable of expressing freely.
この発明の実施の形態1の描画装置の構成図である。It is a block diagram of the drawing apparatus of Embodiment 1 of this invention. この発明の実施の形態1の描画装置のハードウェア構成図である。It is a hardware block diagram of the drawing apparatus of Embodiment 1 of this invention. この発明の実施の形態1の描画装置の動作を示す説明図である。It is explanatory drawing which shows operation | movement of the drawing apparatus of Embodiment 1 of this invention. この発明の実施の形態1の描画装置の描画オブジェクトコンテナの処理の流れを示す説明図である。It is explanatory drawing which shows the flow of a process of the drawing object container of the drawing apparatus of Embodiment 1 of this invention. この発明の実施の形態1の描画装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the drawing apparatus of Embodiment 1 of this invention. この発明の実施の形態2の描画装置のGUI上のリスト部品を示す説明図である。It is explanatory drawing which shows the list components on GUI of the drawing apparatus of Embodiment 2 of this invention. この発明の実施の形態2の描画装置のディスプレイリストのツリー構造を示す説明図である。It is explanatory drawing which shows the tree structure of the display list of the drawing apparatus of Embodiment 2 of this invention. ツリー構造で描画オブジェクトを管理する例を示す説明図である。It is explanatory drawing which shows the example which manages a drawing object with a tree structure. 四角形と三角形の間をすり抜けるような動きのアニメーションが適用される描画オブジェクトを追加する場合の例を示す説明図である。It is explanatory drawing which shows the example in the case of adding the drawing object to which the animation of a motion which slips through between a square and a triangle is applied.
 以下、この発明をより詳細に説明するために、この発明を実施するための形態について、添付の図面に従って説明する。
実施の形態1.
 図1は、本実施の形態による描画装置の構成図である。
 図示のように、本実施の形態による描画装置は、描画処理部1、クリッピング処理部2、描画実行部3を備える。描画処理部1は、描画オブジェクトコンテナ4を用いて2次元描画座標系の描画データ5を処理し、その処理結果を描画実行部3に渡す処理部であり、描画処理系のAPIを用いて構成されている。また、描画オブジェクトコンテナ4は、同じ描画オブジェクトのコピーを統一して操作可能なコンテナであり、複数個が設けられている。クリッピング処理部2は、描画処理部1が描画データ処理を行う際、描画オブジェクトコンテナ4内のコピーをクリッピング処理するための処理部である。描画実行部3は、描画処理部1で処理された描画データに対して、クリッピング処理部2でクリッピング処理された複数の描画オブジェクトコンテナ4を並べて配置して描画する処理部である。
Hereinafter, in order to explain the present invention in more detail, modes for carrying out the present invention will be described with reference to the accompanying drawings.
Embodiment 1 FIG.
FIG. 1 is a configuration diagram of a drawing apparatus according to the present embodiment.
As illustrated, the drawing apparatus according to the present embodiment includes a drawing processing unit 1, a clipping processing unit 2, and a drawing execution unit 3. The drawing processing unit 1 is a processing unit that processes the drawing data 5 of the two-dimensional drawing coordinate system using the drawing object container 4 and passes the processing result to the drawing execution unit 3, and is configured using a drawing processing system API. Has been. The drawing object container 4 is a container that can be operated by unifying copies of the same drawing object, and a plurality of drawing object containers 4 are provided. The clipping processing unit 2 is a processing unit for clipping a copy in the drawing object container 4 when the drawing processing unit 1 performs drawing data processing. The drawing execution unit 3 is a processing unit that arranges and draws a plurality of drawing object containers 4 subjected to clipping processing by the clipping processing unit 2 with respect to the drawing data processed by the drawing processing unit 1.
 図2に、実施の形態1の描画装置を実現するためのハードウェア構成図を示す。
 この構成例では、計算機10と入力装置20と出力装置30とを有している。計算機10は、例えばパーソナルコンピュータからなり、処理装置11と記憶装置12を備える。処理装置11は、CPU(中央処理装置)を主体として構成され、記憶装置12は、ROMやRAMあるいはハードディスク装置からなる。入力装置20は、キーボードやマウスといったユーザが入力操作を行うためのデバイスであり、出力装置30は、ディスプレイやプリンタといった計算機10の処理結果を出力するデバイスである。また、図1の描画データ5は記憶装置12に格納され、描画処理部1、クリッピング処理部2及び描画実行部3は、それぞれの機能に対応したソフトウェアが記憶装置12に格納され、これらのソフトウェアを処理装置11が実行することにより実現されている。
FIG. 2 is a hardware configuration diagram for realizing the drawing apparatus according to the first embodiment.
This configuration example includes a computer 10, an input device 20, and an output device 30. The computer 10 is composed of, for example, a personal computer and includes a processing device 11 and a storage device 12. The processing device 11 is composed mainly of a CPU (central processing unit), and the storage device 12 is composed of a ROM, a RAM, or a hard disk device. The input device 20 is a device such as a keyboard or a mouse for a user to perform an input operation, and the output device 30 is a device such as a display or a printer that outputs a processing result of the computer 10. 1 is stored in the storage device 12, and the drawing processing unit 1, the clipping processing unit 2, and the drawing execution unit 3 store software corresponding to the respective functions in the storage device 12. Is realized by the processing device 11 executing.
 本実施の形態の描画装置は、図9のような状況において、異なるサブツリーの中間をすり抜けるような動きをする描画オブジェクトを定義するための特殊コンテナを用意したものである。この特殊コンテナが描画オブジェクトコンテナ4であり、この描画オブジェクトコンテナ4は各サブツリーの任意の箇所にそれぞれ置くことができ、各描画オブジェクトコンテナ4が協調して動作することで、図9に示す描画オブジェクト903のような動きのアニメーションを実現することができる。以下、このような動作について詳細に説明する。 The drawing apparatus according to the present embodiment provides a special container for defining a drawing object that moves in the middle of different subtrees in the situation shown in FIG. This special container is the drawing object container 4, and this drawing object container 4 can be placed in any part of each sub-tree, and each drawing object container 4 operates in cooperation, so that the drawing object shown in FIG. A motion animation such as 903 can be realized. Hereinafter, such an operation will be described in detail.
 図3は、実施の形態1の描画装置の動作を示す説明図である。また、図4は、描画オブジェクトコンテナ4の処理の流れを示す説明図である。
 本実施の形態の描画装置では、描画オブジェクトコンテナ4は、ツリー構造301のように、各サブツリーの任意の位置に配置することができるとする。図3においては、点線の角丸四角形が描画オブジェクトコンテナ4を表しており、図3中では描画オブジェクト302である。その状態で、描画オブジェクトコンテナ4(図4中では描画オブジェクト411)には同じ部品が対応しているが、実態としてはそれぞれが同じ部品のコピー(図4中の描画オブジェクト412)を持っており、そのコピーは全て統一して操作することができる(図4中の状態401)。ここで、統一して操作できるとは、例えば、アニメーション時の位置制御やサイズ制御などが同時になされることを指しており、描画オブジェクトに関する操作であれば他の操作でもよい。次に表示される際には、描画オブジェクトコンテナ4によって内部の部品は各描画オブジェクトコンテナ4の境界によってクリッピング表示される(図4中の状態402)。最後に、描画オブジェクトコンテナ4同士を並べて表示することで、あたかも単一の部品がそこに存在しているかのように見せることができる(図4中の状態403)。ここでは、分かりやすさのために、描画オブジェクトコンテナ4を隙間を空けずに水平方向に並べて表示しているが、描画オブジェクトコンテナ4間には任意の大きさの隙間があってもよく、また、その配置も整列の必要はなく任意の配置でよい。このように処理される描画オブジェクトコンテナ4をツリー構造301のように配置することで、描画結果304のように、異なるサブツリーに配置される描画オブジェクト間をすり抜けるような描画オブジェクト303を配置することができる。
FIG. 3 is an explanatory diagram illustrating the operation of the drawing apparatus according to the first embodiment. FIG. 4 is an explanatory diagram showing the flow of processing of the drawing object container 4.
In the drawing apparatus according to the present embodiment, it is assumed that the drawing object container 4 can be arranged at an arbitrary position in each subtree as in the tree structure 301. In FIG. 3, the dotted rounded rectangle represents the drawing object container 4, which is the drawing object 302 in FIG. 3. In this state, the same parts correspond to the drawing object container 4 (the drawing object 411 in FIG. 4), but each actually has a copy of the same part (the drawing object 412 in FIG. 4). All the copies can be operated in a unified manner (state 401 in FIG. 4). Here, being able to operate uniformly refers to, for example, that position control and size control during animation are performed at the same time, and may be other operations as long as they are operations related to the drawing object. When displayed next, the internal components are clipped and displayed by the drawing object container 4 at the boundary of each drawing object container 4 (state 402 in FIG. 4). Finally, by displaying the drawing object containers 4 side by side, it is possible to make it appear as if a single part exists (state 403 in FIG. 4). Here, for the sake of simplicity, the drawing object containers 4 are displayed in a horizontal direction without leaving a gap, but there may be a gap of any size between the drawing object containers 4. The arrangement is not required to be aligned and may be any arrangement. By arranging the drawing object container 4 to be processed in this manner as in the tree structure 301, it is possible to arrange a drawing object 303 that passes between drawing objects arranged in different subtrees, such as a drawing result 304. it can.
 図5は、実施の形態1の描画装置の動作を示すフローチャートである。
 描画処理部1は、描画データ5に対して、描画オブジェクトコンテナ4を図3のツリー構造301のように配置し、データ処理を行う(ステップST1)。また、クリッピング処理部2は、図4の状態402に示すようなクリッピング処理を行う(ステップST2)。これにより、描画実行部3は、図4の状態403に示すように描画オブジェクトコンテナ4を連結して表示し(ステップST3)、図3の描画結果304を得る。
FIG. 5 is a flowchart illustrating the operation of the drawing apparatus according to the first embodiment.
The drawing processing unit 1 arranges the drawing object container 4 for the drawing data 5 as shown in the tree structure 301 of FIG. 3 and performs data processing (step ST1). Further, the clipping processor 2 performs a clipping process as shown in the state 402 of FIG. 4 (step ST2). As a result, the drawing execution unit 3 connects and displays the drawing object containers 4 as shown in a state 403 in FIG. 4 (step ST3), and obtains a drawing result 304 in FIG.
 なお、上記説明では、一つの描画オブジェクトコンテナ4に含まれるコピーは一種類であったが、コピーは複数種類のものが含まれてもよい。
 また、描画オブジェクトコンテナ4に含まれるコピーが描画オブジェクトコンテナ4の領域外にあるとき、描画実行部3は描画オブジェクトコンテナ4の描画処理そのものを省略することによって描画処理の高速化を行ってもよい。
In the above description, one type of copy is included in one drawing object container 4, but a plurality of types of copies may be included.
When the copy included in the drawing object container 4 is outside the area of the drawing object container 4, the drawing execution unit 3 may speed up the drawing process by omitting the drawing process itself of the drawing object container 4. .
 このように、実施の形態1の描画装置では、描画オブジェクトコンテナ4という特殊コンテナを用いることによって、ディスプレイリストのツリー構造の各サブツリー間の各描画オブジェクトをすり抜けるような描画を簡単に実現することができる。さらに、状態402のクリッピング処理は一般的に高速に処理される描画処理であることと、描画実行部3による描画処理省略による高速化処理も可能であることを考慮すると、本発明を用いないときと比べて処理負荷もそれほどは大きくならない。 As described above, in the drawing apparatus of the first embodiment, by using the special container called the drawing object container 4, it is possible to easily realize drawing that passes through each drawing object between the sub-trees of the tree structure of the display list. it can. Further, considering that the clipping process in the state 402 is generally a drawing process that is processed at high speed and that the drawing process by the drawing execution unit 3 can be accelerated, the present invention is not used. Compared with, the processing load is not so large.
 以上説明したように、実施の形態1の描画装置によれば、それぞれが同じ描画オブジェクトを統一して操作可能な複数のコンテナを用いて2次元描画座標系の描画データを処理する描画処理部と、描画処理部が描画データの処理を行う際に、複数のコンテナの各コンテナの領域に占める同じ描画オブジェクトをクリッピング処理するクリッピング処理部と、描画処理部で処理された描画データに対して、クリッピング処理された複数のコンテナを配置して描画を行う描画実行部とを備えたので、複数のコンテナが占める領域からのみ観察可能な単一の部品がそこに存在するように描画することができ、自由な表現が可能となる。 As described above, according to the drawing apparatus of the first embodiment, the drawing processing unit that processes the drawing data of the two-dimensional drawing coordinate system using the plurality of containers that can be operated by unifying the same drawing object. When the drawing processing unit processes drawing data, the clipping processing unit for clipping the same drawing object occupying the area of each container of multiple containers, and clipping for the drawing data processed by the drawing processing unit Since it has a drawing execution unit that places a plurality of processed containers and draws, it can draw so that there is a single part that can be observed only from the area occupied by the plurality of containers, Free expression is possible.
 また、実施の形態1の描画装置によれば、描画処理部は、ツリー構造で描画オブジェクトを管理し、複数のコンテナの各コンテナをツリー構造のサブツリーの任意の位置に配置するようにしたので、例えば、サブツリーをまたがって他の描画オブジェクトの間をすり抜けるような描画オブジェクトを描画する、といった、ツリー構造の制約に縛られない自由な表現を行うことができる。 Further, according to the drawing apparatus of the first embodiment, the drawing processing unit manages drawing objects in a tree structure and arranges each container of a plurality of containers at an arbitrary position in a sub-tree of the tree structure. For example, it is possible to perform a free expression that is not bound by the constraints of the tree structure, such as drawing a drawing object that passes between other drawing objects across subtrees.
 また、実施の形態1の描画装置によれば、複数のコンテナの各コンテナは、同じ描画オブジェクトを複数統一して操作するようにしたので、さらに自由な表現を可能とすることができる。 Further, according to the drawing apparatus of the first embodiment, each container of a plurality of containers is operated by unifying a plurality of the same drawing objects, so that more free expression can be made possible.
 また、実施の形態1の描画装置によれば、描画実行部は、同じ描画オブジェクトがコンテナの領域外に位置するとき、コンテナの描画処理を省略するようにしたので、描画処理を高速化することができる。 Further, according to the drawing apparatus of the first embodiment, the drawing execution unit is configured to omit the drawing process of the container when the same drawing object is located outside the container area, so that the drawing process can be speeded up. Can do.
実施の形態2.
 実施の形態1では、描画装置として一般的な使用例について述べたが、実施の形態2では、Graphical User Interface(GUI)上のリスト部品に本発明の描画装置を適用した例を説明する。なお、実施の形態2における描画装置の構成は図1に示した実施の形態1の構成と同様であるため、ここでの説明は省略する。
Embodiment 2. FIG.
In the first embodiment, an example of a general use as a drawing apparatus has been described. In the second embodiment, an example in which the drawing apparatus of the present invention is applied to a list part on a Graphic User Interface (GUI) will be described. The configuration of the drawing apparatus in the second embodiment is the same as that of the first embodiment shown in FIG.
 図6は、GUI上のリスト部品を示しており、リスト601の各アイテムは文字列(例えば部品602)と背景模様(例えば部品603)を含んでいる。また、このリスト601はリスト中の選択されているアイテムをグレーのカーソル604によって示す機能を持っており、カーソルキー操作などによってカーソル604は滑らかにアニメーションする(状態611→612→613のようなアニメーション)。ここで、デザインの都合上、カーソル604は各アイテムの文字列と背景模様の間をすり抜けるように移動することになっている。すなわち、カーソル604は各サブツリーの複数の描画オブジェクト間をすり抜ける描画オブジェクトとなっている。 FIG. 6 shows a list part on the GUI, and each item of the list 601 includes a character string (for example, part 602) and a background pattern (for example, part 603). Further, this list 601 has a function of indicating an item selected in the list by a gray cursor 604, and the cursor 604 is smoothly animated by a cursor key operation or the like (animation like state 611 → 612 → 613). ). Here, for the sake of design, the cursor 604 is moved so as to pass between the character string of each item and the background pattern. That is, the cursor 604 is a drawing object that passes between a plurality of drawing objects in each subtree.
 また、3番目のアイテム605(CCCC表示のアイテム)は薄く表示されているが、これはアイテムが無効状態であることを示しており、この場合にはカーソル604は文字列よりさらに手前を通過するというデザインである(状態614→615→616のようなアニメーション)。すなわち、アイテム605と他のアイテムではサブツリー内でカーソル604がすり抜ける位置が異なるということである。 Also, the third item 605 (CCCC display item) is displayed lightly, which indicates that the item is in an invalid state. In this case, the cursor 604 passes further forward than the character string. (Animation like state 614 → 615 → 616). That is, the position where the cursor 604 slips through in the sub-tree is different between the item 605 and other items.
 このようなデザインのリストを実現しようとしたとき、上述したように従来技術では実現することは非常に困難である。そこで、本発明の描画装置の特殊コンテナである描画オブジェクトコンテナ4を各サブツリーに配置し、通常は文字列と背景模様の間に、無効状態になったときには文字列より手前に特殊コンテナの位置を設定することで、所望の見た目を実現できる。 When trying to realize such a list of designs, as described above, it is very difficult to realize with a conventional technique. Therefore, the drawing object container 4 which is a special container of the drawing apparatus of the present invention is arranged in each sub-tree, and the position of the special container is usually placed between the character string and the background pattern and in front of the character string when it becomes invalid. By setting, a desired appearance can be realized.
 図7には、このときのディスプレイリストのツリー構造701を示している。図3と同様、描画オブジェクトコンテナ4は点線の角丸四角形で示している。図7に示す通り、サブツリー702、703、705、706、707では、カーソル604(図6参照)は文字列と背景模様の間をすり抜けなければならないため、描画オブジェクトコンテナ4はツリー構造701上の中間位置に配置されている。一方で、サブツリー704では、アイテム605は無効状態であり、カーソル604は文字列よりも手前をすり抜ける必要があるため、ツリー構造701上では描画オブジェクトコンテナ4は右位置(手前位置)に配置されている。 FIG. 7 shows a tree structure 701 of the display list at this time. As in FIG. 3, the drawing object container 4 is indicated by a dotted rounded rectangle. As shown in FIG. 7, in the subtrees 702, 703, 705, 706, and 707, the cursor 604 (see FIG. 6) must pass between the character string and the background pattern, so the drawing object container 4 is on the tree structure 701. It is arranged at an intermediate position. On the other hand, in the sub-tree 704, the item 605 is in an invalid state, and the cursor 604 needs to pass through the character string, so that the drawing object container 4 is arranged at the right position (front position) on the tree structure 701. Yes.
 また、なんらかのきっかけによって無効状態が切り替わった際には、描画処理部1は、描画オブジェクトコンテナ4のツリー構造701上の位置を変えればよいことになる。 Further, when the invalid state is switched due to some trigger, the drawing processing unit 1 may change the position of the drawing object container 4 on the tree structure 701.
 以上のように、サブツリーごとに、描画オブジェクトのすり抜ける位置が異なるデザインであっても、描画オブジェクトコンテナ4を置く位置を適切に設定することで簡単に所望の描画を実現することができる。さらに、描画オブジェクトコンテナ4のサブツリー内での位置を変更することによって、動的にすり抜ける描画オブジェクトのすり抜け方を変化させることも簡単に実現することができる。 As described above, even in a design in which the drawing object passes through different positions for each sub-tree, desired drawing can be easily realized by appropriately setting the position where the drawing object container 4 is placed. Further, by changing the position of the drawing object container 4 in the sub-tree, it is possible to easily change how the drawing object slips through dynamically.
 以上説明したように、実施の形態2の描画装置によれば、描画処理部は、各コンテナのサブツリー内での位置を動的に変更するようにしたので、表示内容を動的に変更することができる。 As described above, according to the drawing apparatus of the second embodiment, the drawing processing unit dynamically changes the position of each container in the subtree, and therefore dynamically changes the display contents. Can do.
 なお、本願発明はその発明の範囲内において、各実施の形態の自由な組み合わせ、あるいは各実施の形態の任意の構成要素の変形、もしくは各実施の形態において任意の構成要素の省略が可能である。 In the present invention, within the scope of the invention, any combination of the embodiments, or any modification of any component in each embodiment, or omission of any component in each embodiment is possible. .
 以上のように、この発明に係る描画装置は、ディスプレイリストをツリー構造で管理し、描画オブジェクトの重なり順を管理する構成に関するものであり、2次元描画処理系で同じサブツリーに属するオブジェクト間の重なり順制御を行うのに適している。 As described above, the drawing apparatus according to the present invention relates to a configuration for managing a display list in a tree structure and managing an overlapping order of drawing objects, and overlapping between objects belonging to the same subtree in a two-dimensional drawing processing system. Suitable for forward control.
 1 描画処理部、2 クリッピング処理部、3 描画実行部、4 描画オブジェクトコンテナ、5 描画データ。 1 Drawing processing unit, 2 Clipping processing unit, 3 Drawing execution unit, 4 Drawing object container, 5 Drawing data.

Claims (5)

  1.  それぞれが同じ描画オブジェクトを統一して操作可能な複数のコンテナを用いて2次元描画座標系の描画データを処理する描画処理部と、
     前記描画処理部が前記描画データの処理を行う際に、前記複数のコンテナの各コンテナの領域に占める前記同じ描画オブジェクトをクリッピング処理するクリッピング処理部と、
     前記描画処理部で処理された描画データに対して、前記クリッピング処理された複数のコンテナを配置して描画を行う描画実行部とを備えた描画装置。
    A drawing processing unit for processing drawing data of a two-dimensional drawing coordinate system using a plurality of containers that can be operated by unifying the same drawing object;
    A clipping processing unit for performing clipping processing on the same drawing object occupying an area of each container of the plurality of containers when the drawing processing unit processes the drawing data;
    A drawing apparatus comprising: a drawing execution unit that performs drawing by arranging a plurality of containers subjected to the clipping processing on the drawing data processed by the drawing processing unit.
  2.  前記描画処理部は、ツリー構造で描画オブジェクトを管理し、前記複数のコンテナの各コンテナを前記ツリー構造のサブツリーの任意の位置に配置することを特徴とする請求項1記載の描画装置。 The drawing apparatus according to claim 1, wherein the drawing processing unit manages drawing objects in a tree structure, and arranges each container of the plurality of containers at an arbitrary position in a sub-tree of the tree structure.
  3.  前記複数のコンテナの各コンテナは、前記同じ描画オブジェクトを複数統一して操作することを特徴とする請求項1記載の描画装置。 The drawing apparatus according to claim 1, wherein each container of the plurality of containers is operated by unifying a plurality of the same drawing objects.
  4.  前記描画実行部は、前記同じ描画オブジェクトがコンテナの領域外に位置するとき、当該コンテナの描画処理を省略することを特徴とする請求項1記載の描画装置。 The drawing apparatus according to claim 1, wherein when the same drawing object is located outside a container area, the drawing execution unit omits drawing processing of the container.
  5.  前記描画処理部は、前記各コンテナの前記サブツリー内での位置を動的に変更することを特徴とする請求項2記載の描画装置。 The drawing apparatus according to claim 2, wherein the drawing processing unit dynamically changes the position of each container in the subtree.
PCT/JP2015/069917 2015-07-10 2015-07-10 Drawing device WO2017009901A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2016524554A JP5972509B1 (en) 2015-07-10 2015-07-10 Drawing device
PCT/JP2015/069917 WO2017009901A1 (en) 2015-07-10 2015-07-10 Drawing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/069917 WO2017009901A1 (en) 2015-07-10 2015-07-10 Drawing device

Publications (1)

Publication Number Publication Date
WO2017009901A1 true WO2017009901A1 (en) 2017-01-19

Family

ID=56701713

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/069917 WO2017009901A1 (en) 2015-07-10 2015-07-10 Drawing device

Country Status (2)

Country Link
JP (1) JP5972509B1 (en)
WO (1) WO2017009901A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0798771A (en) * 1993-09-29 1995-04-11 Fujitsu Ltd Animation generating device
JP2006243807A (en) * 2005-02-28 2006-09-14 Canon Inc Image processor, image processing method and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0798771A (en) * 1993-09-29 1995-04-11 Fujitsu Ltd Animation generating device
JP2006243807A (en) * 2005-02-28 2006-09-14 Canon Inc Image processor, image processing method and program

Also Published As

Publication number Publication date
JP5972509B1 (en) 2016-08-17
JPWO2017009901A1 (en) 2017-07-13

Similar Documents

Publication Publication Date Title
US10157593B2 (en) Cross-platform rendering engine
US10338672B2 (en) System and method for manipulating objects in a graphical user interface
US9196075B2 (en) Animation of computer-generated display components of user interfaces and content items
US9354707B2 (en) Combination color and pen palette for electronic drawings
US8127239B2 (en) Object transitions
US20110258534A1 (en) Declarative definition of complex user interface state changes
US10553001B2 (en) Master page overlay
US10372290B2 (en) Comparing 3D modeled objects
US10120659B2 (en) Adaptive user interfaces
GB2530078A (en) Launching applications through an application selection screen
JP5972509B1 (en) Drawing device
KR101532846B1 (en) Reshaping interfaces using content-preserving warps
JP5866085B1 (en) User interface device and screen display method for user interface device
JP5417185B2 (en) Object processing apparatus and object selection method
EP3479220B1 (en) Customizable compact overlay window
US20140375572A1 (en) Parametric motion curves and manipulable content
US20150160810A1 (en) Common user interface view grouping and sharing framework in online applications
Napier et al. IOS 7 Programming Pushing the Limits: Develop Advance Applications for Apple IPhone, IPad, and IPod Touch
KR102245042B1 (en) Terminal, method for contrlling thereof and recording medium on which a program for implemeting the method
US10754495B1 (en) 3-D screen menus
Brendel et al. Exploring the immediate mode GUI concept for graphical user interfaces in mixed reality applications
KR102553661B1 (en) Terminal, method for contrlling thereof and recording medium on which a program for implemeting the method
CN110785740A (en) Rule-based user interface generation
JP6478260B2 (en) Electronic device, control method and program for electronic device
US20120169736A1 (en) Methods, apparatuses and computer program products for providing a true resolution of graphics displayed on devices

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016524554

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15898217

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15898217

Country of ref document: EP

Kind code of ref document: A1