Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 40) sorted by relevance

12

/lvgl-latest/src/libs/thorvg/
DtvgPaint.h48 CompositeMethod method; member
142 bool composite(Paint* source, Paint* target, CompositeMethod method) in composite()
145 …if ((!target && method != CompositeMethod::None) || (target && method == CompositeMethod::None)) r… in composite()
153 if (!target && method == CompositeMethod::None) { in composite()
159 if (!target && method == CompositeMethod::None) return true; in composite()
165 compData->method = method; in composite()
DtvgPaint.cpp169 if (compData) ret->pImpl->composite(ret, compData->target->duplicate(), compData->method); in duplicate()
220 … if (MASK_REGION_MERGING(compData->method)) region.add(P(compData->target)->bounds(renderer)); in render()
222 cmp = renderer->target(region, COMPOSITE_TO_COLORSPACE(renderer, compData->method)); in render()
228 if (cmp) renderer->beginComposite(cmp, compData->method, compData->target->pImpl->opacity); in render()
256 auto method = compData->method; in update() local
267 …if ((method == CompositeMethod::AlphaMask && a == 255 && PP(shape)->opacity == 255) || (method == … in update()
467 Result Paint::composite(std::unique_ptr<Paint> target, CompositeMethod method) noexcept in composite() argument
470 if (target && method == CompositeMethod::ClipPath) return clip(std::move(target)); in composite()
473 if (pImpl->composite(this, p, method)) return Result::Success; in composite()
484 return pImpl->compData->method; in composite()
[all …]
DtvgRender.h88 CompositeMethod method; member
325 virtual bool blend(BlendMethod method) = 0;
333 virtual bool beginComposite(RenderCompositor* cmp, CompositeMethod method, uint8_t opacity) = 0;
340 static inline bool MASK_REGION_MERGING(CompositeMethod method) in MASK_REGION_MERGING() argument
342 switch(method) { in MASK_REGION_MERGING()
357 TVGERR("RENDERER", "Unsupported Composite Method! = %d", (int)method); in MASK_REGION_MERGING()
379 static inline ColorSpace COMPOSITE_TO_COLORSPACE(RenderMethod* renderer, CompositeMethod method) in COMPOSITE_TO_COLORSPACE() argument
381 switch(method) { in COMPOSITE_TO_COLORSPACE()
396 TVGERR("RENDERER", "Unsupported Composite Size! = %d", (int)method); in COMPOSITE_TO_COLORSPACE()
DtvgSwRaster.cpp160 …if (!surface->compositor || (int)surface->compositor->method <= (int)CompositeMethod::ClipPath) re… in _compositing()
167 if ((int)surface->compositor->method < (int)CompositeMethod::AddMask) return true; in _matting()
212 static inline bool _direct(CompositeMethod method) in _direct() argument
214 …if (method == CompositeMethod::SubtractMask || method == CompositeMethod::IntersectMask || method in _direct()
219 static inline SwMask _getMaskOp(CompositeMethod method) in _getMaskOp() argument
221 switch (method) { in _getMaskOp()
375 …, "Masked(%d) Rect [Region: %lu %lu %lu %lu]", (int)surface->compositor->method, region.min.x, reg… in _rasterMaskedRect()
377 auto maskOp = _getMaskOp(surface->compositor->method); in _rasterMaskedRect()
378 …if (_direct(surface->compositor->method)) return _rasterDirectMaskedRect(surface, region, maskOp, … in _rasterMaskedRect()
390 auto alpha = surface->alpha(surface->compositor->method); in _rasterMattedRect()
[all …]
DtvgSwRenderer.cpp448 bool SwRenderer::blend(BlendMethod method) in blend() argument
450 if (surface->blendMethod == method) return true; in blend()
451 surface->blendMethod = method; in blend()
453 switch (method) { in blend()
494 TVGLOG("SW_ENGINE", "Non supported blending option = %d", (int) method); in blend()
508 bool SwRenderer::beginComposite(RenderCompositor* cmp, CompositeMethod method, uint8_t opacity) in beginComposite() argument
513 p->method = method; in beginComposite()
517 if (p->method != CompositeMethod::None) { in beginComposite()
641 if (p->method == CompositeMethod::None) { in endComposite()
DtvgSwRenderer.h52 bool blend(BlendMethod method) override;
62 bool beginComposite(RenderCompositor* cmp, CompositeMethod method, uint8_t opacity) override;
DtvgPicture.cpp69 auto method = picture->composite(&target); in needComposition() local
70 if (!target || method == tvg::CompositeMethod::ClipPath) return false; in needComposition()
DtvgFill.cpp169 Fill::pImpl->method(new FillDup<RadialGradient::Impl>(pImpl)); in RadialGradient()
215 Fill::pImpl->method(new FillDup<LinearGradient::Impl>(pImpl)); in LinearGradient()
DtvgShape.h86 auto method = shape->composite(&target); in needComposition() local
87 if (!target || method == CompositeMethod::ClipPath) return false; in needComposition()
95 … if (method == CompositeMethod::LumaMask || method == CompositeMethod::InvLumaMask) { in needComposition()
DtvgFill.h69 void method(DuplicateMethod<Fill>* dup) in method() function
DtvgCapi.cpp228 …lt tvg_paint_set_composite_method(Tvg_Paint* paint, Tvg_Paint* target, Tvg_Composite_Method method) in tvg_paint_set_composite_method() argument
231 …rpret_cast<Paint*>(paint)->composite(unique_ptr<Paint>((Paint*)(target)), (CompositeMethod)method); in tvg_paint_set_composite_method()
235 …et_composite_method(const Tvg_Paint* paint, const Tvg_Paint** target, Tvg_Composite_Method* method) in tvg_paint_get_composite_method() argument
237 if (!paint || !target || !method) return TVG_RESULT_INVALID_ARGUMENT; in tvg_paint_get_composite_method()
238 …*reinterpret_cast<CompositeMethod*>(method) = reinterpret_cast<const Paint*>(paint)->composite(rei… in tvg_paint_get_composite_method()
243 TVG_API Tvg_Result tvg_paint_set_blend_method(Tvg_Paint* paint, Tvg_Blend_Method method) in tvg_paint_set_blend_method() argument
246 return (Tvg_Result) reinterpret_cast<Paint*>(paint)->blend((BlendMethod)method); in tvg_paint_set_blend_method()
Dthorvg_capi.h989 …t tvg_paint_set_composite_method(Tvg_Paint* paint, Tvg_Paint* target, Tvg_Composite_Method method);
1002 …t_composite_method(const Tvg_Paint* paint, const Tvg_Paint** target, Tvg_Composite_Method* method);
1057 TVG_API Tvg_Result tvg_paint_set_blend_method(Tvg_Paint* paint, Tvg_Blend_Method method);
DtvgLottieBuilder.cpp1139 auto pMethod = pMask->method; in updateMaskings()
1177 auto method = mask->method; in updateMaskings() local
1178 if (method == CompositeMethod::None) continue; in updateMaskings()
1181 …if (pMethod == method && (method == CompositeMethod::SubtractMask || method == CompositeMethod::Di… in updateMaskings()
1190 pShape->composite(tvg::cast(shape), method); in updateMaskings()
1192 pMethod = method; in updateMaskings()
DtvgSvgLoader.cpp3312 FactoryMethod method; in _svgLoaderParserXmlOpen() local
3335 if ((method = _findGroupFactory(tagName))) { in _svgLoaderParserXmlOpen()
3340 node = method(loader, nullptr, attrs, attrsLength, simpleXmlParseAttributes); in _svgLoaderParserXmlOpen()
3350 node = method(loader, nullptr, attrs, attrsLength, simpleXmlParseAttributes); in _svgLoaderParserXmlOpen()
3356 node = method(loader, parent, attrs, attrsLength, simpleXmlParseAttributes); in _svgLoaderParserXmlOpen()
3364 } else if ((method = _findGraphicsFactory(tagName))) { in _svgLoaderParserXmlOpen()
3367 node = method(loader, parent, attrs, attrsLength, simpleXmlParseAttributes); in _svgLoaderParserXmlOpen()
3419 FactoryMethod method; in _svgLoaderParserXmlCssStyle() local
3424 if ((method = _findGroupFactory(tag))) { in _svgLoaderParserXmlCssStyle()
3425 …if ((node = method(loader, loader->cssStyle, attrs, attrsLength, simpleXmlParseW3CAttribute))) nod… in _svgLoaderParserXmlCssStyle()
[all …]
Dthorvg.h379 Result composite(std::unique_ptr<Paint> target, CompositeMethod method) noexcept;
406 Result blend(BlendMethod method) noexcept;
DtvgSwRasterTexmap.h84 auto maskOp = _getMaskOp(surface->compositor->method);
85 auto direct = _direct(surface->compositor->method);
471 auto alpha = matting ? surface->alpha(surface->compositor->method) : nullptr; in _rasterPolygonImageSegment()
1159 if (_compositing(surface) && _masking(surface) && !_direct(surface->compositor->method)) { in _rasterTexmapPolygon()
/lvgl-latest/docs/details/other-components/
Dime_pinyin.rst7 Pinyin IME provides an API to provide Chinese Pinyin input method (Chinese
9 You can think of ``lv_ime_pinyin`` as a Pinyin input method plug-in for
26 input-method plug-in, then use
28 you created to the Pinyin input method plug-in. You can use
39 In the process of using the Pinyin input method plug-in, you can change
Dfile_explorer.rst158 the sorting method.
165 :cpp:expr:`lv_file_explorer_get_sort(explorer)` returns the current sorting method.
/lvgl-latest/docs/details/libs/
Drle.rst7 LVGL provides a custom RLE compression method. It can be used to reduce binary
8 image size. The RLE compression is a lossless compression method.
/lvgl-latest/src/libs/thorvg/rapidjson/
Dschema.h109 inline void PrintMethodData(const char* method) { in PrintMethodData() argument
110 printf("%s\n", method); in PrintMethodData()
113 inline void PrintMethodData(const char* method, bool b) { in PrintMethodData() argument
114 printf("%s, Data: '%s'\n", method, b ? "true" : "false"); in PrintMethodData()
117 inline void PrintMethodData(const char* method, int64_t i) { in PrintMethodData() argument
118 printf("%s, Data: '%" PRId64 "'\n", method, i); in PrintMethodData()
121 inline void PrintMethodData(const char* method, uint64_t u) { in PrintMethodData() argument
122 printf("%s, Data: '%" PRIu64 "'\n", method, u); in PrintMethodData()
125 inline void PrintMethodData(const char* method, double d) { in PrintMethodData() argument
126 printf("%s, Data: '%lf'\n", method, d); in PrintMethodData()
[all …]
/lvgl-latest/docs/details/integration/renderers/
Dvg_lite.rst20 2. Confirm the GPU initialization method, there are two ways:
33 4. Set the :c:macro:`LV_VG_LITE_FLUSH_MAX_COUNT` configuration to specify the flush method.
41 …This method can effectively improve GPU utilization, especially in scenarios where rendering text,…
/lvgl-latest/docs/details/integration/driver/
Dlibinput.rst75 Therefore, you should only specify ``true`` on the first call when calling this method multiple tim…
Dwindows.rst16 - Support Windows input method integration input.
/lvgl-latest/src/libs/bin_decoder/
Dlv_bin_decoder.c43 uint32_t method: 4; /*Compression method, see `lv_image_compress_t`*/ member
1119 if(compressed->method == LV_IMAGE_COMPRESS_RLE) { in decompress_image()
1142 else if(compressed->method == LV_IMAGE_COMPRESS_LZ4) { in decompress_image()
1161 LV_LOG_WARN("Unknown compression method: %d", compressed->method); in decompress_image()
/lvgl-latest/docs/details/integration/framework/
Darduino.rst85 ``LVGL_Arduino.ino`` example there is a ``my_print`` method, which sends

12