Lines Matching defs:shift
56 #define SCALED( x ) ( ( (x) << shift ) - delta )
72 FT_Int shift;
79 shift = func_interface->shift;
935 FT_Vector in, out, shift;
973 /* shift only if turn is less than ~160 degrees */
978 /* shift components are aligned along lateral bisector */
980 shift.x = in.y + out.y;
981 shift.y = in.x + out.x;
984 shift.x = -shift.x;
986 shift.y = -shift.y;
988 /* restrict shift magnitude to better handle collapsing segments */
997 shift.x = FT_MulDiv( shift.x, xstrength, d );
999 shift.x = FT_MulDiv( shift.x, l, q );
1003 shift.y = FT_MulDiv( shift.y, ystrength, d );
1005 shift.y = FT_MulDiv( shift.y, l, q );
1008 shift.x = shift.y = 0;
1010 outline->points[n].x = v_cur.x + xstrength + shift.x;
1011 outline->points[n].y = v_cur.y + ystrength + shift.y;