Permalink
Commits on Jan 18, 2013
  1. Bugfixes to Path

    sebmarkbage committed Jan 18, 2013
Commits on Jan 17, 2013
  1. Started consolidating repos

    sebmarkbage committed Jan 17, 2013
Commits on Mar 16, 2012
  1. Begin refactoring Path to not hold state

    Information about a Path can be read through ART.Metrics.Path.
    sebmarkbage committed Mar 16, 2012
Commits on Sep 25, 2011
Commits on Mar 29, 2011
  1. Eject function was ejecting the wrong element on VML canvas.

    It has two elements.
    sebmarkbage committed Mar 29, 2011
  2. Avoid redeclaring variable

    sebmarkbage committed Mar 29, 2011
Commits on Mar 24, 2011
  1. n00b

    sebmarkbage committed Mar 24, 2011
Commits on Mar 23, 2011
Commits on Mar 20, 2011
  1. Ugly and slow fixes to ART.Font

    Supports alignment and parsing of glyphs generated by ART.Path.toVML
    TODO: Refactor together with ART.Path
    sebmarkbage committed Mar 20, 2011
  2. Switched to my (calyptus) fork of Color

    Includes HSL support and specs
    sebmarkbage committed Mar 20, 2011
  3. Better curve flatness estimation

    This model may change a couple of times as there is no optimal solution.
    sebmarkbage committed Mar 20, 2011
Commits on Jan 29, 2011
  1. More Docs

    sebmarkbage committed Jan 29, 2011
Commits on Jan 19, 2011
  1. Smarter path concatenation

    sebmarkbage committed Jan 19, 2011
  2. Added curve-to-line algorithm.

    Curve visitor is now optional.
    This enables length/point measurements.
    Memoized SVG path in constructor TODO: lazy parse
    sebmarkbage committed Jan 19, 2011
  3. Moved path splitting into ART.SVG.Text.

    Uses the visitor pattern for simpler code.
    Not common enough to warrant an ART.Path API for it.
    sebmarkbage committed Jan 19, 2011
Commits on Jan 18, 2011
  1. Refactored ART.Path extrapolator into a generic visitor pattern

    Moved toVML into ART.VML
    Moved memoized values into a cache object that can be used and reset by all extensions.
    sebmarkbage committed Jan 18, 2011
  2. Split move/translate methods. Renamed tx, ty properties to x, y so tr…

    …ansforms can be used as points
    
    Translate now is order dependent like traditional transforms. Move is the simpler model.
    Scale and Rotate remain simpler.
    sebmarkbage committed Jan 18, 2011
Commits on Jan 17, 2011
  1. Enabled arc to bezier curve conversion for elliptical arcs

    TODO: Generic visitor
    sebmarkbage committed Jan 17, 2011
Commits on Jan 12, 2011
  1. The ART elements have a read only API. No getPath(), no measure()

    Don't waste memory and don't code backwards (DOM centric).
    sebmarkbage committed Jan 12, 2011
  2. return this!

    sebmarkbage committed Jan 12, 2011
  3. return this

    sebmarkbage committed Jan 12, 2011
Commits on Jan 10, 2011
  1. Fix indentation in ART.js

    arian committed Jan 10, 2011
Commits on Jan 9, 2011
  1. SVG Path fixes

    - The pivot point need to be reset if the previous point isn't a curve.
    - The calculateArc function expects relative x,y values.
    sebmarkbage committed Jan 9, 2011
Commits on Jan 7, 2011
  1. Handle empty paths

    sebmarkbage committed Jan 7, 2011
  2. Added support for showing cursors and tooltips

    - Unusual API: indicate(cursor, tooltip)
    - Consistent with the other single word verbs.
    - Encourage code quality by declaring indicators explicitly on the same place.
    - Alternative API suggestion: describe(tooltip, cursor)
    sebmarkbage committed Jan 7, 2011
  3. Safari and IE has problems with baseline too.

    Using em adjustment guesstimate. Works well for common web safe fonts although not perfectly.
    sebmarkbage committed Jan 7, 2011
  4. Adjustments to SVG.Text baseline and whitespace rendering

    Opera lacks dominant-baseline attribute support. The workaround is just an estimate.
    sebmarkbage committed Jan 7, 2011
Commits on Jan 6, 2011
  1. SVG paths allow the implicit commands if multiple parameters are used.

    Converting this to individual commands at the parse step so they're easier to work with once parsed.
    sebmarkbage committed Jan 6, 2011
Commits on Dec 30, 2010
  1. Children are no longer necessary in SVG since we don't need measure.

    ART is not a DOM. If you want a DOM, use the DOM.
    sebmarkbage committed Dec 30, 2010