EPS/PSインポーターのヘルプ翻訳 ●自動中心揃え インポートした形状を自動的中心に揃える ●スケール比率 EPSファイルに、1 Wings単位のスケール比率がどのくらいかを設定します。 100ptと設定した場合、Wingsの1単位が100ptと同じ長さとなります。 利用可能な単位は pt, px, pc, cm, mm,in です ●ビューにスケールを合わせる ビューにオブジェクトの大きさに合わせてサイズを調整します。 これはEPSドキュメントに基づく単位を無視することになります。 ●カスタム Bind map ファイルの選択 このオプションを有効にすると、ファイル読み込みダイアログが2つ登場します。 最初のはbind map ファイルを指定。 次のにはEPSファイルを指定します。 Bind map ファイルの説明と、なぜそれらが役立つのかについては、以下でさらに説明します。 ●カスタム Bind Map ファイルについて: カスタム Bind Map ファイルは、拡張子.bindmap がついた、テキストエディタで作成可能なファイルです。 これを使用すると、EPS パスインポーターが EPS ファイル内のコマンドを認識できるようになります。 ファイルにはバインド定義が含まれています。 このファイルには、カスタムコマンド (bind def) を対応させるバインド定義が含まれており、 修正フラグとインポーターのオプションを設定するコマンドも含まれています。 BindMapファイルの先頭は次のように始まります。 %%Match: (XFIG) %%Comment: (Xfig) 最初の行は、インポーターがEPSクリエーター文字列を照合させるためのものです。この文字列は必ず大文字で記述し、内容はEPSクリエーターのコメント行のキーワードも含まれている必要があります。 2行目は単なるコメントであり、現在は使用されていません。 どちらの行も、文字列は括弧内に入れる必要があります。 ●他のコマンドからコマンドを定義する 認識される書式の形態: /cmd { actualcommand } bind def /cmd {neg actualcommand } bind def /cmd /actualcommand load def 例(コマンドの短縮形): /m /moveto load def /l (lineto } bind def /cv { curveto } bind def ●Fix フラグ fix コマンドを使用して特別なコマンドを使用できるようにインポーターを構成できます。 コマンドは次の書式に従います: /flag fix /flag /parameter fix /ct というコマンドに逆Yカーブを追加する場合は、次のように記述します: /curveto_invy /ct fix もし、/re というコマンドに長方形コマンドを追加したければ次のように記述します: /rect /re fix ●座標系の方向: インポーターの読込処理で Y 軸を反転したい場合は、次のように記述します: 1.0 -1.0 coordsys ●スプリットモード: ファイルによっては、/commands の開始位置を示す特定のキーワードやコメントが使用されていない場合があります。 その場合は、次のように記述します: /whole_eps beginmode ファイルでコマンドの開始位置を示す %%Page: 1 1 コメントが使用されている場合は、次を使用します。 次のように記述します: /begin_at_page1 beginmode ================================================================================================ EPS/PS Import Information ●Automatic center Automatically center the imported shape. ●Scale fraction Set the scale ratio of 1 unit in wings to the units set in the EPSfile. If set to 100pt, then 100pt is the same as 1 unit in wings. Available units include pt, px, pc, cm, mm, and in. ●Scale fit within view Rescale the shape to fit in view. This means the scaling based on document Units is ignored. ●Choose custom bind map file When checked, two file choosers will appear, the first is for choosing the bind map file, and the second for the eps itself. An explanation of the bind map file and why they might be useful are explained further below. ●Custom Bind Map Files: Custom bind maps is a file that can be made in a text editor that ends with the file extension .bindmap. it can be used to help the EPS path importer to understand the commands in a EPS file. The file contains bind definitions that maps custom commands (bind def) and also has commands that set fixes flags and options of the importer. The beginning of the file should look like this: %%Match: (XFIG) %%Comment: (Xfig) The first line is for the importer to match to the EPS creator string, this string should be in uppercase and contain a keyword from the EPS Creator comment line. The second line is just a comment and isn't currently used. Both lines the strings must be inside parenthesis. ●Define commands from other commands Forms recognized: /cmd { actualcommand } bind det /cmd {neg actualcommand } bind def /cmd /actualcommand load def Examples: /m /moveto load det /l (lineto } bind def /cv { curveto } bind def ●Fix flags The importer can be configured to make special commands available using the fix command, they follow the following form: /flag fix /flag /parameter fix If you want to add a inverted Y curveto command called /ct, use: /curveto_invy /ct fix If you want to add a rectangle command called 're', use: /rect /re fix ●Coordinate system direction: I you want to invert the Y axis of the importer, use: 1.0 -1.0 coordsys ●Split mode: Some files may not use a specific keyword or comment to note where the /commands start. If so, use: /whole_eps beginmode It the file uses a %%Page: 1 1 comment to note where the commands start, use: /begin_at_page1 beginmode