Home
last modified time | relevance | path

Searched refs:quadPts (Results 1 – 16 of 16) sorted by relevance

/external/skia/src/core/
DSkStroke.cpp49 #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 …]
DSkEdgeBuilder.cpp354 const SkPoint* quadPts = quadder.computeQuads( in build() local
357 handle_quad(quadPts); in build()
358 quadPts += 2; in build()
DSkScan_Hairline.cpp606 const SkPoint* quadPts = converter.computeQuads(pts, *w, tol); in hair_path() local
608 int level = compute_quad_level(quadPts); in hair_path()
609 hairquad(quadPts, clip, insetClip, outsetClip, blitter, level, lineproc); in hair_path()
610 quadPts += 2; in hair_path()
DSkEdgeClipper.cpp589 const SkPoint* quadPts = quadder.computeQuads(e.fPts, iter.conicWeight(), conicTol); in ClipPath() local
591 if (clipper.clipQuad(quadPts, clip)) { in ClipPath()
594 quadPts += 2; in ClipPath()
DSkPath.cpp331 SkPoint quadPts[5]; in conservativelyContainsRect() local
332 int count = orig.chopIntoQuadsPOW2(quadPts, 1); in conservativelyContainsRect()
335 if (!check_edge_against_rect(quadPts[0], quadPts[2], rect, direction)) { in conservativelyContainsRect()
338 if (!check_edge_against_rect(quadPts[2], quadPts[4], rect, direction)) { in conservativelyContainsRect()
/external/skia/docs/examples/
DQuad_b.cpp10 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()
DQuad_a.cpp10 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/skia/src/utils/
DSkParsePath.cpp277 const SkPoint* quadPts = quadder.computeQuads(pts, iter.conicWeight(), tol); in ToSVGString() local
279 append_command('Q', &quadPts[i*2 + 1], 2); in ToSVGString()
DSkShadowTessellator.cpp852 SkPoint quadPts[3]; in handleConic() local
853 quadPts[0] = lastPoint; in handleConic()
854 quadPts[1] = quads[0]; in handleConic()
855 quadPts[2] = i == count - 1 ? pts[2] : quads[1]; in handleConic()
856 this->handleQuad(quadPts); in handleConic()
857 lastPoint = quadPts[2]; in handleConic()
/external/skia/src/gpu/ganesh/geometry/
DGrAAConvexTessellator.cpp1011 SkPoint quadPts[3]; in conicTo() local
1012 quadPts[0] = lastPoint; in conicTo()
1013 quadPts[1] = quads[0]; in conicTo()
1014 quadPts[2] = i == count - 1 ? pts[2] : quads[1]; in conicTo()
1015 this->quadTo(quadPts); in conicTo()
1016 lastPoint = quadPts[2]; in conicTo()
DGrTriangulator.cpp555 const SkPoint* quadPts = converter.computeQuads(pts, weight, toleranceSqd); in pathToContours() local
557 this->appendQuadraticToContour(quadPts, toleranceSqd, contour); in pathToContours()
558 quadPts += 2; in pathToContours()
/external/skia/src/gpu/ganesh/ops/
DAAConvexPathRenderer.cpp331 const SkPoint* quadPts = converter.computeQuads(pts, weight, 0.25f); in get_segments() local
333 update_degenerate_test(&degenerateData, quadPts[2*i + 1]); in get_segments()
334 update_degenerate_test(&degenerateData, quadPts[2*i + 2]); in get_segments()
335 add_quad_segment(quadPts + 2*i, segments); in get_segments()
DDefaultPathRenderer.cpp127 const SkPoint* quadPts = converter.computeQuads(pts, weight, srcSpaceTol); in addConic() local
129 this->addQuad(quadPts + i * 2, srcSpaceTolSqd, srcSpaceTol); in addConic()
DAAHairLinePathRenderer.cpp334 const SkPoint* quadPts = converter.computeQuads(pathPts, weight, 0.25f); in gather_lines_and_quads() local
336 addSrcChoppedQuad(quadPts + 2 * i, !verbsInContour && 0 == i); in gather_lines_and_quads()
/external/skia/tools/fonts/
DTestSVGTypeface.cpp1213 const SkPoint* quadPts; in path_to_quads() local
1230 quadPts = converter.computeQuads(pts, *w, SK_Scalar1); in path_to_quads()
1232 quadPath->quadTo(quadPts[i * 2 + 1].fX, in path_to_quads()
1233 quadPts[i * 2 + 1].fY, in path_to_quads()
1234 quadPts[i * 2 + 2].fX, in path_to_quads()
1235 quadPts[i * 2 + 2].fY); in path_to_quads()
/external/skia/src/gpu/ganesh/
DGrDistanceFieldGenFromVector.cpp788 const SkPoint* quadPts = converter.computeQuads(e.fPts, weight, kConicTolerance); in GrGenerateDistanceFieldFromPath() local
790 add_quad(quadPts + 2*i, &segments); in GrGenerateDistanceFieldFromPath()