Re: Images in Horizontal rules......

S.N.Brodie@ecs.soton.ac.uk
Wed, 26 Jun 1996 14:24:41 -0500


Message-Id: <9606261917.AA09150@www10.w3.org>
Date: Wed, 26 Jun 1996 14:24:41 -0500
To: galactus@stack.urc.tue.nl
From: S.N.Brodie@ecs.soton.ac.uk
Subject: Re: Images in Horizontal rules......
Cc: www-html@w3.org

Arnoud "Galactus" Engelfriet wrote:
> 
> In article <199606231401.KAA02116@tir.com>,
> "The Boss" <matthew@tir.com> wrote:
> > I believe a proposal can be worked out where the image map as a whole 
> > is resized included the pixels of the image and the map click able 
> 
> In theory, yes. One suggestion is that the browser translates the
> clicked location with the corresponding dot in the original map. But
> I'm not sure how to implement this reliably, as there are many cases
> in which such a mapping would get incorrect results.

In what way could it be incorrect?

Provided that you remember the size of the original image in pixels,
you can always provide a mapping from the bounding box of a rendered
graphic back to the original image by just multiplying coordinates by
(original size/scaled size)

I would have thought that this was obvious - or am I overlooking some
vital piece of information here?


-- 
Stewart Brodie, Electronics & Computer Science, Southampton University.
http://www.ecs.soton.ac.uk/~snb94r/      http://delenn.ecs.soton.ac.uk/

End of www-html-d Digest V96 Issue #115
***************************************