Home | History | Annotate | Download | only in base

Lines Matching defs:bitmap

78       glyph->bitmap = slot->bitmap;
83 FT_Bitmap_New( &glyph->bitmap );
84 error = FT_Bitmap_Copy( library, &slot->bitmap, &glyph->bitmap );
104 return FT_Bitmap_Copy( library, &source->bitmap, &target->bitmap );
115 FT_Bitmap_Done( library, &glyph->bitmap );
127 cbox->xMax = cbox->xMin + ( glyph->bitmap.width << 6 );
129 cbox->yMin = cbox->yMax - ( glyph->bitmap.rows << 6 );
371 /* if it is a bitmap, that's easy :-) */
514 FT_BitmapGlyph bitmap = NULL;
533 /* when called with a bitmap glyph, do nothing and return successfully */
540 /* we render the glyph into a glyph bitmap using a `dummy' glyph slot */
549 /* create result bitmap glyph */
551 (FT_Glyph*)(void*)&bitmap );
583 /* in case of success, copy the bitmap to the glyph bitmap */
584 error = ft_bitmap_glyph_init( (FT_Glyph)bitmap, &dummy );
589 bitmap->root.advance = glyph->advance;
594 *the_glyph = FT_GLYPH( bitmap );
597 if ( error && bitmap )
598 FT_Done_Glyph( FT_GLYPH( bitmap ) );