Re: [whatwg] [canvas] matrix based changes on bitmaps

2012-09-21 Thread Jussi Kalliokoski
Please see the DSP API [1]. It's currently developed unofficially under the W3C Audio WG [2], so if you have input, please post it to the audiowg public mailing list. This should scratch your itch and more. ;) Cheers, Jussi [1] http://people.opera.com/mage/dspapi/ [2]

Re: [whatwg] isPointInPath on Path object

2012-09-21 Thread Rik Cabanier
On Fri, Sep 21, 2012 at 2:12 AM, Ian Hickson i...@hixie.ch wrote: On Thu, 20 Sep 2012, Dirk Schulze wrote: The interface of CanvasRenderingContext2D currently has a function called isPointInPath() with a Path object as input [1]. I wonder why this needs to be on the context interface.

Re: [whatwg] [canvas] matrix based changes on bitmaps

2012-09-21 Thread Rik Cabanier
On Mon, Apr 23, 2012 at 11:38 PM, Tyler Larson tallty...@gmail.com wrote: Can we add matrix transformations? Looping over every pixel in JavaScript is slow. Many cool things could be taken care of much faster if the canvas had some form of matrix manipulations built in. All of the pixels

[whatwg] New URL Standard

2012-09-21 Thread Anne van Kesteren
I took a crack at defining URLs: http://url.spec.whatwg.org/ At the moment it defines parsing (minus domain names / IP addresses) and the JavaScript API (minus the query manipulation methods proposed by Adam Barth). It defines things like setting .pathname to hello world (notice the space), it

Re: [whatwg] New URL Standard

2012-09-21 Thread Boris Zbarsky
On 9/21/12 11:16 AM, Anne van Kesteren wrote: It is based on the various URL code paths found in WebKit and Gecko and supports the \ as / in various places because it seemed better for compatibility. Or worse, depending on your use cases... * data URLs; in Gecko these appear to be parsed as

Re: [whatwg] New URL Standard

2012-09-21 Thread Julian Reschke
On 2012-09-21 17:16, Anne van Kesteren wrote: I took a crack at defining URLs: http://url.spec.whatwg.org/ At the moment it defines parsing (minus domain names / IP addresses) and the JavaScript API (minus the query manipulation methods proposed by Adam Barth). It defines things like setting

Re: [whatwg] [canvas] matrix based changes on bitmaps

2012-09-21 Thread Tyler Larson
On Sep 21, 2012, at 9:49 AM, Rik Cabanier caban...@gmail.com wrote: Support CSS Filters will satisfy this use case. There are a number of built-in filters (such as sepia and constrast) and even support for vertex and fragment shaders. The current spec doesn't have a shorthand for the generic

Re: [whatwg] [canvas] matrix based changes on bitmaps

2012-09-21 Thread Tab Atkins Jr.
On Fri, Sep 21, 2012 at 8:34 AM, Tyler Larson tallty...@gmail.com wrote: On Sep 21, 2012, at 9:49 AM, Rik Cabanier caban...@gmail.com wrote: Support CSS Filters will satisfy this use case. There are a number of built-in filters (such as sepia and constrast) and even support for vertex and

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-21 Thread Tab Atkins Jr.
On Thu, Sep 20, 2012 at 4:58 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 17 Sep 2012, Tab Atkins Jr. wrote: Heya, we at the SVGWG just resolved today to add equivalents for the CanvasPathMethods interface arc/ellipse/arcTo commands to the path element's syntax. Ideally, we'd be able to use

Re: [whatwg] [canvas] inner shadows

2012-09-21 Thread Rik Cabanier
With both types of shadow, you take the shape of the element and calculate the blur image. With an outer shadow, you take the result of the blur and composite it. After this, you composite the original shape. With an inner shadow, you draw the shape first followed by the blur image. Importantly,

Re: [whatwg] [canvas] matrix based changes on bitmaps

2012-09-21 Thread Rob Manson
Hi Tyler, really glad you started this discussion otherwise I never would have heard of the DSP API 8) On Sep 21, 2012, at 3:34 AM, Jussi Kalliokoski jussi.kallioko...@gmail.com wrote: Please see the DSP API [1]. It's currently developed unofficially under the W3C Audio WG [2], so if you