JP6950391B2 - Control program and image data creation module - Google Patents
Control program and image data creation module Download PDFInfo
- Publication number
- JP6950391B2 JP6950391B2 JP2017178129A JP2017178129A JP6950391B2 JP 6950391 B2 JP6950391 B2 JP 6950391B2 JP 2017178129 A JP2017178129 A JP 2017178129A JP 2017178129 A JP2017178129 A JP 2017178129A JP 6950391 B2 JP6950391 B2 JP 6950391B2
- Authority
- JP
- Japan
- Prior art keywords
- order
- list
- image data
- instruction
- information
- 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.)
- Active
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Processing Or Creating Images (AREA)
- Document Processing Apparatus (AREA)
- Editing Of Facsimile Originals (AREA)
Description
本発明は、オブジェクトを用いた画像を作成する制御プログラム等に関する。 The present invention relates to a control program or the like for creating an image using an object.
下記特許文献には、ラベルプリンタに接続された操作端末によって、ラベルを作成する技術について記載されている。操作端末は、操作者による操作入力に応じて印字オブジェクトを含むテンプレートを作成する。 The following patent documents describe a technique for creating a label by an operation terminal connected to a label printer. The operation terminal creates a template including a print object in response to an operation input by the operator.
複数のオブジェクトを重ねて表示する場合、その複数のオブジェクトの前後関係を示すZオーダを考慮して表示する必要がある。しかしながら、上記した特許文献1では、Zオーダを考慮したオブジェクトの表示処理については考慮していなかった。そこで、Zオーダを考慮した表示処理が実行できることを課題とする。
When displaying a plurality of objects in an overlapping manner, it is necessary to consider the Z order indicating the context of the plurality of objects when displaying them. However, in the above-mentioned
上記課題を解決するために、実施例に開示する制御プログラムは、ユーザインタフェースと、ディスプレイと、メモリとを備え、オペレーティングシステムがインストールされた情報処理装置のコンピュータが実行可能な制御プログラムであって、前記制御プログラムは、編集画面制御モジュールおよび画像データ作成モジュールを含み、前記編集画面制御モジュールは、前記コンピュータを、オブジェクトを編集するための編集画面を前記ディスプレイに表示させる第1表示手段と、前記ユーザインタフェースを介して受付けた編集指示に対応する表示画像データの作成を指示する第1指示情報を前記画像データ作成モジュールに提供する第1指示手段として機能させ、前記表示画像データは、前記編集指示に従って編集されたオブジェクトを含む画像を示す画像データであり、前記コンピュータを、前記第1指示手段が前記第1指示情報を提供した後に、前記画像データ作成モジュールが提供した前記表示画像データを取得する第1取得手段と、前記第1取得手段が取得した前記表示画像データに基づく表示画像を含む前記編集画面を前記ディスプレイに表示させる第2表示手段として機能させ、前記画像データ作成モジュールは、前記コンピュータを、前記第1指示情報を前記編集画面制御モジュールから取得する第1指示取得手段と、前記第1指示取得手段が前記第1指示情報を取得した場合に、前記第1指示情報に従って前記表示画像データを作成する第1作成手段と、前記第1作成手段が作成した前記表示画像データを、前記編集画面制御モジュールに提供する第1提供手段として機能させ、前記第1指示手段は、前記ユーザインタフェースを介して受付けた前記編集指示が、新たな前記オブジェクトを前記編集画面に追加することを示す編集指示であった場合に、追加指示情報を前記画像データ作成モジュールに提供し、前記追加指示情報は、新たな前記オブジェクトを追加した表示画像を示す表示画像データの作成を指示する前記第1指示情報であり、前記画像データ作成モジュールは、前記コンピュータを、前記第1指示取得手段が取得した前記第1指示情報が、前記追加指示情報である場合に、新たな前記オブジェクトのZオーダが最前面であることを示すよう、Zオーダリストを更新する第1更新手段として機能させ、前記Zオーダリストは、前記メモリに記憶されているリストであって、前記第1提供手段が提供した最新の前記表示画像データが示す前記表示画像に含まれる前記オブジェクトのZオーダを示すリストであり、前記Zオーダリストには、前記表示画像に含まれる複数の前記オブジェクトのそれぞれを識別するオブジェクト識別情報が複数含まれており、前記Zオーダリストは、前記Zオーダリストに含まれる複数の前記オブジェクト識別情報を前記Zオーダでリストすることで、前記Zオーダを示しており、前記第1指示手段は、前記ユーザインタフェースを介して受付けた前記編集指示が、複数の選択オブジェクトを対象とした、前記Zオーダの変更を示すZオーダ変更指示情報を含む編集指示であった場合に、Zオーダ変更指示を前記画像データ作成モジュールに提供し、前記複数の選択オブジェクトは、前記ディスプレイに表示された複数の前記オブジェクトのうち、前記編集指示によって選択された複数のオブジェクトであり、前記Zオーダ変更指示情報は、前記複数の選択オブジェクトのZオーダを変更した表示画像を示す表示画像データの作成を指示する前記第1指示情報であり、かつ、選択オブジェクトリストを含んでおり、前記選択オブジェクトリストは、前記複数の選択オブジェクトをそれぞれ識別する複数の前記オブジェクト識別情報がリストされており、前記画像データ作成モジュールは、前記コンピュータを、前記第1指示取得手段が取得した前記第1指示情報が、前記Zオーダ変更指示情報である場合に、前記選択オブジェクトリストに含まれる複数の前記オブジェクト識別情報を、前記Zオーダリストが示すZオーダに並び替えた第2選択オブジェクトリストを作成する並び替え手段と、前記並び替え手段により作成された前記第2選択オブジェクトリストが含まれるよう、かつ、前記Zオーダリストに含まれた前記第2選択オブジェクトリストに対応するオブジェクトのZオーダが前記Zオーダ変更指示情報の指示に従ったZオーダになるよう、前記Zオーダリストを更新する第2更新手段として機能させ、前記第2更新手段によりZオーダリストが更新された場合に、前記第1作成手段は、更新された前記Zオーダリストが示すZオーダで配置された前記オブジェクトを含む前記表示画像を示す前記表示画像データを作成することを特徴とする。 In order to solve the above problems, the control program disclosed in the embodiment is a control program including a user interface, a display, and a memory, which can be executed by a computer of an information processing apparatus in which an operating system is installed. The control program includes an edit screen control module and an image data creation module, and the edit screen control module includes a first display means for displaying an edit screen for editing an object on the display, and the user. The first instruction information for instructing the creation of the display image data corresponding to the edit instruction received via the interface is made to function as the first instruction means for providing the image data creation module, and the display image data follows the edit instruction. Image data indicating an image including an edited object, and the computer acquires the display image data provided by the image data creation module after the first instruction means provides the first instruction information. The 1 acquisition means and the second display means for displaying the edit screen including the display image based on the display image data acquired by the first acquisition means on the display are made to function, and the image data creation module causes the computer. When the first instruction acquisition means for acquiring the first instruction information from the edit screen control module and the first instruction acquisition means acquire the first instruction information, the display image data according to the first instruction information. The first creating means for creating the data and the display image data created by the first creating means are made to function as the first providing means for providing the editing screen control module, and the first instructing means provides the user interface. When the editing instruction received via the above is an editing instruction indicating that a new object is to be added to the editing screen, additional instruction information is provided to the image data creation module, and the additional instruction information is used. This is the first instruction information for instructing the creation of display image data indicating the display image to which the new object is added, and the image data creation module obtains the computer and the first instruction acquisition means. When the instruction information is the additional instruction information, the Z order list is made to function as a first update means for updating the Z order list so as to indicate that the Z order of the new object is in the foreground. A list stored in the memory, the first It is a list showing the Z order of the object included in the display image indicated by the latest display image data provided by the providing means, and the Z order list includes each of a plurality of the objects included in the display image. A plurality of object identification information to be identified is included, and the Z order list indicates the Z order by listing a plurality of the object identification information included in the Z order list in the Z order. The first instruction means is when the edit instruction received via the user interface is an edit instruction including Z order change instruction information indicating the change of the Z order for a plurality of selected objects. A Z order change instruction is provided to the image data creation module, and the plurality of selected objects are a plurality of objects selected by the edit instruction among the plurality of the objects displayed on the display, and the Z order is described. The change instruction information is the first instruction information for instructing the creation of display image data indicating the display image in which the Z order of the plurality of selected objects is changed, and also includes the selected object list, and the selected object list. Is a list of a plurality of the object identification information that identifies each of the plurality of selected objects, and the image data creation module uses the first instruction information acquired by the first instruction acquisition means to obtain the computer. A sorting means for creating a second selection object list in which a plurality of the object identification information included in the selection object list is rearranged in the Z order indicated by the Z order list in the case of the Z order change instruction information. , The Z order of the object corresponding to the second selection object list included in the Z order list so as to include the second selection object list created by the sorting means is the Z order change instruction information. The Z order list is made to function as a second update means for updating the Z order list so as to be in the Z order according to the instruction of the above, and when the Z order list is updated by the second update means, the first creation means is updated. It is characterized in that the display image data showing the display image including the object arranged in the Z order indicated by the Z order list is created.
実施例に開示する制御プログラムの並び替え手段は、選択オブジェクトリストに含まれる複数のオブジェクト識別情報を、Zオーダリストが示すZオーダに並び替えた第2選択オブジェクトリストを作成する。第2更新手段は、Zオーダリストの第2選択オブジェクトリストに対応するオブジェクトのZオーダがZオーダ変更指示情報の指示に従ったZオーダになるよう、Zオーダリストを更新する。これにより、選択オブジェクトリストのオブジェクト識別情報が、Zオーダリストが示すZオーダに並んでいない場合、第2選択オブジェクトリストに並び替えた後にZオーダリストを更新することで、ZオーダリストのZオーダを適切に変更できる。従って、Zオーダを考慮した適切な編集処理が実行できる。 The sorting means of the control program disclosed in the embodiment creates a second selection object list in which a plurality of object identification information included in the selected object list is rearranged in the Z order indicated by the Z order list. The second update means updates the Z order list so that the Z order of the object corresponding to the second selection object list of the Z order list becomes the Z order according to the instruction of the Z order change instruction information. As a result, when the object identification information of the selected object list is not arranged in the Z order indicated by the Z order list, the Z order list is updated after sorting to the second selected object list, thereby causing the Z order of the Z order list. Can be changed appropriately. Therefore, an appropriate editing process considering the Z order can be executed.
<プリンタシステムの構成>
以下、適宜図面を参照して本発明の実施形態について説明する。なお、以下に説明する実施形態は、本発明の一例にすぎず、本発明の要旨を変更しない範囲で、本発明の実施形態を適宜変更できることは言うまでもない。例えば、後述する各処理の実行順序は、本発明の要旨を変更しない範囲で、適宜変更できる。
<Printer system configuration>
Hereinafter, embodiments of the present invention will be described with reference to the drawings as appropriate. It goes without saying that the embodiments described below are merely examples of the present invention, and the embodiments of the present invention can be appropriately changed without changing the gist of the present invention. For example, the execution order of each process described later can be appropriately changed without changing the gist of the present invention.
図1は、本実施形態に係るプリンタシステム1のブロック図である。図1に示すプリンタシステム1は、PC10、プリンタ50、無線プリンタ51を備える。PC10は、CPU(コンピュータの一例)12、メモリ14、ディスプレイI/F(インタフェースの略)15、LCD(ディスプレイの一例)16、入力I/F(ユーザインタフェースの一例)18、ネットワークI/F20を主に備えている。これらの構成要素は、バス22を介して互いに通信可能とされている。
FIG. 1 is a block diagram of the
PC10及びプリンタ50は、ネットワークI/F20及びネットワーク56を通じて有線により通信可能となっている。有線としては、例えば、LANケーブルを採用することができる。なお、有線は、LANケーブルに限らず、USBケーブル等でもよい。また、PC10及び無線プリンタ51は、ネットワークI/F20及びネットワーク56を通じて無線通信が可能となっている。無線通信の方式としては、例えば、Wi−Fi(登録商標)やBluetooth(登録商標)の規格を採用できる。また、ネットワーク56は、例えば、LAN(有線LAN、無線LANを含む)、あるいはWAN(インターネットを含む)でも良い。
The PC 10 and the
プリンタ50,51は、例えば、ラベルプリンタであり、PC10との間で各種の情報や指示信号を送受信し、PC10による制御に基づいて、所望のテキストや画像等を印字したラベルを作成する。プリンタ50,51は、例えば、ラミネートフィルム等の長尺状のテープにテキスト等を印刷してラベルを作成する。
The
CPU12は、メモリ14内のアプリケーションプログラム26(制御プログラムの一例)、OS32に従って処理を実行する。アプリケーションプログラム26は、画像を編集し、編集した画像をプリンタ50,51によってラベルを作成するためのプログラムである。アプリケーションプログラム26は、処理モジュールとして、編集画面制御モジュール27、画像データ作成モジュール28、デバイス制御モジュール29を備えている。尚、アプリケーションプログラム26を、上記したように複数のプログラムの集合体で構成せず、単一のプログラムで構成しても良い。また、アプリケーションプログラム26は、編集した画像を、ラベルに印刷させるプログラムに限定されない。例えば、アプリケーションプログラム26は、編集した画像を、A4紙やA3紙に印刷するよう、ページプリンタに指示するプログラムでも良い。また、アプリケーションプログラム26は、編集した画像を、金属、ガラス、あるいは木材の表面に再現するよう、加工機器に指示するプログラムでも良い。レーザーマーカは、加工機器の一例である。また、アプリケーションプログラム26は、編集した画像を、立体で再現するよう、3Dプリンタや工作機器に指示するプログラムでも良い。
The
OS32は、アプリケーションプログラム26に利用される基本的な機能を提供するプログラムである。OS32は、例えば、Windows(登録商標)、MacOS(登録商標)、Linux(登録商標)、Android(登録商標)、iOS(登録商標)等のオペレーティングシステムである。なお、以下の説明では、アプリケーションプログラム26等を実行するCPU12のことを、単にプログラム名でも記載する場合がある。例えば、「アプリケーションプログラム26が」という記載は、「アプリケーションプログラム26を実行するCPU12が」ということを意味する場合がある。
The
図2は、各プログラムやデバイスの関係を概念的に示している。編集画面制御モジュール27は、例えば、ラベルの作成やラベルの編集を行うための編集画面をLCD16に表示するプログラムである。編集画面制御モジュール27は、例えば、OS32が提供するAPIによりOS32へ表示指示を実行し、OS32の表示プログラムを利用して表示処理を実行する。OS32は、編集画面制御モジュール27からの指示に応じてディスプレイI/F15を制御し、LCD16への表示を行う。編集画面制御モジュール27は、編集対象のラベルを示すオブジェクトを編集画面に表示するための画像を示す画像データの作成を画像データ作成モジュール28に指示し、画像データ作成モジュール28が作成した画像データを画像データ作成モジュール28から受け取り、受け取った画像データに基づく画像をLCD16へ表示させる。ここでいうオブジェクトとは、ラベルを構成するテキスト、図形(直線や四角形など)、画像などである。編集画面制御モジュール27は、オブジェクトを編集する入力操作を入力I/F18から受付けたとき、編集されたオブジェクトを編集画面に表示するための画像を示す画像データの作成を画像データ作成モジュール28に指示する。オブジェクトの追加、削除、サイズ変更、移動、テキストの変更、色の変更などが、オブジェクトの編集の一例である。編集画面制御モジュール27は、編集画面で編集されたラベルをプリンタから印刷するための画像を示す画像データの作成を画像データ作成モジュール28に指示し、画像データ作成モジュール28が作成した画像データを画像データ作成モジュール28から受け取り、受け取った画像データと印刷指示とをデバイス制御モジュール29に受け渡すことで、プリンタ50又は無線プリンタ51からラベルを印刷させる。なお、編集画面制御モジュール27は、画像データ作成モジュール28から受け取った画像データと印刷指示とをOS32が備える汎用印刷モジュール17に受け渡すことで、無線プリンタ51からラベルを印刷させる。MacOSが備えるAirPrint(登録商標)モジュールは、汎用印刷モジュール17の一例であり、編集画面制御モジュール27から受け取った画像データの印刷指示を、ネットワークI/F20を介してプリンタ50,51を含む、汎用印刷モジュール17に対応するプリンタに送信する。
FIG. 2 conceptually shows the relationship between each program and device. The edit
画像データ作成モジュール28は、ラベルを作成するための画像データ(表示画像データの一例)の作成や編集を行うためのライブラリを備えており、画像データの作成、編集等を実行するプログラムである。画像データ作成モジュール28は、編集画面制御モジュール27からの指示に応じて、LCD16にラベルを示す画像を表示するための画像データや、ラベルを示す画像をプリンタ50,51で印刷するための画像データを作成する。
The image
デバイス制御モジュール29は、ネットワークI/F20を介してプリンタ50に印刷を実行させるためのプログラムである。デバイス制御モジュール29は、例えば、ラベルをプリンタから印刷するための画像を示す画像データと印刷指示とを編集画面制御モジュール27から受け取り、受け取った印刷指示に従って、画像データを、印刷に用いられる画像データである印刷データに変換し、変換した印刷データを、プリンタ50または無線プリンタ51に送信することで、ラベルを示す画像をプリンタ50または無線プリンタ51に印刷させる。なお、デバイス制御モジュール29は、OS32に指示することで、ネットワークI/F20を介して印刷データを送信する。
The
また、メモリ14は、データ記憶領域34を備える。データ記憶領域34は、アプリケーションプログラム26等の実行に必要なデータなどを記憶する領域である。なお、メモリ14は、RAM、ROM、フラッシュメモリ、HDD、PC10に着脱されるUSBメモリ等の可搬記憶媒体、CPU12が備えるバッファなどが組み合わされて構成されている。
Further, the
また、図1に示すメモリ14は、コンピュータが読み取り可能なストレージ媒体であってもよい。コンピュータが読み取り可能なストレージ媒体とは、non−transitoryな媒体である。non−transitoryな媒体には、上記の例の他に、CD−ROM、DVD−ROM等の記録媒体も含まれる。また、non−transitoryな媒体は、tangibleな媒体でもある。一方、インターネット上のサーバなどからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non−transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。
Further, the
また、メモリ14は、デバイスコンテキスト35を備える。デバイスコンテキスト35は、OS32がメモリ14に確保する領域であり、描画のための記憶領域である。OS32は、例えば、編集画面制御モジュール27からの要求に応じてデバイスコンテキスト35を確保してもよい。デバイスコンテキスト35は、画像データ作成モジュール28によるオブジェクトの描画に用いられる描画領域を備える。また、デバイスコンテキスト35は、描画領域の他に、描画する直線の太さなどの描画に係わる設定情報(タイプ情報の一例)を記憶する記憶領域を備える。画像データ作成モジュール28は、OS32が確保したデバイスコンテキスト35の描画領域の編集や、設定情報の変更等を可能にする権限をOS32から取得する。画像データ作成モジュール28は、権限を取得した後、例えば、OS32が提供するAPIを利用してデバイスコンテキスト35の描画領域にオブジェクトのラスター画像データを描画する。尚、本願における「描画」とは、ラスター画像データをデバイスコンテキスト35に記憶させることをいう場合がある。また、ラスター画像データは、複数の画素データから構成される画像データである。画素データは、画素単位の画像データである。画素とは、画像データの単位であり、例えば、画像データの最小単位である。
The
OS32は、デバイスコンテキスト35に描画されたラスター画像データや設定情報に基づいて、LCD16への表示処理を実行する。OS32は、描画領域に描画されたラスター画像データに基づいてLCD16のドットを制御することで、ラスター画像データが示す画像をLCD16に表示させる表示処理を実行する。
The
LCD16は、PC10の各種情報を表示する。LCD16は、ディスプレイI/F15を介してバス22に接続されている。LCD16は、ディスプレイI/F15を介して表示データを取得する。尚、本願のディスプレイは、液晶ディスプレイに限らず、有機ELディスプレイ等の他の表示方式のディスプレイでも良い。
The
入力I/F18は、キーボード、マウス等を含み、ユーザ操作を入力するためのインタフェースである。尚、入力I/F18は、キーボード等に限らず、LCD16の表示画面に重畳された膜状のタッチセンサでも良い。
The input I / F18 includes a keyboard, a mouse, and the like, and is an interface for inputting user operations. The input I / F18 is not limited to a keyboard or the like, and may be a film-like touch sensor superimposed on the display screen of the
<ラベルの作成の作動シーケンス>
次に、ラベルを作成する場合におけるアプリケーションプログラム26の作動シーケンスについて説明する。図3は、ラベル作成の作動シーケンスの一例を示している。
<Label creation operation sequence>
Next, the operation sequence of the
本明細書のシーケンスチャートは、基本的に、プログラムに記述された命令に従ったCPU12の処理を示す。すなわち、以下の説明における「判断」「取得」、「受付」、「制御」「設定」等の処理は、CPU12の処理を表している。CPU12による処理は、OS32を介したハードウェア制御も含む。なお、「取得」は要求を必須とはしない概念で用いる。すなわち、CPU12が要求することなくデータを受信するという処理も、「CPU12がデータを取得する」という概念に含まれる。また、本明細書中の「データ」とは、コンピュータに読取可能なビット列で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。また、「命令」「応答」「要求」等の処理は、「命令」「応答」「要求」等を示す情報を通信することにより行われる。また、「命令」「応答」「要求」等の文言を、「命令」「応答」「要求」等を示す情報そのものという意味で記載してもよい。
The sequence chart of the present specification basically shows the processing of the
以下の説明では、一例として、図4に示す「あ」、「い」、「う」、「え」の4つのテキストを含むラベルを作成する場合について説明する。以下の説明では、「あ」、「い」、「う」、「え」の4つのテキストを、この順番に従って、テキストオブジェクト61,62,63,64と称して説明する。また、テキストオブジェクト61〜64とは、図4に示すテキストの表示に用いられる画像データだけでなく、テキストの描画に用いるテキストの大きさ、テキストの色などの設定値の情報を含む概念である。また、「テキストオブジェクト61〜64を表示する」とは、「テキストオブジェクト61〜64を示す画像を表示する」ことをいう。 In the following description, as an example, a case of creating a label including the four texts “a”, “i”, “u”, and “e” shown in FIG. 4 will be described. In the following description, the four texts "a", "i", "u", and "e" will be referred to as text objects 61, 62, 63, and 64 in this order. The text objects 61 to 64 are concepts that include not only image data used for displaying the text shown in FIG. 4 but also information on setting values such as the size of the text used for drawing the text and the color of the text. .. Further, "displaying text objects 61 to 64" means "displaying an image showing text objects 61 to 64".
図4は、4つのテキストオブジェクト61〜64を、LCD16の編集画面60に表示した状態を示している。テキストオブジェクト61〜64のテキストを囲む一点鎖線は、オブジェクトを配置する領域を示す枠(以下、オブジェクト枠という)66を示す仮想線である。オブジェクト枠66は、アプリケーションプログラム26に対する設定に応じて編集画面60への表示・非表示を選択可能となっている。
FIG. 4 shows a state in which the four text objects 61 to 64 are displayed on the
ここで、図4に示すように、「い」のオブジェクト枠66は、「あ」のオブジェクト枠66の手前側に重なって表示されている。同様に、「う」のオブジェクト枠66は、「い」のオブジェクト枠66の手前側に重なって表示されている。「え」のオブジェクト枠66は、「う」のオブジェクト枠66の手前側に重なって表示されている。従って、テキストオブジェクト61〜64のZオーダは、編集画面60の手前側を1番とすると、「え」(1番目)、「う」(2番目)、「い」(3番目)、「あ」(4番目)の順となっている。ここでいうZオーダとは、編集画面60に複数のオブジェクトを重ねて表示する場合に、オブジェクトの前後関係を示す順番である。
Here, as shown in FIG. 4, the "i"
次に、上記した図4に示すテキストオブジェクト61〜64を配置したラベルの作成手順について説明する。まず、図3のS11において、編集画面制御モジュール27は、PC10の入力I/F18を介した操作入力に従って、編集画面60で「あ」のテキストオブジェクト61を追加する処理を実行する。編集画面制御モジュール27は、例えば、OS32が提供するAPIにより、入力I/F18を介した操作入力を受け付ける。編集画面制御モジュール27は、例えば、入力I/F18のマウスを介して、編集画面60上の任意の位置の選択を受け付け、キーボードを介して「あ」のテキストの入力を受け付けると、テキストオブジェクト61を追加する処理を開始する。
Next, a procedure for creating a label on which the text objects 61 to 64 shown in FIG. 4 described above are arranged will be described. First, in S11 of FIG. 3, the editing
編集画面制御モジュール27は、S11の入力I/F18に対する操作入力に応じて、テキストオブジェクト61の作成や、テキストオブジェクト61を表示する画像データの作成の指示情報(第1指示情報の一例)を、画像データ作成モジュール28に入力する(S13)。画像データ作成モジュール28は、編集画面制御モジュール27からの指示に応じてテキストオブジェクト61の作成を実行する(S15)。画像データ作成モジュール28は、例えば、アプリケーションプログラム26の指示、即ち、入力I/F18の操作入力に基づいて、テキストの大きさなどの設定値を、作成したテキストオブジェクト61の変数に設定する。
The editing
ここで、画像データ作成モジュール28は、編集画面60に表示する画像データに含まれるオブジェクトのZオーダを示すオブジェクトリスト(Zオーダリストの一例)をメモリ14に記憶する。図5は、オブジェクトリスト71が更新される状態を示している。以下の説明では、更新されるオブジェクトリスト71の各状態を個別に説明する場合にはオブジェクトリスト71A,71B,71C,71D,71Eと称し、総称して説明する場合にはオブジェクトリスト71と称して説明する。なお、画像データ作成モジュール28は、オブジェクトリスト71を、例えば、デバイスコンテキスト35、あるいはデータ記憶領域34に記憶する。
Here, the image
オブジェクトリスト71には、オブジェクトを互いに識別するためのオブジェクト識別情報が設定されている。オブジェクト識別情報は、例えば、テキストオブジェクト61〜64を区別するための情報であり、テキストNO1、テキストNO2・・などのオブジェクトごとの固有の情報である。オブジェクトリスト71は、オブジェクト識別情報をZオーダでリストすることで、Zオーダを示している。画像データ作成モジュール28は、例えば、このオブジェクト識別情報の順番の変更や、挿入を行うことで、オブジェクトリスト71のZオーダの順番を更新する。なお、画像データ作成モジュール28は、オブジェクトリスト71内においてオブジェクト識別情報の順番を入れ替えることで、Zオーダの順番を変更しても良い。あるいは、画像データ作成モジュール28は、オブジェクトリスト71のデータの一部や全部を削除し、新たなオブジェクト識別情報を設定することで、Zオーダの順番を変更しても良い。以下の説明では、オブジェクトリスト71に含まれるオブジェクト識別情報を並び替えてZオーダを変更する処理を、単にオブジェクトリスト71を並び替えると記載する。
Object identification information for identifying objects from each other is set in the
画像データ作成モジュール28は、新たなオブジェクトの追加の指示を取得すると、オブジェクトリスト71に追加する処理を行う。画像データ作成モジュール28は、図3のS13において編集画面制御モジュール27から新たなテキストオブジェクト61の作成指示を取得すると、オブジェクトリスト71に「あ」(テキストオブジェクト61)のZオーダを設定する(S15)。この時点では、編集画面60に描画されるテキストがテキストオブジェクト61のみであるため、図5のオブジェクトリスト71Aに示すように、オブジェクトリスト71には、テキストオブジェクト61のZオーダのみが設定される。また、S15において、画像データ作成モジュール28は、OS32が提供するAPIを利用してデバイスコンテキスト35の描画領域にテキストオブジェクト61、即ち「あ」のテキストを示すラスター画像データの描画を実行する。
When the image
次に、画像データ作成モジュール28は、S15を実行した後、編集画面60に表示する更新後の画像データの準備が完了したことを示す情報を、編集画面制御モジュール27へ通知する(S17)。編集画面制御モジュール27は、画像データ作成モジュール28からの通知を取得すると、OS32に対して描画指示を実行する(S19)。OS32は、デバイスコンテキスト35に描画されたラスター画像データや設定情報(表示する位置など)に基づいて、LCD16への表示処理を実行する。これにより、編集画面60に「あ」のテキストオブジェクト61が表示される。
Next, after executing S15, the image
次に、編集画面制御モジュール27は、「い」のテキストオブジェクト62を追加する処理を行う。尚、以下の説明では、上記したテキストオブジェクト61の追加処理と同様の内容については、その説明を適宜省略する。まず、S21において、編集画面制御モジュール27は、入力I/F18を介した操作入力に従って、「い」のテキストオブジェクト62を追加する処理を行う。編集画面制御モジュール27は、例えば、入力I/F18のマウスを介して、編集画面60上のテキストオブジェクト61に重なる位置の選択を受け付け、キーボードを介して「い」のテキストの入力を受け付けると、テキストオブジェクト62を追加する処理を開始する。
Next, the edit
編集画面制御モジュール27は、S21の操作入力に応じて、テキストオブジェクト61の作成等の指示情報(追加指示情報の一例)を、画像データ作成モジュール28に入力する(S23)。画像データ作成モジュール28は、編集画面制御モジュール27からの指示に応じてテキストオブジェクト62の作成をし、テキストの大きさ等をオブジェクトの変数として設定する(S25)。また、画像データ作成モジュール28は、S23において新たなテキストオブジェクト62の作成指示を取得すると、オブジェクトリスト71に「い」のZオーダを設定する(S25)。この時点では、既に、「あ」のZオーダがオブジェクトリスト71Aに設定されており、且つテキストオブジェクト62をテキストオブジェクト61の手前側に重なる位置への作成が指示されている。このため、画像データ作成モジュール28は、オブジェクトリスト71の先頭、即ち、「あ」のテキストオブジェクト61の位置に比べて編集画面60の手前側となる位置を示すZオーダを、テキストオブジェクト62のZオーダとして設定する(図5のオブジェクトリスト71B参照)。オブジェクトリスト71BのZオーダは、編集画面60の手前側からテキストオブジェクト62、テキストオブジェクト61の順番となる。
The editing
また、S25において、画像データ作成モジュール28は、デバイスコンテキスト35の描画領域において、設定したオブジェクトリスト71BのZオーダに従って、テキストオブジェクト61の手前に重なるようにテキストオブジェクト62を描画する。これにより、後述するOS32の表示処理(S29)によって、テキストオブジェクト62がテキストオブジェクト61の手前側に重なった状態で編集画面60に表示される。
Further, in S25, the image
画像データ作成モジュール28は、S25を実行した後、画像データの準備が完了したことを示す情報を、編集画面制御モジュール27へ通知する(S27)。編集画面制御モジュール27は、画像データ作成モジュール28からの通知を取得すると、OS32に対して描画指示を実行する(S29)。OS32は、デバイスコンテキスト35に描画されたラスター画像データ等に基づいて、LCD16への表示処理を実行する。図6に示すように、編集画面60には、「あ」のテキストオブジェクト61の手前に「い」のテキストオブジェクト62が重なって表示される。
After executing S25, the image
同様に、編集画面制御モジュール27は、入力I/F18を介した操作入力に従って、「う」のテキストオブジェクト63を追加する処理を行う(S31)。編集画面制御モジュール27は、例えば、入力I/F18のマウスを介して編集画面60上のテキストオブジェクト62に重なる位置の選択を受け付け、キーボードを介して「う」のテキストの入力を受け付けると、テキストオブジェクト63を追加する処理を開始する。編集画面制御モジュール27は、テキストオブジェクト63の作成等を画像データ作成モジュール28に指示する(S33)。画像データ作成モジュール28は、テキストオブジェクト63の作成を実行する(S35)。また、画像データ作成モジュール28は、オブジェクトリスト71に「う」のZオーダを設定する(S35)。この時点では、既に、「あ」、「い」のZオーダがオブジェクトリスト71Bに設定されており、且つテキストオブジェクト63をテキストオブジェクト61,62の手前側に重なる位置への作成が指示されている。このため、画像データ作成モジュール28は、オブジェクトリスト71の先頭に、テキストオブジェクト63のZオーダを設定する(図5のオブジェクトリスト71C参照)。
Similarly, the edit
画像データ作成モジュール28は、デバイスコンテキスト35の描画領域において、テキストオブジェクト61,62の手前に重なるようにテキストオブジェクト63を描画し(S35)、画像データの準備が完了したことを示す情報を、編集画面制御モジュール27へ通知する(S37)。編集画面制御モジュール27は、OS32に対して描画指示を実行する(S39)。OS32は、「あ」,「い」のテキストオブジェクト61の手前に「う」のテキストオブジェクト63を重ねた画像を、編集画面60に表示する。
The image
同様に、編集画面制御モジュール27は、入力I/F18を介した操作入力に従って、「え」のテキストオブジェクト64を追加する処理を行う(S41)。画像データ作成モジュール28は、編集画面制御モジュール27からの指示(S43)に応じて、テキストオブジェクト64の作成等を実行する(S45)。画像データ作成モジュール28は、オブジェクトリスト71の先頭に、テキストオブジェクト64のZオーダを設定する(図5のオブジェクトリスト71D参照)。
Similarly, the edit
画像データ作成モジュール28は、デバイスコンテキスト35の描画領域において、テキストオブジェクト61〜63の手前に重なるようにテキストオブジェクト64を描画し(S45)、画像データの準備完了を編集画面制御モジュール27へ通知する(S47)。OS32は、「あ」,「い」,「う」のテキストオブジェクト61の手前に「え」のテキストオブジェクト63を重ねた画像を、即ち、図4に示す画像を編集画面60に表示する(S49)。
The image
<Zオーダを変更する作動シーケンス>
次に、Zオーダを変更する作動シーケンスについて説明する。図7は、Zオーダを変更する際の作動シーケンスを示している。まず、図7のS51において、編集画面制御モジュール27は、入力I/F18を介した操作入力に従って、テキストオブジェクト61〜64を移動させる操作入力を受け付ける。編集画面制御モジュール27は、S51において受け付ける移動方向として、例えば、前方へ1つ、最前面、後方へ1つ、最背面のいずれかの移動方向を示す操作入力を受け付ける。図7は、Zオーダを変更する一例として、「い」,「う」のテキストオブジェクト62,63を、まとめて最前面に移動する場合について図示している。以下の説明では、このテキストオブジェクト62,63を最前面に移動する場合について主に説明する。
<Operation sequence to change Z order>
Next, the operation sequence for changing the Z order will be described. FIG. 7 shows an operation sequence when changing the Z order. First, in S51 of FIG. 7, the editing
この場合、S51において、編集画面制御モジュール27は、入力I/F18を介した操作入力に従って、テキストオブジェクト62,63の選択を受け付け、テキストオブジェクト62,63を移動させる操作入力を受け付ける。例えば、編集画面制御モジュール27は、入力I/F18を介して、編集画面60に表示された「い」のテキストオブジェクト62の選択を受け付ける。次に、編集画面制御モジュール27は、入力I/F18を介して、編集画面60に表示された「う」のテキストオブジェクト63の選択を受け付ける。例えば、入力I/F18のキーボードの所定のキー(Shiftキーなど)を押したままマウスを操作され、テキストオブジェクト62がクリックされ、次いでテキストオブジェクト63がクリックされる。これにより、Zオーダを変更する対象のオブジェクトとして、テキストオブジェクト62,63が選択される。編集画面制御モジュール27は、テキストオブジェクト62,63を選択された状態で、例えば、編集画面60の所定のボタンをクリックされることで、テキストオブジェクト62,63を最前面に移動させる操作指示情報(Zオーダ変更指示情報の一例)を受け付ける。
In this case, in S51, the editing
次に、編集画面制御モジュール27は、S51の入力I/F18に対する操作入力に応じて、Zオーダの変更を画像データ作成モジュール28に指示する(S53)。画像データ作成モジュール28は、Zオーダを変更する対象のテキストオブジェクトに係わる情報である変更対象リスト(選択オブジェクトリストの一例)を、編集画面制御モジュール27から取得する。この場合、変更対象リストには、テキストオブジェクト62,63(「い」,「う」)をそれぞれ識別するオブジェクト識別情報がリストされている。なお、この変更対象リストは、例えば、上記したS51の操作指示情報に含まれている。ここでいう「含まれている」とは、例えば、操作指示情報の中に情報として含まれていることをいう。あるいは、変更対象リストの受け渡しは、例えば、操作指示情報の受け付けにともなう関数の呼び出しにおいて、関数の引数として変更対象リストや、変更対象リストを記憶しているアドレスを渡すことで実現しても良い。
Next, the edit
ここで、上記したように変更対象のテキストオブジェクト62,63は、テキストオブジェクト62、テキストオブジェクト63の順番で選択され、即ち、図5に示すオブジェクトリスト71DのZオーダとは逆の順番で選択されている(S51)。この場合、編集画面制御モジュール27は、変更対象リストの順番として、選択された順番(「い」,「う」の順番)を用いるのか、選択されたテキストオブジェクト62,63をZオーダに並び替えた後の順番(「う」,「い」の順番)を用いるのかが問題となる。Zオーダに並び替えた後の順番を用いる場合、編集画面制御モジュール27は、変更対象リストの順番を、選択された順番からZオーダに従った順番に変更するため、最新のオブジェクトリスト71Dの情報が必要となる。従って、編集画面制御モジュール27は、例えば、変更対象リストの作成時に、画像データ作成モジュール28からオブジェクトリスト71Dの情報を取得する必要が生じる。
Here, as described above, the text objects 62 and 63 to be changed are selected in the order of the
一方で、選択された順番を用いる場合、画像データ作成モジュール28は、編集画面制御モジュール27から取得した変更対象リストをそのまま用いることはできず、変更対象リストの順番をZオーダに並び替える必要がある。これは、変更対象リストの順番、即ち、選択された順番を用いてオブジェクトリスト71Dを更新すると、意図しないZオーダになるからである。意図しないZオーダとは、具体的には、「え」,「い」,「う」,「あ」の順番である。この場合、選択したテキストオブジェクト62,63と、他のテキストオブジェクト61,64のZオーダだけでなく、選択したテキストオブジェクト62,63内でもZオーダが変更されることとなる。
On the other hand, when the selected order is used, the image
そこで、本実施形態の画像データ作成モジュール28は、編集画面制御モジュール27から取得した変更対象リストに対して、必要に応じてZオーダの並び替えを実行する(S55)。一例として、図7のS53に示すように、選択された順番(「い」,「う」の順番)の変更対象リストを、画像データ作成モジュール28が編集画面制御モジュール27から取得する場合について説明する。画像データ作成モジュール28は、編集画面制御モジュール27から取得した変更対象リストを用いてZオーダの変更処理を実行する(S55)。
Therefore, the image
図8は、図7のS55におけるZオーダの変更処理の内容を示している。画像データ作成モジュール28は、図7のS53において、編集画面制御モジュール27から変更対象リストを取得すると、取得した変更対象リストがオブジェクトリスト71D(図5参照)のZオーダに並んでいるか否かを判断する(図8のS61)。画像データ作成モジュール28は、例えば、変更対象リストに含まれるオブジェクト識別情報と、オブジェクトリスト71のZオーダに並ぶオブジェクト識別情報とを比較することで、S61の判断処理を行う。この時点では、オブジェクトリスト71DのZオーダは、「え」,「う」,「い」,「あ」となっている。また、編集画面制御モジュール27から取得した変更対象リストの順番は、選択された順番(「い」,「う」の順番)となっている。
FIG. 8 shows the contents of the Z order change process in S55 of FIG. 7. When the image
画像データ作成モジュール28は、取得した変更対象リストがオブジェクトリスト71のZオーダに並んでいないため(S61:NO)、変更対象リストをZオーダに並び替える処理を実行する(S63)。画像データ作成モジュール28は、S63の並び替え処理を実行する時点の最新のZオーダ、即ち、オブジェクトリスト71DのZオーダに従って、変更対象リストの順番を並び替える。変更対象リストのオブジェクト識別情報の順番は、Zオーダ、即ち、「う」,「い」の順番となる。画像データ作成モジュール28は、S63の並び替え処理を実行後、S65を実行する。
Since the acquired change target list is not arranged in the Z order of the object list 71 (S61: NO), the image
次に、オブジェクトリスト71DのZオーダに従った順番(「う」,「い」の順番)の変更対象リストを、画像データ作成モジュール28が編集画面制御モジュール27から取得した場合について説明する。画像データ作成モジュール28は、取得した変更対象リストの順番がオブジェクトリスト71DのZオーダに並んでいる場合(S61:YES)、S63の並び替え処理を実行せず、S65を実行する。
Next, a case where the image
従って、本実施形態画像データ作成モジュール28は、オブジェクトリスト71DのZオーダにテキストオブジェクト62,63が並んでいると判断した場合(S61:YES)、変更対象リストに含まれるテキストオブジェクト62,63のオブジェクト識別情報の並び替えを実行しない。これにより、変更対象リストがZオーダに並んでいるにも係わらず、S63の並び替え処理を実行するような不要な処理の発生を抑制することができる。
Therefore, when the image
尚、変更対象リストのテキストオブジェクト62,63が、オブジェクトリスト71DのZオーダに並んでいるか否かの判断は、編集画面制御モジュール27が実行しても良い。例えば、編集画面制御モジュール27は、変更対象リストを受け付けた場合に、画像データ作成モジュール28から最新のオブジェクトリスト71Dを取得する。編集画面制御モジュール27は、変更対象リストのテキストオブジェクト62,63が、取得したオブジェクトリスト71DのZオーダに並んでいるか否かを判断する。編集画面制御モジュール27は、判断結果を示すフラグ情報を、S53において画像データ作成モジュール28へ通知する。そして、画像データ作成モジュール28は、編集画面制御モジュール27から取得したフラグ情報に基づいて、S61の判断処理を実行しても良い。
The edit
次に、S65において、画像データ作成モジュール28は、変更対象のテキストオブジェクト62,63を、Zオーダにおける前方側へ移動させるのか否かを判定する。画像データ作成モジュール28は、例えば、図7のS53において変更対象リストの他に、変更対象リストのテキストオブジェクト62,63を移動させる方向や位置を示す情報を、編集画面制御モジュール27から取得する。移動させる方向の情報とは、前方又は後方のいずれの方向へ移動させるべきかを示す情報である。移動させる位置の情報とは、Zオーダのどの位置に移動させるべきかを示す情報、具体的には、最前面、最背面、前方へ1つ、後方へ1つなどの情報である。すなわち、S65において、画像データ作成モジュール28は、最前面へ移動させることを示す情報、または、前方へ1つ移動させることを示す情報を取得したか否かを判断する。
Next, in S65, the image
本例では、図7のS51において、テキストオブジェクト62,63を最前面へ移動、即ち、前方へ移動する操作入力を受け付けている。このため、画像データ作成モジュール28は、編集画面制御モジュール27から取得した情報に基づいて、変更対象のテキストオブジェクト62,63を前方へ移動させると判断し(S65:YES)、S67を実行する。
In this example, in S51 of FIG. 7, the operation input for moving the text objects 62 and 63 to the foreground, that is, moving them forward is accepted. Therefore, the image
S67において、画像データ作成モジュール28は、変更対象リストの先頭のオブジェクト(本例では、「う」のテキストオブジェクト63)が、現時点のオブジェクトリスト71Dの一番前にあるか否かを判断する。図5に示すように、テキストオブジェクト63のZオーダは、オブジェクトリスト71Dにおいて、テキストオブジェクト64の次となっている。このため、画像データ作成モジュール28は、変更対象リストの先頭のテキストオブジェクト63が、オブジェクトリスト71Dの一番前でないため(S67:NO)、変更対象リストの全てのテキストオブジェクト62,63を前方(最前面または1つ前方)に移動させる(S69)。画像データ作成モジュール28は、図7のS51において編集画面制御モジュール27によって受け付けた情報に基づいて、前方への移動処理を実行する。
In S67, the image
本例では、最前面へ移動する操作入力を受け付けている。このため、画像データ作成モジュール28は、変更対象リストの全てのテキストオブジェクト62,63を、最前面へ移動させる(S69)。画像データ作成モジュール28は、デバイスコンテキスト35に記憶された現時点のオブジェクトリスト71Dを、図5に示すオブジェクトリスト71Eに更新する(S69)。具体的には、画像データ作成モジュール28は、変更対象リストにも含まれるオブジェクト識別情報をオブジェクトリスト71Dから検出し、検出したオブジェクト識別情報をオブジェクトリスト71Dから削除する。そして、画像データ作成モジュール28は、変更対象リストをオブジェクトリスト71Dの先頭に追加することで、オブジェクトリスト71Dをオブジェクトリスト71Eに更新する。すなわち、画像データ作成モジュール28は、変更対象リストに含まれるオブジェクト識別情報を、変更対象リストの並び順のまま、一度に、オブジェクトリスト71Dに追加する。そのため、オブジェクトリスト71Dに含まれるオブジェクト識別情報のうち、変更対象リストにも含まれるオブジェクト識別情報の順番を、1つ1つ変更してオブジェクトリスト71Eに更新するよりも、処理効率が良い。画像データ作成モジュール28は、変更したオブジェクトリスト71EのZオーダに従って、デバイスコンテキスト35の描画領域にテキストオブジェクト61〜64を描画する。なお、オブジェクトリスト71Dをオブジェクトリスト71Eに更新する処理は、上記に限らない。例えば、変更対象リストをオブジェクトリスト71Dに追加してから、もともとオブジェクトリスト71Dに含まれているオブジェクト識別情報のうち、変更対象リストにも含まれるオブジェクト識別情報を検出し、削除してもよい。ただし、変更対象リストにも含まれるオブジェクト識別情報をオブジェクトリスト71Dから検出する処理を、変更対象リストをオブジェクトリスト71Dの先頭に追加する処理より先に実行する場合に比べれば、処理効率は落ちる。「変更対象リストをオブジェクトリスト71Dに追加する」とは、変更対象リストのコピーをメモリ14内に作成し、コピーの変更対象リストをオブジェクトリスト71Dに追加する処理を含む概念であってもよいし、オブジェクトリスト71Dのコピーをメモリ14内に作成し、変更対象リストのコピーをオブジェクトリスト71Dに追加してもよい、という概念である。
In this example, the operation input to move to the foreground is accepted. Therefore, the image
尚、上記した例では、最前面へ移動する場合について説明したが、前へ1つ移動する場合にも、同様にZオーダを変更することができる。例えば、変更対象リストのテキストオブジェクトを1つ前に移動する操作がなされた場合、画像データ作成モジュール28は、S69において、1つ前に位置するテキストオブジェクトを基準としてオブジェクトリスト71のZオーダを設定する。具体的には、画像データ作成モジュール28は、最前面への移動と同様に、検出したオブジェクト識別情報をオブジェクトリスト71Dから削除する。そして、画像データ作成モジュール28は、オブジェクトリスト71Dにおいて、変更対象リストの先頭のオブジェクト識別情報のもともとの順番より1つ前の順番の位置に、変更対象リストを追加することで、オブジェクトリスト71Dをオブジェクトリスト71Eに更新する。これにより、変更対象リストのテキストオブジェクトを、1つ前のテキストオブジェクトに対して前方へ移動させることができる。
In the above example, the case of moving to the foreground has been described, but the Z order can be changed in the same manner when moving one forward. For example, when the operation of moving the text object of the change target list to the previous one is performed, the image
画像データ作成モジュール28は、図8に示す処理(図7のS55)を実行した後、画像データの準備が完了したことを編集画面制御モジュール27へ通知する(図7のS57)。編集画面制御モジュール27は、画像データ作成モジュール28からの通知を取得すると、OS32に対して描画指示を実行する(S59)。図9に示すように、編集画面60には、Zオーダの先頭となった「う」のテキストオブジェクト63は、他のテキストオブジェクト61,62,64の手前側に重なって表示される。また、Zオーダの2番目の「い」のテキストオブジェクト62は、3番目の「え」のテキストオブジェクト64と重なっていないため、図4に示す表示と同様となる。
After executing the process shown in FIG. 8 (S55 in FIG. 7), the image
一方で、図8のS67において、画像データ作成モジュール28は、変更対象リストの先頭のテキストオブジェクト63が、オブジェクトリスト71Dの一番前である場合(S67:YES)、S69のオブジェクトリスト71Dの変更を実行しない。例えば、変更対象リストとして、Zオーダの先頭のテキストオブジェクト64を含むテキストオブジェクトが選択された場合、画像データ作成モジュール28は、オブジェクトリスト71Dの変更を実行しない。この場合、Zオーダは変更されず、編集画面60の表示状態が維持される。
On the other hand, in S67 of FIG. 8, when the
尚、オブジェクトリスト71Dを変更しない場合、画像データ作成モジュール28は、図7のS57による更新通知を実行しなくとも良い。この場合、編集画面制御モジュール27は、編集画面60を改めて描画せず、現状の表示を維持しても良い。また、上記したS67の判断処理において、画像データ作成モジュール28は、先頭のテキストオブジェクト63だけをオブジェクトリスト71DのZオーダと比較したが、変更対象リストに含まれるテキストオブジェクト62,63の全てについて、オブジェクトリスト71DのZオーダとの比較を実行しても良い。そして、画像データ作成モジュール28は、変更対象リストに含まれるテキストオブジェクト62,63の各々について、前方へ移動すべきか否かを決定し、Zオーダを個別に変更しても良い。例えば、変更対象リストとしてテキストオブジェクト64(最前面の「え」)と、テキストオブジェクト62(3番目の「い」)を選択され、最前面に移動する指示がなされた場合、図10に示すように、画像データ作成モジュール28は、テキストオブジェクト62をテキストオブジェクト61,63の前側に表示するように、テキストオブジェクト62のみのZオーダを変更する処理を実行しても良い。この場合、オブジェクトリスト71DのZオーダは、前側から、「え」,「い」,「う」,「あ」の順番に更新される。
If the
また、図8のS65において、画像データ作成モジュール28は、変更対象のテキストオブジェクト62,63を前方へ移動させない、即ち、後方へ移動させると判断した場合(S65:NO)、前方へ移動する場合と同様の処理を実行する。画像データ作成モジュール28は、変更対象リストの最後尾のオブジェクトが、現時点のオブジェクトリスト71Dの一番後にあるか否かを判断する(S71)。
Further, in S65 of FIG. 8, when the image
画像データ作成モジュール28は、変更対象リストの最後尾のテキストオブジェクト62が、オブジェクトリスト71Dの一番後でない場合(S71:NO)、S69と同様に、変更対象リストの全てのテキストオブジェクト62,63を後方(最背面または1つ後方)に移動させる(S73)。画像データ作成モジュール28は、図7のS51において編集画面制御モジュール27によって受け付けた情報に基づいて、後方への移動処理を実行する。画像データ作成モジュール28は、変更対象リストの全てのテキストオブジェクト62,63を後方へ移動させるよう、オブジェクトリスト71Dのオブジェクト識別情報を変更しZオーダを更新する(S73)。具体的には、最背面へ移動させる操作入力がなされた場合、画像データ作成モジュール28は、変更対象リストにも含まれるオブジェクト識別情報をオブジェクトリスト71Dから検出し、検出したオブジェクト識別情報をオブジェクトリスト71Dから削除する。そして、画像データ作成モジュール28は、変更対象リストをオブジェクトリスト71Dの最後尾に追加することで、オブジェクトリスト71Dを更新する。すなわち、画像データ作成モジュール28は、変更対象リストに含まれるオブジェクト識別情報を、変更対象リストの並び順のまま、一度に、オブジェクトリスト71Dに追加する。そのため、オブジェクトリスト71Dに含まれるオブジェクト識別情報のうち、変更対象リストにも含まれるオブジェクト識別情報の順番を、1つ1つ変更して更新するよりも、処理効率が良い。尚、1つ後方へ移動する操作入力がなされた場合、画像データ作成モジュール28は、例えば、1つ後のテキストオブジェクトのオブジェクト識別情報を基準として、他のテキストオブジェクトのオブジェクト識別情報を並び替えることで、Zオーダを更新できる。具体的には、画像データ作成モジュール28は、最背面への移動と同様に、検出したオブジェクト識別情報をオブジェクトリスト71Dから削除する。そして、画像データ作成モジュール28は、オブジェクトリスト71Dにおいて、変更対象リストの最後尾のオブジェクト識別情報のもともとの順番より1つ後の順番の位置に、変更対象リストを追加することで、オブジェクトリスト71Dを更新する。これにより、変更対象リストのテキストオブジェクトを、1つ後のテキストオブジェクトに対して後方へ移動させることができる。
When the
図11は、テキストオブジェクト62,63を最背面に移動させた状態を示している。図11に示すように、編集画面60には、Zオーダの最後尾となった「い」のテキストオブジェクト62は、他のテキストオブジェクト61,63,64の後側に表示される。また、Zオーダの3番目の「う」のテキストオブジェクト63は、2番目の「え」のテキストオブジェクト64の後側に表示される。
FIG. 11 shows a state in which the text objects 62 and 63 are moved to the rearmost position. As shown in FIG. 11, on the
また、S71において、画像データ作成モジュール28は、変更対象リストの最後尾のテキストオブジェクト62が、オブジェクトリスト71Dの一番後である場合(S71:YES)、S73を実行しない。この場合、Zオーダは変更されず、編集画面60の表示状態が維持される。
Further, in S71, the image
尚、上記した例では、2つのテキストオブジェクト62,63が選択された場合について説明したが、3つ以上のテキストオブジェクトが選択された場合にも、同様にZオーダを変更する処理を実行しても良い。また、上記した例では、最前面、前へ1つ、最背面、及び後へ1つのいずれかに移動する場合について説明したが、Zオーダの任意の位置へ移動する場合にも、同様にZオーダを変更する処理を実行できる。例えば、画像データ作成モジュール28は、S69やS73において、指定された位置のテキストオブジェクトを基準として、変更対象リストのテキストオブジェクトを、任意の数だけ前方又は後方へ移動させるよう、オブジェクト識別情報の順番を変更する。これにより、最前面や最背面だけでなく、任意の数だけ前方や後方へテキストオブジェクトを移動できる。
In the above example, the case where two text objects 62 and 63 are selected has been described, but even when three or more text objects are selected, the process of changing the Z order is executed in the same manner. Is also good. Further, in the above example, the case of moving to any one of the front, the front, the back, and the back has been described, but the case of moving to an arbitrary position in the Z order is also described in the same manner. You can execute the process of changing the order. For example, in S69 and S73, the image
また、画像データ作成モジュール28は、変更対象リストとして、1つのテキストオブジェクトが選択された場合、即ち、1つのテキストオブジェクトについてZオーダの変更を指示された場合、図8に示す処理を実行しなくとも良い。この場合、画像データ作成モジュール28は、選択された1つのテキストオブジェクトのZオーダを、オブジェクトリスト71DのZオーダと比較することで、変更後のZオーダを決定することができる。
Further, the image
<印刷処理の作動シーケンス>
尚、本実施形態の画像データ作成モジュール28は、ラベルの印刷動作においては、上記したZオーダの変更処理を実行しない。図12は、印刷処理の作動シーケンスを示している。まず、図12のS81において、印刷指示の操作入力がなされる。例えば、入力I/F18を介して編集画面60上に表示した印刷ボタンの選択を受け付けると、編集画面制御モジュール27は、印刷指示を受け付け(S81)、画像データ作成モジュール28へ印刷画像の作成を指示する(S83)。画像データ作成モジュール28は、編集画面制御モジュール27から印刷画像の作成指示を取得すると、オブジェクトリスト71のZオーダに従って、印刷画像を生成する。例えば、画像データ作成モジュール28は、デバイスコンテキスト35とは異なる、メモリ14に確保された印刷用の描画領域に印刷用の画像を描画する(S85)。そして、画像データ作成モジュール28は、印刷用の画像の準備が完了したことを編集画面制御モジュール27へ通知する(S87)。編集画面制御モジュール27は、印刷用の描画領域に描画された印刷画像に基づいて、プリンタ50や無線プリンタ51に対する印刷処理を実行する(S89)。このように、本実施形態の画像データ作成モジュール28では、印刷画像の作成処理においては、Zオーダの変更や、オブジェクトリスト71の更新を実行しない。これにより、現状のオブジェクトリスト71のZオーダに従って、編集画面60の表示と同じZオーダで並んだテキストオブジェクト61〜64をプリンタ50,51で印刷することが可能となる。
<Printing process operation sequence>
The image
以上、上記した実施形態によれば、画像データ作成モジュール28は、変更対象リストに含まれるテキストオブジェクト62,63を、オブジェクトリスト71Dが示すZオーダに並び替える(S63)。画像データ作成モジュール28は、オブジェクトリスト71DのZオーダがS51の操作入力の指示に従ったZオーダになるよう、並び替えた変更対象リストを用いてオブジェクトリスト71Dを更新する(S69)。これにより、変更対象リストの順番が、オブジェクトリスト71DのZオーダに並んでいない場合、変更対象リストを並び替えた後にオブジェクトリスト71Dを更新することで、オブジェクトリスト71DのZオーダを適切に変更できる。
As described above, according to the above-described embodiment, the image
ここで、近年、プリンタ50,51に求められている機能が多様化していることから、プリンタ50,51は、多様な機能や特殊な機能が必要となっている。このような状況から、プリンタ50,51に印刷させる画像データを編集する画像データ作成モジュール28などのプログラムには、多様な画像編集や特殊な画像をプリンタ50,51に印刷させるためのデータを作成する機能や、印刷する機能などが求められている。その結果、この種のプログラムの構成が複雑化する虞がある。これに対し、例えば、プログラムを、機能ごとのモジュールに分け、モジュールごとに開発を行えば、開発効率の向上や、不具合に対するアップデートの簡易化を図れる。しかしながら、このようなモジュールごとの開発では、例えば、Zオーダに対する処理内容を、編集画面制御モジュール27の開発側の都合で変更する、あるいは画像データ作成モジュール28の開発側の都合で変更する場合がある。例えば、編集画面制御モジュール27は、選択されたテキストオブジェクト62,63を選択順に並べて画像データ作成モジュール28に出力する構成となる、あるいは選択されたテキストオブジェクト62,63をZオーダに並べて画像データ作成モジュール28に出力する構成となる。そこで、本実施形態の画像データ作成モジュール28は、編集画面制御モジュール27から取得した変更対象リストの順番を判断し並び替えを実行することで、編集画面制御モジュール27の処理手順の変更に対して柔軟に対応することが可能となる。
Here, since the functions required of the
因みに、PC10は、情報処理装置の一例である。入力I/F18は、ユーザインタフェースの一例である。LCD16は、ディスプレイの一例である。アプリケーションプログラム26は、制御プログラムの一例である。アプリケーションプログラム26は、編集画面制御モジュールの一例である。画像データ作成モジュール28は、画像データ作成モジュールの一例である。オブジェクトリスト71は、選択オブジェクトリストの一例である。プリンタ50,51は、画像形成装置の一例である。
Incidentally, the
<実施例の効果>
上記した実施形態によれば、以下の効果を奏する。
<Effect of Examples>
According to the above-described embodiment, the following effects are obtained.
画像データ作成モジュール28は、図7のS53で編集画面制御モジュール27から指示を受けたテキストオブジェクト62,63が、メモリ14に記憶されたオブジェクトリスト71DのZオーダに並んでいると判断した場合(S61:YES)、変更対象リストのテキストオブジェクト62,63の並び替えを実行しない。これにより、S61の判断処理により、S63の並べ替え処理が必要か否かを判断できる。その結果、変更対象リストがZオーダに並んでいるにも係わらず、S63の並び替え処理を実行するような不要な処理の発生を抑制することができる。
When the image
編集画面制御モジュール27は、変更対象リストのテキストオブジェクト62,63が、オブジェクトリスト71DのZオーダに並んでいるか否かを判断しても良い。そして、編集画面制御モジュール27は、判断結果を示すフラグ情報を、S53において画像データ作成モジュール28へ通知しても良い。これにより、画像データ作成モジュール28は、編集画面制御モジュール27から取得したフラグ情報に基づいて、変更対象リストをZオーダに並び替える必要があるか否かを判断できる(S61)。その結果、画像データ作成モジュール28は、S61において、変更対象リストの順番と、オブジェクトリスト71DのZオーダとの比較処理が不要となる。
The edit
変更対象リストのテキストオブジェクト62,63の位置を他のテキストオブジェクト61,64の位置に比べてZオーダの前側に移動する場合、画像データ作成モジュール28は、変更対象リストの先頭のオブジェクト(例えば、「う」のテキストオブジェクト63)が、現時点のオブジェクトリスト71Dの一番前にあるか否かを判断する(S67)。即ち、画像データ作成モジュール28は、前側への移動の場合、変更対象リストの先頭のテキストオブジェクト63のみを、オブジェクトリスト71Dと比較する。その結果、比較する対象を絞ることで、S67の判断処理をより迅速に実行できる。
When the position of the text objects 62 and 63 of the change target list is moved to the front side of the Z order compared to the positions of the other text objects 61 and 64, the image
また、画像データ作成モジュール28は、後側への移動の場合、変更対象リストの最後尾のテキストオブジェクト62のみを、オブジェクトリスト71Dと比較する(S71)。その結果、比較する対象を絞ることで、S71の判断処理をより迅速に実行できる。
Further, in the case of moving to the rear side, the image
画像データ作成モジュール28は、変更対象リストとして、1つのテキストオブジェクトが選択された場合、即ち、1つのテキストオブジェクトについてZオーダの変更を指示された場合、図8に示す処理を実行しなくとも良い。その結果、図8に示す変更対象リストの順番を判断する処理や変更する処理などの不要な処理を実行しないことで、処理の効率化を図ることができる。
The image
画像データ作成モジュール28は、ラベルの印刷動作において、Zオーダの変更処理を実行しない(図12参照)。その結果、現状のオブジェクトリスト71のZオーダに従って、編集画面60の表示と同じZオーダに並んだテキストオブジェクト61〜64をプリンタ50,51で印刷することが可能となる。尚、本願における出力指示は、印刷指示に限らず、例えば、電子データをサーバに送信する指示でも良い。
The image
また、本発明は、上記実施形態に限定されるものではなく、当業者の知識に基づいて種々の変更、改良を施した種々の態様で実施することが可能である。
上記実施形態では、画像データ作成モジュール28は、図8のS61において、テキストオブジェクト62,63がオブジェクトリスト71DのZオーダに並んでいるか否かを判断し、並んでいない場合に、S62の並び替えを実行した。しかしながら、画像データ作成モジュール28は、S61の判断処理を実行せずに、すべての変更対象リストを対象に、S63を実行しても良い。即ち、S61の判断処理を実行せず、常にS63を実行してからS65を実行しても良い。これにより、S61における変更対象リストの順番を判断する処理が不要となる。
Further, the present invention is not limited to the above-described embodiment, and can be implemented in various embodiments with various modifications and improvements based on the knowledge of those skilled in the art.
In the above embodiment, the image
また、上記実施形態では、CPU12によってアプリケーションプログラム26による処理が実行される例を説明したが、これに限らない。PC10は、アプリケーションプログラム26による処理の全部や一部を、CPU12に限らず、ASICや他の論理集積回路により実行しても良いし、CPU等やASIC、他の論理集積回路を協働させて実行しても良い。
上記実施形態では、デバイスコンテキスト35を、メモリの領域として記載したが、デバイスコンテキスト35は、所定の処理を実行するプログラムを備えても良い。例えば、デバイスコンテキスト35は、オブジェクト指向プログラミング言語におけるオブジェクト(クラス)でも良く、外部からの指示を受け付けるメソッドを備えても良い。
Further, in the above embodiment, an example in which the processing by the
In the above embodiment, the
10 PC、16 LCD、18 入力I/F、20 ネットワークI/F、26 アプリケーションプログラム、27 編集画面制御モジュール、28 画像データ作成モジュール、32 OS、60 編集画面、71 オブジェクトリスト。 10 PC, 16 LCD, 18 input I / F, 20 network I / F, 26 application program, 27 edit screen control module, 28 image data creation module, 32 OS, 60 edit screen, 71 object list.
Claims (6)
前記制御プログラムは、編集画面制御モジュールおよび画像データ作成モジュールを含み、
前記編集画面制御モジュールは、
前記コンピュータを、
オブジェクトを編集するための編集画面を前記ディスプレイに表示させる第1表示手段と、
前記ユーザインタフェースを介して受付けた編集指示に対応する表示画像データの作成を指示する第1指示情報を前記画像データ作成モジュールに提供する第1指示手段として機能させ、前記表示画像データは、前記編集指示に従って編集されたオブジェクトを含む画像を示す画像データであり、
前記コンピュータを、
前記第1指示手段が前記第1指示情報を提供した後に、前記画像データ作成モジュールが提供した前記表示画像データを取得する第1取得手段と、
前記第1取得手段が取得した前記表示画像データに基づく表示画像を含む前記編集画面を前記ディスプレイに表示させる第2表示手段として機能させ、
前記画像データ作成モジュールは、
前記コンピュータを、
前記第1指示情報を前記編集画面制御モジュールから取得する第1指示取得手段と、
前記第1指示取得手段が前記第1指示情報を取得した場合に、前記第1指示情報に従って前記表示画像データを作成する第1作成手段と、
前記第1作成手段が作成した前記表示画像データを、前記編集画面制御モジュールに提供する第1提供手段として機能させ、
前記第1指示手段は、前記ユーザインタフェースを介して受付けた前記編集指示が、新たな前記オブジェクトを前記編集画面に追加することを示す編集指示であった場合に、追加指示情報を前記画像データ作成モジュールに提供し、前記追加指示情報は、新たな前記オブジェクトを追加した表示画像を示す表示画像データの作成を指示する前記第1指示情報であり、
前記画像データ作成モジュールは、
前記コンピュータを、
前記第1指示取得手段が取得した前記第1指示情報が、前記追加指示情報である場合に、新たな前記オブジェクトのZオーダが最前面であることを示すよう、Zオーダリストを更新する第1更新手段として機能させ、前記Zオーダリストは、前記メモリに記憶されているリストであって、前記第1提供手段が提供した最新の前記表示画像データが示す前記表示画像に含まれる前記オブジェクトのZオーダを示すリストであり、前記Zオーダリストには、前記表示画像に含まれる複数の前記オブジェクトのそれぞれを識別するオブジェクト識別情報が複数含まれており、前記Zオーダリストは、前記Zオーダリストに含まれる複数の前記オブジェクト識別情報を前記Zオーダでリストすることで、前記Zオーダを示しており、
前記第1指示手段は、前記ユーザインタフェースを介して受付けた前記編集指示が、複数の選択オブジェクトを対象とした、前記Zオーダの変更を示すZオーダ変更指示情報を含む編集指示であった場合に、Zオーダ変更指示を前記画像データ作成モジュールに提供し、前記複数の選択オブジェクトは、前記ディスプレイに表示された複数の前記オブジェクトのうち、前記編集指示によって選択された複数のオブジェクトであり、前記Zオーダ変更指示情報は、前記複数の選択オブジェクトのZオーダを変更した表示画像を示す表示画像データの作成を指示する前記第1指示情報であり、かつ、選択オブジェクトリストを含んでおり、前記選択オブジェクトリストは、前記複数の選択オブジェクトをそれぞれ識別する複数の前記オブジェクト識別情報がリストされており、
前記画像データ作成モジュールは、
前記コンピュータを、
前記第1指示取得手段が取得した前記第1指示情報が、前記Zオーダ変更指示情報である場合に、前記選択オブジェクトリストに含まれる複数の前記オブジェクト識別情報を、前記Zオーダリストが示すZオーダに並び替えた第2選択オブジェクトリストを作成する並び替え手段と、
前記並び替え手段により作成された前記第2選択オブジェクトリストが含まれるよう、かつ、前記Zオーダリストに含まれた前記第2選択オブジェクトリストに対応するオブジェクトのZオーダが前記Zオーダ変更指示情報の指示に従ったZオーダになるよう、前記Zオーダリストを更新する第2更新手段として機能させ、
前記第2更新手段によりZオーダリストが更新された場合に、前記第1作成手段は、更新された前記Zオーダリストが示すZオーダで配置された前記オブジェクトを含む前記表示画像を示す前記表示画像データを作成させ、
前記画像データ作成モジュールは、
前記コンピュータを、
前記選択オブジェクトリストに含まれる複数の前記オブジェクト識別情報が、前記Zオーダリストが示すZオーダに並んでいるか否かを判断する第1判断手段として機能させ、
前記並び替え手段は、
前記第1判断手段により、複数の前記オブジェクト識別情報が、前記Zオーダリストが示すZオーダに並んでいると判断した場合、前記選択オブジェクトリストに含まれる複数の前記オブジェクト識別情報の並び替えを実行せず、
前記第1判断手段により、複数の前記オブジェクト識別情報が、前記Zオーダリストが示すZオーダに並んでいないと判断した場合、前記選択オブジェクトリストに含まれる複数の前記オブジェクト識別情報の並び替えを実行し、
前記編集画面制御モジュールは、
前記コンピュータを、
前記編集指示の前記選択オブジェクトリストに含まれる複数の前記オブジェクト識別情報が、前記Zオーダリストが示すZオーダに並んでいるか否かを判断する第2判断手段と、して機能させ、
前記第1指示手段は、
前記第2判断手段の判断結果を示すフラグ情報を前記画像データ作成モジュールに提供し、
前記第1判断手段は、前記第1指示手段から取得した前記フラグ情報に基づいて、前記選択オブジェクトリストに含まれる複数の前記オブジェクト識別情報が、前記Zオーダリストが示すZオーダに並んでいるか否かを判断する、ことを特徴とする制御プログラム。 A control program that has a user interface, a display, memory, and can be executed by a computer of an information processing device in which an operating system is installed.
The control program includes an edit screen control module and an image data creation module.
The editing screen control module
The computer
A first display means for displaying an edit screen for editing an object on the display, and
The first instruction information for instructing the creation of the display image data corresponding to the edit instruction received via the user interface is made to function as the first instruction means for providing the image data creation module, and the display image data is the edit. Image data indicating an image containing an object edited according to the instructions.
The computer
After the first instruction means provides the first instruction information, the first acquisition means for acquiring the display image data provided by the image data creation module, and
The editing screen including the display image based on the display image data acquired by the first acquisition means is made to function as the second display means for displaying on the display.
The image data creation module
The computer
The first instruction acquisition means for acquiring the first instruction information from the edit screen control module, and
When the first instruction acquisition means acquires the first instruction information, the first creation means that creates the display image data according to the first instruction information, and
The display image data created by the first creating means is made to function as the first providing means to be provided to the editing screen control module.
When the editing instruction received via the user interface is an editing instruction indicating that a new object is added to the editing screen, the first instruction means creates additional instruction information as image data. The additional instruction information provided to the module is the first instruction information for instructing the creation of display image data indicating the display image to which the new object is added.
The image data creation module
The computer
When the first instruction information acquired by the first instruction acquisition means is the additional instruction information, the first order list is updated so as to indicate that the Z order of the new object is in the foreground. The Z order list functions as an update means, and the Z order list is a list stored in the memory, and the Z of the object included in the display image indicated by the latest display image data provided by the first providing means. It is a list showing an order, and the Z order list includes a plurality of object identification information for identifying each of the plurality of objects included in the display image, and the Z order list is included in the Z order list. The Z order is indicated by listing the plurality of included object identification information in the Z order.
The first instruction means is when the edit instruction received via the user interface is an edit instruction including Z order change instruction information indicating the change of the Z order for a plurality of selected objects. , Z order change instruction is provided to the image data creation module, and the plurality of selected objects are a plurality of objects selected by the editing instruction among the plurality of the objects displayed on the display, and the Z. The order change instruction information is the first instruction information for instructing the creation of display image data indicating the display image in which the Z order of the plurality of selected objects is changed, and also includes the selection object list, and the selection object. The list is a list of a plurality of the object identification information that identifies the plurality of selected objects.
The image data creation module
The computer
When the first instruction information acquired by the first instruction acquisition means is the Z order change instruction information, the Z order indicates a plurality of the object identification information included in the selected object list. Sorting means to create a second-choice object list sorted by
The Z order of the object corresponding to the second selection object list included in the Z order list so as to include the second selection object list created by the sorting means is the Z order change instruction information. It functions as a second update means for updating the Z order list so that it becomes the Z order according to the instruction.
When the Z order list is updated by the second updating means, the first creating means shows the display image including the objects arranged in the Z order indicated by the updated Z order list. Let me create the data
The image data creation module
The computer
A plurality of the object identification information included in the selected object list is made to function as a first determination means for determining whether or not the plurality of object identification information is arranged in the Z order indicated by the Z order list.
The sorting means
When it is determined by the first determination means that the plurality of object identification information is arranged in the Z order indicated by the Z order list, the plurality of object identification information included in the selected object list is rearranged. Without
When it is determined by the first determination means that the plurality of object identification information is not arranged in the Z order indicated by the Z order list, the plurality of object identification information included in the selected object list is rearranged. death,
The editing screen control module
The computer
A plurality of the object identification information included in the selected object list of the editing instruction is made to function as a second determination means for determining whether or not the plurality of object identification information is arranged in the Z order indicated by the Z order list.
The first instruction means is
Flag information indicating the determination result of the second determination means is provided to the image data creation module.
In the first determination means, whether or not a plurality of the object identification information included in the selected object list are arranged in the Z order indicated by the Z order list based on the flag information acquired from the first instruction means. A control program characterized by determining whether or not an object is used.
前記Zオーダ変更指示情報として、前記複数の選択オブジェクトの位置を他の前記オブジェクトの位置に比べて前記Zオーダの前側に移動する情報を取得した場合に、前記並び替え手段により作成された前記第2選択オブジェクトリストにおける前記Zオーダの先頭の前記オブジェクトの位置と、前記Zオーダリストの前記Zオーダとに基づいて、前記Zオーダリストを更新することを特徴とする請求項1に記載の制御プログラム。 The second updating means is
When the information for moving the position of the plurality of selected objects to the front side of the Z order as compared with the positions of the other objects is acquired as the Z order change instruction information, the first item created by the sorting means. 2. The control program according to claim 1 , wherein the Z order list is updated based on the position of the object at the head of the Z order in the selected object list and the Z order of the Z order list. ..
前記Zオーダ変更指示情報として、前記複数の選択オブジェクトの位置を他の前記オブジェクトの位置に比べて前記Zオーダの後側に移動する情報を取得した場合に、前記並び替え手段により作成された前記第2選択オブジェクトリストにおける前記Zオーダの最後尾の前記オブジェクトの位置と、前記Zオーダリストの前記Zオーダとに基づいて、前記Zオーダリストを更新することを特徴とする請求項1又は請求項2に記載の制御プログラム。 The second updating means is
The Z-order change instruction information created by the rearrangement means when information for moving the position of the plurality of selected objects to the rear side of the Z-order with respect to the positions of other objects is acquired. Claim 1 or claim , wherein the Z order list is updated based on the position of the object at the end of the Z order in the second selection object list and the Z order of the Z order list. The control program according to 2.
前記ユーザインタフェースを介して受付けた前記編集指示が、1つの選択オブジェクトを対象とした、前記Zオーダの変更を示す第2Zオーダ変更指示情報を含む編集指示であった場合に、前記Zオーダ変更指示を前記画像データ作成モジュールに提供し、前記1つの選択オブジェクトは、前記ディスプレイに表示された複数の前記オブジェクトのうち、前記編集指示によって選択された1つのオブジェクトであり、前記第2Zオーダ変更指示情報は、前記1つの選択オブジェクトのZオーダを変更した表示画像を示す表示画像データの作成を指示する前記第1指示情報であり、かつ、第3選択オブジェクトリストを含んでおり、前記第3選択オブジェクトリストは、前記1つの選択オブジェクトを識別する前記オブジェクト識別情報であり、
前記並び替え手段は、
前記第1指示取得手段が取得した前記第1指示情報が、前記第2Zオーダ変更指示情報である場合に、前記第3選択オブジェクトリストの前記オブジェクト識別情報の並び替えを実行せず、
前記第2更新手段は、
前記第3選択オブジェクトリストが含まれるよう、かつ、前記Zオーダリストに含まれた前記第3選択オブジェクトリストに対応するオブジェクトのZオーダが前記第2Zオーダ変更指示情報の指示に従ったZオーダになるよう、前記Zオーダリストを更新することを特徴とする請求項1乃至請求項3の何れか1項に記載の制御プログラム。 The first instruction means is
When the edit instruction received via the user interface is an edit instruction including the second Z order change instruction information indicating the change of the Z order for one selected object, the Z order change instruction. Is provided to the image data creation module, and the one selected object is one object selected by the editing instruction among the plurality of the objects displayed on the display, and the second Z order change instruction information. Is the first instruction information for instructing the creation of display image data indicating the display image in which the Z order of the one selected object is changed, and includes the third selection object list, and the third selection object. The list is the object identification information that identifies the one selected object.
The sorting means
When the first instruction information acquired by the first instruction acquisition means is the second Z order change instruction information, the object identification information in the third selection object list is not rearranged.
The second updating means is
The Z order of the object corresponding to the third selection object list included in the Z order list is changed to the Z order according to the instruction of the second Z order change instruction information so that the third selection object list is included. The control program according to any one of claims 1 to 3 , wherein the Z order list is updated so as to be such.
前記制御プログラムは、
前記コンピュータを、
前記第1表示手段が前記表示画像を前記ディスプレイに表示させ、かつ、前記ユーザインタフェースを介して出力指示を受け付けた場合に、前記表示画像データに対応する出力画像データを、前記ネットワークインタフェースを介して前記情報処理装置と接続され画像形成装置に出力する出力手段として機能させることを特徴とする請求項1乃至請求項4の何れか1項に記載の制御プログラム。 The information processing device is provided with a network interface.
The control program
The computer
When the first display means displays the display image on the display and receives an output instruction via the user interface, the output image data corresponding to the display image data is transmitted via the network interface. The control program according to any one of claims 1 to 4, wherein the control program is connected to the information processing device and functions as an output means for outputting to an image forming device.
前記編集画面制御モジュールは、
前記コンピュータを、
オブジェクトを編集するための編集画面を前記ディスプレイに表示させる第1表示手段と、
前記ユーザインタフェースを介して受付けた編集指示に対応する表示画像データの作成を指示する第1指示情報を前記画像データ作成モジュールに提供する第1指示手段として機能させ、前記表示画像データは、前記編集指示に従って編集されたオブジェクトを含む画像を示す画像データであり、
前記コンピュータを、
前記第1指示手段が前記第1指示情報を提供した後に、前記画像データ作成モジュールが提供した前記表示画像データを取得する第1取得手段と、
前記第1取得手段が取得した前記表示画像データに基づく表示画像を含む前記編集画面を前記ディスプレイに表示させる第2表示手段として機能させ、
前記画像データ作成モジュールは、
前記コンピュータを、
前記第1指示情報を前記編集画面制御モジュールから取得する第1指示取得手段と、
前記第1指示取得手段が前記第1指示情報を取得した場合に、前記第1指示情報に従って前記表示画像データを作成する第1作成手段と、
前記第1作成手段が作成した前記表示画像データを、前記編集画面制御モジュールに提供する第1提供手段として機能させ、
前記第1指示手段は、前記ユーザインタフェースを介して受付けた前記編集指示が、新たな前記オブジェクトを前記編集画面に追加することを示す編集指示であった場合に、追加指示情報を前記画像データ作成モジュールに提供し、前記追加指示情報は、新たな前記オブジェクトを追加した表示画像を示す表示画像データの作成を指示する前記第1指示情報であり、
前記画像データ作成モジュールは、
前記コンピュータを、
前記第1指示取得手段が取得した前記第1指示情報が、前記追加指示情報である場合に、新たな前記オブジェクトのZオーダが最前面であることを示すよう、Zオーダリストを更新する第1更新手段として機能させ、前記Zオーダリストは、前記メモリに記憶されているリストであって、前記第1提供手段が提供した最新の前記表示画像データが示す前記表示画像に含まれる前記オブジェクトのZオーダを示すリストであり、前記Zオーダリストには、前記表示画像に含まれる複数の前記オブジェクトのそれぞれを識別するオブジェクト識別情報が複数含まれており、前記Zオーダリストは、前記Zオーダリストに含まれる複数の前記オブジェクト識別情報を前記Zオーダでリストすることで、前記Zオーダを示しており、
前記第1指示手段は、前記ユーザインタフェースを介して受付けた前記編集指示が、複数の選択オブジェクトを対象とした、前記Zオーダの変更を示すZオーダ変更指示情報を含む編集指示であった場合に、Zオーダ変更指示を前記画像データ作成モジュールに提供し、前記複数の選択オブジェクトは、前記ディスプレイに表示された複数の前記オブジェクトのうち、前記編集指示によって選択された複数のオブジェクトであり、前記Zオーダ変更指示情報は、前記複数の選択オブジェクトのZオーダを変更した表示画像を示す表示画像データの作成を指示する前記第1指示情報であり、かつ、選択オブジェクトリストを含んでおり、前記選択オブジェクトリストは、前記複数の選択オブジェクトをそれぞれ識別する複数の前記オブジェクト識別情報がリストされており、
前記画像データ作成モジュールは、
前記コンピュータを、
前記第1指示取得手段が取得した前記第1指示情報が、前記Zオーダ変更指示情報である場合に、前記選択オブジェクトリストに含まれる複数の前記オブジェクト識別情報を、前記Zオーダリストが示すZオーダに並び替えた第2選択オブジェクトリストを作成する並び替え手段と、
前記並び替え手段により作成された前記第2選択オブジェクトリストが含まれるよう、かつ、前記Zオーダリストに含まれた前記第2選択オブジェクトリストに対応するオブジェクトのZオーダが前記Zオーダ変更指示情報の指示に従ったZオーダになるよう、前記Zオーダリストを更新する第2更新手段として機能させ、
前記第2更新手段によりZオーダリストが更新された場合に、前記第1作成手段は、更新された前記Zオーダリストが示すZオーダで配置された前記オブジェクトを含む前記表示画像を示す前記表示画像データを作成させ、
前記画像データ作成モジュールは、
前記コンピュータを、
前記選択オブジェクトリストに含まれる複数の前記オブジェクト識別情報が、前記Zオーダリストが示すZオーダに並んでいるか否かを判断する第1判断手段として機能させ、
前記並び替え手段は、
前記第1判断手段により、複数の前記オブジェクト識別情報が、前記Zオーダリストが示すZオーダに並んでいると判断した場合、前記選択オブジェクトリストに含まれる複数の前記オブジェクト識別情報の並び替えを実行せず、
前記第1判断手段により、複数の前記オブジェクト識別情報が、前記Zオーダリストが示すZオーダに並んでいないと判断した場合、前記選択オブジェクトリストに含まれる複数の前記オブジェクト識別情報の並び替えを実行し、
前記編集画面制御モジュールは、
前記コンピュータを、
前記編集指示の前記選択オブジェクトリストに含まれる複数の前記オブジェクト識別情報が、前記Zオーダリストが示すZオーダに並んでいるか否かを判断する第2判断手段と、して機能させ、
前記第1指示手段は、
前記第2判断手段の判断結果を示すフラグ情報を前記画像データ作成モジュールに提供し、
前記第1判断手段は、前記第1指示手段から取得した前記フラグ情報に基づいて、前記選択オブジェクトリストに含まれる複数の前記オブジェクト識別情報が、前記Zオーダリストが示すZオーダに並んでいるか否かを判断する、ことを特徴とする画像データ作成モジュール。
It is an image data creation module that has a user interface, a display, and a memory and can be executed by a computer of an information processing device in which an operating system is installed.
The editing screen control module
The computer
A first display means for displaying an edit screen for editing an object on the display, and
The first instruction information for instructing the creation of the display image data corresponding to the edit instruction received via the user interface is made to function as the first instruction means for providing the image data creation module, and the display image data is the edit. Image data indicating an image containing an object edited according to the instructions.
The computer
After the first instruction means provides the first instruction information, the first acquisition means for acquiring the display image data provided by the image data creation module, and
The editing screen including the display image based on the display image data acquired by the first acquisition means is made to function as the second display means for displaying on the display.
The image data creation module
The computer
The first instruction acquisition means for acquiring the first instruction information from the edit screen control module, and
When the first instruction acquisition means acquires the first instruction information, the first creation means that creates the display image data according to the first instruction information, and
The display image data created by the first creating means is made to function as the first providing means to be provided to the editing screen control module.
When the editing instruction received via the user interface is an editing instruction indicating that a new object is added to the editing screen, the first instruction means creates additional instruction information as image data. The additional instruction information provided to the module is the first instruction information for instructing the creation of display image data indicating the display image to which the new object is added.
The image data creation module
The computer
When the first instruction information acquired by the first instruction acquisition means is the additional instruction information, the first order list is updated so as to indicate that the Z order of the new object is in the foreground. The Z order list functions as an update means, and the Z order list is a list stored in the memory, and the Z of the object included in the display image indicated by the latest display image data provided by the first providing means. It is a list showing an order, and the Z order list includes a plurality of object identification information for identifying each of the plurality of objects included in the display image, and the Z order list is included in the Z order list. The Z order is indicated by listing the plurality of included object identification information in the Z order.
The first instruction means is when the edit instruction received via the user interface is an edit instruction including Z order change instruction information indicating the change of the Z order for a plurality of selected objects. , Z order change instruction is provided to the image data creation module, and the plurality of selected objects are a plurality of objects selected by the editing instruction among the plurality of the objects displayed on the display, and the Z. The order change instruction information is the first instruction information for instructing the creation of display image data indicating the display image in which the Z order of the plurality of selected objects is changed, and also includes the selection object list, and the selection object. The list is a list of a plurality of the object identification information that identifies the plurality of selected objects.
The image data creation module
The computer
When the first instruction information acquired by the first instruction acquisition means is the Z order change instruction information, the Z order indicates a plurality of the object identification information included in the selected object list. Sorting means to create a second-choice object list sorted by
The Z order of the object corresponding to the second selection object list included in the Z order list so as to include the second selection object list created by the sorting means is the Z order change instruction information. It functions as a second update means for updating the Z order list so that it becomes the Z order according to the instruction.
When the Z order list is updated by the second updating means, the first creating means shows the display image including the objects arranged in the Z order indicated by the updated Z order list. Let me create the data
The image data creation module
The computer
A plurality of the object identification information included in the selected object list is made to function as a first determination means for determining whether or not the plurality of object identification information is arranged in the Z order indicated by the Z order list.
The sorting means
When it is determined by the first determination means that the plurality of object identification information is arranged in the Z order indicated by the Z order list, the plurality of object identification information included in the selected object list is rearranged. Without
When it is determined by the first determination means that the plurality of object identification information is not arranged in the Z order indicated by the Z order list, the plurality of object identification information included in the selected object list is rearranged. death,
The editing screen control module
The computer
A plurality of the object identification information included in the selected object list of the editing instruction is made to function as a second determination means for determining whether or not the plurality of object identification information is arranged in the Z order indicated by the Z order list.
The first instruction means is
Flag information indicating the determination result of the second determination means is provided to the image data creation module.
In the first determination means, whether or not a plurality of the object identification information included in the selected object list are arranged in the Z order indicated by the Z order list based on the flag information acquired from the first instruction means. An image data creation module characterized by determining whether or not.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017178129A JP6950391B2 (en) | 2017-09-15 | 2017-09-15 | Control program and image data creation module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017178129A JP6950391B2 (en) | 2017-09-15 | 2017-09-15 | Control program and image data creation module |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019054451A JP2019054451A (en) | 2019-04-04 |
JP6950391B2 true JP6950391B2 (en) | 2021-10-13 |
Family
ID=66014747
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017178129A Active JP6950391B2 (en) | 2017-09-15 | 2017-09-15 | Control program and image data creation module |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6950391B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7304004B2 (en) * | 2019-09-27 | 2023-07-06 | ブラザー工業株式会社 | Information processing program |
JP7456139B2 (en) * | 2019-12-09 | 2024-03-27 | ブラザー工業株式会社 | Programs and information processing equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5049515B2 (en) * | 2006-06-06 | 2012-10-17 | キヤノン株式会社 | Information processing apparatus, information processing method, and information processing program |
JP5149063B2 (en) * | 2008-04-28 | 2013-02-20 | 日本放送協会 | Data comparison apparatus and program |
US20110181521A1 (en) * | 2010-01-26 | 2011-07-28 | Apple Inc. | Techniques for controlling z-ordering in a user interface |
JP2015225126A (en) * | 2014-05-26 | 2015-12-14 | キヤノンファインテック株式会社 | Information processor, method and program |
-
2017
- 2017-09-15 JP JP2017178129A patent/JP6950391B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2019054451A (en) | 2019-04-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11489976B2 (en) | Mobile terminal stores program to select appropriate image processing device to execute one of plurality of image processing operations by designating an operation ID identifying a designatable operation | |
JP4743260B2 (en) | Printer | |
JP2006074592A (en) | Electronic album edit apparatus, control method thereof, program thereof, and computer readable storage medium with program stored | |
US11556297B2 (en) | Non-transitory computer-readable medium storing computer-readable instructions | |
CN109976681B (en) | Information processing apparatus, image forming apparatus, and computer-readable recording medium | |
US11609727B2 (en) | Non-transitory computer-readable recording medium, information processing apparatus and printing method | |
US10511728B2 (en) | Image processing device, non-transitory computer-readable recording medium containing instructions therefor, and information processing system | |
JP6950391B2 (en) | Control program and image data creation module | |
JP2018205995A (en) | Program and portable terminal | |
US9110609B2 (en) | Printing system, information processing device, and non-transitory computer readable recording medium for controlling printing process by applying a printing rule to a print job | |
JP6939304B2 (en) | Control program | |
US11347455B2 (en) | Information processing device, control method for information processing device, and program | |
JP6907851B2 (en) | Control program | |
JP6737137B2 (en) | Program executed by information processing terminal and information processing system | |
JP7013882B2 (en) | Programs and information processing equipment | |
JP6859665B2 (en) | Programs and information processing systems executed by information processing terminals | |
JP6939303B2 (en) | Control program | |
JP6926876B2 (en) | Program and edit screen control module | |
JP2018067856A (en) | Program run by information processing terminal and information processing terminal | |
JP6772770B2 (en) | Programs and information processing systems executed by information processing terminals | |
JP6613794B2 (en) | program | |
JP2006074590A (en) | Electronic album editing device, its control method, its program and storage medium recorded with the program readable by computer system | |
JP2021063863A (en) | Information processing apparatus, program, and information processing method | |
JP2010114653A (en) | Device for creating thumbnail |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200331 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210209 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210309 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210428 |
|
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: 20210824 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210906 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6950391 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |