CTGlyphInfo
概要
CTGlyphInfoは、ユニコードからグリフIDへの、フォントの持っている指定された割り当てです。
CTGlyphInfoは、ユニコードからグリフIDへのフォント特有のマッピング(対応付け)です。
CTGlyphInfoは、フォント特有のユニコードからグリフIDへのマッピングをオーバーライドすることを可能にします。
目的別関数紹介(Functions by Task)
グリフ情報タイプを取得
CTGlyphInfoGetTypeID
グリフ情報オブジェクトの作成
CTGlyphInfoCreateWithGlyphName
CTGlyphInfoCreateWithGlyph
CTGlyphInfoCreateWithCharacterIdentifier
グリフ情報データの取得
CTGlyphInfoGetGlyphName
CTGlyphInfoGetCharacterIdentifier
CTGlyphInfoGetCharacterCollection
Rubyに置き換えて理解してみる
class CTGlyphInfo
def initialize
end
#
def type_id
@type_id
end
# グリフ情報オブジェクトの作成
def create_with_glyph_name
end
def create_with_glyph
end
# グリフ情報データの取得
def get_glyph_name
@glyph_name
end
def get_character_identifier
end
def get_character_collection
end
end
Link
See Also
最終更新:2010年06月25日 17:48