MCPcopy Create free account
hub / github.com/OCA/knowledge / getOutputScale

Function getOutputScale

attachment_preview/static/lib/ViewerJS/ui_utils.js:92–105  ·  view source on GitHub ↗

* Returns scale factor for the canvas. It makes sense for the HiDPI displays. * @return {Object} The object with horizontal (sx) and vertical (sy) scales. The scaled property is set to false if scaling is not required, true otherwise.

(ctx)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected