CGFont
class CGFont
# Constants
class PostScriptFormat
Type1, Type3, Type42 = 1, 3, 42
end
class TableIndex
Max, Invalid, GlyphMax = ((1 << 16) - 2), ((1 << 16) - 1), Max
end
class VariationAxis
Name, MinValue, MaxValue, DefaultValue =
end
#
def initialize()
@tags
end
# Retaining and Releasing a CGFont Object
def self.retain
end
def self.release
end
# Creating a CGFont Object
def create_with_data_provider(provider)
font
end
def create_wit_font_name(name)
font
end
def create_copy_with_variations(font_to_copy, variations)
font
end
# Working With postScriptFonts
def copy_post_script_name
end
def can_create_post_script_subset
end
def create_post_script_subset
end
def create_post_script_encoding
end
# Working With Font Tables
def copy_table_tags()
@tables.tags
end
def copy_table_for_tag(tag)
@tables[tag]
end
# Getting Font Information
def get_type_id
end
def copy_variation_axes
end
def copy_variations
end
def copy_full_name
end
def get_ascent
end
def get_descent
end
def get_leading
end
def get_cap_height
end
def get_x_height
end
def get_font_b_box
end
def get_italic_angle
end
def get_stem_v
end
def get_glyph_b_box
end
def get_glyph_with_glyph_name
end
def get_copy_glyph_name_for_glyph
end
def get_number_of_glyphs
end
def get_glyph_advances
end
def get_units_per_em
end
end
最終更新:2010年06月18日 15:55