Lines Matching refs:pitch

61     FT_Int    pitch;
76 source_pitch_sign = source->pitch < 0 ? -1 : 1;
77 target_pitch_sign = target->pitch < 0 ? -1 : 1;
83 target->pitch = -target->pitch;
89 pitch = source->pitch;
91 if ( pitch < 0 )
92 pitch = -pitch;
93 size = (FT_ULong)pitch * source->rows;
97 FT_Int target_pitch = target->pitch;
130 t += (FT_ULong)pitch * ( target->rows - 1 );
134 FT_ARRAY_COPY( t, s, pitch );
136 s += pitch;
137 t -= pitch;
156 unsigned int pitch;
165 pitch = (unsigned int)FT_ABS( bitmap->pitch );
192 if ( ypixels == 0 && new_pitch <= pitch )
195 FT_UInt bit_width = pitch * 8;
202 FT_Byte* end = bitmap->buffer + pitch;
208 for ( ; count > 0; count--, line += pitch, end += pitch )
232 if ( bitmap->pitch > 0 )
239 unsigned char* limit = bitmap->buffer + pitch * bitmap->rows;
240 unsigned int delta = new_pitch - pitch;
249 in += pitch;
250 out += pitch;
263 unsigned char* limit = bitmap->buffer + pitch * bitmap->rows;
264 unsigned int delta = new_pitch - pitch;
270 in += pitch;
271 out += pitch;
283 /* set pitch only, width and height are left untouched */
284 if ( bitmap->pitch < 0 )
285 bitmap->pitch = -(int)new_pitch;
287 bitmap->pitch = (int)new_pitch;
303 FT_Int i, x, pitch;
369 pitch = bitmap->pitch;
370 if ( pitch > 0 )
371 p = bitmap->buffer + pitch * ystr;
374 pitch = -pitch;
375 p = bitmap->buffer + (FT_UInt)pitch * ( bitmap->rows - 1 );
387 for ( x = pitch - 1; x >= 0; x-- )
440 q = p - bitmap->pitch * x;
441 for ( i = 0; i < pitch; i++ )
445 p += bitmap->pitch;
538 old_target_pitch = target->pitch;
566 target->pitch = target->pitch < 0 ? -target_pitch : target_pitch;
578 if ( source->pitch < 0 )
579 s -= source->pitch * (FT_Int)( source->rows - 1 );
580 if ( target->pitch < 0 )
581 t -= target->pitch * (FT_Int)( target->rows - 1 );
633 s += source->pitch;
634 t += target->pitch;
654 s += source->pitch;
655 t += target->pitch;
704 s += source->pitch;
705 t += target->pitch;
741 s += source->pitch;
742 t += target->pitch;
770 s += source->pitch;
771 t += target->pitch;