Bug 982 : loadShape(); doesn't parse transformations correctly and crashes when drawing emtpy paths
Last modified: 2008-11-04 10:59




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
Ricard
Assigned To:
fry

Attachment Type Created Size Actions
Test case for the transform and empty path SVG application/zip 2008-10-24 09:28 46.13 KB
PShapeSVG.java that solves the parsing of transformations with comas text/x-java 2008-10-24 09:30 48.37 KB
PShape.java that should fix the drawing of paths with empty shapes text/x-java 2008-10-24 09:31 20.89 KB

Description:   Opened: 2008-10-24 09:27
loadShape fails to load correctly SVG that contain transformations
separated by comas.
loadShape loads correctly SVGs containing emtpy paths, but returns a
NullPointerExpection when trying to draw them.
Additional Comment #1 From Ricard 2008-10-24 09:28
edit]
Test case for the transform and empty path SVG
Additional Comment #2 From Ricard 2008-10-24 09:30
edit]
PShapeSVG.java that solves the parsing of transformations with comas

This PShapeSVG.java was based on revision 5020 of the SVN.
Additional Comment #3 From Ricard 2008-10-24 09:31
edit]
PShape.java that should fix the drawing of paths with empty shapes

This file was based on rev 5020 of the SVN
Additional Comment #4 From fry 2008-11-04 10:49
terrific, thanks for the help. now incorporated for 0155.