W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] Canvas Proposal: aliasClipping property

From: Charles Pritchard <chuck@jumis.com>
Date: Sat, 03 Oct 2009 16:10:53 -0700
Message-ID: <4AC7D9FD.6050902@jumis.com>
There have been a few discussions about anti-aliasing / aliasing in 
Canvas implementations.
Of those I read through, the conflict remains.

In some implementations: when drawImage is used along with a clipping path,
feathering is applied. This shows up in several projective 
transformation demos
contrasting Firefox with Chrome.

I believe that if we allow a toggle for this setting, we can bring some 
to the two systems.

Enumerate two aliasClipping values : "aliased", "feathered"

I consider "anti-aliased" to confusing, I think "feathered" is a better 


interface CanvasRenderingContext2D {
     attribute DOMString aliasClipping; // default "feathered"

context . aliasClipping [ = value ]

     Returns the current aliasing of the clipping region, as applied to 
rendering operations.

     Can be set, to change the aliasing value.

     If any of the arguments are not implemented, throws a 

CanvasRenderingContext2D.prototype.defineSetter('aliasClipping') { throw 
Received on Saturday, 3 October 2009 16:10:53 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:17 UTC