JP2002082660A - Screen output control method and device and recording medium - Google Patents

Screen output control method and device and recording medium

Info

Publication number
JP2002082660A
JP2002082660A JP2000273325A JP2000273325A JP2002082660A JP 2002082660 A JP2002082660 A JP 2002082660A JP 2000273325 A JP2000273325 A JP 2000273325A JP 2000273325 A JP2000273325 A JP 2000273325A JP 2002082660 A JP2002082660 A JP 2002082660A
Authority
JP
Japan
Prior art keywords
information
display
resolution
output
coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000273325A
Other languages
Japanese (ja)
Inventor
Takako Nishino
隆子 西野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Hokuriku Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Software Hokuriku Ltd filed Critical NEC Software Hokuriku Ltd
Priority to JP2000273325A priority Critical patent/JP2002082660A/en
Publication of JP2002082660A publication Critical patent/JP2002082660A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a method and a device capable of always displaying an image in sizes of fixed ratio on a screen and also capable of displaying fixed contents of parts in the area of the picture without depending on the resolution of an object screen of an output as to the picture and constituting parts in the picture. SOLUTION: This device (display data processor) is provided with a coordinate transformation information obtaining means 111 which obtains design information at the time a design from a display resource 100 in which screen information which is designed with certain resolution, position and size information of parts in the screen and the resolution of a device at the time of the design are stored and calculates the ratio between the resolution at the time of the design and the resolution in an execution environment under which display is to be executed and preserves the device information, the ratio in a coordination transformation information part 112 by including a DPI(dot per inch) value at the time of the design when a coordinate unit is a point value (character unit), a coordinate information transformation means 113 which develops the display resource 100 into an actual display resource 114 and, at that time, transforms the position and size information into absolute values based on the coordinate transformation information to make them actual resource information and a display data output means 115 which calls upon an output device 120 to perform an output based on the actual display resource 114.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、出力装置における
表示データの制御方法及び装置に関し、特に、出力対象
の装置の解像度に依存せずに画面データを表示する方法
及び装置並びに記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for controlling display data in an output device, and more particularly to a method and apparatus for displaying screen data without depending on the resolution of a device to be output, and a recording medium.

【0002】[0002]

【従来の技術】従来の情報処理装置においては、表示装
置又は印刷装置(プリンタ)等の出力装置にデータを出
力する場合、装置の解像度に依存する絶対座標値で画面
を表示している。
2. Description of the Related Art In a conventional information processing apparatus, when outputting data to an output device such as a display device or a printing device (printer), a screen is displayed with absolute coordinate values depending on the resolution of the device.

【0003】[0003]

【発明が解決しようとする課題】かかる構成の従来の技
術には、次のような問題点があった。
The prior art having such a configuration has the following problems.

【0004】すなわち第1の問題点は、解像度に依存す
る絶対座標値で表示画面を表示しているため、表示装置
の解像度の相違によって、表示装置のスクリーン(表示
画面)内で占める画面(表示データ)の割合が相違す
る、ということである。
[0004] That is, the first problem is that the display screen is displayed with the absolute coordinate values depending on the resolution. Therefore, the screen occupied in the screen (display screen) of the display device due to the difference in resolution of the display device. Data) are different.

【0005】第2の問題点は、表示画面を、表示装置の
スクリーン上一定率のサイズで表示したとしても、画面
内に表示できる部品の内容に相違がある、ということで
ある。これは、画面だけの拡大/縮小した場合、画面内
の部品配置を同様の処理で拡大/縮小しない限り、画面
内に収まる部品の数が相違したり、部品全体の配置のイ
メージが相違するためである。
A second problem is that even if the display screen is displayed at a fixed size on the screen of the display device, there is a difference in the contents of the parts that can be displayed on the screen. This is because, if only the screen is enlarged / reduced, the number of components that can be accommodated in the screen is different or the image of the entire component is different unless the component arrangement in the screen is enlarged / reduced by the same processing. It is.

【0006】なお、例えば特開平4−291675号公
報には、解像度(X/DX,Y/DY)、フォントサイ
ズ(FX,FY)、及びアスペクト比(AX,AY)を
含む画面の属性の少なくとも一つが異なる複数の端末に
より作成されたそれぞれの静止画データを属性とともに
集中管理するホストコンピュータを備え、端末の各々
は、ホストコンピュータから所望の静止画データを受け
取り格納する静止画データ格納部と、ホストコンピュー
タから格納された静止画データの属性を受け取り格納す
る属性格納部と、静止画の原画像ドット数DX,DY、
原画像文字数CX,CYと、表示端末における解像度X
/DX,Y/DYと、表示端末におけるアスペクト比A
Y/AX,AY/AXとを乗算する演算部と、静止画デ
ータ格納部に格納されている静止画データを演算部の出
力により拡大又は縮小する拡大/縮小処理部を備えた構
成とし、属性の異なる機種で作成された画像データに基
づく表示画像の相対的な大きさが、どの機種で表示して
も同一になるようにした静止画データ管理方式が開示さ
れている。
[0006] For example, Japanese Patent Application Laid-Open No. 4-291675 discloses at least at least attributes of a screen including resolution (X / DX, Y / DY), font size (FX, FY), and aspect ratio (AX, AY). A host computer that centrally manages each still image data created by a plurality of different terminals together with attributes, each of the terminals has a still image data storage unit that receives and stores desired still image data from the host computer, An attribute storage unit for receiving and storing the attributes of the still image data stored from the host computer, and an original image dot number DX, DY,
Original image character counts CX and CY, and resolution X at the display terminal
/ DX, Y / DY and the aspect ratio A in the display terminal
The image processing apparatus includes a calculation unit that multiplies Y / AX and AY / AX, and an enlargement / reduction processing unit that enlarges or reduces still image data stored in the still image data storage unit by an output of the operation unit. A still image data management method is disclosed in which the relative size of a display image based on image data created by different models is the same regardless of the type of display.

【0007】上記特開平4−291675号公報におい
ては、ホストコンピュータの端末として運用する場合、
画面上の文字数はどの機種でも同一であることから、画
像の表示開始位置(画面の左上隅)を文字の単位で管理
し、画像表示領域も文字単位の大きさに基づいてドット
数を算出するものであり、座標管理方法が異なる表示デ
ータに対応できるものではない。
In Japanese Patent Application Laid-Open No. Hei 4-291675, when operating as a terminal of a host computer,
Since the number of characters on the screen is the same for all models, the display start position of the image (upper left corner of the screen) is managed in units of characters, and the number of dots in the image display area is calculated based on the size of each character. However, the coordinate management method cannot handle different display data.

【0008】また例えば特開平8−44885号公報に
は、仮想画面の表示データを実画面に表示する装置にお
いて、アプリケーションの座標変換の変更なしに解像度
の異なる実画面に同じ大きさで表示する表示装置とし
て、表示データを実画面に表示する表示倍率を算出する
手段と、表示倍率にしたがって表示すべきドット位置の
算出について計算で求まる表示位置と、複数のドット位
置の候補のうち選択される一つのドット位置との関係を
方向としてオペレータに入力させ、入力された方向に基
づいて端数処理を行う端数処理手段と、端数処理手段の
結果に基づいて表示データを実画面上に表示する手段と
を備えた表示装置が提案されている。この表示装置にお
いて、仮想画面の表示データを表示倍率(仮想画面の解
像度を実画面の解像度で割る)で除算して余りがあると
き、この余りをX座標、Y座標、切り上げ、又は切り捨
て計算等して端数処理を行うものである。
For example, Japanese Patent Application Laid-Open No. 8-44885 discloses an apparatus for displaying display data of a virtual screen on a real screen, in which the same size is displayed on real screens having different resolutions without changing the coordinate transformation of an application. As an apparatus, means for calculating a display magnification for displaying display data on an actual screen, a display position calculated by calculation of a dot position to be displayed according to the display magnification, and a display position selected from a plurality of dot position candidates A fraction processing means for allowing an operator to input a relationship between two dot positions as directions and performing fraction processing based on the input direction; and a means for displaying display data on an actual screen based on a result of the fraction processing means. A display device having the same has been proposed. In this display device, when there is a remainder after dividing the display data of the virtual screen by the display magnification (the resolution of the virtual screen is divided by the resolution of the real screen), the remainder is calculated by X coordinate, Y coordinate, rounding up, rounding down, or the like. Then, fraction processing is performed.

【0009】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その主たる目的は、画面とそ
の画面内の構成部品について、出力対象となるスクリー
ンの解像度に依存せず、常に、画面をスクリーン上、一
定率のサイズで表示可能とするとともに、画面の領域内
に一定の部品内容を表示できるようにした方法及び装置
並びに記録媒体を提供することにある。
Accordingly, the present invention has been made in view of the above problems, and a main object of the present invention is to always provide a screen and components within the screen without depending on the resolution of the screen to be output. It is another object of the present invention to provide a method, an apparatus, and a recording medium that enable a screen to be displayed on a screen at a fixed size, and that can display a fixed part content in a screen area.

【0010】[0010]

【課題を解決するための手段】前記目的を達成する本発
明は、ある解像度で設計した画面情報と、画面内の部品
の位置及びサイズ情報や、設計時の装置の解像度を格納
している表示リソースから、設計時の装置情報を取得
し、設計時の解像度と、表示が実行される実行環境の解
像度との比率を算出し、座標単位が、ポイント値(文字
単位)である場合には、設計時のDPI(Dots P
er Inch;インチあたりのドット数)値も含め座
標変換情報部に保持する座標変換情報取得手段と、前記
表示リソースを、出力装置で表示するための実表示リソ
ースへ展開し、その際、画面内の部品の位置、サイズ情
報を、前記座標変換情報部の情報を基に、出力対象の装
置の座標系上の絶対値に変換して実表示リソース情報と
する座標情報変換手段と、前記実表示リソースを基に前
記出力装置に対して出力要求を行う表示データ出力手段
と、を含む。
SUMMARY OF THE INVENTION The present invention, which achieves the above object, comprises a display which stores screen information designed at a certain resolution, position and size information of parts in the screen, and the resolution of the device at the time of design. The device information at the time of design is obtained from the resource, and the ratio between the resolution at the time of design and the resolution of the execution environment in which the display is executed is calculated. When the coordinate unit is a point value (character unit), Design-time DPI (Dots P
er Inch; the number of dots per inch) in the coordinate conversion information section, including the value, and the display resources are developed into actual display resources for display on an output device. Coordinate information conversion means for converting the position and size information of the component into an absolute value on the coordinate system of the device to be output based on the information of the coordinate conversion information section to obtain actual display resource information; Display data output means for making an output request to the output device based on resources.

【0011】[0011]

【発明の実施の形態】本発明の実施の形態について説明
する。本発明は、表示データの座標データを、元の解像
度のものから、出力対象の装置の解像度に対応した座標
系に画面情報を変換して表示することで、表示リソース
が有する複数の座標管理方法に対応可能としたものであ
る。本発明の一実施の形態について、図1を参照して説
明すると、記憶装置(ファイル装置)等に記憶される表
示リソース100には、ある特定の解像度で設計した画
面情報(表示データ)と、画面内の部品の位置、サイズ
情報や、設計時のデバイス(装置)の解像度等が格納さ
れている。
Embodiments of the present invention will be described. The present invention provides a plurality of coordinate management methods included in a display resource by converting coordinate information of display data from an original resolution to a coordinate system corresponding to a resolution of a device to be output and displaying the same. It is possible to correspond to. An embodiment of the present invention will be described with reference to FIG. 1. A display resource 100 stored in a storage device (file device) or the like includes screen information (display data) designed at a specific resolution, Stores the position and size information of components in the screen, the resolution of the device (apparatus) at the time of design, and the like.

【0012】表示データ処理装置110は、その座標変
換情報取得手段111において、表示リソース100か
ら、設計時のデバイス情報を取得し、設計時の解像度
と、表示が実行される実行環境の解像度との比率を算出
し、座標単位が、ポイント値(文字単位)である場合に
は、設計時のDPI(Dots Per Inch;イ
ンチあたりのドット数)値も含め座標変換情報部112
に保持する。
In the display data processing device 110, the coordinate conversion information acquisition means 111 acquires device information at the time of design from the display resource 100, and compares the resolution at the time of design with the resolution of the execution environment in which the display is executed. When the ratio is calculated and the coordinate unit is a point value (character unit), the coordinate conversion information unit 112 includes a DPI (dots per inch; dots per inch) value at the time of design.
To hold.

【0013】次に、座標情報変換手段113において、
表示リソース100を、実表示リソース114へ展開す
るが、その際、位置、サイズ情報を、座標変換情報部1
12を基に、絶対値に変換して、実表示リソース情報と
する。
Next, in the coordinate information converting means 113,
The display resource 100 is expanded to the actual display resource 114. At this time, the position and size information is
12 to convert it into an absolute value to obtain actual display resource information.

【0014】この実表示リソース114を基に、表示デ
ータ出力手段115が、出力装置120に対して出力要
求を行う。このようにして、解像度毎に、個別の画面リ
ソースを設計・保守することなく、複数の解像度で同等
の画面イメージ表示を可能にする。
The display data output means 115 makes an output request to the output device 120 based on the actual display resources 114. In this way, equivalent screen images can be displayed at a plurality of resolutions without designing and maintaining individual screen resources for each resolution.

【0015】本発明の一実施の形態において、表示リソ
ースを記憶部から読み込み、設計時の装置の解像度を取
得し、出力対象の装置の解像度との比率を計算し、座標
変換情報部に保存する第1のステップと、前記表示リソ
ースから、座標の単位を取得し、座標単位がドット単位
ではなく文字単位である場合にはDPI(Dots P
er Inch)値も前記座標変換情報部に保存する第
2のステップと、前記表示リソースを、装置に出力する
実表示リソースに展開するステップであって、表示デー
タが、幅、高さ、位置よりなる座標データである場合に
は、前記座標変換情報部に保持されている解像度の比率
を乗じ、絶対値へ変換する第3のステップと、実表示リ
ソースの各表示データに応じた出力要求を出力装置に行
う第4のステップと、を含む。
In one embodiment of the present invention, the display resources are read from the storage unit, the resolution of the device at the time of design is obtained, the ratio to the resolution of the device to be output is calculated, and the ratio is stored in the coordinate conversion information unit. In the first step, a coordinate unit is obtained from the display resource, and if the coordinate unit is not a dot unit but a character unit, a DPI (Dots P
er Inch) values are also stored in the coordinate transformation information section, and the display resources are developed into actual display resources to be output to the device. If the data is coordinate data, a third step of multiplying by the resolution ratio held in the coordinate conversion information section and converting the data to an absolute value is output, and an output request corresponding to each display data of the actual display resource is output. And performing a fourth step on the device.

【0016】本発明の一実施の形態において、第3のス
テップにおいて、座標データが文字単位での指定の場
合、前記DPI値から、前記座標データの、元の解像度
での仮の座標をドット単位で求め、前記座標変換情報部
に保持されている解像度の比率を乗じ、絶対値へ変換す
る。
In one embodiment of the present invention, in the third step, when the coordinate data is specified in units of characters, the provisional coordinates of the coordinate data at the original resolution are converted into dots in units of dots from the DPI value. , And multiply by the ratio of the resolution held in the coordinate conversion information section to convert to an absolute value.

【0017】本発明の一実施の形態において、第1乃至
第4の各ステップの処理は、出力装置に接続するコンピ
ュータ上で実行されるプログラムにより、実現される。
この場合、該プログラムを記録した記録媒体(磁気記録
媒体、CD−ROM等光記録媒体、あるいは半導体メモ
リ等)から該プログラムをコンピュータに読み出して実
行することで本発明を実施することができる。
In one embodiment of the present invention, the processing of each of the first to fourth steps is realized by a program executed on a computer connected to the output device.
In this case, the present invention can be implemented by reading the program from a recording medium (a magnetic recording medium, an optical recording medium such as a CD-ROM, a semiconductor memory, or the like) storing the program into a computer and executing the program.

【0018】[0018]

【実施例】本発明の実施例について図面を参照して以下
に説明する。図1は、本発明の一実施例の構成を示す図
である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the configuration of one embodiment of the present invention.

【0019】図1を参照すると、本発明の一実施例は、
表示リソース100と、プログラム制御により動作する
表示データ処理装置110と、ディスプレイ装置や印刷
装置等の出力装置120と、を備えて構成されている。
Referring to FIG. 1, one embodiment of the present invention is:
It comprises a display resource 100, a display data processing device 110 that operates under program control, and an output device 120 such as a display device or a printing device.

【0020】表示データ処理装置110は、座標変換情
報取得手段111と、座標変換情報部112と、座標情
報変換手段113と、実表示リソース114と、表示デ
ータ出力手段115と、を含む。
The display data processing device 110 includes a coordinate conversion information acquisition unit 111, a coordinate conversion information unit 112, a coordinate information conversion unit 113, an actual display resource 114, and a display data output unit 115.

【0021】これらの手段はそれぞれ概略つぎのように
動作する。
Each of these means operates as follows.

【0022】座標変換情報取得手段111は、表示リソ
ース100から、設計時のデバイス情報(表示リソース
を設計した装置の情報)を取得し、設計時の解像度と、
実行環境の解像度との比率を算出し、座標単位がポイン
ト値の場合等必要に応じて、設計時のDPI値も含めて
座標変換情報部112に格納して保持する。
The coordinate conversion information obtaining means 111 obtains device information at the time of design (information of the device that designed the display resource) from the display resource 100,
The ratio with the resolution of the execution environment is calculated, and if necessary, such as when the coordinate unit is a point value, the information is stored in the coordinate conversion information unit 112 including the DPI value at the time of design and held.

【0023】座標情報変換手段113は、表示リソース
を実表示リソース114へ展開するが、その際、位置、
サイズ情報を座標変換情報部112に保持されている情
報を基に、絶対値に変換した値を展開する。
The coordinate information conversion means 113 develops the display resources into the actual display resources 114, and at this time, the position,
A value obtained by converting the size information into an absolute value based on the information held in the coordinate conversion information unit 112 is developed.

【0024】表示データ出力手段115は、実表示リソ
ース114を基に、出力装置120に対して出力要求を
行う。
The display data output means 115 issues an output request to the output device 120 based on the actual display resources 114.

【0025】図2は、本発明の一実施例の動作を説明す
るためのフローチャートである。図1及び図2を参照し
て、本発明の一実施例の動作について詳細に説明する。
FIG. 2 is a flowchart for explaining the operation of one embodiment of the present invention. The operation of the embodiment of the present invention will be described in detail with reference to FIGS.

【0026】まず、座標変換情報取得手段111は、表
示リソースから、設計時の解像度AX,AY(X,Y方向
の解像度)を取得し、実行時の解像度BX,BY(X,Y
方向の解像度)との比率を計算し、その値を、座標変換
情報部112に保存する(図2のステップA1)。
First, the coordinate conversion information obtaining means 111 obtains the design resolutions AX and AY (resolutions in the X and Y directions) from the display resources, and executes the resolutions BX and BY (X and Y) at the time of execution.
The ratio is calculated and the ratio is stored in the coordinate conversion information unit 112 (step A1 in FIG. 2).

【0027】次に、表示リソース100から、座標の単
位を取得する。座標単位が、ポイント値(文字単位)で
ある場合には、DPI値も、座標変換情報部112に保
存する(ステップA2)。座標単位が、ドットである場
合には、DPI値は保存しない。本発明の一実施例で
は、表示データがドット値だけでなく、ポイント値であ
る場合にも対応可能としている。
Next, a coordinate unit is obtained from the display resource 100. If the coordinate unit is a point value (character unit), the DPI value is also stored in the coordinate conversion information unit 112 (step A2). If the coordinate unit is a dot, the DPI value is not stored. In one embodiment of the present invention, it is possible to cope with a case where the display data is not only a dot value but also a point value.

【0028】次に、座標情報変換手段113に、表示リ
ソースが供給され、座標情報変換手段113は、表示リ
ソース100を、実表示リソース114に展開する。実
表示リソース114はメモリに展開する。その際、表示
データが終了するまで、ステップA4〜A8の処理を行
う。すなわち、ステップA3で、表示データが終了と判
定されるまで、ステップA4〜A8の処理を繰り返し、
ステップA3で、表示データが終了と判定された場合、
ステップA9に分岐する。
Next, the display resources are supplied to the coordinate information converting means 113, and the coordinate information converting means 113 expands the display resources 100 into the actual display resources 114. The actual display resource 114 is developed in the memory. At this time, the processing of steps A4 to A8 is performed until the display data ends. That is, the processing of steps A4 to A8 is repeated until it is determined in step A3 that the display data is completed,
If it is determined in step A3 that the display data is completed,
It branches to step A9.

【0029】表示データが座標データである場合には
(ステップA4のYES)、座標変換情報部112に保
持されている情報を基に、座標データの値を変換する。
If the display data is coordinate data (YES in step A4), the value of the coordinate data is converted based on the information held in the coordinate conversion information section 112.

【0030】その際、画面上の部品等の座標データ(位
置情報と、幅、高さのサイズ情報)の単位が、ポイント
値(文字単位)である場合(ステップA5のYES)、
座標変換情報部112に保持されているDPI値から、
ポイント値で指定される位置、及びサイズ情報を、元の
解像度での、ドット単位の絶対値(仮の絶対値)を算出
する(ステップA6)。
At this time, if the unit of the coordinate data (position information and size information of width and height) of the parts and the like on the screen is a point value (character unit) (YES in step A5),
From the DPI value held in the coordinate conversion information unit 112,
The position and size information specified by the point value is calculated as the absolute value (temporary absolute value) in dot units at the original resolution (step A6).

【0031】そして、表示データが座標データの場合、
ドット単位の座標データ(幅、高さ、位置)に、解像度
の比率を乗じ、出力対象の装置の表示画面の座標上の絶
対値へ変換する(ステップA7)。
When the display data is coordinate data,
The coordinate data (width, height, position) in dot units is multiplied by the ratio of the resolution, and converted into absolute values on the coordinates of the display screen of the device to be output (step A7).

【0032】実表示リソースへ展開し(ステップA
8)、表示データの終了により、表示データ出力手段1
15に供給され、表示データ出力手段115は、各表示
データに応じた出力要求を出力装置130に行う(ステ
ップA9)。
Develop to actual display resources (step A
8) When the display data ends, the display data output means 1
15, and the display data output unit 115 issues an output request to the output device 130 in accordance with each display data (step A9).

【0033】次に、本発明の一実施例について、具体例
を用いて、説明する。
Next, an embodiment of the present invention will be described using a specific example.

【0034】図3に示すように、例えば、1024×7
68の解像度の端末で、スクリーン(実画面)の1/4
サイズの画面を設計し、これを、解像度800×600
の端末のスクリーン上で表示するものとする。
As shown in FIG. 3, for example, 1024 × 7
68-resolution terminal, 1/4 of screen (real screen)
Design a screen of the size, this is 800 × 600 resolution
On the terminal screen.

【0035】表示リソース100には、座標変換に必要
な情報として、設計時の装置の解像度値「1024×7
68」と、画面の幅「512」、高さ「384」、位置
「0,0」が格納されている。
In the display resource 100, as information necessary for the coordinate transformation, the resolution value of the device at the time of design is “1024 × 7”.
68, a screen width “512”, a height “384”, and a position “0,0”.

【0036】座標変換情報取得手段111では、解像度
値「1024×768」と、実行環境の装置の解像度
「800×600」から、比率を算出する。
The coordinate conversion information acquisition means 111 calculates the ratio from the resolution value "1024 × 768" and the resolution "800.times.600" of the device in the execution environment.

【0037】その結果、座標変換情報部112には、幅
率「0.78」、高さ率「0.78」という情報が保存
される(図2のステップA1)。
As a result, information of the width ratio “0.78” and the height ratio “0.78” is stored in the coordinate conversion information section 112 (step A1 in FIG. 2).

【0038】次に、座標単位を取得し、この例では、ド
ット指定であるため(ポイント指定ではないため)、D
PI値は保存しない(ステップA2)。
Next, a coordinate unit is acquired, and in this example, since dot designation (not point designation), D
The PI value is not stored (step A2).

【0039】さらに、表示リソース100を読み込み、
表示データが、座標情報(幅、高さ、位置)である場合
に、幅、高さの各々に、対応する解像度の比率を乗じ
(幅512×0.78、高さ384×0.78)、その
結果、幅「399」、高さ「300」、位置「0,0」
という値の実表示リソース114を算出する(ステップ
A7)。
Further, the display resource 100 is read, and
When the display data is coordinate information (width, height, position), each of the width and height is multiplied by the corresponding resolution ratio (width 512 × 0.78, height 384 × 0.78). , As a result, width “399”, height “300”, position “0,0”
Is calculated (step A7).

【0040】最後に、このサイズ、及び位置で、画面の
出力要求を出力装置120に行う(ステップA9)。
Finally, a request to output a screen is sent to the output device 120 with the size and position (step A9).

【0041】その結果、800×600の解像度の装置
においても、スクリーンの1/4サイズの画面が表示さ
れる。本発明の一実施例においては、画面内の部品の各
々について、位置、サイズ情報を基に座標変換を行うた
め、解像度の異なる装置の画面内に表示できる部品内容
が相違するということはない。
As a result, even in an apparatus having a resolution of 800 × 600, a screen having a size 1 / of the screen is displayed. In one embodiment of the present invention, coordinate conversion is performed for each of the components on the screen based on the position and size information, so that the content of the components that can be displayed on the screens of the devices having different resolutions does not differ.

【0042】[0042]

【発明の効果】以上説明したように、本発明によれば、
ある解像度を基準として作成された画面表示リソース
が、複数の解像度での同等のイメージ表示に対応するこ
とができ、この結果、解像度毎に、画面表示リソースを
用意する必要がなく、開発、保守の工数と資産数を削減
することができる、という効果を奏する。
As described above, according to the present invention,
Screen display resources created based on a certain resolution can support the equivalent image display at multiple resolutions. As a result, there is no need to prepare screen display resources for each resolution, and development and maintenance This has the effect of reducing man-hours and the number of assets.

【0043】その理由は、本発明においては、設計時の
環境に依存した値で保持された画面リソースを、座標変
換情報取得手段により座標変換基準を設け、その基準値
を基に、座標情報変換手段が、当該実行環境に依存した
形に変換するため、画面表示リソースを複数用意するこ
とを不要としているためである。かかる本発明によれ
ば、画像表示リソースがもつ複数の座標管理方法に対応
することができる、という利点も有する。
The reason is that, in the present invention, a coordinate conversion reference is provided by the coordinate conversion information acquiring means for a screen resource held at a value depending on the environment at the time of design, and the coordinate information conversion is performed based on the reference value. This is because the means does not need to prepare a plurality of screen display resources to convert to a form depending on the execution environment. According to the present invention, there is also an advantage that it is possible to support a plurality of coordinate management methods of the image display resource.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an embodiment of the present invention.

【図2】本発明の一実施例の処理を説明するための流れ
図である。
FIG. 2 is a flowchart illustrating a process according to an embodiment of the present invention.

【図3】本発明の一実施例の処理を説明するための図で
ある。
FIG. 3 is a diagram for explaining processing according to one embodiment of the present invention;

【符号の説明】[Explanation of symbols]

100 表示リソース 110 表示データ処理装置 111 座標変換情報取得手段 112 座標変換情報部 113 座標情報変換手段 114 実表示リソース 115 表示データ出力手段 120 出力装置 REFERENCE SIGNS LIST 100 display resource 110 display data processing device 111 coordinate conversion information acquiring means 112 coordinate conversion information section 113 coordinate information conversion means 114 actual display resource 115 display data output means 120 output device

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】ある解像度で設計した画面情報と、画面内
の各部品の位置情報及びサイズ情報、並びに、設計時の
装置の解像度情報を格納している表示リソースから、該
表示リソースの設計時の装置情報を取得し、設計時の解
像度と、出力対象の出力装置の解像度との比率を算出し
座標変換情報として記憶部に格納する手段と、 前記表示リソースを入力し前記表示リソースに含まれる
画面内の各部品の位置、及びサイズ情報からなる座標デ
ータについて、前記記憶部に格納されている座標変換情
報に基づき、出力対象の出力装置の座標系上の値に変換
する手段と、 を備え、前記変換された座標データに基づき、画面情報
を前記出力装置に出力する、ことを特徴とする表示デー
タ処理装置。
1. A display resource, which is designed based on screen information designed at a certain resolution, position information and size information of each part in the screen, and resolution information of a device at the time of design, is stored. Means for acquiring the device information of the above, calculating the ratio between the resolution at the time of design and the resolution of the output device to be output, and storing it in the storage unit as coordinate conversion information; and inputting the display resource and including the display resource Means for converting coordinate data comprising the position and size information of each part in the screen into values on the coordinate system of the output device to be output, based on the coordinate conversion information stored in the storage unit. And a display data processing device for outputting screen information to the output device based on the converted coordinate data.
【請求項2】ある解像度で設計した画面情報と、画面内
の部品の位置情報及びサイズ情報や、設計時の装置の解
像度情報を格納している表示リソースから、該表示リソ
ースの設計時の装置情報を取得し、設計時の解像度と、
表示が実行される実行環境における解像度との比率を算
出し、座標単位が、ポイント値である場合には、設計時
のDPI(Dots Per Inch;インチあたり
のドット数)値も含めて、前記比率情報を、座標変換情
報部に保持する座標変換情報取得手段と、 前記表示リソースを、出力装置に表示するための実表示
リソースへ展開し、その際、画面内の部品についてその
位置及びサイズを規定する座標データから、座標変換情
報部に格納されている情報を基に、前記出力装置の座標
系上のドット単位の絶対値に変換して前記実表示リソー
ス情報に変換する座標情報変換手段と、 前記実表示リソースを基に、前記出力装置に対して、出
力要求を行う表示データ出力手段と、 を備えたことを特徴とする表示データ処理装置。
2. An apparatus for designing a display resource based on screen information designed at a certain resolution, position information and size information of parts in the screen, and display resources storing resolution information of the apparatus at the time of design. Get information, design resolution and
The ratio with the resolution in the execution environment in which the display is executed is calculated, and when the coordinate unit is a point value, the ratio includes the DPI (Dots Per Inch; dots per inch) value at the time of design. Coordinate conversion information acquisition means for holding information in a coordinate conversion information section; and developing the display resource into an actual display resource for display on an output device. At this time, the position and size of a component in the screen are defined. From the coordinate data to be converted, based on the information stored in the coordinate conversion information section, coordinate information conversion means for converting to an absolute value in dot units on the coordinate system of the output device and converting to the actual display resource information, A display data output unit for making an output request to the output device based on the actual display resource.
【請求項3】出力装置に表示データを出力する表示デー
タ処理装置において、 ある解像度で設計した画面情報と、画面内の部品の位置
及びサイズ情報や、設計時の装置の解像度を格納してい
る表示リソースを記憶する手段と、 前記表示リソースを入力し、設計時の装置の解像度を取
得し、出力対象の出力装置の解像度との比率を計算し座
標変換情報として座標変換情報部に保存し、前記表示リ
ソースから、座標の単位を取得し、該座標の単位がポイ
ント値である場合には、DPI値を前記座標変換情報部
に保存する座標変換情報取得手段と、 前記表示リソースを入力し、前記出力対象の出力装置に
出力するための実表示リソースに展開する手段であっ
て、表示データが、位置、サイズ情報よりなる座標デー
タである場合には、前記座標変換情報部に保持されてい
る解像度の比率を乗じ、出力対象の前記出力装置の表示
画面の座標上の絶対値へ変換する座標情報変換手段と、 実表示リソースの各表示ータに応じた出力要求を前記出
力装置に対して行うデータ出力手段と、 を含むことを特徴とする表示データ処理装置。
3. A display data processing device for outputting display data to an output device, wherein screen information designed at a certain resolution, position and size information of components in the screen, and resolution of the device at the time of design are stored. Means for storing display resources, input the display resources, obtain the resolution of the device at the time of design, calculate the ratio with the resolution of the output device of the output target, and save it in the coordinate conversion information section as coordinate conversion information, From the display resource, a coordinate unit is obtained, and when the coordinate unit is a point value, a coordinate conversion information obtaining unit that stores a DPI value in the coordinate conversion information unit; and inputting the display resource; Means for developing into actual display resources for output to the output device of the output target, wherein the display data is coordinate data comprising position and size information; Coordinate information converting means for multiplying by the resolution ratio held in the report unit to convert the output value into an absolute value on the coordinates of the display screen of the output device, and an output request corresponding to each display data of the actual display resource And a data output means for performing the following on the output device.
【請求項4】前記座標情報変換手段は、前記座標データ
がポイント値指定の場合、前記DPI値に基づき、前記
座標データについて、設計時の装置の解像度での仮の絶
対値をドット単位で求め、前記座標変換情報部に保持さ
れている解像度の比率を乗じ、出力対象の前記出力装置
の表示画面の座標上のドット値単位の絶対値に変換す
る、ことを特徴とする請求項3記載の表示データ処理装
置。
4. The coordinate information conversion means, when the coordinate data is a point value designation, calculates a temporary absolute value of the coordinate data at the resolution of the apparatus at the time of design, in dot units, based on the DPI value. 4. The image processing apparatus according to claim 3, wherein the multiplication is performed by multiplying the resolution ratio held in the coordinate conversion information unit to convert the output value into an absolute value in a dot value unit on coordinates of a display screen of the output device to be output. Display data processing device.
【請求項5】前記出力装置が、ディスプレイ装置又はプ
リンタ装置よりなることを特徴とする請求項1乃至4の
いずれか一に記載の表示データ処理装置。
5. The display data processing device according to claim 1, wherein said output device comprises a display device or a printer device.
【請求項6】ある解像度で設計した画面情報と、画面内
の各部品の位置情報及びサイズ情報、並びに設計時の装
置の解像度情報を格納している表示リソースから、該表
示リソースの設計時の装置情報を取得し、設計時の解像
度と、出力対象の出力装置の解像度との比率を算出し記
憶部に格納するステップと、 前記表示リソースを入力し前記表示リソースに含まれる
画面内の各部品の位置、及びサイズ情報からなる座標デ
ータについて、前記記憶部に格納されている比率に基づ
き、出力対象の出力装置の座標系上の値に変換するステ
ップと、 前記変換された座標データに基づき、前記画面情報を前
記出力装置に出力するステップと、 を含む、ことを特徴とする画面出力制御方法。
6. A screen resource designed at a certain resolution, a display resource storing position information and size information of each part in the screen, and resolution information of a device at the time of design, are used for designing the display resource. Acquiring device information, calculating the ratio between the resolution at the time of design and the resolution of the output device to be output, and storing the ratio in the storage unit; inputting the display resource and each component in the screen included in the display resource For the coordinate data consisting of the position and size information, based on the ratio stored in the storage unit, the step of converting to a value on the coordinate system of the output device of the output target, based on the converted coordinate data, Outputting the screen information to the output device.
【請求項7】ある解像度で設計した画面情報と、画面内
の部品の位置情報及びサイズ情報や設計時の装置の解像
度を格納している表示リソースを記憶部から読み込み、
設計時の装置の解像度を取得し、出力対象の装置の解像
度との比率を計算し、座標変換情報部に保存する第1の
ステップと、 前記表示リソースから、座標の単位を取得し、座標単位
がドット単位ではなくポイントである場合にはDPI値
も前記座標変換情報部に保存する第2のステップと、 前記表示リソースを、装置に出力するための実表示リソ
ースに展開するステップであって、前記表示リソースの
表示データが、画面の部品の位置及びサイズ情報よりな
る座標データである場合には、前記座標変換情報部に保
持されている解像度の比率を乗じ、出力対象の前記出力
装置の表示画面の座標上のドット単位の絶対値へ変換す
る第3のステップと、 前記実表示リソースの各表示データに応じた出力要求を
出力装置に行う第4のステップと、 を含む、ことを特徴とする画面出力制御方法。
7. A screen information designed at a certain resolution, a display resource storing position information and size information of a component in the screen, and a resolution of a device at the time of design are read from a storage unit.
A first step of obtaining the resolution of the device at the time of design, calculating the ratio with the resolution of the device to be output, and storing the ratio in the coordinate conversion information section; A second step of storing a DPI value in the coordinate conversion information section when is a point instead of a dot unit; and developing the display resource into an actual display resource for output to the device. When the display data of the display resource is coordinate data composed of position and size information of a component on a screen, the display data is multiplied by the ratio of the resolution held in the coordinate conversion information section to display the output device to be output. A third step of converting to an absolute value in dot units on the coordinates of the screen, and a fourth step of making an output device make an output request in accordance with each display data of the real display resource. A screen output control method comprising:
【請求項8】前記第3のステップにおいて、座標データ
がポイント単位での指定の場合、前記DPI値から、前
記座標データの、元の解像度での仮の座標をドット単位
で求め、前記座標変換情報部に保持されている解像度の
比率を乗じ、出力対象の出力装置の画面の座標上のドッ
ト単位での絶対値へ変換する、ことを特徴とする請求項
7記載の画面出力制御方法。
8. In the third step, when the coordinate data is specified in units of points, provisional coordinates of the coordinate data at the original resolution of the coordinate data are obtained in dot units from the DPI value, and the coordinate conversion is performed. 8. The screen output control method according to claim 7, wherein the conversion is performed by multiplying the ratio of the resolution held in the information section to an absolute value in dot units on the coordinates of the screen of the output device to be output.
【請求項9】ある解像度で設計した画面情報と、画面内
の部品の位置情報及びサイズ情報や設計時のデバイスの
解像度を含む属性情報を格納している表示リソースを記
憶部から読み込み、設計時の装置の解像度を取得し、出
力対象の装置の解像度との比率を計算し、座標変換情報
部に保存する第1の処理と、 前記表示リソースから、座標の単位を取得し、座標単位
が、ドット単位ではなく文字単位である場合にはDPI
値も前記座標変換情報部に保存する第2の処理と、 前記表示リソースを、装置に出力する実表示リソースに
展開するステップであって、表示データが、幅、高さ、
位置よりなる座標データである場合には、前記座標変換
情報部に保持されている解像度の比率を乗じ、出力対象
の前記出力装置の表示画面の座標上の絶対値へ変換する
第3の処理と、 実表示リソースの各表示データに応じた出力要求を出力
装置に行う第4の処理と、を含み、 前記第1乃至第4の処理を、前記出力装置を制御するコ
ンピュータに実行させるためのプログラムを記録した記
録媒体。
9. A display resource which stores screen information designed at a certain resolution and attribute information including position information and size information of components in the screen and resolution of a device at the time of design is read from a storage unit. The first process of acquiring the resolution of the device, calculating the ratio with the resolution of the device to be output, and storing it in the coordinate conversion information section, From the display resource, acquiring the unit of coordinates, the coordinate unit is: DPI for character units instead of dot units
A second process of also storing a value in the coordinate conversion information section, and a step of developing the display resource into an actual display resource to be output to the device, wherein the display data has a width, a height,
If the data is coordinate data consisting of a position, a third process of multiplying by a resolution ratio held in the coordinate conversion information unit and converting the data to an absolute value on the coordinates of the display screen of the output device of the output target; A program for causing a computer that controls the output device to execute the first to fourth processes, the fourth process performing, to the output device, an output request according to each display data of the actual display resource. Recording medium on which is recorded.
【請求項10】請求項9記載の記録媒体において、前記
第3の処理において、座標データがポイント単位での指
定の場合、前記DPI値から、前記座標データの、設計
時の装置の解像度での仮の座標をドット単位で求め、前
記座標変換情報部に保持されている解像度の比率を乗
じ、絶対値へ変換する処理を、 前記出力装置を制御するコンピュータに実行させるため
のプログラムを記録した記録媒体。
10. The recording medium according to claim 9, wherein, in the third processing, when the coordinate data is specified in units of points, the coordinate data is converted from the DPI value to the resolution of the device at the time of design. A recording that records a program for causing a computer that controls the output device to perform processing for obtaining temporary coordinates in dot units, multiplying the ratio of the resolution held in the coordinate conversion information section, and converting to an absolute value. Medium.
JP2000273325A 2000-09-08 2000-09-08 Screen output control method and device and recording medium Pending JP2002082660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000273325A JP2002082660A (en) 2000-09-08 2000-09-08 Screen output control method and device and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000273325A JP2002082660A (en) 2000-09-08 2000-09-08 Screen output control method and device and recording medium

Publications (1)

Publication Number Publication Date
JP2002082660A true JP2002082660A (en) 2002-03-22

Family

ID=18759289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000273325A Pending JP2002082660A (en) 2000-09-08 2000-09-08 Screen output control method and device and recording medium

Country Status (1)

Country Link
JP (1) JP2002082660A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006512025A (en) * 2002-10-17 2006-04-06 サムスン エレクトロニクス カンパニー リミテッド Information storage medium on which aspect ratio information is recorded, apparatus and method therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006512025A (en) * 2002-10-17 2006-04-06 サムスン エレクトロニクス カンパニー リミテッド Information storage medium on which aspect ratio information is recorded, apparatus and method therefor
US7784073B2 (en) 2002-10-17 2010-08-24 Samsung Electronics Co., Ltd. Information storage medium including device-aspect-ratio information, method and apparatus therefor

Similar Documents

Publication Publication Date Title
JP4574467B2 (en) Data processing apparatus, data processing method, and computer program
JPH11147335A (en) Plot process apparatus
JPH03280154A (en) Integrated image recorder
JP5430083B2 (en) Image processing apparatus and image processing method
JPH06274307A (en) Screen display system
JP2996933B2 (en) Drawing display device
JP2002082660A (en) Screen output control method and device and recording medium
JP5528410B2 (en) Viewer device, server device, display control method, electronic comic editing method and program
JP2588914B2 (en) Document processing device
US7272784B2 (en) Form processing method, form processing program, and form processing apparatus
JP2001005911A (en) Character input device and display controlling method
JP2002157108A (en) Image processing method, storage medium, and image forming device
JP2011186835A (en) Image processing apparatus and image processing program
JP2001209640A (en) Image information converter, image processor, method therefor and recording medium
JPH10207662A (en) Image processor, image processing method, and image processing program storage medium
JP2001101327A (en) Information processing method, information processor and printing system
JPH04177294A (en) Vector font developing device
JP6107181B2 (en) Printing program, printing apparatus, and printing method
JPH11341491A (en) Image processing unit, image processing method and storage medium storing computer readable program by computer
JPH11110170A (en) Print processing system and method therefor, and computer-readable recording medium recording print processing control program
JP2007004641A (en) System and computer program for generating photograph album
JP2000011161A (en) Image processor
JP2000306044A (en) Image recognizing device, control method therefor and computer readable storage medium
JP2006163705A (en) Method, device, and program for creating business form
JPH10188006A (en) Line plotting method and image processor for realizing it

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030415