diff --git a/Macaw.xcodeproj/project.pbxproj b/Macaw.xcodeproj/project.pbxproj index 3d0059db..f9c26c58 100644 --- a/Macaw.xcodeproj/project.pbxproj +++ b/Macaw.xcodeproj/project.pbxproj @@ -534,6 +534,8 @@ A74C82412297DC220085A832 /* shapes-rect-02-t-manual.reference in Resources */ = {isa = PBXBuildFile; fileRef = A74C82402297DC220085A832 /* shapes-rect-02-t-manual.reference */; }; A74C832C229FB7690085A832 /* color-prop-04-t-manual-osx.svg in Resources */ = {isa = PBXBuildFile; fileRef = A74C832B229FB7690085A832 /* color-prop-04-t-manual-osx.svg */; }; A74C832E229FBA4C0085A832 /* color-prop-04-t-manual-osx.reference in Resources */ = {isa = PBXBuildFile; fileRef = A74C832D229FBA4C0085A832 /* color-prop-04-t-manual-osx.reference */; }; + A74C834022A1288B0085A832 /* coords-viewattr-01-b-manual.svg in Resources */ = {isa = PBXBuildFile; fileRef = A74C833F22A1288A0085A832 /* coords-viewattr-01-b-manual.svg */; }; + A74C834222A12ADA0085A832 /* coords-viewattr-01-b-manual.reference in Resources */ = {isa = PBXBuildFile; fileRef = A74C834122A12ADA0085A832 /* coords-viewattr-01-b-manual.reference */; }; A7E675561EC4213500BD9ECB /* NodeBoundsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7E675551EC4213500BD9ECB /* NodeBoundsTests.swift */; }; C410148E1F834D290022EE44 /* style.svg in Resources */ = {isa = PBXBuildFile; fileRef = C410148D1F834D280022EE44 /* style.svg */; }; C4153A8F1F8793DE001BA5EE /* small-logo.png in Resources */ = {isa = PBXBuildFile; fileRef = C4153A8E1F8793DD001BA5EE /* small-logo.png */; }; @@ -976,6 +978,8 @@ A74C82402297DC220085A832 /* shapes-rect-02-t-manual.reference */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "shapes-rect-02-t-manual.reference"; sourceTree = ""; }; A74C832B229FB7690085A832 /* color-prop-04-t-manual-osx.svg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "color-prop-04-t-manual-osx.svg"; sourceTree = ""; }; A74C832D229FBA4C0085A832 /* color-prop-04-t-manual-osx.reference */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "color-prop-04-t-manual-osx.reference"; sourceTree = ""; }; + A74C833F22A1288A0085A832 /* coords-viewattr-01-b-manual.svg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "coords-viewattr-01-b-manual.svg"; sourceTree = ""; }; + A74C834122A12ADA0085A832 /* coords-viewattr-01-b-manual.reference */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "coords-viewattr-01-b-manual.reference"; sourceTree = ""; }; A7E675551EC4213500BD9ECB /* NodeBoundsTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = NodeBoundsTests.swift; path = Bounds/NodeBoundsTests.swift; sourceTree = ""; }; C410148D1F834D280022EE44 /* style.svg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = style.svg; sourceTree = ""; }; C4153A8E1F8793DD001BA5EE /* small-logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "small-logo.png"; sourceTree = ""; }; @@ -1471,6 +1475,8 @@ 5B1AE1D320B6A669007EECCB /* coords-transformattr-04-f-manual.svg */, 5B1AE22F20B6A669007EECCB /* coords-transformattr-05-f-manual.reference */, 5B1AE1B120B6A669007EECCB /* coords-transformattr-05-f-manual.svg */, + A74C833F22A1288A0085A832 /* coords-viewattr-01-b-manual.svg */, + A74C834122A12ADA0085A832 /* coords-viewattr-01-b-manual.reference */, 5B7E79DC20D2781A00C50BCF /* masking-intro-01-f-manual.reference */, 5B7E79DD20D2781A00C50BCF /* masking-intro-01-f-manual.svg */, 5B7E79CC20CBE69600C50BCF /* masking-path-02-b-manual.reference */, @@ -2016,11 +2022,13 @@ 5B1AE29B20B6A669007EECCB /* shapes-line-01-t-manual.reference in Resources */, 5B1AE29820B6A669007EECCB /* paths-data-08-t-manual.svg in Resources */, 5B1AE25D20B6A669007EECCB /* shapes-polyline-02-t-manual.reference in Resources */, + A74C834022A1288B0085A832 /* coords-viewattr-01-b-manual.svg in Resources */, 57CAB1351D7832E000FD8E47 /* roundRect.svg in Resources */, 5BAE203D208E163D006BF277 /* clipManual.reference in Resources */, 5B1AE29620B6A669007EECCB /* shapes-circle-02-t-manual.svg in Resources */, 5B37139820BE95D7004BB6EE /* pservers-grad-01-b-manual.svg in Resources */, 5B1AE28320B6A669007EECCB /* paths-data-03-f-manual.svg in Resources */, + A74C834222A12ADA0085A832 /* coords-viewattr-01-b-manual.reference in Resources */, 5B7E79DF20D2781A00C50BCF /* masking-intro-01-f-manual.svg in Resources */, 5B1AE29E20B6A669007EECCB /* pservers-grad-stops-01-f-manual.reference in Resources */, 5B1AE23E20B6A669007EECCB /* render-elems-02-t-manual.reference in Resources */, diff --git a/MacawTests/MacawSVGTests.swift b/MacawTests/MacawSVGTests.swift index d49afb2b..d9ea096b 100644 --- a/MacawTests/MacawSVGTests.swift +++ b/MacawTests/MacawSVGTests.swift @@ -707,4 +707,8 @@ class MacawSVGTests: XCTestCase { func testPserversGrad03() { validateJSON("pservers-grad-03-b-manual") } + + func testCoordsViewAttr01() { + validateJSON("coords-viewattr-01-b-manual") + } } diff --git a/MacawTests/w3cSVGTests/coords-viewattr-01-b-manual.reference b/MacawTests/w3cSVGTests/coords-viewattr-01-b-manual.reference new file mode 100644 index 00000000..27d78c42 --- /dev/null +++ b/MacawTests/w3cSVGTests/coords-viewattr-01-b-manual.reference @@ -0,0 +1,2573 @@ +{ + "contents" : [ + { + "contents" : [ + { + "contents" : [ + { + "align" : "mid", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 16, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 240, 0", + "text" : "Test available options of preserveAspectRatio" + }, + { + "align" : "mid", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 35.5, 30", + "text" : "SVG to fit" + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "h" : 39, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 16753920 + }, + "join" : "miter", + "width" : 2 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 16776960 + }, + "form" : { + "cx" : 15, + "cy" : 15, + "r" : 10, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 12, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 17, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "segments" : [ + { + "data" : [ + 10, + 19 + ], + "type" : "M" + }, + { + "data" : [ + 15, + 23 + ], + "type" : "L" + }, + { + "data" : [ + 20, + 19 + ], + "type" : "L" + } + ], + "type" : "Path" + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 0 + }, + "join" : "miter", + "width" : 2 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 5" + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 20, 40" + }, + { + "align" : "mid", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 35.5, 110", + "text" : "Viewport 1" + }, + { + "contents" : [ + { + "form" : { + "h" : 29, + "type" : "Rect", + "w" : 49, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 255 + }, + "join" : "miter", + "width" : 1 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 10, 120" + }, + { + "align" : "mid", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 35.5, 180", + "text" : "Viewport 2" + }, + { + "contents" : [ + { + "form" : { + "h" : 59, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 255 + }, + "join" : "miter", + "width" : 1 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 20, 190" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -20", + "text" : "---------- meet --------------------" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -5", + "text" : "xMin*" + }, + { + "form" : { + "h" : 29, + "type" : "Rect", + "w" : 49, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 255 + }, + "join" : "miter", + "width" : 1 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "h" : 39, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 16753920 + }, + "join" : "miter", + "width" : 2 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 16776960 + }, + "form" : { + "cx" : 15, + "cy" : 15, + "r" : 10, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 12, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 17, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "segments" : [ + { + "data" : [ + 10, + 19 + ], + "type" : "M" + }, + { + "data" : [ + 15, + 23 + ], + "type" : "L" + }, + { + "data" : [ + 20, + 19 + ], + "type" : "L" + } + ], + "type" : "Path" + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 0 + }, + "join" : "miter", + "width" : 2 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 5" + } + ], + "layout" : { + "scalingMode" : "meet", + "svgSize" : { + "height" : "30.0", + "width" : "50.0" + }, + "viewBox" : { + "h" : 40, + "type" : "Rect", + "w" : 30, + "x" : 0, + "y" : 0 + }, + "xAligningMode" : "min", + "yAligningMode" : "min" + }, + "node" : "Canvas" + } + ], + "node" : "Group" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -5", + "text" : "xMid*" + }, + { + "form" : { + "h" : 29, + "type" : "Rect", + "w" : 49, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 255 + }, + "join" : "miter", + "width" : 1 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "h" : 39, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 16753920 + }, + "join" : "miter", + "width" : 2 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 16776960 + }, + "form" : { + "cx" : 15, + "cy" : 15, + "r" : 10, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 12, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 17, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "segments" : [ + { + "data" : [ + 10, + 19 + ], + "type" : "M" + }, + { + "data" : [ + 15, + 23 + ], + "type" : "L" + }, + { + "data" : [ + 20, + 19 + ], + "type" : "L" + } + ], + "type" : "Path" + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 0 + }, + "join" : "miter", + "width" : 2 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 5" + } + ], + "layout" : { + "scalingMode" : "meet", + "svgSize" : { + "height" : "30.0", + "width" : "50.0" + }, + "viewBox" : { + "h" : 40, + "type" : "Rect", + "w" : 30, + "x" : 0, + "y" : 0 + }, + "xAligningMode" : "mid", + "yAligningMode" : "mid" + }, + "node" : "Canvas" + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 70, 0" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -5", + "text" : "xMax*" + }, + { + "form" : { + "h" : 29, + "type" : "Rect", + "w" : 49, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 255 + }, + "join" : "miter", + "width" : 1 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "h" : 39, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 16753920 + }, + "join" : "miter", + "width" : 2 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 16776960 + }, + "form" : { + "cx" : 15, + "cy" : 15, + "r" : 10, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 12, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 17, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "segments" : [ + { + "data" : [ + 10, + 19 + ], + "type" : "M" + }, + { + "data" : [ + 15, + 23 + ], + "type" : "L" + }, + { + "data" : [ + 20, + 19 + ], + "type" : "L" + } + ], + "type" : "Path" + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 0 + }, + "join" : "miter", + "width" : 2 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 5" + } + ], + "layout" : { + "scalingMode" : "meet", + "svgSize" : { + "height" : "30.0", + "width" : "50.0" + }, + "viewBox" : { + "h" : 40, + "type" : "Rect", + "w" : 30, + "x" : 0, + "y" : 0 + }, + "xAligningMode" : "max", + "yAligningMode" : "max" + }, + "node" : "Canvas" + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 50" + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 120, 50" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -20", + "text" : "---------- meet ------------------------" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -5", + "text" : "*YMin" + }, + { + "form" : { + "h" : 59, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 255 + }, + "join" : "miter", + "width" : 1 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "h" : 39, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 16753920 + }, + "join" : "miter", + "width" : 2 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 16776960 + }, + "form" : { + "cx" : 15, + "cy" : 15, + "r" : 10, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 12, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 17, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "segments" : [ + { + "data" : [ + 10, + 19 + ], + "type" : "M" + }, + { + "data" : [ + 15, + 23 + ], + "type" : "L" + }, + { + "data" : [ + 20, + 19 + ], + "type" : "L" + } + ], + "type" : "Path" + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 0 + }, + "join" : "miter", + "width" : 2 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 5" + } + ], + "layout" : { + "scalingMode" : "meet", + "svgSize" : { + "height" : "60.0", + "width" : "30.0" + }, + "viewBox" : { + "h" : 40, + "type" : "Rect", + "w" : 30, + "x" : 0, + "y" : 0 + }, + "xAligningMode" : "min", + "yAligningMode" : "min" + }, + "node" : "Canvas" + } + ], + "node" : "Group" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -5", + "text" : "*YMid" + }, + { + "form" : { + "h" : 59, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 255 + }, + "join" : "miter", + "width" : 1 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "h" : 39, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 16753920 + }, + "join" : "miter", + "width" : 2 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 16776960 + }, + "form" : { + "cx" : 15, + "cy" : 15, + "r" : 10, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 12, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 17, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "segments" : [ + { + "data" : [ + 10, + 19 + ], + "type" : "M" + }, + { + "data" : [ + 15, + 23 + ], + "type" : "L" + }, + { + "data" : [ + 20, + 19 + ], + "type" : "L" + } + ], + "type" : "Path" + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 0 + }, + "join" : "miter", + "width" : 2 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 5" + } + ], + "layout" : { + "scalingMode" : "meet", + "svgSize" : { + "height" : "60.0", + "width" : "30.0" + }, + "viewBox" : { + "h" : 40, + "type" : "Rect", + "w" : 30, + "x" : 0, + "y" : 0 + }, + "xAligningMode" : "mid", + "yAligningMode" : "mid" + }, + "node" : "Canvas" + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 50, 0" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -5", + "text" : "*YMax" + }, + { + "form" : { + "h" : 59, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 255 + }, + "join" : "miter", + "width" : 1 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "h" : 39, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 16753920 + }, + "join" : "miter", + "width" : 2 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 16776960 + }, + "form" : { + "cx" : 15, + "cy" : 15, + "r" : 10, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 12, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 17, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "segments" : [ + { + "data" : [ + 10, + 19 + ], + "type" : "M" + }, + { + "data" : [ + 15, + 23 + ], + "type" : "L" + }, + { + "data" : [ + 20, + 19 + ], + "type" : "L" + } + ], + "type" : "Path" + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 0 + }, + "join" : "miter", + "width" : 2 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 5" + } + ], + "layout" : { + "scalingMode" : "meet", + "svgSize" : { + "height" : "60.0", + "width" : "30.0" + }, + "viewBox" : { + "h" : 40, + "type" : "Rect", + "w" : 30, + "x" : 0, + "y" : 0 + }, + "xAligningMode" : "max", + "yAligningMode" : "max" + }, + "node" : "Canvas" + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 100, 0" + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 300, 50" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -20", + "text" : "---------- slice -------------------------" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -5", + "text" : "xMin*" + }, + { + "form" : { + "h" : 59, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 255 + }, + "join" : "miter", + "width" : 1 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "h" : 39, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 16753920 + }, + "join" : "miter", + "width" : 2 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 16776960 + }, + "form" : { + "cx" : 15, + "cy" : 15, + "r" : 10, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 12, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 17, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "segments" : [ + { + "data" : [ + 10, + 19 + ], + "type" : "M" + }, + { + "data" : [ + 15, + 23 + ], + "type" : "L" + }, + { + "data" : [ + 20, + 19 + ], + "type" : "L" + } + ], + "type" : "Path" + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 0 + }, + "join" : "miter", + "width" : 2 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 5" + } + ], + "layout" : { + "scalingMode" : "slice", + "svgSize" : { + "height" : "60.0", + "width" : "30.0" + }, + "viewBox" : { + "h" : 40, + "type" : "Rect", + "w" : 30, + "x" : 0, + "y" : 0 + }, + "xAligningMode" : "min", + "yAligningMode" : "min" + }, + "node" : "Canvas" + } + ], + "node" : "Group" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -5", + "text" : "xMid*" + }, + { + "form" : { + "h" : 59, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 255 + }, + "join" : "miter", + "width" : 1 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "h" : 39, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 16753920 + }, + "join" : "miter", + "width" : 2 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 16776960 + }, + "form" : { + "cx" : 15, + "cy" : 15, + "r" : 10, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 12, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 17, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "segments" : [ + { + "data" : [ + 10, + 19 + ], + "type" : "M" + }, + { + "data" : [ + 15, + 23 + ], + "type" : "L" + }, + { + "data" : [ + 20, + 19 + ], + "type" : "L" + } + ], + "type" : "Path" + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 0 + }, + "join" : "miter", + "width" : 2 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 5" + } + ], + "layout" : { + "scalingMode" : "slice", + "svgSize" : { + "height" : "60.0", + "width" : "30.0" + }, + "viewBox" : { + "h" : 40, + "type" : "Rect", + "w" : 30, + "x" : 0, + "y" : 0 + }, + "xAligningMode" : "mid", + "yAligningMode" : "mid" + }, + "node" : "Canvas" + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 50, 0" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -5", + "text" : "xMax*" + }, + { + "form" : { + "h" : 59, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 255 + }, + "join" : "miter", + "width" : 1 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "h" : 39, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 16753920 + }, + "join" : "miter", + "width" : 2 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 16776960 + }, + "form" : { + "cx" : 15, + "cy" : 15, + "r" : 10, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 12, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 17, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "segments" : [ + { + "data" : [ + 10, + 19 + ], + "type" : "M" + }, + { + "data" : [ + 15, + 23 + ], + "type" : "L" + }, + { + "data" : [ + 20, + 19 + ], + "type" : "L" + } + ], + "type" : "Path" + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 0 + }, + "join" : "miter", + "width" : 2 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 5" + } + ], + "layout" : { + "scalingMode" : "slice", + "svgSize" : { + "height" : "60.0", + "width" : "30.0" + }, + "viewBox" : { + "h" : 40, + "type" : "Rect", + "w" : 30, + "x" : 0, + "y" : 0 + }, + "xAligningMode" : "max", + "yAligningMode" : "max" + }, + "node" : "Canvas" + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 100, 0" + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 120, 185" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -20", + "text" : "---------- slice ---------------------" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -5", + "text" : "*YMin" + }, + { + "form" : { + "h" : 29, + "type" : "Rect", + "w" : 49, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 255 + }, + "join" : "miter", + "width" : 1 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "h" : 39, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 16753920 + }, + "join" : "miter", + "width" : 2 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 16776960 + }, + "form" : { + "cx" : 15, + "cy" : 15, + "r" : 10, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 12, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 17, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "segments" : [ + { + "data" : [ + 10, + 19 + ], + "type" : "M" + }, + { + "data" : [ + 15, + 23 + ], + "type" : "L" + }, + { + "data" : [ + 20, + 19 + ], + "type" : "L" + } + ], + "type" : "Path" + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 0 + }, + "join" : "miter", + "width" : 2 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 5" + } + ], + "layout" : { + "scalingMode" : "slice", + "svgSize" : { + "height" : "30.0", + "width" : "50.0" + }, + "viewBox" : { + "h" : 40, + "type" : "Rect", + "w" : 30, + "x" : 0, + "y" : 0 + }, + "xAligningMode" : "min", + "yAligningMode" : "min" + }, + "node" : "Canvas" + } + ], + "node" : "Group" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -5", + "text" : "*YMid" + }, + { + "form" : { + "h" : 29, + "type" : "Rect", + "w" : 49, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 255 + }, + "join" : "miter", + "width" : 1 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "h" : 39, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 16753920 + }, + "join" : "miter", + "width" : 2 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 16776960 + }, + "form" : { + "cx" : 15, + "cy" : 15, + "r" : 10, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 12, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 17, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "segments" : [ + { + "data" : [ + 10, + 19 + ], + "type" : "M" + }, + { + "data" : [ + 15, + 23 + ], + "type" : "L" + }, + { + "data" : [ + 20, + 19 + ], + "type" : "L" + } + ], + "type" : "Path" + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 0 + }, + "join" : "miter", + "width" : 2 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 5" + } + ], + "layout" : { + "scalingMode" : "slice", + "svgSize" : { + "height" : "30.0", + "width" : "50.0" + }, + "viewBox" : { + "h" : 40, + "type" : "Rect", + "w" : 30, + "x" : 0, + "y" : 0 + }, + "xAligningMode" : "mid", + "yAligningMode" : "mid" + }, + "node" : "Canvas" + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 70, 0" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 9, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 0, -5", + "text" : "*YMax" + }, + { + "form" : { + "h" : 29, + "type" : "Rect", + "w" : 49, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 255 + }, + "join" : "miter", + "width" : 1 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "h" : 39, + "type" : "Rect", + "w" : 29, + "x" : 0.5, + "y" : 0.5 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 16753920 + }, + "join" : "miter", + "width" : 2 + } + }, + { + "contents" : [ + { + "fill" : { + "type" : "Color", + "val" : 16776960 + }, + "form" : { + "cx" : 15, + "cy" : 15, + "r" : 10, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 12, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "cx" : 17, + "cy" : 12, + "r" : 1.5, + "type" : "Circle" + }, + "node" : "Shape" + }, + { + "fill" : { + "type" : "Color", + "val" : 0 + }, + "form" : { + "segments" : [ + { + "data" : [ + 10, + 19 + ], + "type" : "M" + }, + { + "data" : [ + 15, + 23 + ], + "type" : "L" + }, + { + "data" : [ + 20, + 19 + ], + "type" : "L" + } + ], + "type" : "Path" + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 0 + }, + "join" : "miter", + "width" : 2 + } + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 5" + } + ], + "layout" : { + "scalingMode" : "slice", + "svgSize" : { + "height" : "30.0", + "width" : "50.0" + }, + "viewBox" : { + "h" : 40, + "type" : "Rect", + "w" : 30, + "x" : 0, + "y" : 0 + }, + "xAligningMode" : "max", + "yAligningMode" : "max" + }, + "node" : "Canvas" + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 50" + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 300, 185" + } + ], + "node" : "Group", + "place" : "1, 0, 0, 1, 0, 30" + } + ], + "node" : "Group" + }, + { + "contents" : [ + { + "align" : "min", + "baseline" : "bottom", + "fill" : { + "type" : "Color", + "val" : 0 + }, + "font" : { + "name" : "SVGFreeSansASCII,sans-serif", + "size" : 32, + "weight" : "normal" + }, + "node" : "Text", + "place" : "1, 0, 0, 1, 10, 340", + "text" : "$Revision: 1.8 $" + } + ], + "node" : "Group" + }, + { + "form" : { + "h" : 358, + "type" : "Rect", + "w" : 478, + "x" : 1, + "y" : 1 + }, + "node" : "Shape", + "stroke" : { + "cap" : "butt", + "dashes" : [ + + ], + "fill" : { + "type" : "Color", + "val" : 0 + }, + "join" : "miter", + "width" : 1 + } + } + ], + "layout" : { + "scalingMode" : "meet", + "svgSize" : { + "height" : "100.0%", + "width" : "100.0%" + }, + "viewBox" : { + "h" : 360, + "type" : "Rect", + "w" : 480, + "x" : 0, + "y" : 0 + }, + "xAligningMode" : "mid", + "yAligningMode" : "mid" + }, + "node" : "Canvas" +} \ No newline at end of file diff --git a/MacawTests/w3cSVGTests/coords-viewattr-01-b-manual.svg b/MacawTests/w3cSVGTests/coords-viewattr-01-b-manual.svg new file mode 100644 index 00000000..05fbe99f --- /dev/null +++ b/MacawTests/w3cSVGTests/coords-viewattr-01-b-manual.svg @@ -0,0 +1,140 @@ + + + + + + + + "> + "> + "> +]> + + + + + + + + + + + + +

+ This test verifies the implementation of the viewBox and the + preserveAspectRatio attribute. This is a modified version of the sample + file included in the SVG specification. It exercises the various + preserveAspectRatio values and uses a general entity definition in order + to make reading of the SVG source easier. +

+ + +

+ Load the document in the user agent. +

+
+ +

+ The rendered picture should match the reference image exactly except for + variations in the labeling text. +

+
+ + $RCSfile: coords-viewattr-01-b.svg,v $ + + + + + + + + + + Example PreserveAspectRatio - demonstrate available options + Test available options of preserveAspectRatio + SVG to fit + &Smile; + Viewport 1 + &Viewport1; + Viewport 2 + &Viewport2; + + ---------- meet -------------------- + + xMin*&Viewport1; + &Smile; + + + xMid*&Viewport1; + &Smile; + + + xMax*&Viewport1; + &Smile; + + + + ---------- meet ------------------------ + + *YMin&Viewport2; + &Smile; + + + *YMid&Viewport2; + &Smile; + + + *YMax&Viewport2; + &Smile; + + + + ---------- slice ------------------------- + + xMin*&Viewport2; + &Smile; + + + xMid*&Viewport2; + &Smile; + + + xMax*&Viewport2; + &Smile; + + + + ---------- slice --------------------- + + *YMin&Viewport1; + &Smile; + + + *YMid&Viewport1; + &Smile; + + + *YMax&Viewport1; + &Smile; + + + + + + $Revision: 1.8 $ + + + + +