MCPcopy Index your code
hub / github.com/simstudioai/sim / emuToPx

Function emuToPx

apps/sim/lib/pptx-renderer/parser/units.ts:13–15  ·  view source on GitHub ↗
(emu: number)

Source from the content-addressed store, hash-verified

11
12/** EMU to pixels (at 96 DPI). */
13export function emuToPx(emu: number): number {
14 return (emu / 914400) * 96
15}
16
17/** EMU to points. */
18export function emuToPt(emu: number): number {

Callers 15

renderShapeFunction · 0.90
mergeParagraphPropsFunction · 0.90
mergeRunPropsFunction · 0.90
applyStyleBordersFunction · 0.90
applyCellPropertiesFunction · 0.90
resolveLineStyleFunction · 0.90
resolveGradientStrokeFunction · 0.90
buildPresentationFunction · 0.90
getPhXfrmFunction · 0.90
parseRowFunction · 0.90
parseTableNodeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected