Home
last modified time | relevance | path

Searched refs:pathRef (Results 1 – 12 of 12) sorted by relevance

/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Source/
DFlutterPlatformViews_Internal.mm58 CGPathRef pathRef = CGPathCreateWithRect(clipRect, nil);
60 clip.path = pathRef;
62 CGPathRelease(pathRef);
66 CGPathRef pathRef = nullptr;
78 pathRef = CGPathCreateWithRoundedRect(clipRect, clipSkRRect.getSimpleRadii().x(),
121 pathRef = mutablePathRef;
129 clip.path = pathRef;
131 CGPathRelease(pathRef);
135 CGMutablePathRef pathRef = CGPathCreateMutable();
141 clip.path = pathRef;
[all …]
/third_party/skia/src/core/
DSkPathRef.cpp19 SkPathRef::Editor::Editor(sk_sp<SkPathRef>* pathRef, in Editor() argument
26 if ((*pathRef)->unique()) { in Editor()
27 (*pathRef)->incReserve(incReserveVerbs, incReservePoints); in Editor()
30 copy->copy(**pathRef, incReserveVerbs, incReservePoints); in Editor()
31 pathRef->reset(copy); in Editor()
33 fPathRef = pathRef->get(); in Editor()
224 void SkPathRef::Rewind(sk_sp<SkPathRef>* pathRef) { in Rewind() argument
225 if ((*pathRef)->unique()) { in Rewind()
226 SkDEBUGCODE((*pathRef)->validate();) in Rewind()
227 (*pathRef)->callGenIDChangeListeners(); in Rewind()
[all …]
DSkPath.cpp1627 matrix.mapPoints(ed.writablePoints(), ed.pathRef()->countPoints()); in transform()
2321 ContourIter(const SkPathRef& pathRef);
2339 ContourIter::ContourIter(const SkPathRef& pathRef) { in ContourIter() argument
2340 fStopVerbs = pathRef.verbsEnd(); in ContourIter()
2342 fCurrPt = pathRef.points(); in ContourIter()
2343 fCurrVerb = pathRef.verbsBegin(); in ContourIter()
2344 fCurrConicWeight = pathRef.conicWeights(); in ContourIter()
/third_party/flutter/skia/src/core/
DSkPathRef.cpp29 SkPathRef::Editor::Editor(sk_sp<SkPathRef>* pathRef, in Editor() argument
36 if ((*pathRef)->unique()) { in Editor()
37 (*pathRef)->incReserve(incReserveVerbs, incReservePoints); in Editor()
40 copy->copy(**pathRef, incReserveVerbs, incReservePoints); in Editor()
41 pathRef->reset(copy); in Editor()
43 fPathRef = pathRef->get(); in Editor()
402 void SkPathRef::Rewind(sk_sp<SkPathRef>* pathRef) { in Rewind() argument
403 if ((*pathRef)->unique()) { in Rewind()
404 SkDEBUGCODE((*pathRef)->validate();) in Rewind()
405 (*pathRef)->callGenIDChangeListeners(); in Rewind()
[all …]
DSkPath_serial.cpp317 SkPathRef* pathRef = SkPathRef::CreateFromBuffer(&buffer); in readFromMemory_LE3() local
318 if (!pathRef) { in readFromMemory_LE3()
322 fPathRef.reset(pathRef); in readFromMemory_LE3()
DSkPath.cpp1877 matrix.mapPoints(ed.points(), ed.pathRef()->countPoints()); in transform()
2807 ContourIter(const SkPathRef& pathRef);
2825 ContourIter::ContourIter(const SkPathRef& pathRef) { in ContourIter() argument
2826 fStopVerbs = pathRef.verbsMemBegin(); in ContourIter()
2828 fCurrPt = pathRef.points(); in ContourIter()
2829 fCurrVerb = pathRef.verbs(); in ContourIter()
2830 fCurrConicWeight = pathRef.conicWeights(); in ContourIter()
/third_party/flutter/skia/src/ports/
DSkOSFile_ios.h21 CFStringRef pathRef = CFStringCreateWithCString(nullptr, path, kCFStringEncodingUTF8); in ios_get_path_in_bundle() local
24 CFURLRef imageURL = CFBundleCopyResourceURL(mainBundle, pathRef, nullptr, CFSTR("data")); in ios_get_path_in_bundle()
25 CFRelease(pathRef); in ios_get_path_in_bundle()
/third_party/skia/src/ports/
DSkOSFile_ios.h28 sk_cfp<CFStringRef> pathRef(CFURLCopyFileSystemPath(pathURL.get(), kCFURLPOSIXPathStyle)); in ios_get_path_in_bundle()
31 sk_cfp<CFURLRef> fileURL(CFBundleCopyResourceURL(mainBundle, pathRef.get(), in ios_get_path_in_bundle()
/third_party/skia/include/private/
DSkPathRef.h89 Editor(sk_sp<SkPathRef>* pathRef,
152 SkPathRef* pathRef() { return fPathRef; } in pathRef() function
297 static void Rewind(sk_sp<SkPathRef>* pathRef);
/third_party/flutter/skia/include/private/
DSkPathRef.h45 Editor(sk_sp<SkPathRef>* pathRef,
103 SkPathRef* pathRef() { return fPathRef; } in pathRef() function
248 static void Rewind(sk_sp<SkPathRef>* pathRef);
/third_party/flutter/skia/tests/
DPathTest.cpp4167 sk_sp<SkPathRef> pathRef(new SkPathRef); in TestPathRef() local
4169 SkPathRef::Editor ed(&pathRef); in TestPathRef()
4173 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef()
4174 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef()
4175 REPORTER_ASSERT(reporter, 0 == pathRef->getSegmentMasks()); in TestPathRef()
4177 REPORTER_ASSERT(reporter, SkPath::kMove_Verb == pathRef->atVerb(i)); in TestPathRef()
4184 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef()
4185 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef()
4186 REPORTER_ASSERT(reporter, SkPath::kLine_SegmentMask == pathRef->getSegmentMasks()); in TestPathRef()
4188 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == pathRef->atVerb(i)); in TestPathRef()
[all …]
/third_party/skia/tests/
DPathTest.cpp4234 sk_sp<SkPathRef> pathRef(new SkPathRef); in TestPathRef() local
4236 SkPathRef::Editor ed(&pathRef); in TestPathRef()
4240 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef()
4241 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef()
4242 REPORTER_ASSERT(reporter, 0 == pathRef->getSegmentMasks()); in TestPathRef()
4244 REPORTER_ASSERT(reporter, SkPath::kMove_Verb == pathRef->atVerb(i)); in TestPathRef()
4251 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef()
4252 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef()
4253 REPORTER_ASSERT(reporter, SkPath::kLine_SegmentMask == pathRef->getSegmentMasks()); in TestPathRef()
4255 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == pathRef->atVerb(i)); in TestPathRef()
[all …]