D | tvgSvgCssStyle.cpp | 4 * Permission is hereby granted, free of charge, to any person obtaining a copy 5 * of this software and associated documentation files (the "Software"), to deal 7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 * copies of the Software, and to permit persons to whom the Software is 9 * furnished to do so, subject to the following conditions: 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 42 static void _copyStyle(SvgStyleProperty* to, const SvgStyleProperty* from) in _copyStyle() argument 46 if ((from->curColorSet && !(to->flags & SvgStyleFlags::Color)) || in _copyStyle() 47 _isImportanceApplicable(to->flagsImportance, from->flagsImportance, SvgStyleFlags::Color)) { in _copyStyle() 48 to->color = from->color; in _copyStyle() [all …]
|