BeginGlyph

フォント、type 3 フォント

説明

構築中のフォントのグリフを 1 個開きます。以降に呼び出すパスオペレータは、EndGlyph までグリフプログラムに蓄積されます

構文

Delphi

Function BeginGlyph(CharCode: Integer; Const GlyphName,
  UnicodeText: WideString; WidthX, WidthY, LLX, LLY, URX,
  URY: Double): Integer;

ActiveX

Function PDFlib::BeginGlyph(CharCode As Long, GlyphName As String, UnicodeText As String, WidthX As Double, WidthY As Double, LLX As Double, LLY As Double, URX As Double, URY As Double) As Long

DLL

int DLBeginGlyph(int InstanceID, int CharCode, const wchar_t* GlyphName, const wchar_t* UnicodeText, double WidthX, double WidthY, double LLX, double LLY, double URX, double URY);
int DLBeginGlyphA(int InstanceID, int CharCode, const char* GlyphName, const char* UnicodeText, double WidthX, double WidthY, double LLX, double LLY, double URX, double URY);

パラメータ

CharCodeグリフを結び付ける文字コード(0〜255)
GlyphNameフォント内で一意なグリフ名
UnicodeTextテキスト抽出用のマッピング。空の場合はグリフ名または文字コードから推測されます
WidthXグリフ空間での水平変位。正立グリフでは 0
WidthYグリフ空間での垂直方向のグリフ変位。正立グリフでは 0 です
LLXグリフ空間でのグリフ境界ボックスの左端
LLYグリフ空間でのグリフ境界ボックスの下端
URXグリフ境界ボックスの右端。LLX 以上である必要があります
URYグリフ境界ボックスの上端。LLY 以上である必要があります

戻り値

成功時は 1。フォントが開いていない、グリフがすでに開いている、引数が無効の場合は 0

関連項目

BeginFont, EndGlyph, EndFont, GlyphMoveTo