Lines Matching defs:bitmap
44 FT_Bitmap* bitmap,
48 FT_Int pitch = bitmap->pitch;
55 size = (FT_ULong)pitch * bitmap->rows;
58 FT_MEM_COPY( sbit->buffer, bitmap->buffer, size );
92 * This function tries to load a small bitmap within a given FTC_SNode.
134 FT_Bitmap* bitmap = &slot->bitmap;
141 " glyph loaded didn't return a bitmap\n" ));
146 /* If this is not the case, our bitmap is too large */
156 if ( !CHECK_BYTE( bitmap->rows ) ||
157 !CHECK_BYTE( bitmap->width ) ||
158 !CHECK_CHAR( bitmap->pitch ) ||
165 " glyph too large for small bitmap cache\n"));
169 sbit->width = (FT_Byte)bitmap->width;
170 sbit->height = (FT_Byte)bitmap->rows;
171 sbit->pitch = (FT_Char)bitmap->pitch;
176 sbit->format = (FT_Byte)bitmap->pixel_mode;
177 sbit->max_grays = (FT_Byte)(bitmap->num_grays - 1);
179 /* copy the bitmap into a new buffer -- ignore error */
180 error = ftc_sbit_copy_bitmap( sbit, bitmap, memory );
343 /* check if we need to load the glyph bitmap now */
351 * Here, we want to load a small bitmap on-demand; we thus
366 * the bitmap.