Home
last modified time | relevance | path

Searched refs:countPoints (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/src/core/
DSkPathRef.cpp138 SkASSERT((*dst)->countPoints() == src.countPoints()); in CreateTransformedCopy()
143 bool canXformBounds = !src.fBoundsIsDirty && matrix.rectStaysRect() && src.countPoints() > 1; in CreateTransformedCopy()
263 SkASSERT(pointCount == ref->countPoints()); in CreateFromBuffer()
277 pCount != ref->countPoints() || cCount != ref->fConicWeights.count()) { in CreateFromBuffer()
314 int oldPCnt = (*pathRef)->countPoints(); in Rewind()
431 int count = out->countPoints() * 2; in interpolate()
DSkPath.cpp374 SkASSERT(2 == fPathRef->countPoints()); in isLine()
595 pts = fPathRef->points() + fPathRef->countPoints(); in isNestedFillRects()
624 int SkPath::countPoints() const { in countPoints() function in SkPath
625 return fPathRef->countPoints(); in countPoints()
633 int count = SkMin32(max, fPathRef->countPoints()); in getPoints()
635 return fPathRef->countPoints(); in getPoints()
639 if ((unsigned)index < (unsigned)fPathRef->countPoints()) { in getPoint()
670 int count = fPathRef->countPoints(); in getLastPt()
686 int count = fPathRef->countPoints(); in setPt()
698 int count = fPathRef->countPoints(); in setLastPt()
[all …]
DSkStroke.cpp328 fFirstOuterPtIndexInContour = fOuter.countPoints(); in finishContour()
365 fOuter.incReserve(src.countPoints() * 3); in SkPathStroker()
367 fInner.incReserve(src.countPoints()); in SkPathStroker()
1473 if (2 == src.countPoints()) { in strokePath()
DSkEdgeBuilder.cpp246 int maxEdgeCount = path.countPoints(); in buildPoly()
DSkScan_AntiPath.cpp650 return path.countPoints() < SkTMax(bounds.width(), bounds.height()) / 2 - 10; in suitableForAAA()
DSkGlyphCache.cpp209 fMemoryUsed += sizeof(SkPath) + path->countPoints() * sizeof(SkPoint); in findPath()
DSkScan_AAAPath.cpp1676 bool skipIntersect = path.countPoints() > (stop_y - start_y) * 2; in aaa_fill_path()
/external/skia/include/private/
DSkPathRef.h247 int countPoints() const { SkDEBUGCODE(this->validate();) return fPointCnt; } in countPoints() function
269 const SkPoint* pointsEnd() const { return this->points() + this->countPoints(); } in pointsEnd()
348 return bounds->setBoundsCheck(ref.points(), ref.countPoints()); in ComputePtBounds()
/external/skia/src/utils/
DSkShadowTessellator.cpp391 fPositions.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator()
392 fColors.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator()
395 fIndices.setReserve(12 * path.countPoints()); in SkAmbientShadowTessellator()
835 fPositions.setReserve(5 * path.countPoints()); in SkSpotShadowTessellator()
836 fColors.setReserve(5 * path.countPoints()); in SkSpotShadowTessellator()
839 fIndices.setReserve(15 * path.countPoints()); in SkSpotShadowTessellator()
840 fClipPolygon.setReserve(path.countPoints()); in SkSpotShadowTessellator()
1009 fPathPolygon.setReserve(path.countPoints()); in computeClipAndPathPolygons()
DSkLua.cpp1448 lua_pushinteger(L, get_obj<SkPath>(L, 1)->countPoints()); in lpath_countPoints()
/external/skia/src/gpu/gl/
DGrGLPath.cpp103 int pointCnt = skPath.countPoints(); in init_path_object_for_general_path()
225 int pointCnt = skPath.countPoints(); in InitPathObjectPathData()
/external/skia/tests/
DParsePathTest.cpp128 REPORTER_ASSERT(r, path.countPoints() == gTests[i].fPoints); in DEF_TEST()
DEmptyPathTest.cpp52 paint.isAntiAlias(), path.getFillType(), path.countPoints()); in drawAndTest()
DPathTest.cpp2830 REPORTER_ASSERT(reporter, gZeroLengthTests[i].numResultPts == (size_t)p.countPoints()); in test_zero_length_paths()
3575 REPORTER_ASSERT(reporter, 0 == p.countPoints()); in test_empty()
4173 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef()
4184 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef()
4195 REPORTER_ASSERT(reporter, 2*kRepeatCnt == pathRef->countPoints()); in TestPathRef()
4207 REPORTER_ASSERT(reporter, 2*kRepeatCnt == pathRef->countPoints()); in TestPathRef()
4220 REPORTER_ASSERT(reporter, 3*kRepeatCnt == pathRef->countPoints()); in TestPathRef()
/external/skia/gm/
Dstrokerect.cpp33 int n = path.countPoints(); in draw_path()
Dpathcontourstart.cpp115 const int n = path.countPoints(); in drawOneColumn()
/external/skia/src/gpu/
DGrShape.cpp81 const int pointCnt = path.countPoints(); in path_key_from_data_size()
96 const int pointCnt = path.countPoints(); in write_path_key_from_data()
DGrDistanceFieldGenFromVector.cpp231 int countPoints() { in countPoints() function in PathSegment
/external/skia/src/gpu/ops/
DGrAAConvexTessellator.cpp354 this->reservePts(5*path.countPoints()); in extractFromPath()
358 fIndices.setReserve(18*path.countPoints() + 6); in extractFromPath()
360 fNorms.setReserve(path.countPoints()); in extractFromPath()
DGrAAConvexPathRenderer.cpp50 int countPoints() { in countPoints() function
141 int n = segb.countPoints(); in compute_vectors()
/external/skia/tools/debugger/
DSkObjectParser.cpp179 mPath->appendS32(path.countPoints()); in PathToString()
/external/skia/experimental/SimpleCocoaApp/
DSimpleApp.mm163 int points = path.countPoints();
/external/skia/include/core/
DSkPath.h306 int countPoints() const;
/external/skia/src/gpu/ccpr/
DGrCCPRCoverageOpsBuilder.cpp176 SkASSERT(path.countPoints() > 0); in parsePath()
/external/skia/samplecode/
DSampleQuadStroker.cpp281 int n = path.countPoints(); in draw_points()

12