Content-type: text/html
root :: The root FT_Glyph fields. left :: The left-side bearing, i.e., the horizontal distance from the current pen position to the left border of the glyph bitmap. 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! bitmap :: A descriptor for the bitmap.
A structure used for bitmap glyph images. This really is a `sub-class' of `FT_GlyphRec'. A structure used for bitmap glyph images. This really is a `sub-class' of `FT_GlyphRec'.
Notes: You can typecast FT_Glyph to FT_BitmapGlyph if you have glyph->format == ft_glyph_format_bitmap. This lets you access the bitmap's contents easily. The corresponding pixel buffer is always owned by the BitmapGlyph and is thus created and destroyed with it. typedef struct FT_BitmapGlyphRec_ { FT_GlyphRec root; FT_Int left; FT_Int top; FT_Bitmap bitmap; } FT_BitmapGlyphRec, *FT_BitmapGlyph;
This documentation was generated for Freetype 2.0.4 by autodocbook (http://www.stillhq.com). Autodocbook is (c) Michael Still 2001.
Copyright 1996-2000 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used, modified, and distributed under the terms of the FreeType project license, LICENSE.TXT. By continuing to use, modify, or distribute this file you indicate that you have read the license and understand and accept it fully.
Please report errors in this documentation, and Freetype itself to freetype@freetype.org