Lines Matching refs:pt0
456 Point pt0 = linearSnake[comp][i];
458 Point new_pt = (pt0+pt1)/2;
480 Point new_hdle_in = new_pt + (pt0-pt1) * (scale_in /2.);
481 Point new_hdle_out = new_pt - (pt0-pt1) * (scale_out/2.);
484 //double scaled_width = double((is_top ? stroke_width_top : stroke_width_bot))/(pt1[X]-pt0[X]);
485 //double scaled_width = 1./(pt1[X]-pt0[X]);
486 //Point hdle_offset = (pt1-pt0)*scaled_width;
494 inside_hdle_in += (pt1-pt0)/2*( double((is_top ? front_thickness : back_thickness)) / (pt1[X]-pt0[X]) );
495 inside_hdle_out -= (pt1-pt0)/2*( double((is_top ? back_thickness : front_thickness)) / (pt1[X]-pt0[X]) );
497 new_hdle_in -= (pt1-pt0)/2*( double((is_top ? front_thickness : back_thickness)) / (pt1[X]-pt0[X]) );
498 new_hdle_out += (pt1-pt0)/2*( double((is_top ? back_thickness : front_thickness)) / (pt1[X]-pt0[X]) );