Home
last modified time | relevance | path

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

/external/skia/src/utils/win/
DSkDWriteGeometrySink.cpp102 float midY = cubic[0].y + dy10 * 3 / 2; in check_quadratic() local
103 if (!approximately_equal(midY, (dy23 * 3 / 2) + cubic[3].y)) { in check_quadratic()
108 reduction[1].y = midY; in check_quadratic()
/external/skia/src/pathops/
DSkReduceOrder.cpp137 double midY = cubic[0].fY + dy10 * 3 / 2; in check_quadratic() local
138 double sideAy = midY - cubic[3].fY; in check_quadratic()
146 reduction[1].fY = midY; in check_quadratic()
/external/skia/tests/
DBlurTest.cpp175 int midY = dst.fBounds.centerY(); in ground_truth_2d() local
176 uint8_t* bytes = dst.getAddr8(midX, midY); in ground_truth_2d()
228 SkScalar midY = path.getBounds().centerY(); in blur_path() local
230 canvas->translate(-midX, -midY); in blur_path()
/external/skia/src/core/
DSkGeometry.cpp1146 SkScalar midY = dst[0].fPts[2].fY; in subdivide() local
1147 if (!between(startY, midY, endY)) { in subdivide()
1149 SkScalar closerY = SkTAbs(midY - startY) < SkTAbs(midY - endY) ? startY : endY; in subdivide()