Searched defs:verbs (Results 1 - 11 of 11) sorted by relevance
/external/skia/src/core/ |
H A D | SkPathPriv.h | 63 auto verbs = path.fPathRef->verbs(); local 65 switch (verbs[~i]) { // verbs are stored backwards; we use [~i] to get the i'th verb 103 * Returns a pointer to the verb data. Note that the verbs are stored backwards in memory and
|
H A D | SkPath.cpp | 119 Stores the verbs and points as they are given to us, with exceptions: 663 copy_verbs_reverse(dst, fPathRef->verbs(), count); 1182 const uint8_t* verbs = const_cast<const SkPathRef*>(fPathRef.get())->verbsMemBegin(); local 1184 if (*verbs == kLine_Verb || 1185 *verbs == kQuad_Verb || 1186 *verbs == kConic_Verb || 1187 *verbs == kCubic_Verb) { 1190 ++verbs; 1578 const uint8_t* verbs = path.fPathRef->verbsMemBegin(); // points at the last verb 1579 if (!verbs) { // empt 1621 const uint8_t* verbs = src.fPathRef->verbsMemBegin(); // points at the last verb local 1819 const uint8_t* verbs = fVerbs; local 2552 const uint8_t* verbs = fCurrVerb; local [all...] |
/external/skia/gm/ |
H A D | aarectmodes.cpp | 30 char verbs[] = { local 38 for (size_t i = 0; i < sizeof(verbs); ++i) { 39 switch ((SkPath::Verb) verbs[i]) {
|
/external/skia/src/pathops/ |
H A D | SkOpBuilder.cpp | 19 uint8_t* verbs = (uint8_t*) allocator.makeArrayDefault<uint8_t>(verbCount); local 20 (void) path.getVerbs(verbs, verbCount); 22 if (verbs[index] == SkPath::kMove_Verb) {
|
H A D | SkPathOpsDebug.cpp | 629 const char* verbs[] = { "", "line", "quad", "conic", "cubic" }; local 630 SkDebugf("%s: {{", verbs[verb]);
|
/external/skia/tools/ |
H A D | create_test_font.cpp | 131 int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, 144 *verbs->append() = verb; 165 *verbs->append() = SkPath::kDone_Verb; 225 SkTDArray<SkPath::Verb> verbs; local 229 output_path_data(paint, emSize, &ptsOut, &verbs, &charCodes, &widths); 239 int verbCount = verbs.count(); 242 SkPath::Verb verb = verbs[index]; 130 output_path_data(const SkPaint& paint, int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) argument
|
/external/skia/include/core/ |
H A D | SkPathRef.h | 25 * Holds the path verbs and points. It is versioned by a generation ID. None of its public methods 26 * modify the contents. To modify or append to the verbs/points wrap the SkPathRef in an 32 * The points and verbs are stored in a single allocation. The points are at the begining of the 33 * allocation while the verbs are stored at end of the allocation, in reverse order. Thus the points 34 * and verbs both grow into the middle of the allocation until the meet. To access verb i in the 35 * verb array use ref.verbs()[~i] (because verbs() returns a pointer just beyond the first 91 * Resets the path ref to a new verb and point count. The new verbs and points are 145 * Gets a path ref with no verbs or points. 240 * Rollsback a path ref to zero verbs an 254 const uint8_t* verbs() const { SkDEBUGCODE(this->validate();) return fVerbs; } function in class:final [all...] |
/external/skia/samplecode/ |
H A D | SamplePathFuzz.cpp | 604 SkTDArray<uint8_t> verbs; local 605 verbs.setCount(verbCount); 606 SkDEBUGCODE(int getVerbResult = ) path.getVerbs(verbs.begin(), verbCount); 609 if (verbs[index] != SkPath::kMove_Verb) {
|
/external/pcre/dist2/src/ |
H A D | pcre2_compile.c | 376 /* Table of special "verbs" like (*PRUNE). This is a short table, so it is 399 static const verbitem verbs[] = { variable 411 static const int verbcount = sizeof(verbs)/sizeof(verbitem); 5880 /* Deal with various "verbs" that can be introduced by '*'. */ 5942 if (namelen == verbs[i].len && 5950 if (verbs[i].op == OP_ACCEPT) 5987 if (verbs[i].op < 0) /* Argument is mandatory */ 5992 setverb = *code++ = verbs[i].op; 5997 if (verbs[i].op_arg < 0) /* Argument is forbidden */ 6002 setverb = *code++ = verbs[ [all...] |
/external/skia/tests/ |
H A D | PathTest.cpp | 1723 path.lineTo(0, 0); // too many points/verbs 2558 // find where the counts and verbs are stored : from the impl in SkPathRef.cpp 2565 uint8_t* verbs = &buffer[28]; local 2587 // Check that we detect when the verbs indicate more or fewer pts/conics 2589 uint8_t save = verbs[0]; 2591 verbs[0] = SkPath::kQuad_Verb; 2593 verbs[0] = save; 2595 save = verbs[1]; 2597 verbs[1] = SkPath::kQuad_Verb; 2599 verbs[ 2768 uint8_t verbs[32]; local 3926 uint8_t verbs[4]; local 3944 uint8_t verbs[7]; local 4583 uint8_t verbs[6]; local 4735 const SkPath::Verb verbs[] = { local [all...] |
/external/skia/tools/debugger/ |
H A D | SkDrawCommand.cpp | 71 #define SKDEBUGCANVAS_ATTRIBUTE_VERBS "verbs" 535 Json::Value verbs(Json::arrayValue); 544 verbs.append(line); 553 verbs.append(quad); 563 verbs.append(cubic); 573 verbs.append(conic); 579 verbs.append(move); 583 verbs.append(Json::Value(SKDEBUGCANVAS_VERB_CLOSE)); 589 result[SKDEBUGCANVAS_ATTRIBUTE_VERBS] = verbs; 1597 Json::Value verbs local [all...] |
Completed in 6365 milliseconds