Lines Matching defs:bitmap
5 /* FreeType API for color filtering of subpixel bitmap glyphs (body). */
34 _ft_lcd_filter_fir( FT_Bitmap* bitmap,
39 FT_UInt width = (FT_UInt)bitmap->width;
40 FT_UInt height = (FT_UInt)bitmap->rows;
46 FT_Byte* line = bitmap->buffer;
49 /* take care of bitmap flow */
50 if ( bitmap->pitch < 0 )
51 line -= bitmap->pitch * (FT_Int)( bitmap->rows - 1 );
56 for ( ; height > 0; height--, line += bitmap->pitch )
109 FT_Byte* column = bitmap->buffer;
110 FT_Int pitch = bitmap->pitch;
113 /* take care of bitmap flow */
114 if ( bitmap->pitch < 0 )
115 column -= bitmap->pitch * (FT_Int)( bitmap->rows - 1 );
177 _ft_lcd_filter_legacy( FT_Bitmap* bitmap,
181 FT_UInt width = (FT_UInt)bitmap->width;
182 FT_UInt height = (FT_UInt)bitmap->rows;
183 FT_Int pitch = bitmap->pitch;
198 FT_Byte* line = bitmap->buffer;
201 /* take care of bitmap flow */
202 if ( bitmap->pitch < 0 )
203 line -= bitmap->pitch * (FT_Int)( bitmap->rows - 1 );
241 FT_Byte* column = bitmap->buffer;
244 /* take care of bitmap flow */
245 if ( bitmap->pitch < 0 )
246 column -= bitmap->pitch * (FT_Int)( bitmap->rows - 1 );