Hi Holger,

[email protected] wrote on 08/01/2006 11:07:03 AM:

>> I would like to get an element from a x,y point 
>> (like in HTML)[..] Does anyone know such a function ?

> there are four methods of the SVGSVGElement ( 
> http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGSVGElement ) which 
> you could use:
> 
>   NodeList      getIntersectionList ( in SVGRect rect, in SVGElement 
referenceElement );
>   NodeList      getEnclosureList ( in SVGRect rect, in SVGElement 
referenceElement );
>   boolean       checkIntersection ( in SVGElement element, in SVGRect 
rect );
>   boolean       checkEnclosure ( in SVGElement element, in SVGRect rect 
);
> 
>  but unfortunatly they are not implemented anywhere.

   Actually they are all implemented in the SVN version of Batik. ;)

> I doubt that you will be able to write a function to get a points color 
> either, as there are no pixels in SVG, and therefor you dont have access 

> to pixel values.

   Quite correct.  The WG will likely specify something along these
lines but to be honest I think it will be problematic (too many cases
where it won't give/do what people want or else be nigh impossible to
implement, I think).



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to