MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / fontmetrics.js

File fontmetrics.js

Ports/JavaScriptPort/src/main/webapp/js/fontmetrics.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1
2// This flag affects drawString. If it is true, then drawString will use the alphabetic text baseline
3// Otherwise it will use the top text baseline. We used to use the top text baseline,
4// but there are inconsistencies between Firefox and Chrome. Chrome seems to add an offset.

Callers

nothing calls this directly

Calls 15

_isSafariFunction · 0.85
isIOSFunction · 0.85
_populateFunction · 0.85
isEventSupportedFunction · 0.85
$aFunction · 0.85
whenReadyFunction · 0.85
errorFunction · 0.85
dumpFunction · 0.85
gMethod · 0.80
jMethod · 0.80
getDeterminantMethod · 0.80
createTextNodeMethod · 0.80

Tested by

no test coverage detected