Searched defs:midX (Results 1 - 4 of 4) sorted by relevance

/external/skia/src/pathops/
H A DSkOpCubicHull.cpp66 int midX = -1; local
88 if (midX >= 0) {
112 midX = index;
117 if (midX >= 0) {
126 if (midX < 0) {
127 midX = yMin ^ 3; // choose any other point
129 int mask = other_two(yMin, midX);
131 int most = midX ^ mask;
138 order[2] = midX;
142 midSides ^= side(midPath[midX]
[all...]
H A DSkReduceOrder.cpp134 double midX = cubic[0].fX + dx10 * 3 / 2; local
135 double sideAx = midX - cubic[3].fX;
151 reduction[1].fX = midX;
/external/skia/src/utils/win/
H A DSkDWriteGeometrySink.cpp93 float midX = cubic[0].x + dx10 * 3 / 2; local
94 //NOTE: !approximately_equal(midX - cubic[3].x, dx23 * 3 / 2)
96 if (!approximately_equal(midX, (dx23 * 3 / 2) + cubic[3].x)) {
106 reduction[1].x = midX;
/external/skia/tests/
H A DBlurTest.cpp176 int midX = dst.fBounds.centerX(); local
178 uint8_t* bytes = dst.getAddr8(midX, midY);
180 for (i = 0; i < dst.fBounds.width()-(midX-dst.fBounds.fLeft); ++i) {
229 SkScalar midX = path.getBounds().centerX(); local
232 canvas->translate(-midX, -midY);

Completed in 349 milliseconds