MCPcopy Index your code
hub / github.com/microsoft/SandDance / fontSize

Function fontSize

docs/app/js/sanddance-app.js:122865–122867  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

122863 return width;
122864}
122865function fontSize(item) {
122866 return item.fontSize != null ? +item.fontSize || 0 : 11;
122867}
122868function lineHeight(item) {
122869 return item.lineHeight != null ? item.lineHeight : fontSize(item) + 2;
122870}

Callers 9

estimateWidthFunction · 0.70
measureWidthFunction · 0.70
lineHeightFunction · 0.70
widthGetterFunction · 0.70
fontFunction · 0.70
offsetFunction · 0.70
textFunction · 0.70
styleFunction · 0.70
cloudFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected