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

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

Overview

Bitmap Data.

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

The actual embedded graphic data.



42
# File 'lib/ttfunk/table/sbix.rb', line 42

BitmapData = Struct.new(:x, :y, :type, :data, :ppem, :resolution)

#ppemObject

The PPEM size for which this strike was designed.



42
# File 'lib/ttfunk/table/sbix.rb', line 42

BitmapData = Struct.new(:x, :y, :type, :data, :ppem, :resolution)

#resolutionObject

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



42
# File 'lib/ttfunk/table/sbix.rb', line 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`.



42
# File 'lib/ttfunk/table/sbix.rb', line 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.



42
# File 'lib/ttfunk/table/sbix.rb', line 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.



42
# File 'lib/ttfunk/table/sbix.rb', line 42

BitmapData = Struct.new(:x, :y, :type, :data, :ppem, :resolution)