Lines Matching defs:theta
676 x4 = x3 - d * sin(theta)
677 y4 = y3 + d * cos(theta)
679 Where theta = tan(-1) of (y3-y1)/(x3-x1)
687 double theta;
689 theta = (double)(myPi/2.0);
691 theta = (double)atan((y3-y1)/(x3-x1));
693 double x4 = (double)(x3 - (d*sin(theta)));
694 double y4 = (double)(y3 + (d*cos(theta)));
772 // Calculate theta for rotating the metafile.
778 | /theta
782 double theta = 0.0;
789 theta = 0.0;
792 theta = (double)(3.0*myPi/2.0);
795 theta = (double)(myPi/2.0);
798 theta = (double)atan((y2 - y1)/(x2 - x1));
801 theta = (double)(myPi + atan((y2 - y1)/(x2 - x1)));
804 theta = (double)(2*myPi + atan((y2 - y1)/(x2 - x1)));
814 arrow->GetMetaFile()->Rotate(0.0, 0.0, theta);