Evertjan.
1/31/2015 7:37:00 PM
catebekensail@yahoo.com wrote on 31 jan 2015 in comp.lang.javascript:
> Perhaps this is a question better asked in an html group, but I'm going
> with you guys. Most of the examples I see are javascript/jquery. You
> should know.
Don't ask jquery Q here.
> I have a huge image and I want to point out various areas as users click
> around. Say the image is a car. If the user clicks a TIRE link, a
> round circle will be drawn around the tire.
>
> That looks doable. This is the question. If the user now click
> HEADLIGHTS can I some how restore the TIRE area to normal (redraw the
> original image pixels under the circle) without an entire repaint?
Somehow it seems you will have to think in layers. How else would you
repaint complicated backgrounds?
However methinks you should ask in a 'canvas animation' dedicated forum,
as javascript is only the means.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)