Lines Matching refs:dy1
144 // Returns true if the vectors (dx1, dy1) and (dx2, dy2) are
145 // clockwise (if dx1,dy1 needs to be rotated clockwise to close
148 // of a line passing through points p1, p2 where p2 = p1+(dx1,dy1) and
152 private static boolean isCW(final float dx1, final float dy1,
155 return dx1 * dy2 <= dy1 * dx2;
565 float dy1 = y2 - y1;
576 dy1 = y3 - y1;
583 float dotsq = (dx1 * dx4 + dy1 * dy4);
585 float l1sq = dx1 * dx1 + dy1 * dy1, l4sq = dx4 * dx4 + dy4 * dy4;
633 // [dy1, dy4][c2]
647 computeOffset(dx1, dy1, lineWidth2, offset[0]);
657 float invdet43 = 4f / (3f * (dx1 * dy4 - dy1 * dx4));
662 float c2 = invdet43 * (dx1 * two_pi_m_p1_m_p4y - dy1 * two_pi_m_p1_m_p4x);
666 y2p = y1p + c1*dy1;
682 c2 = invdet43 * (dx1 * two_pi_m_p1_m_p4y - dy1 * two_pi_m_p1_m_p4x);
685 y2p = y1p + c1*dy1;
707 final float dy1 = y2 - y1;
710 computeOffset(dx1, dy1, lineWidth2, offset[0]);
727 // 2. If the first or second two points are equal, then (dx1,dy1)==(0,0)
728 // or (dx3,dy3)==(0,0), so (x1p, y1p)==(x1p+dx1, y1p+dy1)
732 computeIntersection(x1p, y1p, x1p+dx1, y1p+dy1, x3p, y3p, x3p-dx3, y3p-dy3, leftOff, 2);
742 computeIntersection(x1p, y1p, x1p+dx1, y1p+dy1, x3p, y3p, x3p-dx3, y3p-dy3, rightOff, 2);