MCPcopy Index your code
hub / github.com/altert/OpenseadragonFabricjsOverlay

github.com/altert/OpenseadragonFabricjsOverlay @0.5.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.5.0 ↗ · + Follow
1,055 symbols 1,964 edges 12 files 617 documented · 58%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

OpenSeadragonFabricjsOverlay

An OpenSeadragon plugin that adds fabricjs overlay capability.

Compatible with OpenSeadragon 2.1.0 or greater.

Documentation

To use, include the openseadragon-fabricjs-overlay.js file after openseadragon.js on your web page.

To add fabricjs overlay capability to your OpenSeadragon Viewer, call fabricjsOverlay({scale: scaleWidth}) on it. scaleWidth is arbitrary scale for created fabric canvas. 0 corresponds to 0 and scaleWidth corresponds to 1 in OpenSeadragon viewport coordinates. This will return a new object with the following methods:

  • fabricCanvas(): Returns fabricjs canvas that you can add elements to
  • resize(): If your viewer changes size, you'll need to resize the fabricjs overlay by calling this method.

See online demo or demo.html for an example of it in use.

Thanks

support for multiple overlays commissioned by qikkeronline - thanks for supporting open source

Core symbols most depended-on inside this repo

extend
called by 39
fabric/archive/1.7.17/fabric.adapted.js
extend
called by 39
fabric/archive/1.7.17/fabric.js
resolveUrl
called by 36
openseadragon/openseadragon.js
extend
called by 24
fabric/fabric.adapted.js
extend
called by 24
fabric/archive/4.0.0-rc1/fabric.adapted.js
extend
called by 24
fabric/archive/3.6.3/fabric.adapted.js
extend
called by 24
fabric/archive/3.6.3/fabric.js
createClass
called by 18
fabric/fabric.adapted.js

Shape

Function 1,055

Languages

TypeScript100%

Modules by API surface

openseadragon/openseadragon.js181 symbols
fabric/fabric.adapted.js157 symbols
fabric/archive/4.0.0-rc1/fabric.adapted.js157 symbols
fabric/archive/3.6.3/fabric.js128 symbols
fabric/archive/3.6.3/fabric.adapted.js128 symbols
fabric/archive/1.7.17/fabric.js125 symbols
fabric/archive/1.7.17/fabric.adapted.js125 symbols
openseadragon/openseadragon.min.js50 symbols
openseadragon-fabricjs-overlay.js1 symbols
fabric/archive/4.0.0-rc1/openseadragon-fabricjs-overlay.js1 symbols
fabric/archive/3.6.3/openseadragon-fabricjs-overlay.js1 symbols
fabric/archive/1.7.17/openseadragon-fabricjs-overlay.js1 symbols

For agents

$ claude mcp add OpenseadragonFabricjsOverlay \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page