Lines Matching refs:bitmap
97 /* convert a slot's glyph image into a bitmap */
112 FT_Bitmap* bitmap;
166 bitmap = &slot->bitmap;
174 /* release old bitmap buffer */
177 FT_FREE( bitmap->buffer );
235 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY;
236 bitmap->num_grays = 256;
237 bitmap->width = width;
238 bitmap->rows = height;
239 bitmap->pitch = pitch;
241 /* translate outline to render it into the bitmap */
244 if ( FT_ALLOC( bitmap->buffer, (FT_ULong)pitch * height ) )
250 params.target = bitmap;
272 /* render outline into the bitmap */
292 slot->library->lcd_filter_func( bitmap, mode, slot->library );
296 /* render outline into bitmap */
302 FT_Byte* line = bitmap->buffer;
328 FT_Byte* read = bitmap->buffer + ( height - height_org ) * pitch;
329 FT_Byte* write = bitmap->buffer;
352 * XXX: on 16bit system, we return an error for huge bitmap
373 /* convert a slot's glyph image into a bitmap */
388 /* convert a slot's glyph image into a horizontal LCD bitmap */
400 slot->bitmap.pixel_mode = FT_PIXEL_MODE_LCD;
406 /* convert a slot's glyph image into a vertical LCD bitmap */
418 slot->bitmap.pixel_mode = FT_PIXEL_MODE_LCD_V;