Home
last modified time | relevance | path

Searched refs:fPoints (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/third_party/skia/include/core/
DSkPathRef.h187 sk_free(fPoints); in ~SkPathRef()
189 SkDEBUGCODE(fPoints = NULL;) in ~SkPathRef()
215 const SkPoint* points() const { SkDEBUGCODE(this->validate();) return fPoints; } in points()
268 fPoints = NULL; in SkPathRef()
332 sk_free(fPoints);
333 fPoints = NULL;
389 fPoints = reinterpret_cast<SkPoint*>(sk_realloc_throw(fPoints, newSize)); in makeSpace()
392 reinterpret_cast<intptr_t>(fPoints) + newSize - oldVerbSize); in makeSpace()
394 reinterpret_cast<intptr_t>(fPoints) + oldSize - oldVerbSize); in makeSpace()
396 fVerbs = reinterpret_cast<uint8_t*>(reinterpret_cast<intptr_t>(fPoints) + newSize); in makeSpace()
[all …]
DSkPathEffect.h67 , fPoints(NULL) in PointData()
74 delete [] fPoints; in ~PointData()
89 SkPoint* fPoints; // the center point of each generated point variable
/external/skia/include/core/
DSkPathRef.h187 sk_free(fPoints); in ~SkPathRef()
189 SkDEBUGCODE(fPoints = NULL;) in ~SkPathRef()
215 const SkPoint* points() const { SkDEBUGCODE(this->validate();) return fPoints; } in points()
268 fPoints = NULL; in SkPathRef()
332 sk_free(fPoints);
333 fPoints = NULL;
389 fPoints = reinterpret_cast<SkPoint*>(sk_realloc_throw(fPoints, newSize)); in makeSpace()
392 reinterpret_cast<intptr_t>(fPoints) + newSize - oldVerbSize); in makeSpace()
394 reinterpret_cast<intptr_t>(fPoints) + oldSize - oldVerbSize); in makeSpace()
396 fVerbs = reinterpret_cast<uint8_t*>(reinterpret_cast<intptr_t>(fPoints) + newSize); in makeSpace()
[all …]
DSkPathEffect.h67 , fPoints(NULL) in PointData()
74 delete [] fPoints; in ~PointData()
89 SkPoint* fPoints; // the center point of each generated point variable
/external/chromium_org/third_party/skia/src/core/
DSkPathRef.cpp73 matrix.mapPoints((*dst)->fPoints, src.points(), src.fPointCnt); in CreateTransformedCopy()
138 !buffer->read(ref->fPoints, pointCount * sizeof(SkPoint)) || in CreateFromBuffer()
240 buffer->write(fPoints, fPointCnt * sizeof(SkPoint)); in writeToBuffer()
262 memcpy(this->fPoints, ref.fPoints, ref.fPointCnt * sizeof(SkPoint)); in copy()
326 SkPoint* ret = fPoints + fPointCnt; in growForRepeatedVerb()
396 SkPoint* ret = fPoints + fPointCnt; in growForVerb()
435 SkASSERT(reinterpret_cast<intptr_t>(fVerbs) - reinterpret_cast<intptr_t>(fPoints) >= 0); in validate()
436 SkASSERT((NULL == fPoints) == (NULL == fVerbs)); in validate()
437 SkASSERT(!(NULL == fPoints && 0 != fFreeSpace)); in validate()
438 SkASSERT(!(NULL == fPoints && 0 != fFreeSpace)); in validate()
[all …]
DSkEdgeClipper.cpp198 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()
DSkEdgeClipper.h33 SkPoint fPoints[kMaxPoints]; variable
DSkQuadClipper.h52 SkPoint fPoints[kMaxPoints]; variable
DSkDraw.cpp680 pointData.fPoints, in drawPoints()
685 pointData.fPoints, in drawPoints()
698 r.set(pointData.fPoints[i].fX - pointData.fSize.fX, in drawPoints()
699 pointData.fPoints[i].fY - pointData.fSize.fY, in drawPoints()
700 pointData.fPoints[i].fX + pointData.fSize.fX, in drawPoints()
701 pointData.fPoints[i].fY + pointData.fSize.fY); in drawPoints()
/external/skia/src/core/
DSkPathRef.cpp73 matrix.mapPoints((*dst)->fPoints, src.points(), src.fPointCnt); in CreateTransformedCopy()
138 !buffer->read(ref->fPoints, pointCount * sizeof(SkPoint)) || in CreateFromBuffer()
240 buffer->write(fPoints, fPointCnt * sizeof(SkPoint)); in writeToBuffer()
262 memcpy(this->fPoints, ref.fPoints, ref.fPointCnt * sizeof(SkPoint)); in copy()
326 SkPoint* ret = fPoints + fPointCnt; in growForRepeatedVerb()
396 SkPoint* ret = fPoints + fPointCnt; in growForVerb()
435 SkASSERT(reinterpret_cast<intptr_t>(fVerbs) - reinterpret_cast<intptr_t>(fPoints) >= 0); in validate()
436 SkASSERT((NULL == fPoints) == (NULL == fVerbs)); in validate()
437 SkASSERT(!(NULL == fPoints && 0 != fFreeSpace)); in validate()
438 SkASSERT(!(NULL == fPoints && 0 != fFreeSpace)); in validate()
[all …]
DSkEdgeClipper.cpp198 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()
DSkEdgeClipper.h33 SkPoint fPoints[kMaxPoints]; variable
DSkQuadClipper.h52 SkPoint fPoints[kMaxPoints]; variable
DSkDraw.cpp680 pointData.fPoints, in drawPoints()
685 pointData.fPoints, in drawPoints()
698 r.set(pointData.fPoints[i].fX - pointData.fSize.fX, in drawPoints()
699 pointData.fPoints[i].fY - pointData.fSize.fY, in drawPoints()
700 pointData.fPoints[i].fX + pointData.fSize.fX, in drawPoints()
701 pointData.fPoints[i].fY + pointData.fSize.fY); in drawPoints()
/external/chromium_org/third_party/skia/samplecode/
DSampleCull.cpp125 fPoints = getpts(fPath, &fPtCount); in CullView()
131 delete[] fPoints; in ~CullView()
173 cpp.moveTo(fPoints[0].fX, fPoints[0].fY); in onDrawContent()
175 cpp.lineTo(fPoints[i].fX, fPoints[i].fY); in onDrawContent()
187 SkIPoint* fPoints; member in CullView
/external/skia/samplecode/
DSampleCull.cpp125 fPoints = getpts(fPath, &fPtCount); in CullView()
131 delete[] fPoints; in ~CullView()
173 cpp.moveTo(fPoints[0].fX, fPoints[0].fY); in onDrawContent()
175 cpp.lineTo(fPoints[i].fX, fPoints[i].fY); in onDrawContent()
187 SkIPoint* fPoints; member in CullView
/external/chromium_org/third_party/skia/gm/
Dpolygons.cpp59 SkPoint* fPoints; in onOnceBeforeDraw() member
74 fPolygons.push_back().moveTo(pgs[pgIndex].fPoints[0].fX, in onOnceBeforeDraw()
75 pgs[pgIndex].fPoints[0].fY); in onOnceBeforeDraw()
77 fPolygons.back().lineTo(pgs[pgIndex].fPoints[ptIndex].fX, in onOnceBeforeDraw()
78 pgs[pgIndex].fPoints[ptIndex].fY); in onOnceBeforeDraw()
/external/skia/gm/
Dpolygons.cpp59 SkPoint* fPoints; in onOnceBeforeDraw() member
74 fPolygons.push_back().moveTo(pgs[pgIndex].fPoints[0].fX, in onOnceBeforeDraw()
75 pgs[pgIndex].fPoints[0].fY); in onOnceBeforeDraw()
77 fPolygons.back().lineTo(pgs[pgIndex].fPoints[ptIndex].fX, in onOnceBeforeDraw()
78 pgs[pgIndex].fPoints[ptIndex].fY); in onOnceBeforeDraw()
/external/skia/bench/
DPathBench.cpp243 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/bench/
DPathBench.cpp243 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/skia/src/effects/
DSkDashPathEffect.cpp144 results->fPoints = new SkPoint[results->fNumPoints]; in asPoints()
172 results->fPoints[curPt].set(x, y); in asPoints()
193 results->fPoints[curPt].set(x, y); in asPoints()
/external/chromium_org/third_party/skia/src/effects/
DSkDashPathEffect.cpp144 results->fPoints = new SkPoint[results->fNumPoints]; in asPoints()
172 results->fPoints[curPt].set(x, y); in asPoints()
193 results->fPoints[curPt].set(x, y); in asPoints()
/external/skia/tests/
DPathTest.cpp1556 SkPoint *fPoints; in test_isRect() member
1602 path.moveTo(tests[testIndex].fPoints[0].fX, tests[testIndex].fPoints[0].fY); in test_isRect()
1604 path.lineTo(tests[testIndex].fPoints[index].fX, tests[testIndex].fPoints[index].fY); in test_isRect()
1614 expected.set(tests[testIndex].fPoints, tests[testIndex].fPointCount); in test_isRect()
1739 SkPoint *fPoints; in test_isNestedRects() member
1781 path.moveTo(tests[testIndex].fPoints[0].fX, tests[testIndex].fPoints[0].fY); in test_isNestedRects()
1783 path.lineTo(tests[testIndex].fPoints[index].fX, tests[testIndex].fPoints[index].fY); in test_isNestedRects()
1796 testBounds.set(tests[testIndex].fPoints, tests[testIndex].fPointCount); in test_isNestedRects()
/external/chromium_org/third_party/skia/tests/
DPathTest.cpp1556 SkPoint *fPoints; in test_isRect() member
1602 path.moveTo(tests[testIndex].fPoints[0].fX, tests[testIndex].fPoints[0].fY); in test_isRect()
1604 path.lineTo(tests[testIndex].fPoints[index].fX, tests[testIndex].fPoints[index].fY); in test_isRect()
1614 expected.set(tests[testIndex].fPoints, tests[testIndex].fPointCount); in test_isRect()
1739 SkPoint *fPoints; in test_isNestedRects() member
1781 path.moveTo(tests[testIndex].fPoints[0].fX, tests[testIndex].fPoints[0].fY); in test_isNestedRects()
1783 path.lineTo(tests[testIndex].fPoints[index].fX, tests[testIndex].fPoints[index].fY); in test_isNestedRects()
1796 testBounds.set(tests[testIndex].fPoints, tests[testIndex].fPointCount); in test_isNestedRects()