Intent to Implement : antialiased clipping in canvas

16 views
Skip to first unread message

Robert Phillips

unread,
Oct 13, 2014, 1:10:09 PM10/13/14
to blin...@chromium.org

Contact emails


Spec


The spec seems intentionally vague regarding the antialiasing of clips so Blink isn't doing anything non-compliant but performing antialiased draws but aliased clipping seems contrary to end-user expectations.

Summary
Currently, add settings flag to Blink to allow switching the behavior of the canvas element.

Motivation
Many web developers would like antialiased clipping in canvas so there is less aliasing.

Compatibility Risk

It appears that FireFox is already supporting antialiased clips while Opera does not.

Ongoing technical constraints

None.

Will this feature be supported on all five Blink platforms (Windows, Mac, Linux, Chrome OS and Android)?
Yes - Skia supports antialiased clipping on all of these platforms.

Justin Novosad

unread,
Oct 14, 2014, 1:11:50 PM10/14/14
to Robert Phillips, blink-dev
To be clear: there are no web-facing API changes for this feature. It is simply a change in rendering behavior, which will ship as experimental at first.
Reply all
Reply to author
Forward
0 new messages