Home
last modified time | relevance | path

Searched refs:Fill (Results 1 – 24 of 24) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgFill.cpp32 Fill* RadialGradient::Impl::duplicate() in duplicate()
63 Fill* LinearGradient::Impl::duplicate() in duplicate()
81 Fill::Fill():pImpl(new Impl()) in Fill() function in Fill
86 Fill::~Fill() in ~Fill()
92 Result Fill::colorStops(const ColorStop* colorStops, uint32_t cnt) noexcept in colorStops()
116 uint32_t Fill::colorStops(const ColorStop** colorStops) const noexcept in colorStops()
124 Result Fill::spread(FillSpread s) noexcept in spread()
132 FillSpread Fill::spread() const noexcept in spread()
138 Result Fill::transform(const Matrix& m) noexcept in transform()
148 Matrix Fill::transform() const noexcept in transform()
[all …]
DtvgFill.h41 struct FillDup : DuplicateMethod<Fill>
48 Fill* duplicate() override in duplicate()
54 struct Fill::Impl
60 DuplicateMethod<Fill>* dup = nullptr;
69 void method(DuplicateMethod<Fill>* dup) in method()
74 Fill* duplicate() in duplicate()
98 Fill* duplicate();
110 Fill* duplicate();
Dthorvg.h496 class TVG_API Fill
511 virtual ~Fill();
569 Fill* duplicate() const noexcept;
587 _TVG_DECLARE_PRIVATE(Fill);
718 class TVG_API LinearGradient final : public Fill
787 class TVG_API RadialGradient final : public Fill
1020 Result stroke(std::unique_ptr<Fill> f) noexcept;
1101 Result fill(std::unique_ptr<Fill> f) noexcept;
1142 const Fill* fill() const noexcept;
1185 const Fill* strokeFill() const noexcept;
[all …]
DtvgCapi.cpp605 return (Tvg_Gradient*) reinterpret_cast<Fill*>(grad)->duplicate(); in tvg_gradient_duplicate()
612 delete(reinterpret_cast<Fill*>(grad)); in tvg_gradient_del()
648 …return (Tvg_Result) reinterpret_cast<Fill*>(grad)->colorStops(reinterpret_cast<const Fill::ColorSt… in tvg_gradient_set_color_stops()
655 …*cnt = reinterpret_cast<const Fill*>(grad)->colorStops(reinterpret_cast<const Fill::ColorStop**>(c… in tvg_gradient_get_color_stops()
663 return (Tvg_Result) reinterpret_cast<Fill*>(grad)->spread((FillSpread)spread); in tvg_gradient_set_spread()
670 *spread = (Tvg_Stroke_Fill) reinterpret_cast<const Fill*>(grad)->spread(); in tvg_gradient_get_spread()
678 …return (Tvg_Result) reinterpret_cast<Fill*>(grad)->transform(*(reinterpret_cast<const Matrix*>(m))… in tvg_gradient_set_transform()
685 …*reinterpret_cast<Matrix*>(m) = reinterpret_cast<Fill*>(const_cast<Tvg_Gradient*>(grad))->transfor… in tvg_gradient_get_transform()
693 *type = static_cast<Tvg_Type>(reinterpret_cast<const Fill*>(grad)->type()); in tvg_gradient_get_type()
767 return (Tvg_Result) reinterpret_cast<Text*>(paint)->fill(unique_ptr<Fill>((Fill*)(gradient))); in tvg_text_set_gradient()
DtvgLottieModel.cpp194 Array<Fill::ColorStop> output(count + alphaCnt); in populate()
199 Fill::ColorStop cs; in populate()
276 Fill* LottieGradient::fill(float frameNo, LottieExpressions* exps) in fill()
281 Fill* fill = nullptr; in fill()
318 const Fill::ColorStop* colorStops; in fill()
321 const_cast<Fill::ColorStop*>(&colorStops[i])->a = MULTIPLY(colorStops[i].a, opacity); in fill()
DtvgSvgCssStyle.cpp72 if (((from->fill.flags & SvgFillFlags::Paint) && !(to->flags & SvgStyleFlags::Fill)) || in _copyStyle()
73 _isImportanceApplicable(to->flagsImportance, from->flagsImportance, SvgStyleFlags::Fill)) { in _copyStyle()
82 to->flags = (to->flags | SvgStyleFlags::Fill); in _copyStyle()
83 if (from->flagsImportance & SvgStyleFlags::Fill) { in _copyStyle()
84 to->flagsImportance = (to->flagsImportance | SvgStyleFlags::Fill); in _copyStyle()
DtvgLottieExpressions.h105 bool result(float frameNo, Fill* fill, LottieExpression* exp) in result()
162 …template<typename Property> bool result(TVG_UNUSED float, TVG_UNUSED Fill*, TVG_UNUSED LottieExpre… in result()
DtvgSvgLoaderCommon.h130 Fill = 0x02, enumerator
455 Array<Fill::ColorStop> stops;
542 Fill::ColorStop gradStop;
DtvgLottieCommon.h50 Fill::ColorStop* data = nullptr;
DtvgRender.h110 Fill *fill = nullptr;
191 Fill *fill = nullptr;
236 const Fill* strokeFill() const in strokeFill()
DtvgSwCommon.h512 bool shapeGenFillColors(SwShape* shape, const Fill* fill, const Matrix& transform, SwSurface* surfa…
513 bool shapeGenStrokeFillColors(SwShape* shape, const Fill* fill, const Matrix& transform, SwSurface*…
530 bool fillGenColorTable(SwFill* fill, const Fill* fdata, const Matrix& transform, SwSurface* surface…
531 const Fill::ColorStop* fillFetchSolid(const SwFill* fill, const Fill* fdata);
567 bool rasterGradientShape(SwSurface* surface, SwShape* shape, const Fill* fdata, uint8_t opacity);
571 bool rasterGradientStroke(SwSurface* surface, SwShape* shape, const Fill* fdata, uint8_t opacity);
DtvgShape.cpp284 Result Shape::fill(unique_ptr<Fill> f) noexcept in fill()
305 const Fill* Shape::fill() const noexcept in fill()
346 Result Shape::stroke(unique_ptr<Fill> f) noexcept in stroke()
352 const Fill* Shape::strokeFill() const noexcept in strokeFill()
DtvgText.cpp104 Result Text::fill(unique_ptr<Fill> f) noexcept in fill()
DtvgSwFill.cpp69 static uint32_t _estimateAAMargin(const Fill* fdata) in _estimateAAMargin()
129 static bool _updateColorTable(SwFill* fill, const Fill* fdata, const SwSurface* surface, uint8_t op… in _updateColorTable()
138 const Fill::ColorStop* colors; in _updateColorTable()
828 bool fillGenColorTable(SwFill* fill, const Fill* fdata, const Matrix& transform, SwSurface* surface… in fillGenColorTable()
845 const Fill::ColorStop* fillFetchSolid(const SwFill* fill, const Fill* fdata) in fillFetchSolid()
849 const Fill::ColorStop* colors; in fillFetchSolid()
DtvgSvgSceneBuilder.cpp95 Fill::ColorStop* stops; in _applyLinearGradientProperty()
125 stops = (Fill::ColorStop*)calloc(stopCount, sizeof(Fill::ColorStop)); in _applyLinearGradientProperty()
150 Fill::ColorStop *stops; in _applyRadialGradientProperty()
184 stops = (Fill::ColorStop*)calloc(stopCount, sizeof(Fill::ColorStop)); in _applyRadialGradientProperty()
DtvgSwShape.cpp635 bool shapeGenFillColors(SwShape* shape, const Fill* fill, const Matrix& transform, SwSurface* surfa… in shapeGenFillColors()
641 bool shapeGenStrokeFillColors(SwShape* shape, const Fill* fill, const Matrix& transform, SwSurface*… in shapeGenStrokeFillColors()
DtvgLottieProperty.h571 Result operator()(float frameNo, Fill* fill, LottieExpressions* exps) in operator()
603 Array<Fill::ColorStop> result; in operator()
DtvgShape.h285 Result strokeFill(unique_ptr<Fill> f) in strokeFill()
DtvgLottieModel.h592 Fill* fill(float frameNo, LottieExpressions* exps);
DtvgSvgLoader.cpp1217 STYLE_DEF(fill, Fill, SvgStyleFlags::Fill),
2852 static void _cloneGradStops(Array<Fill::ColorStop>& dst, const Array<Fill::ColorStop>& src) in _cloneGradStops()
DtvgLottieBuilder.cpp280 ctx->propagator->stroke(unique_ptr<Fill>(stroke->fill(frameNo, exps))); in updateGradientStroke()
308 ctx->propagator->fill(unique_ptr<Fill>(fill->fill(frameNo, exps))); in updateGradientFill()
DtvgSwRaster.cpp1733 bool rasterGradientShape(SwSurface* surface, SwShape* shape, const Fill* fdata, uint8_t opacity) in rasterGradientShape()
1754 bool rasterGradientStroke(SwSurface* surface, SwShape* shape, const Fill* fdata, uint8_t opacity) in rasterGradientStroke()
/lvgl-latest/docs/details/integration/chip/
Dnxp.rst131 - Fill area with color (w/o radius, w/o gradient) + optional opacity.
366 - Fill area with color (w/ radius or gradient).
/lvgl-latest/src/others/vg_lite_tvg/
Dvg_lite_tvg.cpp1466 tvg::Fill::ColorStop colorStops[VLC_MAX_COLOR_RAMP_STOPS]; in vg_lite_draw_linear_grad()
1941 tvg::Fill::ColorStop colorStops[VLC_MAX_GRADIENT_STOPS]; in vg_lite_draw_grad()
1983 tvg::Fill::ColorStop colorStops[VLC_MAX_COLOR_RAMP_STOPS]; in vg_lite_draw_radial_grad()