Home
last modified time | relevance | path

Searched refs:clip (Results 1 – 16 of 16) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgSwRenderer.cpp74 virtual bool clip(SwRle* target) = 0;
107 bool clip(SwRle* target) override in clip() function
181 for (auto clip = clips.begin(); clip < clips.end(); ++clip) { in run() local
182 auto clipper = static_cast<SwTask*>(*clip); in run()
184 if (shape.rle && !clipper->clip(shape.rle)) goto err; in run()
186 if (shape.strokeRle && !clipper->clip(shape.strokeRle)) goto err; in run()
211 bool clip(SwRle* target) override in clip() function
243 for (auto clip = clips.begin(); clip < clips.end(); ++clip) { in run() local
244 auto clipper = static_cast<SwTask*>(*clip); in run()
245 if (!clipper->clip(image.rle)) goto err; in run()
[all …]
DtvgSwRle.cpp752 static SwSpan* _intersectSpansRegion(const SwRle *clip, const SwRle *target, SwSpan *outSpans, uint… in _intersectSpansRegion() argument
757 auto clipSpans = clip->spans; in _intersectSpansRegion()
758 auto clipEnd = clip->spans + clip->size; in _intersectSpansRegion()
1011 void rleClip(SwRle *rle, const SwRle *clip) in rleClip() argument
1013 if (rle->size == 0 || clip->size == 0) return; in rleClip()
1014 auto spanCnt = rle->size > clip->size ? rle->size : clip->size; in rleClip()
1016 auto spansEnd = _intersectSpansRegion(clip, rle, spans, spanCnt); in rleClip()
1024 void rleClip(SwRle *rle, const SwBBox* clip) in rleClip() argument
1028 auto spansEnd = _intersectSpansRect(clip, rle, spans, rle->size); in rleClip()
DtvgPaint.cpp170 if (clipper) ret->pImpl->clip(clipper->duplicate()); in duplicate()
454 Result Paint::clip(std::unique_ptr<Paint> clipper) noexcept in clip() function in Paint
462 pImpl->clip(p); in clip()
470 if (target && method == CompositeMethod::ClipPath) return clip(std::move(target)); in composite()
DtvgSvgSceneBuilder.cpp225 …erData& loaderData, SvgNode* node, Shape* shape, const Box& vBox, const string& svgPath, bool clip) in _appendClipChild() argument
244 if (!compNode->node.clip.userSpace) { in _compositionTransform()
278 paint->clip(std::move(comp)); in _applyComposition()
317 …oaderData& loaderData, SvgNode* node, Shape* vg, const Box& vBox, const string& svgPath, bool clip) in _applyProperty() argument
322 if (node->transform && !clip) vg->transform(*node->transform); in _applyProperty()
766 scene->clip(std::move(viewBoxClip)); in _useBuildHelper()
931 compositeLayer->clip(std::move(viewBoxClip)); in svgSceneBuild()
DtvgPaint.h128 void clip(Paint* clp) in clip() function
DtvgSvgLoaderCommon.h530 SvgClipNode clip; member
DtvgLottieBuilder.cpp969 precomp->scene->clip(cast(clipper)); in updatePrecomp()
1161 layer->scene->clip(tvg::cast(pShape)); in updateMaskings()
1434 auto clip = Shape::gen(); in build() local
1435 clip->appendRect(0, 0, comp->w, comp->h); in build()
1436 comp->root->scene->clip(std::move(clip)); in build()
DtvgSwCommon.h553 void rleClip(SwRle* rle, const SwRle* clip);
554 void rleClip(SwRle* rle, const SwBBox* clip);
Dthorvg.h393 Result clip(std::unique_ptr<Paint> clipper) noexcept;
DtvgSvgLoader.cpp1230 STYLE_DEF(clip-path, ClipPath, SvgStyleFlags::ClipPath),
1322 SvgClipNode* clip = &(node->node.clip); in _attrParseClipPathNode() local
1334 if (!strcmp(value, "objectBoundingBox")) clip->userSpace = false; in _attrParseClipPathNode()
1532 loader->svgParse->node->node.clip.userSpace = true; in _createClipPathNode()
DtvgCapi.cpp261 return (Tvg_Result) reinterpret_cast<Paint*>(paint)->clip(unique_ptr<Paint>((Paint*)(clipper))); in tvg_paint_set_clip()
/lvgl-latest/docs/details/widgets/
Dlabel.rst108 - :cpp:enumerator:`LV_LABEL_LONG_CLIP` Simply clip the parts of the text outside the Label.
/lvgl-latest/docs/details/base-widget/
Dobj.rst514 - :cpp:enumerator:`LV_OBJ_FLAG_OVERFLOW_VISIBLE` Do not clip the children's content to the parent'…
/lvgl-latest/docs/_static/css/
Dfontawesome.min.css5 …;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.…
/lvgl-latest/docs/
DCHANGELOG.rst81 - **feat(vg_lite): add image clip corner support** `6121 <https://github.com/lvgl/lvgl/pull/6121>`__
/lvgl-latest/docs/details/base-widget/styles/
Dstyle-properties.rst1260 Enable to clip the overflowed content on the rounded corner. Can be `true` or `false`.