Skip to content

Instantly share code, notes, and snippets.

@gaa-cifasis
Created February 11, 2016 01:54
Show Gist options
  • Save gaa-cifasis/50d5a0c0e137cd0a36a4 to your computer and use it in GitHub Desktop.
Save gaa-cifasis/50d5a0c0e137cd0a36a4 to your computer and use it in GitHub Desktop.
svg-tree value:
Document {_viewBox = Just (0.6440636439695582,-6.714013855480908,-0.8418170511473635,-9.667487465755489), _width = Just (Em 2.336160408315842), _height = Just (Num 23.07585217196192), _elements = [PathTree (Path {_pathDrawAttributes = DrawAttributes {_strokeWidth = Last {getLast = Just (Point 0.0)}, _strokeColor = Last {getLast = Just (ColorRef (PixelRGBA8 1 0 0 1))}, _strokeOpacity = Nothing, _strokeLineCap = Last {getLast = Nothing}, _strokeLineJoin = Last {getLast = Nothing}, _strokeMiterLimit = Last {getLast = Just 0.0}, _fillColor = Last {getLast = Nothing}, _fillOpacity = Just 0.0, _groupOpacity = Just 0.0, _transform = Just [], _fillRule = Last {getLast = Nothing}, _maskRef = Last {getLast = Nothing}, _clipPathRef = Last {getLast = Just RefNone}, _clipRule = Last {getLast = Just FillNonZero}, _attrClass = [], _attrId = Nothing, _strokeOffset = Last {getLast = Nothing}, _strokeDashArray = Last {getLast = Just []}, _fontSize = Last {getLast = Just (Point 0.0)}, _fontFamily = Last {getLast = Nothing}, _fontStyle = Last {getLast = Just FontStyleItalic}, _textAnchor = Last {getLast = Just TextAnchorEnd}, _markerStart = Last {getLast = Just RefNone}, _markerMid = Last {getLast = Just (Ref "a")}, _markerEnd = Last {getLast = Just (Ref "a")}}, _pathDefinition = []})], _definitions = fromList [("d",ElementMarker (Marker {_markerDrawAttributes = DrawAttributes {_strokeWidth = Last {getLast = Nothing}, _strokeColor = Last {getLast = Nothing}, _strokeOpacity = Just (-9.783331), _strokeLineCap = Last {getLast = Just CapSquare}, _strokeLineJoin = Last {getLast = Nothing}, _strokeMiterLimit = Last {getLast = Nothing}, _fillColor = Last {getLast = Just (TextureRef "b")}, _fillOpacity = Nothing, _groupOpacity = Just 5.5534925, _transform = Nothing, _fillRule = Last {getLast = Nothing}, _maskRef = Last {getLast = Just (Ref "a")}, _clipPathRef = Last {getLast = Nothing}, _clipRule = Last {getLast = Nothing}, _attrClass = ["b","b"], _attrId = Just "e", _strokeOffset = Last {getLast = Nothing}, _strokeDashArray = Last {getLast = Nothing}, _fontSize = Last {getLast = Nothing}, _fontFamily = Last {getLast = Nothing}, _fontStyle = Last {getLast = Just FontStyleItalic}, _textAnchor = Last {getLast = Nothing}, _markerStart = Last {getLast = Just (Ref "b")}, _markerMid = Last {getLast = Nothing}, _markerEnd = Last {getLast = Nothing}}, _markerRefPoint = (Pc (-24.530907920076586),Inches (-5.3915681243728)), _markerWidth = Just (Point 1.3246640716271318), _markerHeight = Just (Percent 3.70304930701771), _markerOrient = Nothing, _markerUnits = Just MarkerUnitStrokeWidth, _markerViewBox = Just (-1.3965261348491806,-3.506895813994013,23.709187695407905,-11.589915944005952), _markerElements = [CircleTree (Circle {_circleDrawAttributes = DrawAttributes {_strokeWidth = Last {getLast = Just (Percent 0.0)}, _strokeColor = Last {getLast = Just (ColorRef (PixelRGBA8 1 0 1 1))}, _strokeOpacity = Just 0.0, _strokeLineCap = Last {getLast = Just CapSquare}, _strokeLineJoin = Last {getLast = Just JoinBevel}, _strokeMiterLimit = Last {getLast = Nothing}, _fillColor = Last {getLast = Nothing}, _fillOpacity = Just 0.0, _groupOpacity = Just 0.0, _transform = Just [], _fillRule = Last {getLast = Just FillNonZero}, _maskRef = Last {getLast = Nothing}, _clipPathRef = Last {getLast = Nothing}, _clipRule = Last {getLast = Just FillNonZero}, _attrClass = [], _attrId = Just "d", _strokeOffset = Last {getLast = Just (Inches 0.0)}, _strokeDashArray = Last {getLast = Nothing}, _fontSize = Last {getLast = Just (Em 0.0)}, _fontFamily = Last {getLast = Just []}, _fontStyle = Last {getLast = Just FontStyleOblique}, _textAnchor = Last {getLast = Nothing}, _markerStart = Last {getLast = Just RefNone}, _markerMid = Last {getLast = Just (Ref "a")}, _markerEnd = Last {getLast = Just RefNone}}, _circleCenter = (Px 0.0,Percent 0.0), _circleRadius = Pc 0.0}),None,LineTree (Line {_lineDrawAttributes = DrawAttributes {_strokeWidth = Last {getLast = Nothing}, _strokeColor = Last {getLast = Just (TextureRef "a")}, _strokeOpacity = Nothing, _strokeLineCap = Last {getLast = Just CapRound}, _strokeLineJoin = Last {getLast = Just JoinBevel}, _strokeMiterLimit = Last {getLast = Nothing}, _fillColor = Last {getLast = Just (TextureRef "c")}, _fillOpacity = Nothing, _groupOpacity = Just 0.0, _transform = Just [], _fillRule = Last {getLast = Just FillEvenOdd}, _maskRef = Last {getLast = Just RefNone}, _clipPathRef = Last {getLast = Nothing}, _clipRule = Last {getLast = Nothing}, _attrClass = [], _attrId = Nothing, _strokeOffset = Last {getLast = Nothing}, _strokeDashArray = Last {getLast = Nothing}, _fontSize = Last {getLast = Nothing}, _fontFamily = Last {getLast = Just []}, _fontStyle = Last {getLast = Nothing}, _textAnchor = Last {getLast = Nothing}, _markerStart = Last {getLast = Just (Ref "b")}, _markerMid = Last {getLast = Nothing}, _markerEnd = Last {getLast = Just RefNone}}, _linePoint1 = (Mm 0.0,Inches 0.0), _linePoint2 = (Em 0.0,Num 0.0)}),None]}))], _description = "a", _styleRules = [], _documentLocation = "c"}
svg file:
<?xml version='1.0' ?>
<svg viewBox="0.6440636439695582 -6.714013855480908 -0.8418170511473635 -9.667487465755489" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="2.336160408315842em" height="23.07585217196192">
<desc>a</desc>
<defs>
<marker fill="url(#b)" stroke-linecap="square" opacity="5.5534925" stroke-opacity="-9.783331" mask="url(#a)" class="b b" id="e" marker-start="url(#b)" refX="-24.530907920076586pc" refY="-5.3915681243728in" markerWidth="1.3246640716271318pt" markerHeight="370%" patternUnits="strokeWidth" viewBox="-1.3965261348491806 -3.506895813994013 23.709187695407905 -11.589915944005952">
<circle stroke-width="0%" stroke="#010001" stroke-linecap="square" stroke-linejoin="bevel" transform="" opacity="0.0" fill-opacity="0.0" stroke-opacity="0.0" font-size="0.0em" font-family="" fill-rule="nonzero" clip-rule="nonzero" class="" id="d" stroke-dashoffset="0.0in" marker-end="none" marker-start="none" marker-mid="url(#a)" cx="0.0px" cy="0%" r="0.0pc" />
< />
<line stroke="url(#a)" fill="url(#c)" stroke-linecap="round" stroke-linejoin="bevel" transform="" opacity="0.0" font-family="" fill-rule="evenodd" mask="none" class="" marker-end="none" marker-start="url(#b)" x1="0.0mm" y1="0.0in" x2="0.0em" />
< />
</marker>
</defs>
<path stroke-width="0.0pt" stroke="#010000" stroke-miterlimit="0.0" transform="" opacity="0.0" fill-opacity="0.0" font-size="0.0pt" clip-rule="nonzero" class="" stroke-dasharray="" text-anchor="end" clip-path="none" marker-end="url(#a)" marker-start="none" marker-mid="url(#a)" />
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment