Skip to content

Instantly share code, notes, and snippets.

@mdeering
Created July 13, 2011 16:19

Revisions

  1. mdeering revised this gist Jul 13, 2011. 1 changed file with 2555 additions and 11 deletions.
    2,566 changes: 2,555 additions & 11 deletions pdfkit_svg_test.html
    2,555 additions, 11 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
  2. mdeering created this gist Jul 13, 2011.
    17 changes: 17 additions & 0 deletions pdfkit_svg_test.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    <?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="100%" height="100%" version="1.1" xmlns="http://www.w3.org/2000/svg">

    <defs>
    <linearGradient id="orange_red" x1="0%" y1="0%" x2="100%" y2="0%">
    <stop offset="0%" style="stop-color:rgb(255,255,0);stop-opacity:1"/>
    <stop offset="100%" style="stop-color:rgb(255,0,0);stop-opacity:1"/>
    </linearGradient>
    </defs>

    <ellipse cx="200" cy="190" rx="85" ry="55" style="fill:url(#orange_red)"/>

    </svg>