Class FT2::BitmapGlyph
In: ./ft2.c
Parent: Glyph
Methods
bitmap    initialize    left    top   
Public Class methods
initialize(VALUE self)

Constructor for FT2::BitmapGlyph class.

This method is currently empty. You should never call this method directly unless you're instantiating a derived class (ie, you know what you're doing).

Public Instance methods
left(VALUE self)

Get the left-side bearing of a BitmapGlyph object.

Description:

  The left-side bearing, i.e., the horizontal distance from the
  current pen position to the left border of the glyph bitmap.

Note:

  FT2::BitmapGlyph is a subclass of FT2::Glyph.

Examples:

  x = bmap_glyph.left
top(VALUE self)

Get the top-side bearing of a BitmapGlyph object.

Description:

  The top-side bearing, i.e., the vertical distance from the current
  pen position to the top border of the glyph bitmap. This distance
  is positive for upwards-y.

Note:

  FT2::BitmapGlyph is a subclass of FT2::Glyph.

Examples:

  y = bmap_glyph.top
bitmap(VALUE self)

Get the FT2::Bitmap of a FT2::BitmapGlyph object.

Examples:

  bmap = bmap_glyph.bitmap