Home
last modified time | relevance | path

Searched refs:chopped (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/tests/
DPathOpsConicIntersectionTest.cpp47 static void chopCompare(const SkConic chopped[2], const SkDConic dChopped[2]) { in chopCompare()
48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare()
49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare()
53 up.set(chopped[cIndex].fPts[pIndex]); in chopCompare()
75 SkConic conic, chopped[2]; in writePng() local
80 chopped[chIndex].fPts[index].fX = ch[chIndex].fPts[index].fX * scale; in writePng()
81 chopped[chIndex].fPts[index].fY = ch[chIndex].fPts[index].fY * scale; in writePng()
85 chopped[0].fW = ch[0].fW; in writePng()
86 chopped[1].fW = ch[1].fW; in writePng()
105 path.moveTo(chopped[0].fPts[0]); in writePng()
[all …]
DPathOpsCubicIntersectionTest.cpp656 SkDCubic chopped[2]; in selfOneOff() local
657 chopped[0].set(&twoCubics[0]); in selfOneOff()
658 chopped[1].set(&twoCubics[3]); in selfOneOff()
659 int result = i.intersect(chopped[0], chopped[1]); in selfOneOff()
663 SkDPoint pt1 = chopped[0].ptAtT(i[0][index]); in selfOneOff()
664 SkDPoint pt2 = chopped[1].ptAtT(i[1][index]); in selfOneOff()
DGeometryTest.cpp463 SkPoint chopped[5]; in test_chop_quad_at_midtangent() local
464 SkChopQuadAtMidTangent(pts, chopped); in test_chop_quad_at_midtangent()
465 float leftRotation = SkMeasureQuadRotation(chopped); in test_chop_quad_at_midtangent()
466 float rightRotation = SkMeasureQuadRotation(chopped+2); in test_chop_quad_at_midtangent()
485 SkPoint chopped[7]; in test_chop_cubic_at_midtangent() local
486 SkChopCubicAtMidTangent(mapped, chopped); in test_chop_cubic_at_midtangent()
487 float leftRotation = SkMeasureNonInflectCubicRotation(chopped); in test_chop_cubic_at_midtangent()
488 float rightRotation = SkMeasureNonInflectCubicRotation(chopped+3); in test_chop_cubic_at_midtangent()
/third_party/flutter/skia/tests/
DPathOpsConicIntersectionTest.cpp47 static void chopCompare(const SkConic chopped[2], const SkDConic dChopped[2]) { in chopCompare()
48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare()
49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare()
53 up.set(chopped[cIndex].fPts[pIndex]); in chopCompare()
75 SkConic conic, chopped[2]; in writePng() local
80 chopped[chIndex].fPts[index].fX = ch[chIndex].fPts[index].fX * scale; in writePng()
81 chopped[chIndex].fPts[index].fY = ch[chIndex].fPts[index].fY * scale; in writePng()
85 chopped[0].fW = ch[0].fW; in writePng()
86 chopped[1].fW = ch[1].fW; in writePng()
105 path.moveTo(chopped[0].fPts[0]); in writePng()
[all …]
DPathOpsCubicIntersectionTest.cpp657 SkDCubic chopped[2]; in selfOneOff() local
658 chopped[0].set(&twoCubics[0]); in selfOneOff()
659 chopped[1].set(&twoCubics[3]); in selfOneOff()
660 int result = i.intersect(chopped[0], chopped[1]); in selfOneOff()
664 SkDPoint pt1 = chopped[0].ptAtT(i[0][index]); in selfOneOff()
665 SkDPoint pt2 = chopped[1].ptAtT(i[1][index]); in selfOneOff()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DBoundedByteStringTest.java65 ByteString chopped = unicode.substring(2, unicode.size() - 6); in testToString() local
69 getActualClassName(chopped)); in testToString()
71 String roundTripString = chopped.toString(UTF_8); in testToString()
82 ByteString chopped = unicode.substring(2, unicode.size() - 6); in testCharsetToString() local
86 getActualClassName(chopped)); in testCharsetToString()
88 String roundTripString = chopped.toString(Internal.UTF_8); in testCharsetToString()
/third_party/flutter/skia/gm/
Dtrickycubicstrokes.cpp45 SkPoint chopped[7]; in calc_tight_cubic_bounds() local
46 SkChopCubicAt(P, chopped, .5f); in calc_tight_cubic_bounds()
47 SkRect bounds = calc_tight_cubic_bounds(chopped, depth - 1); in calc_tight_cubic_bounds()
48 bounds.join(calc_tight_cubic_bounds(chopped+3, depth - 1)); in calc_tight_cubic_bounds()
Dbeziereffects.cpp426 SkPoint chopped[5]; in onDraw() local
427 int cnt = SkChopQuadAtMaxCurvature(controlPts, chopped); in onDraw()
445 SkPoint* pts = chopped + 2 * c; in onDraw()
/third_party/skia/gm/
Dtrickycubicstrokes.cpp87 SkPoint chopped[7]; in calc_tight_cubic_bounds() local
88 SkChopCubicAt(P, chopped, .5f); in calc_tight_cubic_bounds()
89 SkRect bounds = calc_tight_cubic_bounds(chopped, depth - 1); in calc_tight_cubic_bounds()
90 bounds.join(calc_tight_cubic_bounds(chopped+3, depth - 1)); in calc_tight_cubic_bounds()
Dbeziereffects.cpp485 SkPoint chopped[5]; in onDraw() local
486 int cnt = SkChopQuadAtMaxCurvature(controlPts, chopped); in onDraw()
489 SkPoint* pts = chopped + 2 * c; in onDraw()
/third_party/skia/src/pathops/
DSkPathOpsConic.cpp171 SkDConic chopped = this->subDivide(t1, t2); in subDivide() local
172 *weight = chopped.fWeight; in subDivide()
173 return chopped[1]; in subDivide()
/third_party/flutter/skia/src/pathops/
DSkPathOpsConic.cpp171 SkDConic chopped = this->subDivide(t1, t2); in subDivide() local
172 *weight = chopped.fWeight; in subDivide()
173 return chopped[1]; in subDivide()
/third_party/skia/src/gpu/geometry/
DGrPathUtils.cpp521 SkPoint chopped[10]; in convertCubicToQuads() local
522 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuads()
527 SkPoint* cubic = chopped + 3*i; in convertCubicToQuads()
542 SkPoint chopped[10]; in convertCubicToQuadsConstrainToTangents() local
543 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuadsConstrainToTangents()
548 SkPoint* cubic = chopped + 3*i; in convertCubicToQuadsConstrainToTangents()
/third_party/flutter/skia/src/gpu/geometry/
DGrPathUtils.cpp602 SkPoint chopped[10]; in convertCubicToQuads() local
603 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuads()
608 SkPoint* cubic = chopped + 3*i; in convertCubicToQuads()
623 SkPoint chopped[10]; in convertCubicToQuadsConstrainToTangents() local
624 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuadsConstrainToTangents()
629 SkPoint* cubic = chopped + 3*i; in convertCubicToQuadsConstrainToTangents()
/third_party/flutter/skia/src/core/
DSkStroke.cpp813 SkPoint chopped[7]; in cubicPerpRay() local
824 SkChopCubicAt(cubic, chopped, t); in cubicPerpRay()
825 dxy = chopped[3] - chopped[2]; in cubicPerpRay()
827 dxy = chopped[3] - chopped[1]; in cubicPerpRay()
828 cPts = chopped; in cubicPerpRay()
DSkPath.cpp3238 SkConic chopped[2]; in winding_conic() local
3241 bool isMono = is_mono_quad(pts[0].fY, pts[1].fY, pts[2].fY) || !conic.chopAtYExtrema(chopped); in winding_conic()
3242 int w = winding_mono_conic(isMono ? conic : chopped[0], x, y, onCurveCount); in winding_conic()
3244 w += winding_mono_conic(chopped[1], x, y, onCurveCount); in winding_conic()
/third_party/skia/src/core/
DSkStroke.cpp846 SkPoint chopped[7]; in cubicPerpRay() local
857 SkChopCubicAt(cubic, chopped, t); in cubicPerpRay()
858 dxy = chopped[3] - chopped[2]; in cubicPerpRay()
860 dxy = chopped[3] - chopped[1]; in cubicPerpRay()
861 cPts = chopped; in cubicPerpRay()
DSkPath.cpp2748 SkConic chopped[2]; in winding_conic() local
2751 bool isMono = is_mono_quad(pts[0].fY, pts[1].fY, pts[2].fY) || !conic.chopAtYExtrema(chopped); in winding_conic()
2752 int w = winding_mono_conic(isMono ? conic : chopped[0], x, y, onCurveCount); in winding_conic()
2754 w += winding_mono_conic(chopped[1], x, y, onCurveCount); in winding_conic()
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dconic.dart103 // Ensure that chopped conics maintain their y-order.
/third_party/e2fsprogs/doc/RelNotes/
Dv1.34.txt26 be chopped off will be lost.)
/third_party/skia/tools/fonts/
DTestSVGTypeface.cpp1111 SkPoint chopped[10]; in convertCubicToQuads() local
1112 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuads()
1117 SkPoint* cubic = chopped + 3 * i; in convertCubicToQuads()
/third_party/flutter/skia/tools/fonts/
DTestSVGTypeface.cpp1108 SkPoint chopped[10]; in convertCubicToQuads() local
1109 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuads()
1114 SkPoint* cubic = chopped + 3 * i; in convertCubicToQuads()
/third_party/uboot/u-boot-2020.01/doc/
DREADME.chromium-chainload107 On the serial console the word MMC is chopped at the start of the line:
/third_party/boost/doc/test/
Dtest.qbk83 and should not be chopped off half way through... some FO processors
/third_party/flutter/skia/third_party/externals/libpng/scripts/
Dpnglibconf.dfa446 # forces them to be chopped down to 8-bit, and disables any 16-bit

12