/external/skqp/src/utils/win/ |
D | SkDWriteGeometrySink.cpp | 114 SkPoint lastPt; in AddBeziers() local 115 fPath->getLastPt(&lastPt); in AddBeziers() 116 D2D1_POINT_2F prevPt = { SkScalarToFloat(lastPt.fX), SkScalarToFloat(lastPt.fY) }; in AddBeziers()
|
/external/skia/src/utils/win/ |
D | SkDWriteGeometrySink.cpp | 114 SkPoint lastPt; in AddBeziers() local 115 fPath->getLastPt(&lastPt); in AddBeziers() 116 D2D1_POINT_2F prevPt = { SkScalarToFloat(lastPt.fX), SkScalarToFloat(lastPt.fY) }; in AddBeziers()
|
/external/skqp/tests/ |
D | PathOpsExtendedTest.cpp | 95 SkPoint firstPt = {0, 0}, lastPt = {0, 0}; in showPathData() local 101 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() 102 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY, in showPathData() 112 lastPt = pts[1]; in showPathData() 118 lastPt = pts[2]; in showPathData() 125 lastPt = pts[2]; in showPathData() 132 lastPt = pts[3]; in showPathData() 136 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() 137 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY, in showPathData() 147 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() [all …]
|
/external/skia/tests/ |
D | PathOpsExtendedTest.cpp | 95 SkPoint firstPt = {0, 0}, lastPt = {0, 0}; in showPathData() local 101 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() 102 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY, in showPathData() 112 lastPt = pts[1]; in showPathData() 118 lastPt = pts[2]; in showPathData() 125 lastPt = pts[2]; in showPathData() 132 lastPt = pts[3]; in showPathData() 136 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() 137 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY, in showPathData() 147 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() [all …]
|
/external/skia/src/pathops/ |
D | SkOpBuilder.cpp | 30 SkPoint lastPt; in ReversePath() local 31 SkAssertResult(path->getLastPt(&lastPt)); in ReversePath() 32 temp.moveTo(lastPt); in ReversePath()
|
D | SkOpSegment.h | 272 const SkPoint& lastPt() const { in lastPt() function
|
/external/skqp/src/pathops/ |
D | SkOpBuilder.cpp | 30 SkPoint lastPt; in ReversePath() local 31 SkAssertResult(path->getLastPt(&lastPt)); in ReversePath() 32 temp.moveTo(lastPt); in ReversePath()
|
D | SkOpSegment.h | 272 const SkPoint& lastPt() const { in lastPt() function
|
/external/skia/gm/ |
D | imagescalealigned.cpp | 111 SkPoint lastPt; in drawSets() local 116 lastPt = drawSet(canvas, set, paint); in drawSets() 121 canvas->translate(lastPt.x() + kSegLen, in drawSets()
|
/external/skqp/gm/ |
D | imagescalealigned.cpp | 111 SkPoint lastPt; in drawSets() local 116 lastPt = drawSet(canvas, set, paint); in drawSets() 121 canvas->translate(lastPt.x() + kSegLen, in drawSets()
|
/external/skqp/src/core/ |
D | SkScan_Hairline.cpp | 562 SkPoint pts[4], firstPt, lastPt; in hair_path() local 572 firstPt = lastPt = pts[0]; in hair_path() 579 lastPt = pts[1]; in hair_path() 586 lastPt = pts[2]; in hair_path() 601 lastPt = pts[2]; in hair_path() 609 lastPt = pts[3]; in hair_path() 612 pts[0] = lastPt; in hair_path()
|
D | SkPathMeasure.cpp | 46 SkPoint lastPt; in SkPathMeasure_segTo() local 47 SkAssertResult(dst->getLastPt(&lastPt)); in SkPathMeasure_segTo() 48 dst->lineTo(lastPt); in SkPathMeasure_segTo() 155 const SkPoint& lastPt) { in conic_too_curvy() argument 156 SkPoint midEnds = firstPt + lastPt; in conic_too_curvy()
|
D | SkPath.cpp | 480 const SkPoint* lastPt = nullptr; // last point in the rect (last of lines or first if closed) in isRectContour() local 500 lastPt = pts; in isRectContour() 571 closeXY = *firstPt - *lastPt; in isRectContour() 595 closeXY = *firstPt - *lastPt; in isRectContour() 705 bool SkPath::getLastPt(SkPoint* lastPt) const { in getLastPt() 710 if (lastPt) { in getLastPt() 711 *lastPt = fPathRef->atPoint(count - 1); in getLastPt() 715 if (lastPt) { in getLastPt() 716 lastPt->set(0, 0); in getLastPt() 1357 SkPoint lastPt; in arcTo() local [all …]
|
/external/skia/src/core/ |
D | SkScan_Hairline.cpp | 562 SkPoint pts[4], firstPt, lastPt; in hair_path() local 572 firstPt = lastPt = pts[0]; in hair_path() 579 lastPt = pts[1]; in hair_path() 586 lastPt = pts[2]; in hair_path() 601 lastPt = pts[2]; in hair_path() 609 lastPt = pts[3]; in hair_path() 612 pts[0] = lastPt; in hair_path()
|
D | SkContourMeasure.cpp | 36 SkPoint lastPt; in SkContourMeasure_segTo() local 37 SkAssertResult(dst->getLastPt(&lastPt)); in SkContourMeasure_segTo() 38 dst->lineTo(lastPt); in SkContourMeasure_segTo() 145 const SkPoint& lastPt, SkScalar tolerance) { in conic_too_curvy() argument 146 SkPoint midEnds = firstPt + lastPt; in conic_too_curvy()
|
D | SkPath.cpp | 480 const SkPoint* lastPt = nullptr; // last point in the rect (last of lines or first if closed) in isRectContour() local 500 lastPt = pts; in isRectContour() 571 closeXY = *firstPt - *lastPt; in isRectContour() 595 closeXY = *firstPt - *lastPt; in isRectContour() 705 bool SkPath::getLastPt(SkPoint* lastPt) const { in getLastPt() 710 if (lastPt) { in getLastPt() 711 *lastPt = fPathRef->atPoint(count - 1); in getLastPt() 715 if (lastPt) { in getLastPt() 716 lastPt->set(0, 0); in getLastPt() 1357 SkPoint lastPt; in arcTo() local [all …]
|
/external/skqp/samplecode/ |
D | SampleAAGeometry.cpp | 206 SkPoint lastPt = { 0, 0 }; // init to avoid warning in add_path_segment() local 242 result.lineTo((lastPt.fX + firstPt.fX) / 2, (lastPt.fY + firstPt.fY) / 2); in add_path_segment() 255 result.lineTo(lastPt = pts[1]); in add_path_segment() 258 result.quadTo(pts[1], lastPt = pts[2]); in add_path_segment() 261 result.conicTo(pts[1], lastPt = pts[2], weight); in add_path_segment() 264 result.cubicTo(pts[1], pts[2], lastPt = pts[3]); in add_path_segment() 1415 SkPoint pts[4], firstPt, lastPt; in path_stroke() 1431 lastPt = pts[1]; in path_stroke() 1439 lastPt = pts[2]; in path_stroke() 1447 lastPt = pts[2]; in path_stroke() [all …]
|
/external/skia/samplecode/ |
D | SampleAAGeometry.cpp | 206 SkPoint lastPt = { 0, 0 }; // init to avoid warning in add_path_segment() local 242 result.lineTo((lastPt.fX + firstPt.fX) / 2, (lastPt.fY + firstPt.fY) / 2); in add_path_segment() 255 result.lineTo(lastPt = pts[1]); in add_path_segment() 258 result.quadTo(pts[1], lastPt = pts[2]); in add_path_segment() 261 result.conicTo(pts[1], lastPt = pts[2], weight); in add_path_segment() 264 result.cubicTo(pts[1], pts[2], lastPt = pts[3]); in add_path_segment() 1415 SkPoint pts[4], firstPt, lastPt; in path_stroke() 1431 lastPt = pts[1]; in path_stroke() 1439 lastPt = pts[2]; in path_stroke() 1447 lastPt = pts[2]; in path_stroke() [all …]
|
/external/skqp/include/core/ |
D | SkPathMeasure.h | 121 bool conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt,const SkPoint& lastPt);
|
D | SkPath.h | 1348 bool getLastPt(SkPoint* lastPt) const;
|
/external/skqp/src/gpu/ops/ |
D | GrDefaultPathRenderer.cpp | 296 SkPoint lastPt = *(fCurVert - 1); in needSpace() local 310 *(fCurVert++) = lastPt; in needSpace()
|
/external/skia/src/gpu/ops/ |
D | GrDefaultPathRenderer.cpp | 294 SkPoint lastPt = *(fCurVert - 1); in needSpace() local 308 *(fCurVert++) = lastPt; in needSpace()
|
/external/skia/docs/ |
D | SkPath_Reference.bmh | 1751 SkPoint lastPt; 1752 path.getLastPt(&lastPt); 1753 canvas->drawString("start", lastPt.fX, lastPt.fY, paint); 2506 SkPoint lastPt; 2507 (void) path.getLastPt(&lastPt); 2510 SkPoint center = { lastPt.fX - radial.fY, lastPt.fY + radial.fX }; 2512 canvas->drawLine(lastPt, center, tangentPaint); 2544 SkPoint lastPt; 2545 (void) path.getLastPt(&lastPt); 2548 SkPoint center = { lastPt.fX - radial.fY, lastPt.fY + radial.fX }; [all …]
|
/external/skqp/docs/ |
D | SkPath_Reference.bmh | 1751 SkPoint lastPt; 1752 path.getLastPt(&lastPt); 1753 canvas->drawString("start", lastPt.fX, lastPt.fY, paint); 2506 SkPoint lastPt; 2507 (void) path.getLastPt(&lastPt); 2510 SkPoint center = { lastPt.fX - radial.fY, lastPt.fY + radial.fX }; 2512 canvas->drawLine(lastPt, center, tangentPaint); 2544 SkPoint lastPt; 2545 (void) path.getLastPt(&lastPt); 2548 SkPoint center = { lastPt.fX - radial.fY, lastPt.fY + radial.fX }; [all …]
|
/external/skia/include/core/ |
D | SkPath.h | 1348 bool getLastPt(SkPoint* lastPt) const;
|