/external/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsQuad.cpp | 53 if (topPt.fY > sub[2].fY || (topPt.fY == sub[2].fY && topPt.fX > sub[2].fX)) { 56 if (!between(sub[0].fY, sub[1].fY, sub[2].fY)) { 58 if (FindExtrema(sub[0].fY, sub[1].fY, sub[2].fY, &extremeT)) [all...] |
SkPathOpsRect.h | 19 if (fTop > pt.fY) { 20 fTop = pt.fY; 25 if (fBottom < pt.fY) { 26 fBottom = pt.fY; 32 && approximately_between(fTop, pt.fY, fBottom); 45 fTop = fBottom = pt.fY;
|
SkPathOpsDebug.h | 115 #define CUBIC_DEBUG_DATA(c) c[0].fX, c[0].fY, c[1].fX, c[1].fY, c[2].fX, c[2].fY, c[3].fX, c[3].fY 116 #define QUAD_DEBUG_DATA(q) q[0].fX, q[0].fY, q[1].fX, q[1].fY, q[2].fX, q[2].fY 117 #define LINE_DEBUG_DATA(l) l[0].fX, l[0].fY, l[1].fX, l[1].fY 118 #define PT_DEBUG_DATA(i, n) i.pt(n).fX, i.pt(n).fY [all...] |
SkDLineIntersection.cpp | 16 double ayLen = a[1].fY - a[0].fY; 18 double byLen = b[1].fY - b[0].fY; 21 double term1 = a[1].fX * a[0].fY - a[1].fY * a[0].fX; 22 double term2 = b[1].fX * b[0].fY - b[1].fY * b[0].fX; 25 p.fY = (term1 * byLen - ayLen * term2) / denom; 75 double denom = bLen.fY * aLen.fX - aLen.fY * bLen.fX [all...] |
SkPathOpsBounds.h | 38 if (pt.fY < fTop) fTop = pt.fY; 40 if (pt.fY > fBottom) fBottom = pt.fY; 46 && AlmostLessOrEqualUlps(fTop, pt.fY) 47 && AlmostLessOrEqualUlps(pt.fY, fBottom); 64 fTop = fBottom = pt.fY;
|
/external/skia/src/pathops/ |
SkPathOpsQuad.cpp | 53 if (topPt.fY > sub[2].fY || (topPt.fY == sub[2].fY && topPt.fX > sub[2].fX)) { 56 if (!between(sub[0].fY, sub[1].fY, sub[2].fY)) { 58 if (FindExtrema(sub[0].fY, sub[1].fY, sub[2].fY, &extremeT)) [all...] |
SkPathOpsRect.h | 19 if (fTop > pt.fY) { 20 fTop = pt.fY; 25 if (fBottom < pt.fY) { 26 fBottom = pt.fY; 32 && approximately_between(fTop, pt.fY, fBottom); 45 fTop = fBottom = pt.fY;
|
SkPathOpsDebug.h | 115 #define CUBIC_DEBUG_DATA(c) c[0].fX, c[0].fY, c[1].fX, c[1].fY, c[2].fX, c[2].fY, c[3].fX, c[3].fY 116 #define QUAD_DEBUG_DATA(q) q[0].fX, q[0].fY, q[1].fX, q[1].fY, q[2].fX, q[2].fY 117 #define LINE_DEBUG_DATA(l) l[0].fX, l[0].fY, l[1].fX, l[1].fY 118 #define PT_DEBUG_DATA(i, n) i.pt(n).fX, i.pt(n).fY [all...] |
SkDLineIntersection.cpp | 16 double ayLen = a[1].fY - a[0].fY; 18 double byLen = b[1].fY - b[0].fY; 21 double term1 = a[1].fX * a[0].fY - a[1].fY * a[0].fX; 22 double term2 = b[1].fX * b[0].fY - b[1].fY * b[0].fX; 25 p.fY = (term1 * byLen - ayLen * term2) / denom; 75 double denom = bLen.fY * aLen.fX - aLen.fY * bLen.fX [all...] |
/external/chromium_org/third_party/skia/src/animator/ |
SkDrawPoint.cpp | 19 SK_MEMBER_ALIAS(y, fPoint.fY, Float) 30 SK_MEMBER_ALIAS(y, fPoint.fY, Float) 43 rect->fTop = rect->fBottom = fPoint.fY;
|
SkParseSVGPath.cpp | 25 dest.set(SkScalarAve(a.fX, b.fX),SkScalarAve(a.fY, b.fY)); 41 m.set(SkScalarHalf(3*j.fX - c.fX), SkScalarHalf(3*j.fY - c.fY)); 42 n.set(SkScalarHalf(3*o.fX -q.fX), SkScalarHalf(3*o.fY - q.fY)); 47 m.set(SkScalarHalf(3*p.fX - c.fX), SkScalarHalf(3*p.fY - c.fY)); 48 n.set(SkScalarHalf(3*l.fX -p2.fX),SkScalarHalf(3*l.fY -p2.fY)); [all...] |
/external/skia/src/animator/ |
SkDrawPoint.cpp | 19 SK_MEMBER_ALIAS(y, fPoint.fY, Float) 30 SK_MEMBER_ALIAS(y, fPoint.fY, Float) 43 rect->fTop = rect->fBottom = fPoint.fY;
|
SkParseSVGPath.cpp | 25 dest.set(SkScalarAve(a.fX, b.fX),SkScalarAve(a.fY, b.fY)); 41 m.set(SkScalarHalf(3*j.fX - c.fX), SkScalarHalf(3*j.fY - c.fY)); 42 n.set(SkScalarHalf(3*o.fX -q.fX), SkScalarHalf(3*o.fY - q.fY)); 47 m.set(SkScalarHalf(3*p.fX - c.fX), SkScalarHalf(3*p.fY - c.fY)); 48 n.set(SkScalarHalf(3*l.fX -p2.fX),SkScalarHalf(3*l.fY -p2.fY)); [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkCornerPathEffect.cpp | 22 step->set(b.fX - a.fX, b.fY - a.fY); 76 dst->quadTo(pts[0].fX, pts[0].fY, pts[0].fX + step.fX, 77 pts[0].fY + step.fY); 80 dst->lineTo(pts[1].fX - step.fX, pts[1].fY - step.fY); 107 if (firstStep.fX || firstStep.fY) { 108 dst->quadTo(lastCorner.fX, lastCorner.fY, 110 lastCorner.fY + firstStep.fY) [all...] |
/external/skia/src/effects/ |
SkCornerPathEffect.cpp | 22 step->set(b.fX - a.fX, b.fY - a.fY); 76 dst->quadTo(pts[0].fX, pts[0].fY, pts[0].fX + step.fX, 77 pts[0].fY + step.fY); 80 dst->lineTo(pts[1].fX - step.fX, pts[1].fY - step.fY); 107 if (firstStep.fX || firstStep.fY) { 108 dst->quadTo(lastCorner.fX, lastCorner.fY, 110 lastCorner.fY + firstStep.fY) [all...] |
/external/skia/tests/ |
PathOpsLineIntersectionTest.cpp | 99 if (line1[0].fY == line1[1].fY) { 103 ts.horizontal(line2, left, right, line1[0].fY, line1[0].fX != left); 106 if (line2[0].fY == line2[1].fY) { 110 ts.horizontal(line1, left, right, line2[0].fY, line2[0].fX != left); 114 double top = SkTMin(line1[0].fY, line1[1].fY); 115 double bottom = SkTMax(line1[0].fY, line1[1].fY); [all...] |
PathOpsDPointTest.cpp | 42 p.fX = p.fY = 0; 43 REPORTER_ASSERT(reporter, p.fX == 0 && p.fY == 0); 45 REPORTER_ASSERT(reporter, pt.distanceSquared(p) == pt.fX * pt.fX + pt.fY * pt.fY); 47 sqrt(pt.fX * pt.fX + pt.fY * pt.fY)));
|
/external/chromium_org/third_party/skia/src/core/ |
SkRRect.cpp | 59 if (fRadii[i].fX <= 0 || fRadii[i].fY <= 0) { 65 fRadii[i].fY = 0; 92 if (fRadii[1].fY + fRadii[2].fY > rect.height()) { 94 SkScalarDiv(rect.height(), fRadii[1].fY + fRadii[2].fY)); 100 if (fRadii[3].fY + fRadii[0].fY > rect.height()) { 102 SkScalarDiv(rect.height(), fRadii[3].fY + fRadii[0].fY)); [all...] |
SkLineClipper.cpp | 27 SkScalar dy = src[1].fY - src[0].fY; 35 double Y0 = src[0].fY; 37 double Y1 = src[1].fY; 45 return src[0].fX + SkScalarMulDiv(Y - src[0].fY, src[1].fX - src[0].fX, 55 return SkScalarAve(src[0].fY, src[1].fY); 61 double Y0 = src[0].fY; 63 double Y1 = src[1].fY; 67 return src[0].fY + SkScalarMulDiv(X - src[0].fX, src[1].fY - src[0].fY [all...] |
SkEdgeClipper.cpp | 35 if (src[0].fY > src[count - 1].fY) { 68 return chopMonoQuadAt(pts[0].fY, pts[1].fY, pts[2].fY, y, t); 81 if (pts[0].fY < clip.fTop) { 86 tmp[2].fY = clip.fTop; 87 clamp_ge(tmp[3].fY, clip.fTop); 95 if (pts[i].fY < clip.fTop) { 96 pts[i].fY = clip.fTop [all...] |
/external/skia/src/core/ |
SkRRect.cpp | 59 if (fRadii[i].fX <= 0 || fRadii[i].fY <= 0) { 65 fRadii[i].fY = 0; 92 if (fRadii[1].fY + fRadii[2].fY > rect.height()) { 94 SkScalarDiv(rect.height(), fRadii[1].fY + fRadii[2].fY)); 100 if (fRadii[3].fY + fRadii[0].fY > rect.height()) { 102 SkScalarDiv(rect.height(), fRadii[3].fY + fRadii[0].fY)); [all...] |
SkLineClipper.cpp | 27 SkScalar dy = src[1].fY - src[0].fY; 35 double Y0 = src[0].fY; 37 double Y1 = src[1].fY; 45 return src[0].fX + SkScalarMulDiv(Y - src[0].fY, src[1].fX - src[0].fX, 55 return SkScalarAve(src[0].fY, src[1].fY); 61 double Y0 = src[0].fY; 63 double Y1 = src[1].fY; 67 return src[0].fY + SkScalarMulDiv(X - src[0].fX, src[1].fY - src[0].fY [all...] |
SkEdgeClipper.cpp | 35 if (src[0].fY > src[count - 1].fY) { 68 return chopMonoQuadAt(pts[0].fY, pts[1].fY, pts[2].fY, y, t); 81 if (pts[0].fY < clip.fTop) { 86 tmp[2].fY = clip.fTop; 87 clamp_ge(tmp[3].fY, clip.fTop); 95 if (pts[i].fY < clip.fTop) { 96 pts[i].fY = clip.fTop [all...] |
/external/chromium_org/third_party/skia/include/effects/ |
SkLightingImageFilter.h | 19 : fX(x), fY(y), fZ(z) {} 22 + SkScalarMul(fY, other.fY) 26 return fX > fY ? (fX > fZ ? fX : fZ) : (fY > fZ ? fY : fZ); 32 fY = SkScalarMul(fY, scale); 37 SkScalarMul(fY, scalar), 41 return SkPoint3(fX - other.fX, fY - other.fY, fZ - other.fZ) [all...] |
/external/skia/include/effects/ |
SkLightingImageFilter.h | 19 : fX(x), fY(y), fZ(z) {} 22 + SkScalarMul(fY, other.fY) 26 return fX > fY ? (fX > fZ ? fX : fZ) : (fY > fZ ? fY : fZ); 32 fY = SkScalarMul(fY, scale); 37 SkScalarMul(fY, scalar), 41 return SkPoint3(fX - other.fX, fY - other.fY, fZ - other.fZ) [all...] |