Class: Harfbuzz::GlyphExtents
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Harfbuzz::GlyphExtents
- Defined in:
- lib/harfbuzz/font.rb
Instance Method Summary collapse
Instance Method Details
#height ⇒ Object
28 29 30 |
# File 'lib/harfbuzz/font.rb', line 28 def height self[:height] end |
#inspect ⇒ Object
12 13 14 |
# File 'lib/harfbuzz/font.rb', line 12 def inspect "<#{self.class}: x_bearing = #{x_bearing}, y_bearing = #{y_bearing}, width = #{width}, height = #{height}>" end |
#width ⇒ Object
24 25 26 |
# File 'lib/harfbuzz/font.rb', line 24 def width self[:width] end |
#x_bearing ⇒ Object
16 17 18 |
# File 'lib/harfbuzz/font.rb', line 16 def x_bearing self[:x_bearing] end |
#y_bearing ⇒ Object
20 21 22 |
# File 'lib/harfbuzz/font.rb', line 20 def y_bearing self[:y_bearing] end |