Class: TTFunk::Table::Glyf::Compound::Component

Inherits:
Struct
  • Object
show all
Defined in:
lib/ttfunk/table/glyf/compound.rb

Overview

Component glyph.

Instance Attribute Summary collapse

Instance Attribute Details

#arg1 ⇒ Integer

x-offset for component or point number.

Returns:

  • (Integer)
Source Code
lib/ttfunk/table/glyf/compound.rb, line 81
81
Component = Struct.new(:flags, :glyph_index, :arg1, :arg2, :transform)

#arg2 ⇒ Integer

y-offset for component or point number.

Returns:

  • (Integer)
Source Code
lib/ttfunk/table/glyf/compound.rb, line 81
81
Component = Struct.new(:flags, :glyph_index, :arg1, :arg2, :transform)

#flags ⇒ Integer

Component flag.

Returns:

  • (Integer)
Source Code
lib/ttfunk/table/glyf/compound.rb, line 81
81
Component = Struct.new(:flags, :glyph_index, :arg1, :arg2, :transform)

#glyph_index ⇒ Integer

Glyph index of component.

Returns:

  • (Integer)
Source Code
lib/ttfunk/table/glyf/compound.rb, line 81
81
Component = Struct.new(:flags, :glyph_index, :arg1, :arg2, :transform)

#transform ⇒ Object

Transformation.

Returns:

  • []

Source Code
lib/ttfunk/table/glyf/compound.rb, line 81
81
Component = Struct.new(:flags, :glyph_index, :arg1, :arg2, :transform)