/external/skqp/src/core/ |
D | SkStroke.cpp | 45 #define STROKER_RESULT(resultType, depth, quadPts, format, ...) \ argument 47 SkDebugf(" " #resultType " t=(%g,%g)\n", quadPts->fStartT, quadPts->fEndT), \ 51 #define STROKER_RESULT(resultType, depth, quadPts, format, ...) \ argument 492 void SkPathStroker::init(StrokeType strokeType, SkQuadConstruct* quadPts, SkScalar tStart, in init() argument 496 quadPts->init(tStart, tEnd); in init() 715 SkQuadConstruct quadPts; in conicTo() local 716 this->init(kOuter_StrokeType, &quadPts, 0, 1); in conicTo() 717 (void) this->conicStroke(conic, &quadPts); in conicTo() 718 this->init(kInner_StrokeType, &quadPts, 0, 1); in conicTo() 719 (void) this->conicStroke(conic, &quadPts); in conicTo() [all …]
|
D | SkEdgeBuilder.cpp | 388 const SkPoint* quadPts = quadder.computeQuads( in build() local 391 if (clipper.clipQuad(quadPts, clip)) { in build() 394 quadPts += 2; in build() 431 const SkPoint* quadPts = quadder.computeQuads( in build() local 434 handle_quad(quadPts); in build() 435 quadPts += 2; in build()
|
D | SkScan_Hairline.cpp | 594 const SkPoint* quadPts = converter.computeQuads(pts, in hair_path() local 597 int level = compute_quad_level(quadPts); in hair_path() 598 hairquad(quadPts, clip, insetClip, outsetClip, blitter, level, lineproc); in hair_path() 599 quadPts += 2; in hair_path()
|
/external/skia/src/core/ |
D | SkStroke.cpp | 49 #define STROKER_RESULT(resultType, depth, quadPts, format, ...) \ argument 51 SkDebugf(" " #resultType " t=(%g,%g)\n", quadPts->fStartT, quadPts->fEndT), \ 55 #define STROKER_RESULT(resultType, depth, quadPts, format, ...) \ argument 525 void SkPathStroker::init(StrokeType strokeType, SkQuadConstruct* quadPts, SkScalar tStart, in init() argument 529 quadPts->init(tStart, tEnd); in init() 749 SkQuadConstruct quadPts; in conicTo() local 750 this->init(kOuter_StrokeType, &quadPts, 0, 1); in conicTo() 751 (void) this->conicStroke(conic, &quadPts); in conicTo() 752 this->init(kInner_StrokeType, &quadPts, 0, 1); in conicTo() 753 (void) this->conicStroke(conic, &quadPts); in conicTo() [all …]
|
D | SkEdgeBuilder.cpp | 341 const SkPoint* quadPts = quadder.computeQuads( in build() local 344 handle_quad(quadPts); in build() 345 quadPts += 2; in build()
|
D | SkScan_Hairline.cpp | 608 const SkPoint* quadPts = converter.computeQuads(pts, *w, tol); in hair_path() local 610 int level = compute_quad_level(quadPts); in hair_path() 611 hairquad(quadPts, clip, insetClip, outsetClip, blitter, level, lineproc); in hair_path() 612 quadPts += 2; in hair_path()
|
D | SkEdgeClipper.cpp | 586 const SkPoint* quadPts = quadder.computeQuads(e.fPts, iter.conicWeight(), conicTol); in ClipPath() local 588 if (clipper.clipQuad(quadPts, clip)) { in ClipPath() 591 quadPts += 2; in ClipPath()
|
/external/skia/docs/examples/ |
D | Quad_b.cpp | 10 SkPoint quadPts[] = {{20, 150}, {120, 10}, {220, 150}}; in draw() local 15 canvas->drawLine(quadPts[0], quadPts[1], paint); in draw() 16 canvas->drawLine(quadPts[1], quadPts[2], paint); in draw() 18 path.moveTo(quadPts[0]); in draw() 19 path.quadTo(quadPts[1], quadPts[2]); in draw() 23 quadPts[1].fY += 30; in draw()
|
D | Quad_a.cpp | 10 SkPoint quadPts[] = {{20, 90}, {120, 10}, {220, 90}}; in draw() local 11 canvas->drawLine(quadPts[0], quadPts[1], paint); in draw() 12 canvas->drawLine(quadPts[1], quadPts[2], paint); in draw() 14 path.moveTo(quadPts[0]); in draw() 15 path.quadTo(quadPts[1], quadPts[2]); in draw()
|
/external/skqp/src/utils/ |
D | SkParsePath.cpp | 243 const SkPoint* quadPts = quadder.computeQuads(pts, iter.conicWeight(), tol); in ToSVGString() local 245 append_scalars(&stream, 'Q', &quadPts[i*2 + 1].fX, 4); in ToSVGString()
|
D | SkShadowTessellator.cpp | 830 SkPoint quadPts[3]; in handleConic() local 831 quadPts[0] = lastPoint; in handleConic() 832 quadPts[1] = quads[0]; in handleConic() 833 quadPts[2] = i == count - 1 ? pts[2] : quads[1]; in handleConic() 834 this->handleQuad(quadPts); in handleConic() 835 lastPoint = quadPts[2]; in handleConic()
|
/external/skia/src/utils/ |
D | SkParsePath.cpp | 256 const SkPoint* quadPts = quadder.computeQuads(pts, iter.conicWeight(), tol); in ToSVGString() local 258 append_command('Q', &quadPts[i*2 + 1], 2); in ToSVGString()
|
D | SkShadowTessellator.cpp | 834 SkPoint quadPts[3]; in handleConic() local 835 quadPts[0] = lastPoint; in handleConic() 836 quadPts[1] = quads[0]; in handleConic() 837 quadPts[2] = i == count - 1 ? pts[2] : quads[1]; in handleConic() 838 this->handleQuad(quadPts); in handleConic() 839 lastPoint = quadPts[2]; in handleConic()
|
/external/skqp/src/gpu/ops/ |
D | GrAAConvexTessellator.cpp | 977 SkPoint quadPts[3]; in conicTo() local 978 quadPts[0] = lastPoint; in conicTo() 979 quadPts[1] = quads[0]; in conicTo() 980 quadPts[2] = i == count - 1 ? pts[2] : quads[1]; in conicTo() 981 this->quadTo(quadPts); in conicTo() 982 lastPoint = quadPts[2]; in conicTo()
|
D | GrAAConvexPathRenderer.cpp | 315 const SkPoint* quadPts = converter.computeQuads(pts, weight, 0.25f); in get_segments() local 317 update_degenerate_test(°enerateData, quadPts[2*i + 1]); in get_segments() 318 update_degenerate_test(°enerateData, quadPts[2*i + 2]); in get_segments() 319 add_quad_segment(quadPts + 2*i, segments); in get_segments()
|
D | GrDefaultPathRenderer.cpp | 125 const SkPoint* quadPts = converter.computeQuads(pts, weight, srcSpaceTol); in addConic() local 127 this->addQuad(quadPts + i * 2, srcSpaceTolSqd, srcSpaceTol); in addConic()
|
/external/skia/src/gpu/ops/ |
D | GrAAConvexTessellator.cpp | 998 SkPoint quadPts[3]; in conicTo() local 999 quadPts[0] = lastPoint; in conicTo() 1000 quadPts[1] = quads[0]; in conicTo() 1001 quadPts[2] = i == count - 1 ? pts[2] : quads[1]; in conicTo() 1002 this->quadTo(quadPts); in conicTo() 1003 lastPoint = quadPts[2]; in conicTo()
|
D | GrAAConvexPathRenderer.cpp | 328 const SkPoint* quadPts = converter.computeQuads(pts, weight, 0.25f); in get_segments() local 330 update_degenerate_test(°enerateData, quadPts[2*i + 1]); in get_segments() 331 update_degenerate_test(°enerateData, quadPts[2*i + 2]); in get_segments() 332 add_quad_segment(quadPts + 2*i, segments); in get_segments()
|
D | GrDefaultPathRenderer.cpp | 129 const SkPoint* quadPts = converter.computeQuads(pts, weight, srcSpaceTol); in addConic() local 131 this->addQuad(quadPts + i * 2, srcSpaceTolSqd, srcSpaceTol); in addConic()
|
/external/skqp/tools/fonts/ |
D | SkTestSVGTypeface.cpp | 984 const SkPoint* quadPts; in path_to_quads() local 1007 quadPts = converter.computeQuads(pts, iter.conicWeight(), SK_Scalar1); in path_to_quads() 1009 quadPath->quadTo(quadPts[i*2+1].fX, quadPts[i*2+1].fY, in path_to_quads() 1010 quadPts[i*2+2].fX, quadPts[i*2+2].fY); in path_to_quads()
|
/external/skia/tools/fonts/ |
D | TestSVGTypeface.cpp | 1125 const SkPoint* quadPts; in path_to_quads() local 1142 quadPts = converter.computeQuads(pts, *w, SK_Scalar1); in path_to_quads() 1144 quadPath->quadTo(quadPts[i * 2 + 1].fX, in path_to_quads() 1145 quadPts[i * 2 + 1].fY, in path_to_quads() 1146 quadPts[i * 2 + 2].fX, in path_to_quads() 1147 quadPts[i * 2 + 2].fY); in path_to_quads()
|
/external/skqp/docs/ |
D | SkPath_Reference.bmh | 1868 SkPoint quadPts[] = {{20, 90}, {120, 10}, {220, 90}}; 1869 canvas->drawLine(quadPts[0], quadPts[1], paint); 1870 canvas->drawLine(quadPts[1], quadPts[2], paint); 1872 path.moveTo(quadPts[0]); 1873 path.quadTo(quadPts[1], quadPts[2]); 1891 SkPoint quadPts[] = {{20, 150}, {120, 10}, {220, 150}}; 1896 canvas->drawLine(quadPts[0], quadPts[1], paint); 1897 canvas->drawLine(quadPts[1], quadPts[2], paint); 1899 path.moveTo(quadPts[0]); 1900 path.quadTo(quadPts[1], quadPts[2]); [all …]
|
/external/skia/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 778 const SkPoint* quadPts = converter.computeQuads(e.fPts, weight, kConicTolerance); in GrGenerateDistanceFieldFromPath() local 780 add_quad(quadPts + 2*i, &segments); in GrGenerateDistanceFieldFromPath()
|
/external/skqp/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 810 const SkPoint* quadPts = converter.computeQuads(pts, weight, kConicTolerance); in GrGenerateDistanceFieldFromPath() local 812 add_quad_segment(quadPts + 2*i, &segments); in GrGenerateDistanceFieldFromPath()
|
D | GrPathUtils.cpp | 187 const SkPoint* quadPts = converter.computeQuads(pts, weight, tol); in worstCasePointCount() local 189 pointCount += quadraticPointCount(quadPts + 2*i, tol); in worstCasePointCount()
|