Home
last modified time | relevance | path

Searched refs:meas (Results 1 – 10 of 10) sorted by relevance

/external/skia/tests/
DPathMeasureTest.cpp25 SkPathMeasure meas(path, false); in test_small_segment3() local
26 meas.getLength(); in test_small_segment3()
43 SkPathMeasure meas(path, false); in test_small_segment2() local
44 meas.getLength(); in test_small_segment2()
63 SkPathMeasure meas(path, false); in test_small_segment() local
78 meas.getLength(); in test_small_segment()
90 SkPathMeasure meas(path, true); in TestPathMeasure() local
91 SkScalar length = meas.getLength(); in TestPathMeasure()
97 meas.setPath(&path, false); in TestPathMeasure()
98 length = meas.getLength(); in TestPathMeasure()
[all …]
/external/skia/src/effects/
DSk1DPathEffect.cpp16 SkPathMeasure meas(src, false); in filterPath() local
18 SkScalar length = meas.getLength(); in filterPath()
21 SkScalar delta = this->next(dst, distance, meas); in filterPath()
27 } while (meas.nextContour()); in filterPath()
81 SkPathMeasure& meas, SkScalar dist) { in morphpoints() argument
89 if (!meas.getPosTan(dist + sx, &pos, &tangent)) { in morphpoints()
111 static void morphpath(SkPath* dst, const SkPath& src, SkPathMeasure& meas, in morphpath() argument
120 if (morphpoints(dstP, srcP, 1, meas, dist)) { in morphpath()
130 if (morphpoints(dstP, &srcP[1], 2, meas, dist)) { in morphpath()
135 if (morphpoints(dstP, &srcP[1], 3, meas, dist)) { in morphpath()
[all …]
DSkDiscretePathEffect.cpp32 SkPathMeasure meas(src, doFill); in filterPath() local
33 uint32_t seed = SkScalarRound(meas.getLength()); in filterPath()
40 SkScalar length = meas.getLength(); in filterPath()
43 meas.getSegment(0, length, dst, true); // to short for us to mangle in filterPath()
49 if (meas.isClosed()) { in filterPath()
54 if (meas.getPosTan(distance, &p, &v)) { in filterPath()
60 if (meas.getPosTan(distance, &p, &v)) { in filterPath()
65 if (meas.isClosed()) { in filterPath()
69 } while (meas.nextContour()); in filterPath()
DSkDashPathEffect.cpp255 SkPathMeasure meas(*srcPtr, false); in filterPath() local
258 bool skipFirstSegment = meas.isClosed(); in filterPath()
260 SkScalar length = meas.getLength(); in filterPath()
305 meas.getSegment(SkDoubleToScalar(distance), in filterPath()
327 if (meas.isClosed() && is_even(fInitialDashIndex) && in filterPath()
329 meas.getSegment(0, SkScalarMul(fInitialDashLength, scale), dst, !addedSegment); in filterPath()
331 } while (meas.nextContour()); in filterPath()
/external/skia/legacy/src/effects/
DSk1DPathEffect.cpp14 SkPathMeasure meas(src, false); in filterPath() local
16 SkScalar length = meas.getLength(); in filterPath()
19 SkScalar delta = this->next(dst, distance, meas); in filterPath()
25 } while (meas.nextContour()); in filterPath()
77 SkPathMeasure& meas, SkScalar dist) { in morphpoints() argument
85 meas.getPosTan(dist + sx, &pos, &tangent); in morphpoints()
104 static void morphpath(SkPath* dst, const SkPath& src, SkPathMeasure& meas, in morphpath() argument
113 morphpoints(dstP, srcP, 1, meas, dist); in morphpath()
122 morphpoints(dstP, &srcP[1], 2, meas, dist); in morphpath()
126 morphpoints(dstP, &srcP[1], 3, meas, dist); in morphpath()
[all …]
DSkDiscretePathEffect.cpp32 SkPathMeasure meas(src, doFill); in filterPath() local
33 uint32_t seed = SkScalarRound(meas.getLength()); in filterPath()
40 SkScalar length = meas.getLength(); in filterPath()
43 meas.getSegment(0, length, dst, true); // to short for us to mangle in filterPath()
49 if (meas.isClosed()) { in filterPath()
53 meas.getPosTan(distance, &p, &v); in filterPath()
58 meas.getPosTan(distance, &p, &v); in filterPath()
62 if (meas.isClosed()) { in filterPath()
66 } while (meas.nextContour()); in filterPath()
DSkDashPathEffect.cpp84 SkPathMeasure meas(src, false); in filterPath() local
88 bool skipFirstSegment = meas.isClosed(); in filterPath()
90 SkScalar length = meas.getLength(); in filterPath()
112 meas.getSegment(distance, distance + dlen, dst, true); in filterPath()
131 if (meas.isClosed() && is_even(fInitialDashIndex) && in filterPath()
133 meas.getSegment(0, SkScalarMul(fInitialDashLength, scale), dst, !addedSegment); in filterPath()
135 } while (meas.nextContour()); in filterPath()
/external/skia/legacy/src/core/
DSkDraw.cpp1877 SkPathMeasure& meas, const SkMatrix& matrix) { in morphpoints() argument
1888 meas.getPosTan(sx, &pos, &tangent); in morphpoints()
1911 static void morphpath(SkPath* dst, const SkPath& src, SkPathMeasure& meas, in morphpath() argument
1920 morphpoints(dstP, srcP, 1, meas, matrix); in morphpath()
1927 morphpoints(dstP, srcP, 2, meas, matrix); in morphpath()
1931 morphpoints(dstP, &srcP[1], 2, meas, matrix); in morphpath()
1935 morphpoints(dstP, &srcP[1], 3, meas, matrix); in morphpath()
1959 SkPathMeasure meas(follow, false); in drawTextOnPath() local
1964 SkScalar pathLen = meas.getLength(); in drawTextOnPath()
1986 morphpath(&tmp, *iterPath, meas, m); in drawTextOnPath()
[all …]
/external/skia/src/core/
DSkDraw.cpp2017 SkPathMeasure& meas, const SkMatrix& matrix) { in morphpoints() argument
2028 if (!meas.getPosTan(sx, &pos, &tangent)) { in morphpoints()
2054 static void morphpath(SkPath* dst, const SkPath& src, SkPathMeasure& meas, in morphpath() argument
2063 morphpoints(dstP, srcP, 1, meas, matrix); in morphpath()
2070 morphpoints(dstP, srcP, 2, meas, matrix); in morphpath()
2074 morphpoints(dstP, &srcP[1], 2, meas, matrix); in morphpath()
2078 morphpoints(dstP, &srcP[1], 3, meas, matrix); in morphpath()
2102 SkPathMeasure meas(follow, false); in drawTextOnPath() local
2107 SkScalar pathLen = meas.getLength(); in drawTextOnPath()
2130 morphpath(&tmp, *iterPath, meas, m); in drawTextOnPath()
[all …]
/external/webkit/PerformanceTests/Parser/resources/
Dfinal-url-en70708 http://www.smartvoter.org/1998nov/wa/state/meas/i200/
70709 http://www.smartvoter.org/2004/11/02/ca/sn/meas/R/
71148 http://www.sos.state.or.us/elections/nov22004/guide/meas/m38_opp.html