Searched refs:mid1 (Results 1 – 4 of 4) sorted by relevance
198 float mid1 = m + vsf; in init()200 if (sextant == 0) rgb = Vec3(v, mid1, m); in init()202 else if (sextant == 2) rgb = Vec3(m, v, mid1); in init()204 else if (sextant == 4) rgb = Vec3(mid1, m, v); in init()
574 int mid1 = (1 + (2 >> outer2)) >> outer1; in cubic_in_line() local575 SkASSERT(mid1 >= 0 && mid1 <= 2); in cubic_in_line()576 SkASSERT(outer1 != mid1 && outer2 != mid1); in cubic_in_line()577 int mid2 = outer1 ^ outer2 ^ mid1; in cubic_in_line()579 SkASSERT(mid2 != outer1 && mid2 != outer2 && mid2 != mid1); in cubic_in_line()580 SkASSERT(((1 << outer1) | (1 << outer2) | (1 << mid1) | (1 << mid2)) == 0x0f); in cubic_in_line()582 return pt_to_line(cubic[mid1], cubic[outer1], cubic[outer2]) <= lineSlop in cubic_in_line()
279 TriangleVertex mid1; in clipTriangleOneVertex() local286 TriangleVertex& middle = mid1; in clipTriangleOneVertex()335 clippedEdges.push_back(mid1); in clipTriangleOneVertex()353 TriangleVertex mid1; in clipTriangleTwoVertices() local361 TriangleVertex& middle = mid1; in clipTriangleTwoVertices()410 clippedEdges.push_back(mid1); in clipTriangleTwoVertices()417 clippedEdges.push_back(mid1); in clipTriangleTwoVertices()
784 SkDPoint mid1 = q1.ptAtT(0.5); in midPointAgrees() local785 SkDVector m1 = mid1 - q1[0]; in midPointAgrees()