MCPcopy
hub / github.com/veasion/AiPPT / scaleAnchor

Function scaleAnchor

static/ppt2svg.js:258–260  ·  view source on GitHub ↗
(point)

Source from the content-addressed store, hash-verified

256 }
257
258 function scaleAnchor(point) {
259 return point ? [...point.map(s => s * zoom)] : point
260 }
261
262 function scaleValue(value) {
263 return value ? value * zoom : value

Callers 11

shapeHandleFunction · 0.85
drawBackgroundFunction · 0.85
drawTextWithGFunction · 0.85
drawTableColumnFunction · 0.85
drawDiagramFunction · 0.85
drawContainerFunction · 0.85
drawGraphicFrameFunction · 0.85
drawGeometryFunction · 0.85
toPaintFunction · 0.85
calcPointListFunction · 0.85
doElementRotateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected