|
![](/i/fill.gif) |
Warp nous apporta ses lumieres en ce 2007/06/15 07:06:
> Bill Pragnell <bil### [at] hotmail com> wrote:
>> Well, it'd certainly be nice to be able to use SVGs as image_maps - no
>> interpolation required! I know you can almost do this already with object
>> patterns but it's a bit fiddly. Would it also cut down on memory usage if
>> you had many simple image_maps?
>
> How would you determine that a given point is, for example, on a
> polyline or inside a polygon?
>
> The thing with vector graphics is that they are easy to draw as a whole:
> Just draw a line for each line in the input, fill polygons for filled
> polygons, and so on. However, if you have to determine for a random point
> what is its color, it becomes a bit more complicated.
>
You could use a method similar as the one used for fonts rendering. After all,
TTFs are a kind of, specialised, vector drawn images. At least, that's what it
looks like when you use a font editor to create or modify a font file.
--
Alain
-------------------------------------------------
"The way England treats her prisoners, she doesn't deserve to have any."
--Oscar Wilde
Post a reply to this message
|
![](/i/fill.gif) |