diff options
Diffstat (limited to 'tests/data/compare')
27 files changed, 54 insertions, 0 deletions
diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleFilled.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleFilled.svg new file mode 100644 index 0000000..0b281aa --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleFilled.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><ellipse cx="100" cy="50" rx="40" ry="20" style="fill: #3465a4; fill-opacity: 1.00; stroke: none;"/></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleNonFilled.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleNonFilled.svg new file mode 100644 index 0000000..1975640 --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleNonFilled.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><ellipse cx="100" cy="50" rx="40" ry="20" style="fill: none; stroke: #3465a4; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round;"/></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleSectorAcute.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleSectorAcute.svg new file mode 100644 index 0000000..4fc15bb --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleSectorAcute.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d="M 100.00,50.00 L 139.05,54.33 A 40.00,20.000000 0 0,1 136.25,58.45 z" style="fill: #3465a4; fill-opacity: 1.00; stroke: none;"/></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleSectorAcuteNonFilled.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleSectorAcuteNonFilled.svg new file mode 100644 index 0000000..7922681 --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleSectorAcuteNonFilled.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d="M 100.00,50.00 L 139.05,54.33 A 40.00,20.000000 0 0,1 128.28,64.14 z" style="fill: none; stroke: #3465a4; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round;"/></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleSectorAcuteReverse.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleSectorAcuteReverse.svg new file mode 100644 index 0000000..4fc15bb --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleSectorAcuteReverse.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d="M 100.00,50.00 L 139.05,54.33 A 40.00,20.000000 0 0,1 136.25,58.45 z" style="fill: #3465a4; fill-opacity: 1.00; stroke: none;"/></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleSectorObtuse.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleSectorObtuse.svg new file mode 100644 index 0000000..cdea425 --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircleSectorObtuse.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d="M 100.00,50.00 L 136.25,58.45 A 40.00,20.000000 0 1,1 102.09,30.03 z" style="fill: #3465a4; fill-opacity: 1.00; stroke: none;"/></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircularArcAcute.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircularArcAcute.svg new file mode 100644 index 0000000..5b643ad --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircularArcAcute.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 143.02,92.77 A 75.00,40.000000 0 0,0 173.22,68.66 L 173.22,58.66 A 75.00,40.000000 0 0,1 143.02,82.77 z" style="fill: #3465a4; fill-opacity: 1.00; stroke: none;"/></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircularArcAcuteReverse.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircularArcAcuteReverse.svg new file mode 100644 index 0000000..5b643ad --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircularArcAcuteReverse.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 143.02,92.77 A 75.00,40.000000 0 0,0 173.22,68.66 L 173.22,58.66 A 75.00,40.000000 0 0,1 143.02,82.77 z" style="fill: #3465a4; fill-opacity: 1.00; stroke: none;"/></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircularArcObtuse.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircularArcObtuse.svg new file mode 100644 index 0000000..d56dc89 --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawCircularArcObtuse.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 137.50,25.36 A 75.00,40.000000 0 1,0 167.97,76.90 L 167.97,66.90 A 75.00,40.000000 0 1,1 137.50,15.36 z" style="fill: #3465a4; fill-opacity: 1.00; stroke: none;"/></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawLine.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawLine.svg new file mode 100644 index 0000000..280bb01 --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawLine.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 12.0000,45.0000 L 134.0000,12.0000" style="fill: none; stroke: #3465a4; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round;"/></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawPolygonFivePoints.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawPolygonFivePoints.svg new file mode 100644 index 0000000..67075aa --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawPolygonFivePoints.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 60.0000,32.0000 L 45.0000,12.0000 L 122.0000,34.0000 L 12.0000,71.0000 L 3.0000,45.0000 L 60.0000,32.0000 z " style="fill: #3465a4; fill-opacity: 1.00; stroke: none;"/></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawPolygonThreePointsFilled.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawPolygonThreePointsFilled.svg new file mode 100644 index 0000000..32080fa --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawPolygonThreePointsFilled.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 12.0000,71.0000 L 45.0000,12.0000 L 122.0000,34.0000 L 12.0000,71.0000 z " style="fill: #3465a4; fill-opacity: 1.00; stroke: none;"/></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawPolygonThreePointsNotFilled.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawPolygonThreePointsNotFilled.svg new file mode 100644 index 0000000..de5f160 --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawPolygonThreePointsNotFilled.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 12.0000,71.0000 L 45.0000,12.0000 L 122.0000,34.0000 L 12.0000,71.0000 z " style="fill: none; stroke: #3465a4; stroke-width: 1; stroke-opacity: 1.00; stroke-linecap: round;"/></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawStringWithSpecialChars.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawStringWithSpecialChars.svg new file mode 100644 index 0000000..168e3d0 --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawStringWithSpecialChars.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 99.0000,54.0000 L 47.0000,54.0000 L 47.0000,84.0000 L 99.0000,84.0000 L 99.0000,54.0000 z " style="fill: #dddddd; fill-opacity: 1.00; stroke: none;"/><text x="47" text-length="46.2px" y="60" style="font-size: 6px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">Safari (13.8%)</text></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedString.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedString.svg new file mode 100644 index 0000000..5fdb2ba --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedString.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 10.0000,80.0000 L 10.0000,10.0000 L 160.0000,10.0000 L 160.0000,80.0000 L 10.0000,80.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;"/><text x="10" text-length="149.6px" y="27" style="font-size: 17px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">This Is A Pretty</text><text x="10" text-length="102.85px" y="45.7" style="font-size: 17px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">Long String</text></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedStringCenter.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedStringCenter.svg new file mode 100644 index 0000000..2d0b357 --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedStringCenter.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 10.0000,80.0000 L 10.0000,10.0000 L 160.0000,10.0000 L 160.0000,80.0000 L 10.0000,80.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;"/><text x="10.2" text-length="149.6px" y="27" style="font-size: 17px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">This Is A Pretty</text><text x="33.575" text-length="102.85px" y="45.7" style="font-size: 17px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">Long String</text></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedStringCenterBottom.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedStringCenterBottom.svg new file mode 100644 index 0000000..3061ec0 --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedStringCenterBottom.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 10.0000,80.0000 L 10.0000,10.0000 L 160.0000,10.0000 L 160.0000,80.0000 L 10.0000,80.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;"/><text x="10.2" text-length="149.6px" y="62.9" style="font-size: 17px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">This Is A Pretty</text><text x="33.575" text-length="102.85px" y="81.6" style="font-size: 17px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">Long String</text></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedStringRight.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedStringRight.svg new file mode 100644 index 0000000..87b508e --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedStringRight.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 10.0000,80.0000 L 10.0000,10.0000 L 160.0000,10.0000 L 160.0000,80.0000 L 10.0000,80.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;"/><text x="10.4" text-length="149.6px" y="27" style="font-size: 17px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">This Is A Pretty</text><text x="57.15" text-length="102.85px" y="45.7" style="font-size: 17px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">Long String</text></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedStringRightMiddle.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedStringRightMiddle.svg new file mode 100644 index 0000000..66314af --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongSpacedStringRightMiddle.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 10.0000,80.0000 L 10.0000,10.0000 L 160.0000,10.0000 L 160.0000,80.0000 L 10.0000,80.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;"/><text x="10.4" text-length="149.6px" y="44.95" style="font-size: 17px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">This Is A Pretty</text><text x="57.15" text-length="102.85px" y="63.65" style="font-size: 17px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">Long String</text></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongString.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongString.svg new file mode 100644 index 0000000..6b8c5ec --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxLongString.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 10.0000,80.0000 L 10.0000,10.0000 L 160.0000,10.0000 L 160.0000,80.0000 L 10.0000,80.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;"/><text x="10" text-length="139.15px" y="21" style="font-size: 11px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">ThisIsAPrettyLongString</text></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxManualBreak.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxManualBreak.svg new file mode 100644 index 0000000..5693413 --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxManualBreak.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 10.0000,80.0000 L 10.0000,10.0000 L 160.0000,10.0000 L 160.0000,80.0000 L 10.0000,80.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;"/><text x="10" text-length="149.6px" y="44" style="font-size: 34px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">New Line</text></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxShortString.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxShortString.svg new file mode 100644 index 0000000..ce282db --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxShortString.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 10.0000,80.0000 L 10.0000,10.0000 L 160.0000,10.0000 L 160.0000,80.0000 L 10.0000,80.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;"/><text x="10" text-length="148.5px" y="64" style="font-size: 54px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">Short</text></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringCenter.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringCenter.svg new file mode 100644 index 0000000..82d078f --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringCenter.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 10.0000,80.0000 L 10.0000,10.0000 L 160.0000,10.0000 L 160.0000,80.0000 L 10.0000,80.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;"/><text x="15.425" text-length="139.15px" y="21" style="font-size: 11px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">ThisIsAPrettyLongString</text></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringCenterMiddle.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringCenterMiddle.svg new file mode 100644 index 0000000..91a3664 --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringCenterMiddle.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 10.0000,80.0000 L 10.0000,10.0000 L 160.0000,10.0000 L 160.0000,80.0000 L 10.0000,80.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;"/><text x="15.425" text-length="139.15px" y="50.5" style="font-size: 11px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">ThisIsAPrettyLongString</text></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringRight.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringRight.svg new file mode 100644 index 0000000..da86a65 --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringRight.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 10.0000,80.0000 L 10.0000,10.0000 L 160.0000,10.0000 L 160.0000,80.0000 L 10.0000,80.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;"/><text x="20.85" text-length="139.15px" y="21" style="font-size: 11px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">ThisIsAPrettyLongString</text></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringRightBottom.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringRightBottom.svg new file mode 100644 index 0000000..06f0f8d --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringRightBottom.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 10.0000,80.0000 L 10.0000,10.0000 L 160.0000,10.0000 L 160.0000,80.0000 L 10.0000,80.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;"/><text x="20.85" text-length="139.15px" y="80" style="font-size: 11px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">ThisIsAPrettyLongString</text></g></svg> diff --git a/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringSampleRight.svg b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringSampleRight.svg new file mode 100644 index 0000000..77eba16 --- /dev/null +++ b/tests/data/compare/ezcGraphSvgDriverTest_testDrawTextBoxStringSampleRight.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.0" id="ezcGraph"><defs/><g id="chart" color-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="optimizeLegibility"><path d=" M 20.0000,30.0000 L 20.0000,20.0000 L 110.0000,20.0000 L 110.0000,30.0000 L 20.0000,30.0000 z " style="fill: #eeeeec; fill-opacity: 1.00; stroke: none;"/><text x="73.8" text-length="35.2px" y="29" style="font-size: 8px; font-family: sans-serif; fill: #000000; fill-opacity: 1.00; stroke: none;">sample 4</text></g></svg> |