Lines Matching refs:sx
663 double sx, sy; // start
670 void set(double sx, double sy, double lx, double ly) {
671 this.sx = sx;
675 double dx = lx - sx;
685 this.sx = rhs.sx;
699 if (lx >= sx) {
700 if (sx < hi && lx >= lo) {
701 if (sx < lo) {
702 if (m != 0) result.sy = sy + m * (lo - sx);
703 result.sx = lo;
712 if (lx < hi && sx >= lo) {
717 if (sx > hi) {
718 if (m != 0) result.sy = sy + m * (hi - sx);
719 result.sx = hi;
793 if (LOGMAP) LOG.format("s(%d) line %g, %g to %g, %g\n", ix, li.sx, li.sy, li.lx, li.ly);
796 if (LOGMAP) LOG.format("pin: %g, %g to %g, %g\n", temp.sx, temp.sy, temp.lx, temp.ly);
798 temp.sx -= data[ix-1];
799 double sx = data[ix-3] + temp.sx * ux - temp.sy * uy;
800 double sy = data[ix-2] + temp.sx * uy + temp.sy * ux;
805 if (LOGMAP) LOG.format("points: %g, %g to %g, %g\n", sx, sy, lx, ly);
807 if (sx != cx || sy != cy) {
809 if (LOGMAP) LOG.format("[mt %g, %g]\n", sx, sy);
810 gp.moveTo((float)sx, (float)sy);
812 if (LOGMAP) LOG.format("[lt %g, %g]\n", sx, sy);
813 gp.lineTo((float)sx, (float)sy);