Home
last modified time | relevance | path

Searched refs:verbs (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/flutter/skia/docs/examples/
DPath_getVerbs.cpp7 auto debugster = [](const char* prefix, const SkPath& path, uint8_t* verbs, int max) -> void { in draw() argument
8 int count = path.getVerbs(verbs, max); in draw()
11 for (int i = 0; i < SkTMin(count, max) && verbs; ++i) { in draw()
12 SkDebugf("%s ", verbStr[verbs[i]]); in draw()
19 uint8_t verbs[3]; in draw() local
21 debugster("zero max", path, verbs, 0); in draw()
22 debugster("too small", path, verbs, 2); in draw()
23 debugster("just right", path, verbs, path.countVerbs()); in draw()
DPath_Verb.cpp13 uint8_t verbs[7]; in draw() local
14 int count = path.getVerbs(verbs, (int) SK_ARRAY_COUNT(verbs)); in draw()
18 SkDebugf("k%s_Verb ", verbStr[verbs[i]]); in draw()
/third_party/skia/docs/examples/
DPath_getVerbs.cpp7 auto debugster = [](const char* prefix, const SkPath& path, uint8_t* verbs, int max) -> void { in draw() argument
8 int count = path.getVerbs(verbs, max); in draw()
11 for (int i = 0; i < std::min(count, max) && verbs; ++i) { in draw()
12 SkDebugf("%s ", verbStr[verbs[i]]); in draw()
19 uint8_t verbs[3]; in draw() local
21 debugster("zero max", path, verbs, 0); in draw()
22 debugster("too small", path, verbs, 2); in draw()
23 debugster("just right", path, verbs, path.countVerbs()); in draw()
DPath_Verb.cpp13 uint8_t verbs[7]; in draw() local
14 int count = path.getVerbs(verbs, (int) SK_ARRAY_COUNT(verbs)); in draw()
18 SkDebugf("k%s_Verb ", verbStr[verbs[i]]); in draw()
Dcount_verbs.cpp38 const char* verbs[6] = {"Move", "Line", "Quad", "Conic", "Cubic", "Close"}; in draw() local
43 canvas->drawString(SkStringPrintf("%-5s %3d", verbs[i], counts[i]), pt.fX, pt.fY, font, in draw()
/third_party/flutter/skia/tools/lua/
Dbbh_filter.lua24 verbs = {},
67 currentInfo.verbs[t.verb] = (currentInfo.verbs[t.verb] or 0) + 1
102 function calculate_weight(verbs)
104 for name, count in pairs(verbs) do
124 for verb,count in pairs(globalInfo[t.fileName].verbs) do
138 function(a, b) return calculate_weight(a.verbs) > calculate_weight(b.verbs); end,
Dcount_dashes.lua34 local verbs = fillpath:getVerbs()
35 for _, verb in ipairs(verbs) do
/third_party/glib/gio/
Dgwin32appinfo.c207 GPtrArray *verbs; /* of GWin32AppInfoShellVerb */ member
316 GPtrArray *verbs; /* of GWin32AppInfoShellVerb */ member
404 g_clear_pointer (&handler->verbs, g_ptr_array_unref); in g_win32_appinfo_handler_dispose()
454 g_clear_pointer (&app->verbs, g_ptr_array_unref); in g_win32_appinfo_application_dispose()
536 self->verbs = g_ptr_array_new_with_free_func (g_object_unref); in g_win32_appinfo_handler_init()
550 self->verbs = g_ptr_array_new_with_free_func (g_object_unref); in g_win32_appinfo_application_init()
799 static void process_verbs_commands (GList *verbs,
817 static void process_uwp_verbs (GList *verbs,
932 GList **verbs, in get_verbs() argument
945 g_assert (program_id_key && verbs && preferred_verb); in get_verbs()
[all …]
/third_party/skia/src/utils/
DSkCustomTypeface.cpp262 std::vector<PVerb> verbs; in compress_write() local
266 case SkPathVerb::kMove: verbs.push_back(kMove); pCount += 1; break; in compress_write()
267 case SkPathVerb::kQuad: verbs.push_back(kCurve); pCount += 2; break; in compress_write()
268 case SkPathVerb::kLine: verbs.push_back(kLine); pCount += 1; break; in compress_write()
269 case SkPathVerb::kClose: verbs.push_back(kClose); break; in compress_write()
273 int vCount = verbs.size(); in compress_write()
279 stream->write8((verbs[i+0]<<6) | (verbs[i+1]<<4) | (verbs[i+2]<<2) | verbs[i+3]); in compress_write()
285 b |= verbs[i] << shift; in compress_write()
/third_party/flutter/skia/src/core/
DSkPathPriv.h69 auto verbs = path.fPathRef->verbs(); in IsClosedSingleContour() local
71 switch (verbs[~i]) { // verbs are stored backwards; we use [~i] to get the i'th verb in IsClosedSingleContour()
131 Iter begin() { return Iter{fPathRef->verbs() - 1}; } in begin()
132 Iter end() { return Iter{fPathRef->verbs() - fPathRef->countVerbs() - 1}; } in end()
DSkPathRef.cpp254 static bool validate_verb_sequence(const uint8_t verbs[], int vCount) { in validate_verb_sequence() argument
262 switch (verbs[i]) { in validate_verb_sequence()
284 static bool deduce_pts_conics(const uint8_t verbs[], int vCount, int* ptCountPtr, in deduce_pts_conics() argument
287 if (0 < vCount && verbs[vCount-1] != SkPath::kMove_Verb) { in deduce_pts_conics()
295 switch (verbs[i]) { in deduce_pts_conics()
530 const uint8_t* verbs = this->verbsMemBegin(); in computeSegmentMask() local
533 switch (verbs[i]) { in computeSegmentMask()
803 fVerbs = path.verbs(); in setPathRef()
DSkPath.cpp707 copy_verbs_reverse(dst, fPathRef->verbs(), count); in getVerbs()
1259 const uint8_t* verbs = const_cast<const SkPathRef*>(fPathRef.get())->verbsMemBegin(); in hasOnlyMoveTos() local
1261 if (*verbs == kLine_Verb || in hasOnlyMoveTos()
1262 *verbs == kQuad_Verb || in hasOnlyMoveTos()
1263 *verbs == kConic_Verb || in hasOnlyMoveTos()
1264 *verbs == kCubic_Verb) { in hasOnlyMoveTos()
1267 ++verbs; in hasOnlyMoveTos()
1705 const uint8_t* verbs = path.fPathRef->verbsMemBegin(); // points at the last verb in reversePathTo() local
1706 if (!verbs) { // empty path returns nullptr in reversePathTo()
1709 const uint8_t* verbsEnd = path.fPathRef->verbs() - 1; // points just past the first verb in reversePathTo()
[all …]
/third_party/flutter/skia/tools/fonts/
Dcreate_test_font.cpp125 int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, in output_path_data() argument
135 *verbs->append() = verb; in output_path_data()
156 *verbs->append() = SkPath::kDone_Verb; in output_path_data()
202 SkTDArray<SkPath::Verb> verbs; in output_font() local
206 output_path_data(font, emSize, &ptsOut, &verbs, &charCodes, &widths); in output_font()
212 int verbCount = verbs.count(); in output_font()
215 SkPath::Verb verb = verbs[index]; in output_font()
/third_party/skia/tools/fonts/
Dcreate_test_font.cpp125 int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, in output_path_data() argument
132 *verbs->append() = (SkPath::Verb)verb; in output_path_data()
153 *verbs->append() = SkPath::kDone_Verb; in output_path_data()
199 SkTDArray<SkPath::Verb> verbs; in output_font() local
203 output_path_data(font, emSize, &ptsOut, &verbs, &charCodes, &widths); in output_font()
209 int verbCount = verbs.count(); in output_font()
212 SkPath::Verb verb = verbs[index]; in output_font()
/third_party/skia/gm/
Daarectmodes.cpp42 char verbs[] = { in test4() local
50 for (size_t i = 0; i < sizeof(verbs); ++i) { in test4()
51 switch ((SkPath::Verb) verbs[i]) { in test4()
/third_party/flutter/skia/gm/
Daarectmodes.cpp41 char verbs[] = { in test4() local
49 for (size_t i = 0; i < sizeof(verbs); ++i) { in test4()
50 switch ((SkPath::Verb) verbs[i]) { in test4()
/third_party/skia/tests/
DSkPathRangeIterTest.cpp25 Verb verbs[] = { in DEF_TEST() local
55 for (Verb verb : verbs) { in DEF_TEST()
95 for (Verb verb : verbs) { in DEF_TEST()
/third_party/skia/src/core/
DSkPath_serial.cpp227 const uint8_t* verbs = buffer.skipCount<uint8_t>(vbs); in readFromMemory_EQ4Or5() local
246 verbs += vbs - 1; in readFromMemory_EQ4Or5()
254 switch (*verbs) { in readFromMemory_EQ4Or5()
284 verbs += verbsStep; in readFromMemory_EQ4Or5()
DSkPathPriv.h60 auto verbs = path.fPathRef->verbsBegin(); in IsClosedSingleContour() local
62 switch (verbs[i]) { in IsClosedSingleContour()
85 auto verbs = path.fPathRef->verbsBegin(); in LeadingMoveToCount() local
87 if (verbs[i] != SkPath::Verb::kMove_Verb) { in LeadingMoveToCount()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCFiller.cpp44 int currPathVerbsIdx = fGeometry.verbs().count(); in parseDeviceSpaceFill()
101 int numVerbs = fGeometry.verbs().count() - currPathVerbsIdx - 1; in parseDeviceSpaceFill()
127 const SkTArray<Verb, true>& verbs = geometry.verbs(); in tessellateFan() local
145 SkASSERT(Verb::kBeginPath == verbs[verbsIdx]); in tessellateFan()
146 for (int i = verbsIdx + 1; i < verbs.count(); ++i) { in tessellateFan()
147 switch (verbs[i]) { in tessellateFan()
377 for (Verb verb : fGeometry.verbs()) { in prepareToDraw()
/third_party/skia/src/pathops/
DSkOpBuilder.cpp18 uint8_t* verbs = (uint8_t*) allocator.makeArrayDefault<uint8_t>(verbCount); in one_contour() local
19 (void) path.getVerbs(verbs, verbCount); in one_contour()
21 if (verbs[index] == SkPath::kMove_Verb) { in one_contour()
/third_party/flutter/skia/src/pathops/
DSkOpBuilder.cpp18 uint8_t* verbs = (uint8_t*) allocator.makeArrayDefault<uint8_t>(verbCount); in one_contour() local
19 (void) path.getVerbs(verbs, verbCount); in one_contour()
21 if (verbs[index] == SkPath::kMove_Verb) { in one_contour()
/third_party/flutter/skia/experimental/pvg/
Ddraw_msg.proto121 repeated PathVerb verbs = 1; field
122 repeated float points = 2; // count must be even, and correspond to verbs
123 repeated float conic_weights = 3; // count must be == # conic verbs
/third_party/skia/experimental/pvg/
Ddraw_msg.proto121 repeated PathVerb verbs = 1; field
122 repeated float points = 2; // count must be even, and correspond to verbs
123 repeated float conic_weights = 3; // count must be == # conic verbs
/third_party/node/deps/npm/node_modules/request/
Dindex.js116 var verbs = ['get', 'head', 'post', 'put', 'patch', 'del', 'delete']
117 verbs.forEach(function (verb) {

1234