Skip to content

Commit

Permalink
Merge pull request #26 from joshua-gould/update
Browse files Browse the repository at this point in the history
fixed path
  • Loading branch information
joshua-gould committed Aug 1, 2023
2 parents 8b464a9 + dfc6d11 commit d78b668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1"><title>Canvas2PDF Demo</title><script type="module" src="/index.629e0ea3.js"></script></head><body> <h1>Canvas2PDF Demo</h1> <div> <label for="example_picker">Load Example:</label><select id="example_picker"> <option value="editor_source">Clock</option> <option value="image_example">Image</option> </select> </div> <hr> <div style="width:600px"> <button style="float:right" id="redraw">Redraw</button> </div> <br> <textarea id="editor_source" style="width:600px;height:400px">
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1"><title>Canvas2PDF Demo</title><script type="module" src="/dist/index.629e0ea3.js"></script></head><body> <h1>Canvas2PDF Demo</h1> <div> <label for="example_picker">Load Example:</label><select id="example_picker"> <option value="editor_source">Clock</option> <option value="image_example">Image</option> </select> </div> <hr> <div style="width:600px"> <button style="float:right" id="redraw">Redraw</button> </div> <br> <textarea id="editor_source" style="width:600px;height:400px">
// from https://www.w3schools.com/graphics/tryit.asp?filename=trycanvas_clock_hands
var radius = 200;
ctx.translate(radius, radius);
Expand Down

0 comments on commit d78b668

Please sign in to comment.