Raghu,
This shows that the problem is - your too big coordinates.
The difference between *stroke* and *stroke-dasharray* attributes is
that the last produces a lot of *small* lines with huge coordinates:
*stroke*
---------------------------------------------------------------
---------------------------------------------------------------
*stroke-dasharray*
----- -------- -------------- -------- ----------------
| | | | | | | |
----- -------- ------------- -------- ----------------
When the SVG Player calculates these *small* lines with *big*
coordinates the overflow occures and as a result unwanted lines
appear on the screen.
Best,
Andrew Girow
http://www.tinyline.com
--- In [email protected], "jayraghu04" <[EMAIL PROTECTED]>
wrote:
> Hi Andrew & Paul,
> Now I just removed stroke-dasharray attribute from both of the
> path element. Now it is works fine. What wrong in this stroke-
> dasharray attribute...
>
> --- In [email protected], "welkerpaul"
<[EMAIL PROTECTED]>
> wrote:
> > Raghu,
> > you ran into a well know asv limitation concerning 'tiny' arcs
and
> > ellipses. Andrew is right if he points at your most inappropriate
> > coordinate representation.
> > Subjects among others to consider:
> > -overall coordinates range should get closer to your viewbox
range.
> > Employ a sort of smart origin detection (topleft at 0,0 (+
matching
> > overall transformation if you'll tied to real coords)).
> > -employ relative stroking rather than absolute big numbers
> > -detect tiny arcs and consider stroking (interpolation) instead
> > hth
> > Paul
> >
> > --- In [email protected], "andrewgirow"
> > <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I an not an Adobe SVG Plugin expert, but when I saw your SVG
file
> I
> > > thought that may be your numbers are too big?
> > > Because at the end of the rendering those numbers are mapped
into
> > > something like screen size ...
> > >
> > > If you generated your file with some program try to make a new
> file
> > > with a less scale.
> > >
> > > Hope it helps,
> > > Andrew Girow
> > > http://www.tinyline.com
> > >
> > >
> > > --- In [email protected], raghu raman
> > <[EMAIL PROTECTED]>
> > > wrote:
> > > > Hi there,
> > > > I am a novice developer working in SVG for quite
> > > > sometime now. I faced a strange thing now for which I
> > > > am in urge to find a solution.
> > > > This is the description of the problem.
> > > >
> > > > I just have only two lengthy PATH elements in my SVG
> > > > file. Strangely, When I load the SVG file in my
> > > > browser, I get an extra line which vanishes when I
> > > > zoomIn or zoomOut. This line appears back when I
> > > > refresh the browser. I do not if it is a limitation in
> > > > Adobe plugin or any bug in my code. SVG gurus, please
> > > > help me to get to the solution.
> > > >
> > > > <svg preserveAspectRatio="xMidYMid meet" width="990"
> > > > height="495" id="screen" viewBox="-947799691 248699786
> > > > 233862 116931" >
> > > > <g id="id-2241">
> > > > <g onclick="Unhighlight(evt);"
> > > > onmouseout="Unhighlight(evt);"
> > > > onmouseover="Highlight(evt);">
> > > > <g id="id-2241-4480">
> > > > <desc>MyClass1 : Nutz</desc>
> > > > <g id="objid-2241-33169923">
> > > > <desc>MyObject1</desc>
> > > > <g id="comp-2241-9006-33169924">
> > > > <g
> > > >
> > > > style="stroke:rgb(51,51,51);stroke-dasharray:800,500;stroke-
> > > width:50;fill:none;fill-opacity:0">
> > > > <path d="M
> > > > -948145170,248620040 L -948143530,248602099 L
> > > > -948134460,248578500 L
> > > > -948119680,248555340 L -948111220,248514500 L
> > > > -948117580,248467500 L
> > > > -948100000,248408269 L -948071950,248357849 L
> > > > -947980620,248303030 L
> > > > -947985980,248231700 L -948022190,248163210 L
> > > > -948019070,248099610 L
> > > > -948063110,248040050 L -948082610,247963360 L
> > > > -948028520,247973630 L
> > > > -947985770,247979099 L -947956110,247981530 L
> > > > -947906030,247982870 L
> > > > -947857580,247981139 L -947829350,247961740 L
> > > > -947800110,247941710 L
> > > > -947764580,247920440 L -947715490,247905099 L
> > > > -947665910,247887440 L
> > > > -947624520,247871059 L -947582440,247852660 L
> > > > -947570710,247885360 L
> > > > -947554800,247930830 L -947536330,247959870 L
> > > > -947517640,247982650 L
> > > > -947503850,248017380 L -947502740,248037340 L
> > > > -947462200,248059380 L
> > > > -947441020,248070830 L -947414400,248091040 L
> > > > -947395240,248115280 L
> > > > -947416000,248155110 L -947415999 248155109
> > > > A 269350 269350 0 0 0
> > > > -947431359 248158090 L -947431359 248158089 A
> > > > 269520 269520 0 0 0
> > > > -947471879 248170579 L -947471880,248170580 L
> > > > -947528670,248197620 L
> > > > -947555810,248211870 L -947574210,248223940 L
> > > > -947574209 248223939 A
> > > > 93510 93510 0 0 0 -947600669 248250169 L
> > > > -947600670,248250170 L
> > > > -947606880,248260519 L -947606879 248260519
> > > > A 36130 36130 0 0 0
> > > > -947610109 248281959 L -947610110,248281960 L
> > > > -947608050,248291580 L
> > > > -947612870,248292030 L -947622850,248287300 L
> > > > -947645540,248260389 L
> > > > -947664650,248266970 L -947713040,248278269 L
> > > > -947724700,248314660 L
> > > > -947702880,248324800 L -947696520,248328790 L
> > > > -947698280,248331220 L
> > > > -947709150,248347500 L -947709149 248347499
> > > > A 14880 14880 0 0 0
> > > > -947717729 248354979 L -947717730,248354980 L
> > > > -947722960,248365500 L
> > > > -947724510,248368070 L -947795410,248416300 L
> > > > -947794450,248451790 L
> > > > -947800300,248459269 L -947824720,248491500 L
> > > > -947822840,248493150 L
> > > > -947802930,248510690 L -947808320,248517780 L
> > > > -947806330,248519290 L
> > > > -947756480,248564000 L -947786350,248592730 L
> > > > -947810530,248616059 L
> > > > -947834600,248640519 L -947852680,248659530 L
> > > > -947868580,248679450 L
> > > > -947882680,248700680 L -947899400,248726389 L
> > > > -947908170,248741559 L
> > > > -947913100,248739030 L -947944910,248722720 L
> > > > -947995750,248696360 L
> > > > -948051670,248667809 L -948119450,248633210 L
> > > > -948145170,248620040
> > > > Z"/>
> > > > </g>
> > > > </g>
> > > >
> > > > <desc>range:-948145170:248741559:-947395240:247852660</desc>
> > > > </g>
> > > > </g>
> > > > </g>
> > > > </g>
> > > > <g id="id-2280-3062">
> > > > <desc>MyClass2 : belenskabel</desc>
> > > > <g id="objid-2280-17792569">
> > > > <desc>MyObject2</desc>
> > > > <g id="comp-2280-3077-17792570">
> > > > <g
> > > >
> > > > style="stroke:rgb(0,222,0);stroke-
> > dasharray:700,300,100,300;stroke-
> > > width:100;fill:none;fill-opacity:0">
> > > > <path d="M -947666390,248824620 L
> > > > -947672330,248825920 L -947678750,248821740 L
> > > > -947680950,248819960 L
> > > > -947682390,248818639 L -947683450,248817559 L
> > > > -947683470,248816820"/>
> > > > </g>
> > > > </g>
> > > > </g>
> > > > </g>
> > > > </svg>
> > > >
> > > >
> > > >
> > > > Regards
> > > > Raghu
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
______________________________________________________________________
> > > __
> > > > Yahoo! India Matrimony: Find your life partner online
> > > > Go to: http://yahoo.shaadi.com/india-matrimony
-----
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/