Home
last modified time | relevance | path

Searched refs:midX (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/pathops/
DSkOpCubicHull.cpp66 int midX = -1; in convexHull() local
88 if (midX >= 0) { in convexHull()
112 midX = index; in convexHull()
117 if (midX >= 0) { in convexHull()
126 if (midX < 0) { in convexHull()
127 midX = yMin ^ 3; // choose any other point in convexHull()
129 int mask = other_two(yMin, midX); in convexHull()
131 int most = midX ^ mask; in convexHull()
138 order[2] = midX; in convexHull()
142 midSides ^= side(midPath[midX].fY - midPath[least].fY); in convexHull()
[all …]
DSkReduceOrder.cpp125 double midX = cubic[0].fX + dx10 * 3 / 2; in check_quadratic() local
126 double sideAx = midX - cubic[3].fX; in check_quadratic()
142 reduction[1].fX = midX; in check_quadratic()
/external/skia/src/utils/win/
DSkDWriteGeometrySink.cpp94 float midX = cubic[0].x + dx10 * 3 / 2; in check_quadratic() local
97 if (!approximately_equal(midX, (dx23 * 3 / 2) + cubic[3].x)) { in check_quadratic()
107 reduction[1].x = midX; in check_quadratic()
/external/skia/tests/
DBlurTest.cpp177 int midX = dst.fBounds.centerX(); in ground_truth_2d() local
179 uint8_t* bytes = dst.getAddr8(midX, midY); in ground_truth_2d()
181 for (i = 0; i < dst.fBounds.width()-(midX-dst.fBounds.fLeft); ++i) { in ground_truth_2d()
230 SkScalar midX = path.getBounds().centerX(); in blur_path() local
233 canvas->translate(-midX, -midY); in blur_path()