W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > February 2012

[Bug 11739] I would like to see a clearPath or clearStroke functions similar to clearRect but to clear lines, not just full rectangles

From: <bugzilla@jessica.w3.org>
Date: Wed, 29 Feb 2012 22:16:01 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1S2roX-0007ca-5M@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=11739

--- Comment #6 from Tab Atkins Jr. <jackalmage@gmail.com> 2012-02-29 22:16:00 UTC ---
I've used the technique I outlined in Comment #1 for a Worms-like game before. 
When your gun hit, I did a clearRect() (clipped to a path) to remove pixels
from the "level" canvas.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 29 February 2012 22:16:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 29 February 2012 22:16:03 GMT