svgtopt/nvgdecoder/src/nvg.cpp
changeset 1 bfff372fb1f4
parent 0 d46562c3d99d
child 35 f16f4715cbe4
--- a/svgtopt/nvgdecoder/src/nvg.cpp	Thu Jan 07 16:19:02 2010 +0200
+++ b/svgtopt/nvgdecoder/src/nvg.cpp	Mon Jan 18 21:03:31 2010 +0200
@@ -843,11 +843,14 @@
                     {
                     idoFill = VG_TRUE;
                     }
-                TUint16 offset = aOffsetVector->DerefInt16L(lOffsetIx * sizeof(TUint16));
-
-                TDereferencer section = GetCommandSectionL(offset, aIconData, aNVGVersion);
-
-                DrawPathL(&section);
+                
+                if (idoStroke != VG_FALSE || idoFill != VG_FALSE)
+                    {
+                    TUint16 offset        = aOffsetVector->DerefInt16L(lOffsetIx * sizeof(TUint16));    
+                    TDereferencer section = GetCommandSectionL(offset, aIconData, aNVGVersion);
+    
+                    DrawPathL(&section);
+                    }
                 
                 break;
                 }