• David Schnur's avatar
    Added methods to draw and measure text. · edc2bbd9
    David Schnur authored
    These methods provide a common way to draw HTML text above a canvas.
    
    The getTextInfo method generates div HTML for text with a given font
    style/class and angle, measures the element's dimensions, and saves
    everything in a cache.  The drawText method takes the resulting entry,
    finishes generating the inline styles necessary to position the div, and
    adds the result to a buffer.  The render method dumps the buffer into an
    overlay and expires unused cache entries.
    edc2bbd9
Name
Last commit
Last update
examples Loading commit data...
.gitignore Loading commit data...
API.md Loading commit data...
CONTRIBUTING.md Loading commit data...
FAQ.md Loading commit data...
LICENSE.txt Loading commit data...
Makefile Loading commit data...
NEWS.md Loading commit data...
PLUGINS.md Loading commit data...
README.md Loading commit data...
component.json Loading commit data...
excanvas.js Loading commit data...
excanvas.min.js Loading commit data...
flot.jquery.json Loading commit data...
jquery.colorhelpers.js Loading commit data...
jquery.flot.canvas.js Loading commit data...
jquery.flot.categories.js Loading commit data...
jquery.flot.crosshair.js Loading commit data...
jquery.flot.errorbars.js Loading commit data...
jquery.flot.fillbetween.js Loading commit data...
jquery.flot.image.js Loading commit data...
jquery.flot.js Loading commit data...
jquery.flot.navigate.js Loading commit data...
jquery.flot.pie.js Loading commit data...
jquery.flot.resize.js Loading commit data...
jquery.flot.selection.js Loading commit data...
jquery.flot.stack.js Loading commit data...
jquery.flot.symbol.js Loading commit data...
jquery.flot.threshold.js Loading commit data...
jquery.flot.time.js Loading commit data...
jquery.js Loading commit data...