/external/skia/include/core/ |
SkPoint.h | 19 int32_t fX, fY; 28 int32_t y() const { return fY; } 30 void setY(int32_t y) { fY = y; } 33 * Returns true iff fX and fY are both zero. 35 bool isZero() const { return (fX | fY) == 0; } 38 * Set both fX and fY to zero. Same as set(0, 0) 40 void setZero() { fX = fY = 0; } 43 void set(int32_t x, int32_t y) { fX = x; fY = y; } 67 void negate() { fX = -fX; fY = -fY; } [all...] |
/external/skia/legacy/include/core/ |
SkPoint.h | 21 int32_t fX, fY; 30 int32_t y() const { return fY; } 32 void setY(int32_t y) { fY = y; } 35 * Returns true iff fX and fY are both zero. 37 bool isZero() const { return (fX | fY) == 0; } 40 * Set both fX and fY to zero. Same as set(0, 0) 42 void setZero() { fX = fY = 0; } 45 void set(int32_t x, int32_t y) { fX = x; fY = y; } 69 void negate() { fX = -fX; fY = -fY; } [all...] |
SkPerspIter.h | 43 SkFixed fX, fY;
|
/external/skia/include/gpu/ |
GrPoint.h | 22 int16_t fX, fY; 26 fY = GrToS16(y);
|
/external/skia/include/utils/ |
SkCubicInterval.h | 18 return SkEvalCubicInterval(pts[0].fX, pts[0].fY, 19 pts[1].fX, pts[1].fY, x);
|
/external/skia/legacy/include/utils/ |
SkCubicInterval.h | 18 return SkEvalCubicInterval(pts[0].fX, pts[0].fY, 19 pts[1].fX, pts[1].fY, x);
|
/external/skia/src/core/ |
SkRRect.cpp | 58 if (fRadii[i].fX <= 0 || fRadii[i].fY <= 0) { 64 fRadii[i].fY = 0; 91 if (fRadii[1].fY + fRadii[2].fY > rect.height()) { 93 SkScalarDiv(rect.height(), fRadii[1].fY + fRadii[2].fY)); 99 if (fRadii[3].fY + fRadii[0].fY > rect.height()) { 101 SkScalarDiv(rect.height(), fRadii[3].fY + fRadii[0].fY)); [all...] |
SkStrokerPriv.cpp | 18 path->lineTo(stop.fX, stop.fY); 26 SkScalar py = pivot.fY; 28 SkScalar ny = normal.fY; 37 stop.fX, stop.fY); 49 path->setLastPt(pivot.fX + normal.fX + parallel.fX, pivot.fY + normal.fY + parallel.fY); 50 path->lineTo(pivot.fX - normal.fX + parallel.fX, pivot.fY - normal.fY + parallel.fY); [all...] |
SkQuadClipper.cpp | 56 return chopMonoQuadAt(pts[0].fY, pts[1].fY, pts[2].fY, y, t); 69 if (srcPts[0].fY > srcPts[2].fY) { 82 if (dst[2].fY <= ctop || dst[0].fY >= cbot) { 90 if (dst[0].fY < ctop) { 100 if (dst[i].fY < ctop) { 101 dst[i].fY = ctop [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...] |
SkGeometry.cpp | 21 if (pt.fY == pts[0].fY) { 27 if (pt.fY < pts[0].fY && pt.fY < pts[1].fY) 29 if (pt.fY > pts[0].fY && pt.fY > pts[1].fY) [all...] |
/external/skia/legacy/src/core/ |
SkStrokerPriv.cpp | 18 path->lineTo(stop.fX, stop.fY); 26 SkScalar py = pivot.fY; 28 SkScalar ny = normal.fY; 37 stop.fX, stop.fY); 49 path->setLastPt(pivot.fX + normal.fX + parallel.fX, pivot.fY + normal.fY + parallel.fY); 50 path->lineTo(pivot.fX - normal.fX + parallel.fX, pivot.fY - normal.fY + parallel.fY); [all...] |
SkQuadClipper.cpp | 54 return chopMonoQuadAt(pts[0].fY, pts[1].fY, pts[2].fY, y, t); 67 if (srcPts[0].fY > srcPts[2].fY) { 80 if (dst[2].fY <= ctop || dst[0].fY >= cbot) { 88 if (dst[0].fY < ctop) { 98 if (dst[i].fY < ctop) { 99 dst[i].fY = ctop [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) { 85 clamp_ge(tmp[2].fY, clip.fTop); 86 clamp_ge(tmp[3].fY, clip.fTop); 93 if (pts[i].fY < clip.fTop) { 94 pts[i].fY = clip.fTop [all...] |
SkLineClipper.cpp | 12 SkScalar dy = src[1].fY - src[0].fY; 20 double Y0 = src[0].fY; 22 double Y1 = src[1].fY; 26 return src[0].fX + SkScalarMulDiv(Y - src[0].fY, src[1].fX - src[0].fX, 36 return SkScalarAve(src[0].fY, src[1].fY); 42 double Y0 = src[0].fY; 44 double Y1 = src[1].fY; 48 return src[0].fY + SkScalarMulDiv(X - src[0].fX, src[1].fY - src[0].fY [all...] |
SkGeometry.cpp | 21 if (pt.fY == pts[0].fY) { 27 if (pt.fY < pts[0].fY && pt.fY < pts[1].fY) 29 if (pt.fY > pts[0].fY && pt.fY > pts[1].fY) [all...] |
/external/skia/legacy/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/webkit/Source/WebCore/platform/graphics/skia/ |
FloatPointSkia.cpp | 41 , m_y(p.fY)
|
/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/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); 31 fY = SkScalarMul(fY, scale); 36 SkScalarMul(fY, scalar), 40 return SkPoint3(fX - other.fX, fY - other.fY, fZ - other.fZ) [all...] |
/external/skia/legacy/src/effects/ |
SkCornerPathEffect.cpp | 27 step->set(b.fX - a.fX, b.fY - a.fY); 81 dst->quadTo(pts[0].fX, pts[0].fY, pts[0].fX + step.fX, 82 pts[0].fY + step.fY); 85 dst->lineTo(pts[1].fX - step.fX, pts[1].fY - step.fY); 112 if (firstStep.fX || firstStep.fY) { 113 dst->quadTo(lastCorner.fX, lastCorner.fY, 115 lastCorner.fY + firstStep.fY) [all...] |