/external/skia/include/core/ |
D | SkPathRef.h | 191 sk_free(fPoints); in ~SkPathRef() 193 SkDEBUGCODE(fPoints = NULL;) in ~SkPathRef() 219 const SkPoint* points() const { SkDEBUGCODE(this->validate();) return fPoints; } in points() 272 fPoints = NULL; in SkPathRef() 336 sk_free(fPoints); 337 fPoints = NULL; 393 fPoints = reinterpret_cast<SkPoint*>(sk_realloc_throw(fPoints, newSize)); in makeSpace() 396 reinterpret_cast<intptr_t>(fPoints) + newSize - oldVerbSize); in makeSpace() 398 reinterpret_cast<intptr_t>(fPoints) + oldSize - oldVerbSize); in makeSpace() 400 fVerbs = reinterpret_cast<uint8_t*>(reinterpret_cast<intptr_t>(fPoints) + newSize); in makeSpace() [all …]
|
D | SkPathEffect.h | 69 , fPoints(NULL) in PointData() 76 delete [] fPoints; in ~PointData() 91 SkPoint* fPoints; // the center point of each generated point variable
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkPathRef.h | 191 sk_free(fPoints); in ~SkPathRef() 193 SkDEBUGCODE(fPoints = NULL;) in ~SkPathRef() 219 const SkPoint* points() const { SkDEBUGCODE(this->validate();) return fPoints; } in points() 272 fPoints = NULL; in SkPathRef() 336 sk_free(fPoints); 337 fPoints = NULL; 393 fPoints = reinterpret_cast<SkPoint*>(sk_realloc_throw(fPoints, newSize)); in makeSpace() 396 reinterpret_cast<intptr_t>(fPoints) + newSize - oldVerbSize); in makeSpace() 398 reinterpret_cast<intptr_t>(fPoints) + oldSize - oldVerbSize); in makeSpace() 400 fVerbs = reinterpret_cast<uint8_t*>(reinterpret_cast<intptr_t>(fPoints) + newSize); in makeSpace() [all …]
|
D | SkPathEffect.h | 69 , fPoints(NULL) in PointData() 76 delete [] fPoints; in ~PointData() 91 SkPoint* fPoints; // the center point of each generated point variable
|
/external/skia/src/core/ |
D | SkPathRef.cpp | 73 matrix.mapPoints((*dst)->fPoints, src.points(), src.fPointCnt); in CreateTransformedCopy() 152 !buffer->read(ref->fPoints, pointCount * sizeof(SkPoint)) || in CreateFromBuffer() 254 buffer->write(fPoints, fPointCnt * sizeof(SkPoint)); in writeToBuffer() 276 memcpy(this->fPoints, ref.fPoints, ref.fPointCnt * sizeof(SkPoint)); in copy() 340 SkPoint* ret = fPoints + fPointCnt; in growForRepeatedVerb() 410 SkPoint* ret = fPoints + fPointCnt; in growForVerb() 449 SkASSERT(reinterpret_cast<intptr_t>(fVerbs) - reinterpret_cast<intptr_t>(fPoints) >= 0); in validate() 450 SkASSERT((NULL == fPoints) == (NULL == fVerbs)); in validate() 451 SkASSERT(!(NULL == fPoints && 0 != fFreeSpace)); in validate() 452 SkASSERT(!(NULL == fPoints && 0 != fFreeSpace)); in validate() [all …]
|
D | SkEdgeClipper.cpp | 198 fCurrPoint = fPoints; in clipQuad() 213 SkASSERT(fCurrPoint - fPoints <= kMaxPoints); in clipQuad() 219 fCurrPoint = fPoints; in clipQuad() 406 fCurrPoint = fPoints; in clipCubic() 421 SkASSERT(fCurrPoint - fPoints <= kMaxPoints); in clipCubic() 427 fCurrPoint = fPoints; in clipCubic()
|
D | SkEdgeClipper.h | 33 SkPoint fPoints[kMaxPoints]; variable
|
D | SkQuadClipper.h | 52 SkPoint fPoints[kMaxPoints]; variable
|
D | SkDraw.cpp | 738 pointData.fPoints, in drawPoints() 743 pointData.fPoints, in drawPoints() 756 r.set(pointData.fPoints[i].fX - pointData.fSize.fX, in drawPoints() 757 pointData.fPoints[i].fY - pointData.fSize.fY, in drawPoints() 758 pointData.fPoints[i].fX + pointData.fSize.fX, in drawPoints() 759 pointData.fPoints[i].fY + pointData.fSize.fY); in drawPoints()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkPathRef.cpp | 73 matrix.mapPoints((*dst)->fPoints, src.points(), src.fPointCnt); in CreateTransformedCopy() 152 !buffer->read(ref->fPoints, pointCount * sizeof(SkPoint)) || in CreateFromBuffer() 254 buffer->write(fPoints, fPointCnt * sizeof(SkPoint)); in writeToBuffer() 276 memcpy(this->fPoints, ref.fPoints, ref.fPointCnt * sizeof(SkPoint)); in copy() 340 SkPoint* ret = fPoints + fPointCnt; in growForRepeatedVerb() 410 SkPoint* ret = fPoints + fPointCnt; in growForVerb() 449 SkASSERT(reinterpret_cast<intptr_t>(fVerbs) - reinterpret_cast<intptr_t>(fPoints) >= 0); in validate() 450 SkASSERT((NULL == fPoints) == (NULL == fVerbs)); in validate() 451 SkASSERT(!(NULL == fPoints && 0 != fFreeSpace)); in validate() 452 SkASSERT(!(NULL == fPoints && 0 != fFreeSpace)); in validate() [all …]
|
D | SkEdgeClipper.cpp | 198 fCurrPoint = fPoints; in clipQuad() 213 SkASSERT(fCurrPoint - fPoints <= kMaxPoints); in clipQuad() 219 fCurrPoint = fPoints; in clipQuad() 406 fCurrPoint = fPoints; in clipCubic() 421 SkASSERT(fCurrPoint - fPoints <= kMaxPoints); in clipCubic() 427 fCurrPoint = fPoints; in clipCubic()
|
D | SkEdgeClipper.h | 33 SkPoint fPoints[kMaxPoints]; variable
|
D | SkQuadClipper.h | 52 SkPoint fPoints[kMaxPoints]; variable
|
D | SkDraw.cpp | 738 pointData.fPoints, in drawPoints() 743 pointData.fPoints, in drawPoints() 756 r.set(pointData.fPoints[i].fX - pointData.fSize.fX, in drawPoints() 757 pointData.fPoints[i].fY - pointData.fSize.fY, in drawPoints() 758 pointData.fPoints[i].fX + pointData.fSize.fX, in drawPoints() 759 pointData.fPoints[i].fY + pointData.fSize.fY); in drawPoints()
|
/external/skia/gm/ |
D | polygons.cpp | 55 SkPoint* fPoints; in onOnceBeforeDraw() member 70 fPolygons.push_back().moveTo(pgs[pgIndex].fPoints[0].fX, in onOnceBeforeDraw() 71 pgs[pgIndex].fPoints[0].fY); in onOnceBeforeDraw() 73 fPolygons.back().lineTo(pgs[pgIndex].fPoints[ptIndex].fX, in onOnceBeforeDraw() 74 pgs[pgIndex].fPoints[ptIndex].fY); in onOnceBeforeDraw()
|
/external/skia/bench/ |
D | PathBench.cpp | 243 fPoints.reset(kNumPoints); in createData() 245 fPoints[i].set(fRandom.nextRangeScalar(bounds->fLeft, bounds->fRight), in createData() 263 path->moveTo(fPoints[(fCurrPoint++) & (kNumPoints - 1)]); in makePath() 266 path->lineTo(fPoints[(fCurrPoint++) & (kNumPoints - 1)]); in makePath() 269 path->quadTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], in makePath() 270 fPoints[(fCurrPoint + 1) & (kNumPoints - 1)]); in makePath() 274 path->conicTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], in makePath() 275 fPoints[(fCurrPoint + 1) & (kNumPoints - 1)], in makePath() 280 path->cubicTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], in makePath() 281 fPoints[(fCurrPoint + 1) & (kNumPoints - 1)], in makePath() [all …]
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkDashPathEffect.cpp | 448 results->fPoints = new SkPoint[results->fNumPoints]; in asPoints() 476 results->fPoints[curPt].set(x, y); in asPoints() 497 results->fPoints[curPt].set(x, y); in asPoints()
|
/external/skia/src/effects/ |
D | SkDashPathEffect.cpp | 448 results->fPoints = new SkPoint[results->fNumPoints]; in asPoints() 476 results->fPoints[curPt].set(x, y); in asPoints() 497 results->fPoints[curPt].set(x, y); in asPoints()
|
/external/skia/tests/ |
D | PathTest.cpp | 1499 SkPoint *fPoints; in test_isRect() member 1540 path.moveTo(tests[testIndex].fPoints[0].fX, tests[testIndex].fPoints[0].fY); in test_isRect() 1542 path.lineTo(tests[testIndex].fPoints[index].fX, tests[testIndex].fPoints[index].fY); in test_isRect() 1552 expected.set(tests[testIndex].fPoints, tests[testIndex].fPointCount); in test_isRect() 1665 SkPoint *fPoints; in test_isNestedRects() member 1707 path.moveTo(tests[testIndex].fPoints[0].fX, tests[testIndex].fPoints[0].fY); in test_isNestedRects() 1709 path.lineTo(tests[testIndex].fPoints[index].fX, tests[testIndex].fPoints[index].fY); in test_isNestedRects() 1722 testBounds.set(tests[testIndex].fPoints, tests[testIndex].fPointCount); in test_isNestedRects()
|