Permalink
Switch branches/tags
Nothing to show
Commits on Dec 17, 2010
Commits on Dec 12, 2010
  1. VML radial gradient fix

    sebmarkbage committed Dec 12, 2010
Commits on Nov 24, 2010
  1. Blend doesn't work properly in IE after all

    Works for IE7 and IE8 document modes in IE9 but not native IE7 and IE8.
    Disabling blend completely for VML. Can be simulated on individual elements by adjusting the stroke fill opacity but not on image fills.
    sebmarkbage committed Nov 24, 2010
Commits on Nov 23, 2010
  1. Deprecated .measure() API

    Shapes are expected to supply an explicit box width/height.
    Explicit size can be read as basic properties .width, .height etc.
    Built in shapes and ART.Font sets have an implied size.
    ART.Text automatically measures and sets size basic properties.
    .measure() is still available on ART.Path for advanced uses.
    sebmarkbage committed Nov 23, 2010
  2. Renamed onTransform back into _transform.

    It's a private API.
    sebmarkbage committed Nov 23, 2010
  3. Disabled Group measure

    - Too computational expensive
    - Doesn't take child transforms into account
    - Bad practice
    - Use an explicit box model instead such as in the viewport proposal
    
    Disabled measure in rotate until we have an explicit box model. Default x,y == 0
    sebmarkbage committed Nov 23, 2010
  4. Renamed setOpacity to blend

    + Consistent use of verbs.
    + Can be extended with a second argument specifying one of several other blending effects (feBlend: multiply, screen, darken, lighten).
    + Works as a transition verb with Fx keyframe filters. E.g. shape.tween(1000).blend(0.5);
    sebmarkbage committed Nov 23, 2010
  5. Naive implementation of setOpacity in VML

    - Overrides any existing filters. TODO: Provide unified model with other others (blur etc.)
    - Doesn't work on Groups when run in IE8 document mode. Workaround: Use IE7 document mode or apply to individual shapes.
    sebmarkbage committed Nov 23, 2010
Commits on Nov 22, 2010
  1. Unified ART.Font API with ART.Text

    Flipped text/font arguments. Font is now accepted as a single argument.
    Either as a style object, font string or cufon font object w/ size.
    sebmarkbage committed Nov 22, 2010
  2. Whitespace fix

    sebmarkbage committed Nov 22, 2010
  3. Extracted transforms into a common mixin-able or stand-alone Class + …

    …Changed fill arguments
    
    Breaking changes
    - translate/move, rotate, scale are now relative just like on Path. moveTo, rotateTo, scaleTo are equivalent absolute methods.
    - fillRadial now includes an optional additional radius value. centerX/Y values are pushed one argument.
    - fillRadial now uses shape coordinates rather than coordinates relative to the bounding box. More often useful and less computational. Default values still uses the bounding box. Future optimization possible if all values are default.
    - fillImage now includes left/top arguments for positioning an image fill. color values are pushed two arguments.
    Known Issues
    - VML Gradients and Transforms on VML Image Fills are broken. Fix coming up.
    sebmarkbage committed Nov 22, 2010
Commits on Nov 21, 2010
  1. Renamed listen -> subscribe

    Enables the other model to be available in extensions for backwards/future compatibility.
    Cleaned up Table folder from previous commit.
    sebmarkbage committed Nov 21, 2010
Commits on Nov 18, 2010
  1. Simplified event model, no more dependencies on Table, bind argument …

    …for listeners
    
    Allows for simple attach/detach patterns.
    Leave it to MooTools to provide an extended event model if needed.
    sebmarkbage committed Nov 18, 2010
Commits on Oct 27, 2010
  1. Merge branch 'master' of github.com:kamicane/art

    Conflicts:
    	Source/ART.js
    kamicane committed Oct 27, 2010
Commits on Sep 5, 2010
  1. - updated color

    kamicane committed Sep 5, 2010
  2. - added missing provides.

    kamicane committed Sep 5, 2010
Commits on Jul 29, 2010
  1. use skew for transformation

    sebmarkbage committed Jul 29, 2010
Commits on Jul 27, 2010
Commits on Jul 23, 2010
Commits on Jul 22, 2010
  1. ART.Text now vertically aligns to the top instead of the middle of th…

    …e first row, if no path is supplied
    
    - Better consistency with the rest of the API and the HTML/CSS box model.
    - Paths are still vertically aligned middle. Neither bottom nor top alignment is useful for paths.
    - Alphabetic baseline would be optimal but there is no proper way to support it in VML.
    sebmarkbage committed Jul 22, 2010
  2. Added native text rendering for SVG and VML

    - Path.splitContinuous() adds the ability to split multi-shape paths into a single-shape paths. (Used by SVG.Text to split paths into multiple lines.)
    - Known issue with scaling in VML. New VML transform model coming.
    - Word-wrap and overflow handling is added separately later.
    sebmarkbage committed Jul 22, 2010
Commits on Jul 10, 2010
  1. Removed measure() on Shape/Group, replaced with explicit viewport

    - setViewport(w, h) defines an explicit viewport for a Shape between 0,0 - w,h.
    - This viewport is used by rotate and resize transform methods.
    - It can also be used by other code expecting a Shape to take up layout space.
    - The default viewport takes up no space (0,0).
    sebmarkbage committed Jul 10, 2010
  2. Expanded Path utility methods

    - Added absolute commands with the "To"-suffix.
    - Renamed "bezier" command to the more common "curve".
    - The "curve" command now accepts 0, 1 or 2 control points (represented by the SVG Path commands: t, q, c)
    sebmarkbage committed Jul 10, 2010
Commits on Jul 8, 2010
Commits on Jun 18, 2010
  1. Font needs to return the full set of measurement values (left, top, r…

    …ight, bottom, width, height).
    
    Otherwise consumers (such as rotate) need to check for null values everywhere.
    sebmarkbage committed Jun 18, 2010
  2. Back to dev version

    sebmarkbage committed Jun 18, 2010
Commits on May 26, 2010