Home
last modified time | relevance | path

Searched refs:SkScalarAve (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/core/
DSkGeometry.cpp229 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 …]
DSkLineClipper.cpp7 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()
DSkEdgeClipper.cpp249 mid = SkScalarAve(minT, maxT); in chopMonoCubicAt()
DSkPath.cpp1202 pts[1].set(SkScalarAve(pts[0].fX, pts[2].fX), in subdivide()
1203 SkScalarAve(pts[0].fY, pts[2].fY)); in subdivide()
DSkDraw.cpp793 *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/
Dgradients.cpp38 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/
DSkBoundaryPatch.cpp33 return SkMakePoint(SkScalarAve(u.fX, v.fX), in eval()
34 SkScalarAve(u.fY, v.fY)); in eval()
/external/skia/src/effects/
DSk1DPathEffect.cpp134 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/
DSkParseSVGPath.cpp33 dest.set(SkScalarAve(a.fX, b.fX),SkScalarAve(a.fY, b.fY)); in midPt()
/external/skia/include/core/
DSkScalar.h143 #define SkScalarAve(a, b) (((a) + (b)) * 0.5f) macro
210 #define SkScalarAve(a, b) SkFixedAve(a, b) macro
/external/webkit/WebCore/platform/graphics/skia/
DSkiaFontWin.cpp122 cx = SkScalarAve(bx, cx); in addPolyCurveToPath()
123 cy = SkScalarAve(by, cy); in addPolyCurveToPath()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp362 sx = sy = SkScalarAve(sx, sy); in SkScalerContext_FreeType()