Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 47) sorted by relevance

12

/lvgl-latest/src/libs/thorvg/
DtvgFrameModule.h48 void segment(float* begin, float* end) in segment() argument
50 if (begin) *begin = segmentBegin; in segment()
54 void segment(float begin, float end) in segment() argument
56 segmentBegin = begin; in segment()
DtvgRender.h120 float begin = 0.0f; member
150 bool strokeTrim(float& begin, float& end) const in strokeTrim()
152 begin = trim.begin; in strokeTrim()
155 if (fabsf(end - begin) >= 1.0f) { in strokeTrim()
156 begin = 0.0f; in strokeTrim()
163 if (begin > 1.0f && end > 1.0f) loop = false; in strokeTrim()
164 if (begin < 0.0f && end < 0.0f) loop = false; in strokeTrim()
165 if (begin >= 0.0f && begin <= 1.0f && end >= 0.0f && end <= 1.0f) loop = false; in strokeTrim()
167 if (begin > 1.0f) begin -= 1.0f; in strokeTrim()
168 if (begin < 0.0f) begin += 1.0f; in strokeTrim()
[all …]
DtvgAnimation.cpp99 Result Animation::segment(float begin, float end) noexcept in segment() argument
101 if (begin < 0.0 || end > 1.0 || begin > end) return Result::InvalidArguments; in segment()
107 static_cast<FrameModule*>(loader)->segment(begin, end); in segment()
113 Result Animation::segment(float *begin, float *end) noexcept in segment() argument
118 if (!begin && !end) return Result::InvalidArguments; in segment()
120 static_cast<FrameModule*>(loader)->segment(begin, end); in segment()
DtvgLottieAnimation.cpp65 float begin, end; in segment() local
66 …if (!static_cast<LottieLoader*>(loader)->segment(marker, begin, end)) return Result::InvalidArgume… in segment()
68 return static_cast<Animation*>(this)->segment(begin, end); in segment()
DtvgShape.h132 auto pts = rs.path.pts.begin(); in bounds()
218 void strokeTrim(float begin, float end, bool simultaneous) in strokeTrim()
221 if (begin == 0.0f && end == 1.0f) return; in strokeTrim()
225 if (tvg::equal(rs.stroke->trim.begin, begin) && tvg::equal(rs.stroke->trim.end, end) && in strokeTrim()
228 rs.stroke->trim.begin = begin; in strokeTrim()
234 bool strokeTrim(float* begin, float* end) in strokeTrim()
237 if (begin) *begin = rs.stroke->trim.begin; in strokeTrim()
241 if (begin) *begin = 0.0f; in strokeTrim()
DtvgLottieRenderPooler.h41 for (auto p = pooler.begin(); p < pooler.end(); ++p) { in ~LottieRenderPooler()
49 for (auto p = pooler.begin(); p < pooler.end(); ++p) {
DtvgLottieLoader.cpp309 for (auto s = comp->slots.begin(); s < comp->slots.end(); ++s) { in override()
322 for (auto s = comp->slots.begin(); s < comp->slots.end(); ++s) { in override()
396 auto marker = comp->markers.begin() + index; in markers()
401 bool LottieLoader::segment(const char* marker, float& begin, float& end) in segment() argument
405 for (auto m = comp->markers.begin(); m < comp->markers.end(); ++m) { in segment()
407 begin = (*m)->time / frameCnt; in segment()
DtvgLottieModel.cpp47 for (auto pair = pairs.begin(); pair < pairs.end(); ++pair) { in reset()
79 for (auto pair = pairs.begin(); pair < pairs.end(); ++pair) { in assign()
348 for (auto c = children.end() - 1; c >= children.begin(); --c) { in prepare()
417 for (auto m = masks.begin(); m < masks.end(); ++m) { in ~LottieLayer()
421 for (auto e = effects.begin(); e < effects.end(); ++e) { in ~LottieLayer()
436 for (auto p = children.begin(); p < children.end(); ++p) delete(*p); in prepare()
480 for (auto i = interpolators.begin(); i < interpolators.end(); ++i) { in ~LottieComposition()
486 for (auto a = assets.begin(); a < assets.end(); ++a) { in ~LottieComposition()
491 for (auto f = fonts.begin(); f < fonts.end(); ++f) { in ~LottieComposition()
496 for (auto s = slots.begin(); s < slots.end(); ++s) { in ~LottieComposition()
[all …]
DtvgScene.h39 begin(); in SceneIterator()
55 void begin() override in begin() function
57 itr = paints->begin(); in begin()
149 for (auto e = effects->begin(); e < effects->end(); ++e) { in render()
181 for (auto e = effects->begin(); e < effects->end(); ++e) { in bounds()
DtvgTaskScheduler.cpp129 for (auto tq = taskQueues.begin(); tq < taskQueues.end(); ++tq) { in ~TaskSchedulerImpl()
132 for (auto thread = threads.begin(); thread < threads.end(); ++thread) { in ~TaskSchedulerImpl()
136 for (auto tq = taskQueues.begin(); tq < taskQueues.end(); ++tq) { in ~TaskSchedulerImpl()
DtvgLottieModel.h179 for (auto p = children.begin(); p < children.end(); ++p) delete(*p); in ~LottieGlyph()
231 for (auto c = chars.begin(); c < chars.end(); ++c) delete(*c); in ~LottieFont()
282 for (auto r = ranges.begin(); r < ranges.end(); ++r) delete(*r); in ~LottieText()
567 for (auto v = colorStops.frames->begin(); v < colorStops.frames->end(); ++v) { in prepare()
718 for (auto p = children.begin(); p < children.end(); ++p) delete(*p); in ~LottieGroup()
729 for (auto c = children.begin(); c < children.end(); ++c) { in content()
802 for (auto child = children.begin(); child < children.end(); ++child) { in layerById()
812 for (auto child = children.begin(); child < children.end(); ++child) { in layerByIdx()
841 for (auto pair = pairs.begin(); pair < pairs.end(); ++pair) { in ~LottieSlot()
881 for (auto asset = assets.begin(); asset < assets.end(); ++asset) { in asset()
DtvgSwShape.cpp252 auto begin = length * trimBegin; in _trimPattern() local
256 if (end > begin) { in _trimPattern()
257 if (begin > 0.0f) dash->cnt = 4; in _trimPattern()
263 dash->pattern[0] = end - begin; in _trimPattern()
264 dash->pattern[1] = length - (end - begin); in _trimPattern()
267 dash->pattern[1] = (begin - end); in _trimPattern()
268 dash->pattern[2] = length - begin; in _trimPattern()
271 dash->pattern[1] = begin; in _trimPattern()
272 dash->pattern[2] = end - begin; in _trimPattern()
DtvgLottieBuilder.cpp253 fragment->begin = child - 1; in _fragmented()
338 for (auto repeater = ctx->repeaters.end() - 1; repeater >= ctx->repeaters.begin(); --repeater) { in _repeat()
344 … for (auto propagator = propagators.begin(); propagator < propagators.end(); ++propagator) { in _repeat()
371 for (auto shape = shapes.begin(); shape < shapes.end(); ++shape) { in _repeat()
376 for (auto shape = shapes.end() - 1; shape >= shapes.begin(); --shape) { in _repeat()
864 float begin, end; in updateTrimpath() local
865 trimpath->segment(frameNo, begin, end, exps); in updateTrimpath()
868 auto pbegin = P(ctx->propagator)->rs.stroke->trim.begin; in updateTrimpath()
871 begin = (length * begin) + pbegin; in updateTrimpath()
875 … P(ctx->propagator)->strokeTrim(begin, end, trimpath->type == LottieTrimpath::Type::Simultaneous); in updateTrimpath()
[all …]
DtvgSwRenderer.cpp102 if (tvg::zero(rshape->stroke->trim.begin - rshape->stroke->trim.end)) return 0.0f; in validStrokeWidth()
181 for (auto clip = clips.begin(); clip < clips.end(); ++clip) { in run()
243 for (auto clip = clips.begin(); clip < clips.end(); ++clip) { in run()
319 for (auto task = tasks.begin(); task < tasks.end(); ++task) { in clear()
389 for (auto comp = compositors.begin(); comp < compositors.end(); ++comp) { in clearCompositors()
405 for (auto task = tasks.begin(); task < tasks.end(); ++task) { in postRender()
557 for (auto p = compositors.begin(); p < compositors.end(); ++p) { in request()
698 for (auto clip = clips.begin(); clip < clips.end(); ++clip) { in prepareCommon()
DtvgArray.h97 const T* begin() const in begin() function
102 T* begin() in begin() function
DtvgLottieLoader.h75 bool segment(const char* marker, float& begin, float& end);
DtvgScene.cpp36 for (auto e = effects->begin(); e < effects->end(); ++e) { in resetEffects()
Dthorvg_capi.h1538 TVG_API Tvg_Result tvg_shape_set_stroke_trim(Tvg_Paint* paint, float begin, float end, bool simulta…
2525 TVG_API Tvg_Result tvg_animation_set_segment(Tvg_Animation* animation, float begin, float end);
2541 TVG_API Tvg_Result tvg_animation_get_segment(Tvg_Animation* animation, float* begin, float* end);
Dthorvg.h1076 Result strokeTrim(float begin, float end, bool simultaneous = true) noexcept;
1973 Result segment(float begin, float end) noexcept;
1986 Result segment(float* begin, float* end = nullptr) noexcept;
/lvgl-latest/src/libs/thorvg/rapidjson/
Dstream.h202 size_t PutEnd(Ch* begin) { return static_cast<size_t>(dst_ - begin); }
205 Ch* Push(size_t count) { Ch* begin = dst_; dst_ += count; return begin; }
/lvgl-latest/src/libs/thorvg/rapidjson/internal/
Dbiginteger.h230 void AppendDecimal64(const Ch* begin, const Ch* end) { in AppendDecimal64() argument
231 uint64_t u = ParseUint64(begin, end); in AppendDecimal64()
235 unsigned exp = static_cast<unsigned>(end - begin); in AppendDecimal64()
246 static uint64_t ParseUint64(const Ch* begin, const Ch* end) { in ParseUint64() argument
248 for (const Ch* p = begin; p != end; ++p) { in ParseUint64()
/lvgl-latest/docs/details/libs/
Darduino_sd.rst20 You will need to initialize the SD card before LVGL can use it (i.e. :cpp:expr:`SD.begin(0, SPI, 40…
/lvgl-latest/src/drivers/display/tft_espi/
Dlv_tft_espi.cpp56 dsc->tft->begin(); /* TFT init */ in lv_tft_espi_create()
/lvgl-latest/src/core/
Dlv_group.c28 static bool focus_next_core(lv_group_t * group, void * (*begin)(const lv_ll_t *),
431 static bool focus_next_core(lv_group_t * group, void * (*begin)(const lv_ll_t *), in focus_next_core()
446 obj_next = begin(&group->obj_ll); in focus_next_core()
/lvgl-latest/src/libs/fsdrv/
Dlv_fs_arduino_esp_littlefs.cpp58 LittleFS.begin(); in fs_init()

12