Class: Dvi::Tfm::Format::CharInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/dvi/tfm/format.rb

Overview

CharInfo is a class for char_info section.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(width_index, height_index, depth_index, italic_index, tag, remainder) ⇒ CharInfo

Returns a new instance of CharInfo.



9
10
11
12
13
14
15
16
17
# File 'lib/dvi/tfm/format.rb', line 9

def initialize(width_index, height_index, depth_index, italic_index,
               tag, remainder)
  @width_index = width_index
  @height_index = height_index
  @depth_index = depth_index
  @italic_index = italic_index
  @tag = tag
  @remainder = remainder
end

Instance Attribute Details

#depth_indexObject (readonly)

Returns the value of attribute depth_index.



7
8
9
# File 'lib/dvi/tfm/format.rb', line 7

def depth_index
  @depth_index
end

#height_indexObject (readonly)

Returns the value of attribute height_index.



7
8
9
# File 'lib/dvi/tfm/format.rb', line 7

def height_index
  @height_index
end

#italic_indexObject (readonly)

Returns the value of attribute italic_index.



7
8
9
# File 'lib/dvi/tfm/format.rb', line 7

def italic_index
  @italic_index
end

#remainderObject (readonly)

Returns the value of attribute remainder.



8
9
10
# File 'lib/dvi/tfm/format.rb', line 8

def remainder
  @remainder
end

#tagObject (readonly)

Returns the value of attribute tag.



8
9
10
# File 'lib/dvi/tfm/format.rb', line 8

def tag
  @tag
end

#width_indexObject (readonly)

Returns the value of attribute width_index.



7
8
9
# File 'lib/dvi/tfm/format.rb', line 7

def width_index
  @width_index
end