Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26769

canvas; draw vector then restore overwritten area later

Newsgroups comp.lang.javascript
Date 2015-01-31 11:19 -0800
Message-ID <d9b67bb2-7621-4fcf-ac46-dc41636aefb2@googlegroups.com> (permalink)
Subject canvas; draw vector then restore overwritten area later
From catebekensail@yahoo.com

Show all headers | View raw


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.

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?

Thanks in advance.

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

canvas; draw vector then restore overwritten area later catebekensail@yahoo.com - 2015-01-31 11:19 -0800
  Re: canvas; draw vector then restore overwritten area later "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-01-31 20:36 +0100
  Re: canvas; draw vector then restore overwritten area later Denis McMahon <denismfmcmahon@gmail.com> - 2015-01-31 20:09 +0000
  Re: canvas; draw vector then restore overwritten area later Dr J R Stockton <reply1500@merlyn.demon.co.uk.invalid> - 2015-02-01 20:08 +0000
    Re: canvas; draw vector then restore overwritten area later Mike Duffy <md_004@videotron.ca> - 2015-02-04 00:58 -0500
      Re: canvas; draw vector then restore overwritten area later Dr J R Stockton <reply1500@merlyn.demon.co.uk.invalid> - 2015-02-05 23:16 +0000
        Re: canvas; draw vector then restore overwritten area later Mike Duffy <md_004@videotron.ca> - 2015-02-05 20:34 -0500
        Re: canvas; draw vector then restore overwritten area later "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-02-05 20:32 -0800
          Re: canvas; draw vector then restore overwritten area later Mike Duffy <md_004@videotron.ca> - 2015-02-06 00:28 -0500
  Re: canvas; draw vector then restore overwritten area later "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-02-01 18:58 -0800

csiph-web