Skip to content

Commit

Permalink
Merge pull request #4 from kangax/master
Browse files Browse the repository at this point in the history
sync to head
  • Loading branch information
asturur committed Jul 18, 2014
2 parents 69fdc22 + 17bf296 commit cc83028
Show file tree
Hide file tree
Showing 37 changed files with 729 additions and 545 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
language: node_js
node_js:
- "0.8"
- "0.10"
- "0.11"
script: 'npm run-script build && npm test'
before_install:
- sudo apt-get update -qq
Expand Down
5 changes: 5 additions & 0 deletions HEADER.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,8 @@ fabric.SHARED_ATTRIBUTES = [
"stroke-linejoin", "stroke-miterlimit",
"stroke-opacity", "stroke-width"
];

/**
* Pixel per Inch as a default value set to 96. Can be changed for more realistic conversion.
*/
fabric.DPI = 96;
Loading

0 comments on commit cc83028

Please sign in to comment.