Lines Matching refs:bitmap
98 /* convert a slot's glyph image into a bitmap */
109 FT_Bitmap* bitmap;
187 bitmap = &slot->bitmap;
190 /* release old bitmap buffer */
193 FT_FREE( bitmap->buffer );
202 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY;
203 bitmap->num_grays = 256;
208 bitmap->pixel_mode = FT_PIXEL_MODE_MONO;
211 bitmap->width = width;
212 bitmap->rows = height;
213 bitmap->pitch = pitch;
215 if ( FT_ALLOC_MULT( bitmap->buffer, pitch, height ) )
220 /* translate outline to render it into the bitmap */
224 params.target = bitmap;
228 if ( bitmap->pixel_mode == FT_PIXEL_MODE_GRAY )
231 /* render outline into the bitmap */