/third_party/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()
|
/third_party/flutter/skia/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() 716 SkQuadConstruct quadPts; in conicTo() local 717 this->init(kOuter_StrokeType, &quadPts, 0, 1); in conicTo() 718 (void) this->conicStroke(conic, &quadPts); in conicTo() 719 this->init(kInner_StrokeType, &quadPts, 0, 1); in conicTo() 720 (void) this->conicStroke(conic, &quadPts); in conicTo() [all …]
|
D | SkEdgeBuilder.cpp | 353 const SkPoint* quadPts = quadder.computeQuads( in build() local 356 if (clipper.clipQuad(quadPts, clip)) { in build() 359 quadPts += 2; in build() 396 const SkPoint* quadPts = quadder.computeQuads( in build() local 399 handle_quad(quadPts); in build() 400 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()
|
/third_party/flutter/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()
|
/third_party/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()
|
/third_party/flutter/skia/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 | 833 SkPoint quadPts[3]; in handleConic() local 834 quadPts[0] = lastPoint; in handleConic() 835 quadPts[1] = quads[0]; in handleConic() 836 quadPts[2] = i == count - 1 ? pts[2] : quads[1]; in handleConic() 837 this->handleQuad(quadPts); in handleConic() 838 lastPoint = quadPts[2]; in handleConic()
|
/third_party/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 | 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()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrAAConvexTessellator.cpp | 985 SkPoint quadPts[3]; in conicTo() local 986 quadPts[0] = lastPoint; in conicTo() 987 quadPts[1] = quads[0]; in conicTo() 988 quadPts[2] = i == count - 1 ? pts[2] : quads[1]; in conicTo() 989 this->quadTo(quadPts); in conicTo() 990 lastPoint = quadPts[2]; in conicTo()
|
D | GrAAConvexPathRenderer.cpp | 319 const SkPoint* quadPts = converter.computeQuads(pts, weight, 0.25f); in get_segments() local 321 update_degenerate_test(°enerateData, quadPts[2*i + 1]); in get_segments() 322 update_degenerate_test(°enerateData, quadPts[2*i + 2]); in get_segments() 323 add_quad_segment(quadPts + 2*i, segments); in get_segments()
|
D | GrDefaultPathRenderer.cpp | 124 const SkPoint* quadPts = converter.computeQuads(pts, weight, srcSpaceTol); in addConic() local 126 this->addQuad(quadPts + i * 2, srcSpaceTolSqd, srcSpaceTol); in addConic()
|
/third_party/skia/src/gpu/geometry/ |
D | GrAAConvexTessellator.cpp | 999 SkPoint quadPts[3]; in conicTo() local 1000 quadPts[0] = lastPoint; in conicTo() 1001 quadPts[1] = quads[0]; in conicTo() 1002 quadPts[2] = i == count - 1 ? pts[2] : quads[1]; in conicTo() 1003 this->quadTo(quadPts); in conicTo() 1004 lastPoint = quadPts[2]; in conicTo()
|
/third_party/skia/src/gpu/ops/ |
D | AAConvexPathRenderer.cpp | 326 const SkPoint* quadPts = converter.computeQuads(pts, weight, 0.25f); in get_segments() local 328 update_degenerate_test(°enerateData, quadPts[2*i + 1]); in get_segments() 329 update_degenerate_test(°enerateData, quadPts[2*i + 2]); in get_segments() 330 add_quad_segment(quadPts + 2*i, segments); in get_segments()
|
D | DefaultPathRenderer.cpp | 127 const SkPoint* quadPts = converter.computeQuads(pts, weight, srcSpaceTol); in addConic() local 129 this->addQuad(quadPts + i * 2, srcSpaceTolSqd, srcSpaceTol); in addConic()
|
/third_party/skia/tools/fonts/ |
D | TestSVGTypeface.cpp | 1126 const SkPoint* quadPts; in path_to_quads() local 1143 quadPts = converter.computeQuads(pts, *w, SK_Scalar1); in path_to_quads() 1145 quadPath->quadTo(quadPts[i * 2 + 1].fX, in path_to_quads() 1146 quadPts[i * 2 + 1].fY, in path_to_quads() 1147 quadPts[i * 2 + 2].fX, in path_to_quads() 1148 quadPts[i * 2 + 2].fY); in path_to_quads()
|
/third_party/flutter/skia/tools/fonts/ |
D | TestSVGTypeface.cpp | 1123 const SkPoint* quadPts; in path_to_quads() local 1143 quadPts = converter.computeQuads(pts, iter.conicWeight(), SK_Scalar1); in path_to_quads() 1145 quadPath->quadTo(quadPts[i * 2 + 1].fX, in path_to_quads() 1146 quadPts[i * 2 + 1].fY, in path_to_quads() 1147 quadPts[i * 2 + 2].fX, in path_to_quads() 1148 quadPts[i * 2 + 2].fY); in path_to_quads()
|
/third_party/flutter/skia/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()
|
/third_party/skia/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 791 const SkPoint* quadPts = converter.computeQuads(e.fPts, weight, kConicTolerance); in GrGenerateDistanceFieldFromPath() local 793 add_quad(quadPts + 2*i, &segments); in GrGenerateDistanceFieldFromPath()
|