MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getValue

Function getValue

valdi/src/valdi/runtime/Attributes/BorderRadius.cpp:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace Valdi {
11
12inline static PercentValue getValue(double value, bool isPercent) {
13 return PercentValue(value, isPercent);
14}
15
16inline static void setValue(PercentValue value, double& outValue, bool& outPercent) {
17 outValue = value.value;

Callers 13

getTopLeftMethod · 0.70
getTopRightMethod · 0.70
getBottomRightMethod · 0.70
getBottomLeftMethod · 0.70
nativeGetValueMethod · 0.50
nativeGetBoolValueMethod · 0.50
nativeGetDoubleValueMethod · 0.50
getTopLeftMethod · 0.50
getTopRightMethod · 0.50
getBottomRightMethod · 0.50
getBottomLeftMethod · 0.50
getStringValueMethod · 0.50

Calls 1

PercentValueClass · 0.85

Tested by

no test coverage detected