Class: TTFunk::Table::Sbix::BitmapData

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

Overview

Bitmap Data.

Instance Attribute Summary collapse

  • #data ⇒ Object

    The actual embedded graphic data.

  • #ppem ⇒ Object

    The PPEM size for which this strike was designed.

  • #resolution ⇒ Object

    The device pixel density (in PPI) for which this strike was designed.

  • #type ⇒ Object

    Indicates the format of the embedded graphic data: one of jpg , png , tiff, or the special format dupe.

  • #x ⇒ Object

    The horizontal (x-axis) position of the left edge of the bitmap graphic in relation to the glyph design space origin.

  • #y ⇒ Object

    The vertical (y-axis) position of the bottom edge of the bitmap graphic in relation to the glyph design space origin.

Instance Attribute Details

#dataObject

The actual embedded graphic data.

Source Code
lib/ttfunk/table/sbix.rb, line 42
42
BitmapData = Struct.new(:x, :y, :type, :data, :ppem, :resolution)

#ppemObject

The PPEM size for which this strike was designed.

Source Code
lib/ttfunk/table/sbix.rb, line 42
42
BitmapData = Struct.new(:x, :y, :type, :data, :ppem, :resolution)

#resolutionObject

The device pixel density (in PPI) for which this strike was designed.

Source Code
lib/ttfunk/table/sbix.rb, line 42
42
BitmapData = Struct.new(:x, :y, :type, :data, :ppem, :resolution)

#typeObject

Indicates the format of the embedded graphic data: one of jpg , png , tiff, or the special format dupe.

Source Code
lib/ttfunk/table/sbix.rb, line 42
42
BitmapData = Struct.new(:x, :y, :type, :data, :ppem, :resolution)

#xObject

The horizontal (x-axis) position of the left edge of the bitmap graphic in relation to the glyph design space origin.

Source Code
lib/ttfunk/table/sbix.rb, line 42
42
BitmapData = Struct.new(:x, :y, :type, :data, :ppem, :resolution)

#yObject

The vertical (y-axis) position of the bottom edge of the bitmap graphic in relation to the glyph design space origin.

Source Code
lib/ttfunk/table/sbix.rb, line 42
42
BitmapData = Struct.new(:x, :y, :type, :data, :ppem, :resolution)