Searched refs:SkScalarAve (Results 1 – 12 of 12) sorted by relevance
/external/skia/src/core/ |
D | SkGeometry.cpp | 229 SkScalar x01 = SkScalarAve(src[0].fX, src[1].fX); in SkEvalQuadAtHalf() 230 SkScalar y01 = SkScalarAve(src[0].fY, src[1].fY); in SkEvalQuadAtHalf() 231 SkScalar x12 = SkScalarAve(src[1].fX, src[2].fX); in SkEvalQuadAtHalf() 232 SkScalar y12 = SkScalarAve(src[1].fY, src[2].fY); in SkEvalQuadAtHalf() 233 pt->set(SkScalarAve(x01, x12), SkScalarAve(y01, y12)); in SkEvalQuadAtHalf() 262 SkScalar x01 = SkScalarAve(src[0].fX, src[1].fX); in SkChopQuadAtHalf() 263 SkScalar y01 = SkScalarAve(src[0].fY, src[1].fY); in SkChopQuadAtHalf() 264 SkScalar x12 = SkScalarAve(src[1].fX, src[2].fX); in SkChopQuadAtHalf() 265 SkScalar y12 = SkScalarAve(src[1].fY, src[2].fY); in SkChopQuadAtHalf() 269 dst[2].set(SkScalarAve(x01, x12), SkScalarAve(y01, y12)); in SkChopQuadAtHalf() [all …]
|
D | SkLineClipper.cpp | 7 return SkScalarAve(src[0].fX, src[1].fX); in sect_with_horizontal() 18 return SkScalarAve(src[0].fY, src[1].fY); in sect_with_vertical()
|
D | SkEdgeClipper.cpp | 249 mid = SkScalarAve(minT, maxT); in chopMonoCubicAt()
|
D | SkPath.cpp | 1202 pts[1].set(SkScalarAve(pts[0].fX, pts[2].fX), in subdivide() 1203 SkScalarAve(pts[0].fY, pts[2].fY)); in subdivide()
|
D | SkDraw.cpp | 793 *value = SkScalarAve(len0, len1); in map_radius() 1805 srcP[0].fX = SkScalarAve(srcP[0].fX, srcP[1].fX); in morphpath() 1806 srcP[0].fY = SkScalarAve(srcP[0].fY, srcP[1].fY); in morphpath()
|
/external/skia/gm/ |
D | gradients.cpp | 38 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeRadial() 39 SkScalarAve(pts[0].fY, pts[1].fY)); in MakeRadial() 47 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeSweep() 48 SkScalarAve(pts[0].fY, pts[1].fY)); in MakeSweep()
|
/external/skia/src/utils/ |
D | SkBoundaryPatch.cpp | 33 return SkMakePoint(SkScalarAve(u.fX, v.fX), in eval() 34 SkScalarAve(u.fY, v.fY)); in eval()
|
/external/skia/src/effects/ |
D | Sk1DPathEffect.cpp | 134 srcP[1].set(SkScalarAve(srcP[0].fX, srcP[2].fX), in morphpath() 135 SkScalarAve(srcP[0].fY, srcP[2].fY)); in morphpath()
|
/external/skia/src/animator/ |
D | SkParseSVGPath.cpp | 33 dest.set(SkScalarAve(a.fX, b.fX),SkScalarAve(a.fY, b.fY)); in midPt()
|
/external/skia/include/core/ |
D | SkScalar.h | 143 #define SkScalarAve(a, b) (((a) + (b)) * 0.5f) macro 210 #define SkScalarAve(a, b) SkFixedAve(a, b) macro
|
/external/webkit/WebCore/platform/graphics/skia/ |
D | SkiaFontWin.cpp | 122 cx = SkScalarAve(bx, cx); in addPolyCurveToPath() 123 cy = SkScalarAve(by, cy); in addPolyCurveToPath()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 362 sx = sy = SkScalarAve(sx, sy); in SkScalerContext_FreeType()
|