Searched refs:SvgViewFlag (Results 1 – 5 of 5) sorted by relevance
| /lvgl-latest/src/libs/thorvg/ |
| D | tvgSvgLoaderCommon.h | 226 enum class SvgViewFlag enum 236 constexpr bool operator &(SvgViewFlag a, SvgViewFlag b) 241 constexpr SvgViewFlag operator |(SvgViewFlag a, SvgViewFlag b) 243 return SvgViewFlag(int(a) | int(b)); 246 constexpr SvgViewFlag operator ^(SvgViewFlag a, SvgViewFlag b) 248 return SvgViewFlag(int(a) ^ int(b)); 279 SvgViewFlag viewFlag;
|
| D | tvgSvgLoader.h | 57 SvgViewFlag viewFlag = SvgViewFlag::None;
|
| D | tvgSvgSceneBuilder.h | 31 …RatioAlign align, AspectRatioMeetOrSlice meetOrSlice, const string& svgPath, SvgViewFlag viewFlag);
|
| D | tvgSvgLoader.cpp | 961 if (strstr(value, "%") && !(doc->viewFlag & SvgViewFlag::Viewbox)) { in _attrParseSvgNode() 962 doc->viewFlag = (doc->viewFlag | SvgViewFlag::WidthInPercent); in _attrParseSvgNode() 964 doc->viewFlag = (doc->viewFlag | SvgViewFlag::Width); in _attrParseSvgNode() 968 if (strstr(value, "%") && !(doc->viewFlag & SvgViewFlag::Viewbox)) { in _attrParseSvgNode() 969 doc->viewFlag = (doc->viewFlag | SvgViewFlag::HeightInPercent); in _attrParseSvgNode() 971 doc->viewFlag = (doc->viewFlag | SvgViewFlag::Height); in _attrParseSvgNode() 978 doc->viewFlag = (doc->viewFlag | SvgViewFlag::Viewbox); in _attrParseSvgNode() 987 if ((doc->viewFlag & SvgViewFlag::Viewbox) && (doc->vw < 0.0f || doc->vh < 0.0f)) { in _attrParseSvgNode() 988 … doc->viewFlag = (SvgViewFlag)((uint32_t)doc->viewFlag & ~(uint32_t)SvgViewFlag::Viewbox); in _attrParseSvgNode() 991 if (!(doc->viewFlag & SvgViewFlag::Viewbox)) { in _attrParseSvgNode() [all …]
|
| D | tvgSvgSceneBuilder.cpp | 886 static void _updateInvalidViewSize(const Scene* scene, Box& vBox, float& w, float& h, SvgViewFlag v… in _updateInvalidViewSize() 888 bool validWidth = (viewFlag & SvgViewFlag::Width); in _updateInvalidViewSize() 889 bool validHeight = (viewFlag & SvgViewFlag::Height); in _updateInvalidViewSize() 910 …tRatioAlign align, AspectRatioMeetOrSlice meetOrSlice, const string& svgPath, SvgViewFlag viewFlag) in svgSceneBuild() 918 …if (!(viewFlag & SvgViewFlag::Viewbox)) _updateInvalidViewSize(docNode.get(), vBox, w, h, viewFlag… in svgSceneBuild()
|