/lvgl-latest/src/libs/thorvg/ |
D | tvgSwShape.cpp | 443 static bool _genOutline(SwShape* shape, const RenderShape* rshape, const Matrix& transform, SwMpool… in _genOutline() argument 453 shape->outline = mpoolReqOutline(mpool, tid); in _genOutline() 454 auto outline = shape->outline; in _genOutline() 488 shape->outline = outline; in _genOutline() 490 shape->fastTrack = (!hasComposite && _axisAlignedRect(shape->outline)); in _genOutline() 499 bool shapePrepare(SwShape* shape, const RenderShape* rshape, const Matrix& transform, const SwBBox… in shapePrepare() argument 501 if (!_genOutline(shape, rshape, transform, mpool, tid, hasComposite)) return false; in shapePrepare() 502 …if (!mathUpdateOutlineBBox(shape->outline, clipRegion, renderRegion, shape->fastTrack)) return fal… in shapePrepare() 504 shape->bbox = renderRegion; in shapePrepare() 517 bool shapePrepared(const SwShape* shape) in shapePrepared() argument [all …]
|
D | tvgText.h | 38 Shape* shape; member 44 Impl(Text* p) : paint(p), shape(Shape::gen().release()) in Impl() 52 delete(shape); in ~Impl() 90 return P(shape)->bounds(renderer); in bounds() 97 return PP(shape)->render(renderer); in render() 104 loader->request(shape, utf8); in load() 110 return loader->transform(shape, fontSize, italic); in load() 118 auto fill = P(shape)->rs.fill; in update() 119 if (fill && P(shape)->flag & RenderUpdateFlag::Gradient) { in update() 135 return PP(shape)->update(renderer, transform, clips, opacity, pFlag, false); in update() [all …]
|
D | tvgLottieBuilder.cpp | 41 static bool _draw(LottieGroup* parent, LottieShape* shape, RenderContext* ctx); 315 static bool _draw(LottieGroup* parent, LottieShape* shape, RenderContext* ctx) in _draw() argument 319 if (shape) { in _draw() 320 ctx->merging = shape->pooling(); in _draw() 345 auto shape = static_cast<Shape*>((*propagator)->duplicate()); in _repeat() local 346 P(shape)->rs.path = P(path)->rs.path; in _repeat() 349 shape->opacity(opacity); in _repeat() 361 shape->transform(m * (inv * PP(shape)->transform())); in _repeat() 362 shapes.push(shape); in _repeat() 371 for (auto shape = shapes.begin(); shape < shapes.end(); ++shape) { in _repeat() local [all …]
|
D | tvgSwRenderer.cpp | 81 SwShape shape; member 109 if (shape.fastTrack) rleClip(target, &bbox); in clip() 110 else if (shape.rle) rleClip(target, shape.rle); in clip() 130 if (!shapePrepared(&shape) && (flags & RenderUpdateFlag::Color)) prepareShape = true; in run() 138 shapeReset(&shape); in run() 140 …if (!shapePrepare(&shape, rshape, transform, bbox, renderRegion, mpool, tid, clips.count > 0 ? tru… in run() 149 if (!shapeGenRle(&shape, rshape, antialiasing(strokeWidth))) goto err; in run() 153 if (ctable) shapeResetFill(&shape); in run() 154 … if (!shapeGenFillColors(&shape, fill, transform, surface, opacity, ctable)) goto err; in run() 156 shapeDelFill(&shape); in run() [all …]
|
D | tvgSvgSceneBuilder.cpp | 43 static bool _appendShape(SvgLoaderData& loaderData, SvgNode* node, Shape* shape, const Box& vBox, c… 44 static bool _appendClipShape(SvgLoaderData& loaderData, SvgNode* node, Shape* shape, const Box& vBo… 57 static Box _boundingBox(const Shape* shape) in _boundingBox() argument 60 shape->bounds(&x, &y, &w, &h, false); in _boundingBox() 62 if (auto strokeW = shape->strokeWidth()) { in _boundingBox() 208 static bool _appendClipUseNode(SvgLoaderData& loaderData, SvgNode* node, Shape* shape, const Box& v… in _appendClipUseNode() argument 221 …return _appendClipShape(loaderData, child, shape, vBox, svgPath, identity((const Matrix*)(&finalTr… in _appendClipUseNode() 225 static bool _appendClipChild(SvgLoaderData& loaderData, SvgNode* node, Shape* shape, const Box& vBo… in _appendClipChild() argument 228 return _appendClipUseNode(loaderData, node, shape, vBox, svgPath); in _appendClipChild() 230 return _appendClipShape(loaderData, node, shape, vBox, svgPath, nullptr); in _appendClipChild() [all …]
|
D | tvgShape.h | 38 Shape* shape; member 44 Impl(Shape* s) : shape(s) in Impl() 50 if (auto renderer = PP(shape)->renderer) { in ~Impl() 61 renderer->blend(PP(shape)->blendMethod); in render() 86 auto method = shape->composite(&target); in needComposition() 90 auto shape = static_cast<const Shape*>(target); in needComposition() local 91 if (!shape->fill()) { in needComposition() 93 shape->fillColor(&r, &g, &b, &a); in needComposition() 356 auto shape = static_cast<Shape*>(ret); in duplicate() local 357 if (shape) shape->reset(); in duplicate() [all …]
|
D | tvgSwCommon.h | 503 void shapeReset(SwShape* shape); 504 bool shapePrepare(SwShape* shape, const RenderShape* rshape, const Matrix& transform, const SwBBox&… 505 bool shapePrepared(const SwShape* shape); 506 bool shapeGenRle(SwShape* shape, const RenderShape* rshape, bool antiAlias); 507 void shapeDelOutline(SwShape* shape, SwMpool* mpool, uint32_t tid); 508 void shapeResetStroke(SwShape* shape, const RenderShape* rshape, const Matrix& transform); 509 bool shapeGenStrokeRle(SwShape* shape, const RenderShape* rshape, const Matrix& transform, const Sw… 510 void shapeFree(SwShape* shape); 511 void shapeDelStroke(SwShape* shape); 512 bool shapeGenFillColors(SwShape* shape, const Fill* fill, const Matrix& transform, SwSurface* surfa… [all …]
|
D | tvgText.cpp | 100 return pImpl->shape->fill(r, g, b); in fill() 106 return pImpl->shape->fill(std::move(f)); in fill()
|
D | tvgSvgPath.h | 31 bool svgPathToShape(const char* svgPath, Shape* shape);
|
D | tvgPaint.cpp | 82 auto shape = static_cast<Shape*>(cmpTarget); in _compFastTrack() local 86 auto ptsCnt = shape->pathCoords(&pts); in _compFastTrack() 262 auto shape = static_cast<Shape*>(target); in update() local 264 shape->fillColor(nullptr, nullptr, nullptr, &a); in update() 266 if (!shape->fill() && !(PP(shape)->compData)) { in update() 267 …d::AlphaMask && a == 255 && PP(shape)->opacity == 255) || (method == CompositeMethod::InvAlphaMask… in update()
|
D | tvgSwRaster.cpp | 1733 bool rasterGradientShape(SwSurface* surface, SwShape* shape, const Fill* fdata, uint8_t opacity) in rasterGradientShape() argument 1735 if (!shape->fill) return false; in rasterGradientShape() 1737 if (auto color = fillFetchSolid(shape->fill, fdata)) { in rasterGradientShape() 1739 return a > 0 ? rasterShape(surface, shape, color->r, color->g, color->b, a) : true; in rasterGradientShape() 1743 if (shape->fastTrack) { in rasterGradientShape() 1744 …(type == Type::LinearGradient) return _rasterLinearGradientRect(surface, shape->bbox, shape->fill); in rasterGradientShape() 1745 … (type == Type::RadialGradient)return _rasterRadialGradientRect(surface, shape->bbox, shape->fill); in rasterGradientShape() 1747 …f (type == Type::LinearGradient) return _rasterLinearGradientRle(surface, shape->rle, shape->fill); in rasterGradientShape() 1748 …f (type == Type::RadialGradient) return _rasterRadialGradientRle(surface, shape->rle, shape->fill); in rasterGradientShape() 1754 bool rasterGradientStroke(SwSurface* surface, SwShape* shape, const Fill* fdata, uint8_t opacity) in rasterGradientStroke() argument [all …]
|
D | tvgLoadModule.h | 107 virtual bool request(Shape* shape, char* text) = 0;
|
D | tvgSvgPath.cpp | 549 bool svgPathToShape(const char* svgPath, Shape* shape) in svgPathToShape() argument 561 auto& pts = P(shape)->rs.path.pts; in svgPathToShape() 562 auto& cmds = P(shape)->rs.path.cmds; in svgPathToShape()
|
D | tvgLottieParser.h | 103 bool parseDirection(LottieShape* shape, const char* key);
|
D | tvgLottieParser.cpp | 528 bool LottieParser::parseDirection(LottieShape* shape, const char* key) in parseDirection() argument 532 shape->clockwise = false; //default is true in parseDirection() 1153 else if (KEY_AS("sh")) selector->shape = (LottieTextRange::Shape) getInt(); in parseTextRange()
|
D | tvgLottieModel.h | 216 Shape shape = Square; member
|
/lvgl-latest/src/others/vg_lite_tvg/ |
D | vg_lite_tvg.cpp | 302 static Result shape_append_path(std::unique_ptr<Shape> & shape, vg_lite_path_t * path, vg_lite_matr… 303 static Result shape_append_rect(std::unique_ptr<Shape> & shape, const vg_lite_buffer_t * target, 598 auto shape = Shape::gen(); in vg_lite_clear() local 599 TVG_CHECK_RETURN_VG_ERROR(shape_append_rect(shape, target, rectangle)); in vg_lite_clear() 600 TVG_CHECK_RETURN_VG_ERROR(shape->blend(BlendMethod::SrcOver)); in vg_lite_clear() 601 TVG_CHECK_RETURN_VG_ERROR(shape->fill(TVG_COLOR(color))); in vg_lite_clear() 602 TVG_CHECK_RETURN_VG_ERROR(ctx->canvas->push(std::move(shape))); in vg_lite_clear() 660 auto shape = Shape::gen(); in vg_lite_blit_rect() local 661 TVG_CHECK_RETURN_VG_ERROR(shape_append_rect(shape, target, rect)); in vg_lite_blit_rect() 662 TVG_CHECK_RETURN_VG_ERROR(shape->transform(matrix_conv(matrix))); in vg_lite_blit_rect() [all …]
|
/lvgl-latest/demos/music/ |
D | README.md | 19 - Add extra bars next to the "main bars" with a cosine shape. Add more bars for the lower bands.
|
/lvgl-latest/docs/details/widgets/ |
D | scale.rst | 42 with tick marks below the line. If you need it to have a different shape, orientation
|
/lvgl-latest/docs/details/main-components/ |
D | image.rst | 313 …he example below the image is decoded line-by-line but the decoded area can have any shape and size
|