Home
last modified time | relevance | path

Searched refs:pathRef (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/src/core/
H A 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) {
225 if ((*pathRef)->unique()) {
226 SkDEBUGCODE((*pathRef)->validate();)
227 (*pathRef)
[all...]
H A DSkPath.cpp1627 matrix.mapPoints(ed.writablePoints(), ed.pathRef()->countPoints()); in transform()
2367 ContourIter(const SkPathRef& pathRef);
2385 ContourIter::ContourIter(const SkPathRef& pathRef) { in ContourIter() argument
2386 fStopVerbs = pathRef.verbsEnd(); in ContourIter()
2388 fCurrPt = pathRef.points(); in ContourIter()
2389 fCurrVerb = pathRef.verbsBegin(); in ContourIter()
2390 fCurrConicWeight = pathRef.conicWeights(); in ContourIter()
/third_party/skia/src/ports/
H A 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/
H A DSkPathRef.h89 Editor(sk_sp<SkPathRef>* pathRef,
131 * Concatenates all verbs from 'path' onto the pathRef's verbs array. Increases the point
152 SkPathRef* pathRef() { return fPathRef; } in pathRef() function in final::Editor
297 static void Rewind(sk_sp<SkPathRef>* pathRef);
/third_party/skia/tests/
H A DPathTest.cpp4234 sk_sp<SkPathRef> pathRef(new SkPathRef); in TestPathRef()
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 in TestPathRef()
[all...]

Completed in 16 milliseconds