Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkStroke.cpp45 #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 …]
DSkEdgeBuilder.cpp388 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()
DSkScan_Hairline.cpp594 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/skqp/src/core/
DSkStroke.cpp45 #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 …]
DSkEdgeBuilder.cpp388 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()
DSkScan_Hairline.cpp594 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/utils/
DSkParsePath.cpp243 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()
DSkShadowTessellator.cpp830 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/skqp/src/utils/
DSkParsePath.cpp243 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()
DSkShadowTessellator.cpp830 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/gpu/ops/
DGrAAConvexTessellator.cpp977 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()
DGrAAConvexPathRenderer.cpp314 const SkPoint* quadPts = converter.computeQuads(pts, weight, 0.25f); in get_segments() local
316 update_degenerate_test(&degenerateData, quadPts[2*i + 1]); in get_segments()
317 update_degenerate_test(&degenerateData, quadPts[2*i + 2]); in get_segments()
318 add_quad_segment(quadPts + 2*i, segments); in get_segments()
DGrDefaultPathRenderer.cpp123 const SkPoint* quadPts = converter.computeQuads(pts, weight, srcSpaceTol); in addConic() local
125 this->addQuad(quadPts + i * 2, srcSpaceTolSqd, srcSpaceTol); in addConic()
/external/skqp/src/gpu/ops/
DGrAAConvexTessellator.cpp977 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()
DGrAAConvexPathRenderer.cpp315 const SkPoint* quadPts = converter.computeQuads(pts, weight, 0.25f); in get_segments() local
317 update_degenerate_test(&degenerateData, quadPts[2*i + 1]); in get_segments()
318 update_degenerate_test(&degenerateData, quadPts[2*i + 2]); in get_segments()
319 add_quad_segment(quadPts + 2*i, segments); in get_segments()
DGrDefaultPathRenderer.cpp125 const SkPoint* quadPts = converter.computeQuads(pts, weight, srcSpaceTol); in addConic() local
127 this->addQuad(quadPts + i * 2, srcSpaceTolSqd, srcSpaceTol); in addConic()
DGrAAHairLinePathRenderer.cpp321 const SkPoint* quadPts = converter.computeQuads(pathPts, weight, 0.25f); in gather_lines_and_quads() local
323 addSrcChoppedQuad(quadPts + 2 * i, !verbsInContour && 0 == i); in gather_lines_and_quads()
/external/skqp/tools/fonts/
DSkTestSVGTypeface.cpp984 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/
DSkTestSVGTypeface.cpp982 const SkPoint* quadPts; in path_to_quads() local
1005 quadPts = converter.computeQuads(pts, iter.conicWeight(), SK_Scalar1); in path_to_quads()
1007 quadPath->quadTo(quadPts[i*2+1].fX, quadPts[i*2+1].fY, in path_to_quads()
1008 quadPts[i*2+2].fX, quadPts[i*2+2].fY); in path_to_quads()
/external/skia/docs/
DSkPath_Reference.bmh1868 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/skqp/docs/
DSkPath_Reference.bmh1868 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/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp810 const SkPoint* quadPts = converter.computeQuads(pts, weight, kConicTolerance); in GrGenerateDistanceFieldFromPath() local
812 add_quad_segment(quadPts + 2*i, &segments); in GrGenerateDistanceFieldFromPath()
DGrPathUtils.cpp187 const SkPoint* quadPts = converter.computeQuads(pts, weight, tol); in worstCasePointCount() local
189 pointCount += quadraticPointCount(quadPts + 2*i, tol); in worstCasePointCount()
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp810 const SkPoint* quadPts = converter.computeQuads(pts, weight, kConicTolerance); in GrGenerateDistanceFieldFromPath() local
812 add_quad_segment(quadPts + 2*i, &segments); in GrGenerateDistanceFieldFromPath()
DGrPathUtils.cpp187 const SkPoint* quadPts = converter.computeQuads(pts, weight, tol); in worstCasePointCount() local
189 pointCount += quadraticPointCount(quadPts + 2*i, tol); in worstCasePointCount()

12