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

Function angleToDeg

apps/sim/lib/pptx-renderer/parser/units.ts:23–25  ·  view source on GitHub ↗
(angle: number)

Source from the content-addressed store, hash-verified

21
22/** OOXML angle (60000ths of a degree) to degrees. */
23export function angleToDeg(angle: number): number {
24 return angle / 60000
25}
26
27/** OOXML percentage (100000ths) to a decimal fraction (0..1 range for 0%..100%). */
28export function pctToDecimal(pct: number): number {

Callers 6

resolveGradientForTextFunction · 0.90
resolveGradientFunction · 0.90
resolveGradientFillNodeFunction · 0.90
resolveGradientStrokeFunction · 0.90
parseShapeNodeFunction · 0.90
parseBasePropsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected