Sorry I think I was not clear enough : [EMAIL PROTECTED] wrote:
>Hi, > >There are no pixels in vector graphics. > but the rendering engine has to know the area to paint ?? >The best you can do is calculate >the enclosed surface in ECMAScript or JS and map it to your pixel size. > > > Right but that can be a complicated and time expensive algorithm (for any shape ... if I use dome kind of triangulation algorithm for instance) and I am sure these computations are already done (at least at the rendering level) because the graphic card has to know where to paint the fill zone. That was why I was thinking of pixels ... but If I had the surface of the fill zone in (SVG unit)^2 I would be very happy. Thanks JD >Ronan > > > >>Hi, >> >>I was wondering if the number of pixels of the area corresponding >>to the fill zone (fro a path element for instance) can be recovered >>using Javascript/Dom thechnique or other ???? >> >>The information is probably there because I assume the SVG engine >>already uses an algorithm to determine this fill zone from >>the path points .... >> >>Thanks >>JD >> >> >> >> >>----- >>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 unsubscribe send a message to: [EMAIL PROTECTED] >-or- >visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" >---- >Yahoo! Groups Links > > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- 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/

