class Freetype::BitmapGlyph

Overview

FT_BitmapGlyph wrapper.

A structure used for bitmap glyph images. This really is a 'sub-class' of FT_GlyphRec.

Defined in:

freetype/bitmap_glyph.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(bitmap_glyph : LibFreetype::FT_BitmapGlyph) #

[View source]

Instance Method Detail

def bitmap #

A descriptor for the bitmap.


[View source]
def bitmap_glyph : LibFreetype::FT_BitmapGlyph #

[View source]
def format #

The format of the glyph's image.


[View source]
def left #

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


[View source]
def top #

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!


[View source]