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

#data ⇒ Object

The actual embedded graphic data.



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

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

#ppem ⇒ Object

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)

#resolution ⇒ Object

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)

#type ⇒ Object

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)

#x ⇒ Object

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)

#y ⇒ Object

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)