Lines Matching defs:shift
56 #define SCALED( x ) ( ( (x) << shift ) - delta )
72 FT_Int shift;
79 shift = func_interface->shift;
932 FT_Vector in, out, shift;
970 /* shift only if turn is less than ~160 degrees */
975 /* shift components are aligned along lateral bisector */
977 shift.x = in.y + out.y;
978 shift.y = in.x + out.x;
981 shift.x = -shift.x;
983 shift.y = -shift.y;
985 /* restrict shift magnitude to better handle collapsing segments */
994 shift.x = FT_MulDiv( shift.x, xstrength, d );
996 shift.x = FT_MulDiv( shift.x, l, q );
1000 shift.y = FT_MulDiv( shift.y, ystrength, d );
1002 shift.y = FT_MulDiv( shift.y, l, q );
1005 shift.x = shift.y = 0;
1007 outline->points[n].x = v_cur.x + xstrength + shift.x;
1008 outline->points[n].y = v_cur.y + ystrength + shift.y;