Sha256: d45919d796d0aa0586161e049b62d28006fb7b7e547bd24f9f1d295ec8141fc3

Contents?: true

Size: 1.9 KB

Versions: 46

Compression:

Stored size: 1.9 KB

Contents

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="5cm" height="4cm" viewBox="0 0 500 400"
     xmlns="http://www.w3.org/2000/svg" version="1.1">
  <title>Example cubic01- cubic Bézier commands in path data</title>
  <desc>Picture showing a simple example of path data
        using both a "C" and an "S" command,
        along with annotations showing the control points
        and end points</desc>
  <style type="text/css"><![CDATA[
    .Border { fill:none; stroke:blue; stroke-width:1 }
    .Connect { fill:none; stroke:#888888; stroke-width:2 }
    .SamplePath { fill:none; stroke:red; stroke-width:5 }
    .EndPoint { fill:none; stroke:#888888; stroke-width:2 }
    .CtlPoint { fill:#888888; stroke:none }
    .AutoCtlPoint { fill:none; stroke:blue; stroke-width:4 }
    .Label { font-size:22; font-family:Verdana }
  ]]></style>
  <rect class="Border" x="1" y="1" width="498" height="398" />
  <polyline class="Connect" points="100,200 100,100" />
  <polyline class="Connect" points="250,100 250,200" />
  <polyline class="Connect" points="250,200 250,300" />
  <polyline class="Connect" points="400,300 400,200" />
  <path style=" fill:none; stroke:red; stroke-width:5" d="M100,200 C100,100 250,100 250,200
                                       S400,300 400,200" />
  <circle class="EndPoint" cx="100" cy="200" r="10" />
  <circle class="EndPoint" cx="250" cy="200" r="10" />
  <circle class="EndPoint" cx="400" cy="200" r="10" />
  <circle class="CtlPoint" cx="100" cy="100" r="10" />
  <circle class="CtlPoint" cx="250" cy="100" r="10" />
  <circle class="CtlPoint" cx="400" cy="300" r="10" />
  <circle class="AutoCtlPoint" cx="250" cy="300" r="9" />
  <text class="Label" x="25" y="70">M100,200 C100,100 250,100 250,200</text>
  <text class="Label" x="325" y="350"
        style="text-anchor:middle">S400,300 400,200</text>
</svg>

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
prawn-svg-0.36.2 spec/sample_svg/cubic01.svg
prawn-svg-0.36.1 spec/sample_svg/cubic01.svg
prawn-svg-0.36.0 spec/sample_svg/cubic01.svg
prawn-svg-0.35.1 spec/sample_svg/cubic01.svg
prawn-svg-0.35.0 spec/sample_svg/cubic01.svg
prawn-svg-0.34.2 spec/sample_svg/cubic01.svg
prawn-svg-0.34.1 spec/sample_svg/cubic01.svg
prawn-svg-0.34.0 spec/sample_svg/cubic01.svg
prawn-svg-0.33.0 spec/sample_svg/cubic01.svg
prawn-svg-0.32.0 spec/sample_svg/cubic01.svg
prawn-svg-0.31.0 spec/sample_svg/cubic01.svg
prawn-svg-0.30.0 spec/sample_svg/cubic01.svg
prawn-svg-0.29.1 spec/sample_svg/cubic01.svg
prawn-svg-0.29.0 spec/sample_svg/cubic01.svg
prawn-svg-0.28.0 spec/sample_svg/cubic01.svg
prawn-svg-0.27.1 spec/sample_svg/cubic01.svg
prawn-svg-0.27.0 spec/sample_svg/cubic01.svg
prawn-svg-0.26.0 spec/sample_svg/cubic01.svg
prawn-svg-0.25.2 spec/sample_svg/cubic01.svg
prawn-svg-0.25.1 spec/sample_svg/cubic01.svg