Home | History | Annotate | Download | only in raster

Lines Matching defs:bitmap

97   /* convert a slot's glyph image into a bitmap */
108 FT_Bitmap* bitmap;
171 bitmap = &slot->bitmap;
174 /* release old bitmap buffer */
177 FT_FREE( bitmap->buffer );
186 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY;
187 bitmap->num_grays = 256;
192 bitmap->pixel_mode = FT_PIXEL_MODE_MONO;
195 bitmap->width = width;
196 bitmap->rows = height;
197 bitmap->pitch = pitch;
199 if ( FT_ALLOC_MULT( bitmap->buffer, pitch, height ) )
204 /* translate outline to render it into the bitmap */
208 params.target = bitmap;
212 if ( bitmap->pixel_mode == FT_PIXEL_MODE_GRAY )
215 /* render outline into the bitmap */