Home
last modified time | relevance | path

Searched refs:SkContourMeasure (Results 1 – 25 of 28) sorted by relevance

12

/third_party/flutter/skia/include/core/
DSkContourMeasure.h17 class SK_API SkContourMeasure : public SkRefCnt {
82 SkContourMeasure(SkTDArray<Segment>&& segs, SkTDArray<SkPoint>&& pts,
84 ~SkContourMeasure() override {} in ~SkContourMeasure()
120 sk_sp<SkContourMeasure> next();
129 SkTDArray<SkContourMeasure::Segment> fSegments;
132 SkContourMeasure* buildSegments();
DSkPathMeasure.h82 sk_sp<SkContourMeasure> fContour;
/third_party/skia/src/core/
DSkContourMeasure.cpp27 SkScalar SkContourMeasure::Segment::getScalarT() const { in getScalarT()
184 SkContourMeasure* buildSegments();
193 SkTDArray<SkContourMeasure::Segment> fSegments;
223 SkContourMeasure::Segment* seg = fSegments.append(); in compute_quad_segs()
251 SkContourMeasure::Segment* seg = fSegments.append(); in compute_conic_segs()
276 SkContourMeasure::Segment* seg = fSegments.append(); in compute_cubic_segs()
294 SkContourMeasure::Segment* seg = fSegments.append(); in compute_line_seg()
305 const SkContourMeasure::Segment* seg = fSegments.begin(); in validate()
306 const SkContourMeasure::Segment* stop = fSegments.end(); in validate()
316 const SkContourMeasure::Segment* s = seg; in validate()
[all …]
DSkPathMeasure.cpp35 return fContour && fContour->getMatrix(distance, matrix, (SkContourMeasure::MatrixFlags)flags); in getMatrix()
DBUILD.bazel82 "SkContourMeasure.cpp",
/third_party/flutter/skia/src/core/
DSkContourMeasure.cpp22 SkScalar SkContourMeasure::Segment::getScalarT() const { in getScalarT()
185 SkContourMeasure::Segment* seg = fSegments.append(); in compute_quad_segs()
213 SkContourMeasure::Segment* seg = fSegments.append(); in compute_conic_segs()
238 SkContourMeasure::Segment* seg = fSegments.append(); in compute_cubic_segs()
256 SkContourMeasure::Segment* seg = fSegments.append(); in compute_line_seg()
265 SkContourMeasure* SkContourMeasureIter::buildSegments() { in buildSegments()
372 const SkContourMeasure::Segment* seg = fSegments.begin(); in buildSegments()
373 const SkContourMeasure::Segment* stop = fSegments.end(); in buildSegments()
383 const SkContourMeasure::Segment* s = seg; in buildSegments()
398 return new SkContourMeasure(std::move(fSegments), std::move(fPts), distance, haveSeenClose); in buildSegments()
[all …]
DSkPathMeasure.cpp35 return fContour && fContour->getMatrix(distance, matrix, (SkContourMeasure::MatrixFlags)flags); in getMatrix()
/third_party/skia/include/core/
DSkContourMeasure.h17 class SK_API SkContourMeasure : public SkRefCnt {
82 SkContourMeasure(SkTDArray<Segment>&& segs, SkTDArray<SkPoint>&& pts,
84 ~SkContourMeasure() override {} in ~SkContourMeasure()
123 sk_sp<SkContourMeasure> next();
DSkPathMeasure.h82 sk_sp<SkContourMeasure> fContour;
DBUILD.bazel19 "SkContourMeasure.h",
/third_party/flutter/engine/flutter/lib/ui/painting/
Dpath_measure.cc65 if (static_cast<std::vector<sk_sp<SkContourMeasure>>::size_type>( in getLength()
76 if (static_cast<std::vector<sk_sp<SkContourMeasure>>::size_type>( in getPosTan()
100 if (static_cast<std::vector<sk_sp<SkContourMeasure>>::size_type>( in getSegment()
115 if (static_cast<std::vector<sk_sp<SkContourMeasure>>::size_type>( in isClosed()
Dpath_measure.h51 std::vector<sk_sp<SkContourMeasure>> measures_;
/third_party/skia/modules/svg/src/
DSkSVGTextPriv.h19 class SkContourMeasure; variable
166 std::vector<sk_sp<SkContourMeasure>> fContours;
DSkSVGText.cpp360 while (sk_sp<SkContourMeasure> contour = cmi.next()) { in PathData()
/third_party/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp675 void raw_destructor<SkContourMeasure>(SkContourMeasure* ptr) { in raw_destructor()
1210 class_<SkContourMeasure>("ContourMeasure") in EMSCRIPTEN_BINDINGS()
1211 .smart_ptr<sk_sp<SkContourMeasure>>("sk_sp<ContourMeasure>>") in EMSCRIPTEN_BINDINGS()
1212 .function("_getPosTan", optional_override([](SkContourMeasure& self, in EMSCRIPTEN_BINDINGS()
1220 .function("getSegment", optional_override([](SkContourMeasure& self, SkScalar startD, in EMSCRIPTEN_BINDINGS()
1229 .function("isClosed", &SkContourMeasure::isClosed) in EMSCRIPTEN_BINDINGS()
1230 .function("length", &SkContourMeasure::length); in EMSCRIPTEN_BINDINGS()
DCHANGELOG.md698 - `SkContourMeasureIter` and `SkContourMeasure` as an alternative to `SkPathMeasure`.
/third_party/skia/modules/skottie/src/animator/
DVec2KeyframeAnimator.cpp26 sk_sp<SkContourMeasure> cmeasure;
/third_party/flutter/skia/tests/
DPathMeasureTest.cpp233 static void test_90_degrees(sk_sp<SkContourMeasure> cm, SkScalar radius, in test_90_degrees()
/third_party/skia/tests/
DPathMeasureTest.cpp234 static void test_90_degrees(sk_sp<SkContourMeasure> cm, SkScalar radius, in test_90_degrees()
/third_party/skia/gn/
Dcore.gni24 "$_include/core/SkContourMeasure.h",
161 "$_src/core/SkContourMeasure.cpp",
/third_party/flutter/skia/gn/
Dcore.gni23 "$_include/core/SkContourMeasure.h",
157 "$_src/core/SkContourMeasure.cpp",
/third_party/flutter/skia/modules/particles/src/
DSkParticleEffect.cpp140 SkTArray<sk_sp<SkContourMeasure>> fContours;
/third_party/skia/modules/skottie/src/text/
DTextAdapter.cpp155 sk_sp<SkContourMeasure> fCurrentMeasure;
/third_party/flutter/build/skia/ohos/
DBUILD.gn262 "$flutter_root/skia/src/core/SkContourMeasure.cpp",
/third_party/flutter/skia/
DBUILD.gn1081 "src/core/SkContourMeasure.cpp",

12