Searched refs:midX (Results 1 - 9 of 9) sorted by relevance
/third_party/skia/src/pathops/ |
H A D | SkOpCubicHull.cpp | 66 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] in convexHull() [all...] |
H A D | SkReduceOrder.cpp | 128 double midX = cubic[0].fX + dx10 * 3 / 2; in check_quadratic() local 129 double sideAx = midX - cubic[3].fX; in check_quadratic() 145 reduction[1].fX = midX; in check_quadratic()
|
/third_party/skia/gm/ |
H A D | orientation.cpp | 61 SkScalar midX = kImgW / 2.f; in make_images() local 63 SkScalar w = midX - 1; in make_images() 67 canvas->drawRect(SkRect::MakeXYWH(midX, 1, w, h), paint); in make_images() 71 canvas->drawRect(SkRect::MakeXYWH(midX, midY, w, h), paint); in make_images() 97 drawLabel("top", midX - bounds.centerX(), -bounds.top() + kPad); in make_images() 100 drawLabel("bottom", midX - bounds.centerX(), kImgH - kPad - bounds.bottom()); in make_images() 113 drawLabel(num.c_str(), midX - bounds.centerX(), baseY); in make_images()
|
H A D | texelsubset.cpp | 194 SkScalar midX = variable 196 canvas->drawLine({midX, -1}, {midX, (float)size.fHeight+1}, {});
|
H A D | circulararcs.cpp | 211 SkScalar midX = SK_ARRAY_COUNT(arcs) * (kS + kPad) - kPad/2.f; in DEF_SIMPLE_GM() local 213 canvas->drawLine(midX, -kPad, midX, height, linePaint); in DEF_SIMPLE_GM()
|
/third_party/skia/third_party/externals/angle2/samples/multi_window/ |
H A D | MultiWindow.cpp | 123 float midX = (left + right) * 0.5f; variable 126 Matrix4 modelMatrix = Matrix4::translate(Vector3(midX, midY, 0.0f)) * 128 Matrix4::translate(Vector3(-midX, -midY, 0.0f)); 146 Matrix4::transform(mvpMatrix, Vector4(midX, static_cast<float>(top), 0.0f, 1.0f)),
|
/third_party/skia/src/utils/win/ |
H A D | SkDWriteGeometrySink.cpp | 100 float midX = cubic[0].x + dx10 * 3 / 2; in check_quadratic() local 101 //NOTE: !approximately_equal(midX - cubic[3].x, dx23 * 3 / 2) in check_quadratic() 103 if (!approximately_equal(midX, (dx23 * 3 / 2) + cubic[3].x)) { in check_quadratic() 112 quadraticP1 = {midX, midY}; in check_quadratic()
|
/third_party/skia/tests/ |
H A D | BlurTest.cpp | 193 int midX = dst.fBounds.x() + dst.fBounds.width()/2; in ground_truth_2d() local 195 uint8_t* bytes = dst.getAddr8(midX, midY); in ground_truth_2d() 197 for (i = 0; i < dst.fBounds.width()-(midX-dst.fBounds.fLeft); ++i) { in ground_truth_2d() 246 SkScalar midX = path.getBounds().centerX(); in blur_path() local 249 canvas->translate(-midX, -midY); in blur_path()
|
H A D | RoundRectTest.cpp | 1096 float midX = maxLeft + 0.5f * innerWidth; in test_inner_bounds() local 1098 REPORTER_ASSERT(reporter, maxInner.contains(midX, maxTop)); in test_inner_bounds() 1099 REPORTER_ASSERT(reporter, maxInner.contains(midX, maxTop + innerHeight)); in test_inner_bounds()
|
Completed in 7 milliseconds