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 > wrote: > > Please see the DSP API [1]. It's currently developed unofficially > > under the W3C Audio WG [2], so if you have input, please pos

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, t

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 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 >> element's syntax. >> >> Ideally, we'd be able to use the sam

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 wrote: > On Sep 21, 2012, at 9:49 AM, Rik Cabanier 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 s

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

2012-09-21 Thread Tyler Larson
On Sep 21, 2012, at 9:49 AM, Rik Cabanier 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 'matrix' but it

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 .pa

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 p

[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 d

Re: [whatwg] c.c.rampley6...@gmail.com

2012-09-21 Thread Tim Leverett
I'm not sure what you're trying to do, but as you've now sent four blank emails to this mailing list, I'd ask that you please stop until you have something to share. ☺ On Fri, Sep 21, 2012 at 11:00 AM, Chad Rampley wrote: > >

Re: [whatwg] [canvas] inner shadows

2012-09-21 Thread Tyler Larson
On Sep 20, 2012, at 6:49 PM, Ian Hickson wrote: > Can't you do this using clip() easily enough? Maybe I'm missing something > important here. Can you elaborate? Here is an example of what I am talking about. http://i.imgur.com/Sy4xM.png Clip would mask something but adding an inner shadow is

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 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 could have one tra

Re: [whatwg] isPointInPath on Path object

2012-09-21 Thread Rik Cabanier
On Fri, Sep 21, 2012 at 2:12 AM, Ian Hickson 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. Wouldn'

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] http://www.w3.org/2011/audio