Home
last modified time | relevance | path

Searched refs:SvgStyleFlags (Results 1 – 3 of 3) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgSvgCssStyle.cpp34 …tatic bool _isImportanceApplicable(SvgStyleFlags &toFlagsImportance, SvgStyleFlags fromFlagsImport… in _isImportanceApplicable()
46 if ((from->curColorSet && !(to->flags & SvgStyleFlags::Color)) || in _copyStyle()
47 _isImportanceApplicable(to->flagsImportance, from->flagsImportance, SvgStyleFlags::Color)) { in _copyStyle()
50 to->flags = (to->flags | SvgStyleFlags::Color); in _copyStyle()
51 if (from->flagsImportance & SvgStyleFlags::Color) { in _copyStyle()
52 to->flagsImportance = (to->flagsImportance | SvgStyleFlags::Color); in _copyStyle()
55 if (((from->flags & SvgStyleFlags::PaintOrder) && !(to->flags & SvgStyleFlags::PaintOrder)) || in _copyStyle()
56 … _isImportanceApplicable(to->flagsImportance, from->flagsImportance, SvgStyleFlags::PaintOrder)) { in _copyStyle()
58 to->flags = (to->flags | SvgStyleFlags::PaintOrder); in _copyStyle()
59 if (from->flagsImportance & SvgStyleFlags::PaintOrder) { in _copyStyle()
[all …]
DtvgSvgLoaderCommon.h127 enum class SvgStyleFlags enum
150 constexpr bool operator &(SvgStyleFlags a, SvgStyleFlags b)
155 constexpr SvgStyleFlags operator |(SvgStyleFlags a, SvgStyleFlags b)
157 return SvgStyleFlags(int(a) | int(b));
501 SvgStyleFlags flags;
502SvgStyleFlags flagsImportance; //indicates the importance of the flag - if set, higher priority is…
DtvgSvgLoader.cpp1116 node->style->flags = (node->style->flags | SvgStyleFlags::Opacity); in _handleOpacityAttr()
1168 node->style->flags = (node->style->flags | SvgStyleFlags::Display); in _handleDisplayAttr()
1176 node->style->flags = (node->style->flags | SvgStyleFlags::PaintOrder); in _handlePaintOrderAttr()
1214 SvgStyleFlags flag;
1216 STYLE_DEF(color, Color, SvgStyleFlags::Color),
1217 STYLE_DEF(fill, Fill, SvgStyleFlags::Fill),
1218 STYLE_DEF(fill-rule, FillRule, SvgStyleFlags::FillRule),
1219 STYLE_DEF(fill-opacity, FillOpacity, SvgStyleFlags::FillOpacity),
1220 STYLE_DEF(opacity, Opacity, SvgStyleFlags::Opacity),
1221 STYLE_DEF(stroke, Stroke, SvgStyleFlags::Stroke),
[all …]