W3C home > Mailing lists > Public > www-svg@w3.org > April 2011

Re: SVG Feature Request: Toggle text selection sensitivity

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 7 Apr 2011 08:11:47 +1200
To: Charles Pritchard <chuck@jumis.com>
Cc: Rick <graham.rick@gmail.com>, "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@gmx.de>, "www-svg@w3.org" <www-svg@w3.org>
Message-ID: <20110406201147.GH27179@wok.mcc.id.au>
Charles Pritchard:
> Related to this thread, I'm exploring the possibility of enabling CSS
> pointer-events to work with canvas.
>
> The stroke(), fill() and clearRect properties are sufficient to
> maintain a 1bit per pixel bitmap as an incremental improvement on the
> relationship between DOM events and the 2d context.
>
> It seems quite manageable within existing specs; but would lump
> strokeText in with stroke(), or simply not composite strokeText /
> fillText onto the 1bit per pixel backing store.

I’m not sure why you need to maintain a separate 1bpp buffer.  We have
discussed in the past extending pointer-events with a value that means
“capture events on pixels that are not alpha=0”, which might be
sufficient.

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 6 April 2011 20:12:28 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:47 GMT