Class: Fontisan::Subset::TableStrategy::ColorBitmapPlacement
- Inherits:
-
Struct
- Object
- Struct
- Fontisan::Subset::TableStrategy::ColorBitmapPlacement
- Defined in:
- lib/fontisan/subset/table_strategy/color_bitmap_placement.rb
Instance Attribute Summary collapse
-
#byte_length ⇒ Object
Returns the value of attribute byte_length.
-
#image_format ⇒ Object
Returns the value of attribute image_format.
-
#new_gid ⇒ Object
Returns the value of attribute new_gid.
-
#new_offset ⇒ Object
Returns the value of attribute new_offset.
-
#source_gid ⇒ Object
Returns the value of attribute source_gid.
-
#source_offset ⇒ Object
Returns the value of attribute source_offset.
-
#strike_ppem ⇒ Object
Returns the value of attribute strike_ppem.
Instance Method Summary collapse
-
#initialize ⇒ ColorBitmapPlacement
constructor
A new instance of ColorBitmapPlacement.
Constructor Details
#initialize ⇒ ColorBitmapPlacement
Returns a new instance of ColorBitmapPlacement.
13 14 15 16 |
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 13 def initialize(*) super self.new_offset ||= 0 end |
Instance Attribute Details
#byte_length ⇒ Object
Returns the value of attribute byte_length
8 9 10 |
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 8 def byte_length @byte_length end |
#image_format ⇒ Object
Returns the value of attribute image_format
8 9 10 |
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 8 def image_format @image_format end |
#new_gid ⇒ Object
Returns the value of attribute new_gid
8 9 10 |
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 8 def new_gid @new_gid end |
#new_offset ⇒ Object
Returns the value of attribute new_offset
8 9 10 |
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 8 def new_offset @new_offset end |
#source_gid ⇒ Object
Returns the value of attribute source_gid
8 9 10 |
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 8 def source_gid @source_gid end |
#source_offset ⇒ Object
Returns the value of attribute source_offset
8 9 10 |
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 8 def source_offset @source_offset end |
#strike_ppem ⇒ Object
Returns the value of attribute strike_ppem
8 9 10 |
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 8 def strike_ppem @strike_ppem end |