This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
forked from parallax/jsPDF
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b29336
commit 94b13cf
Showing
5 changed files
with
24 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,8 @@ | |
|
||
/** @preserve | ||
* jsPDF - PDF Document creation from JavaScript | ||
* Version 1.3.2 Built on 2018-06-06T13:44:08.203Z | ||
* CommitID ee8bcea89d | ||
* Version 1.4.0 Built on 2018-09-28T16:25:56.169Z | ||
* CommitID 7b29336d57 | ||
* | ||
* Copyright (c) 2010-2014 James Hall <[email protected]>, https://github.com/MrRio/jsPDF | ||
* 2010 Aaron Spike, https://github.com/acspike | ||
|
@@ -212,7 +212,6 @@ | |
lineCapID = 0, | ||
lineJoinID = 0, | ||
content_length = 0, | ||
withinClipPath = false, | ||
renderTargets = {}, | ||
renderTargetMap = {}, | ||
renderTargetStack = [], | ||
|
@@ -1341,10 +1340,6 @@ | |
// puts the style for the previously drawn path. If a patternKey is provided, the pattern is used to fill | ||
// the path. Use patternMatrix to transform the pattern to rhe right location. | ||
putStyle = function putStyle(style, patternKey, patternData) { | ||
if (withinClipPath) { | ||
return; | ||
} | ||
|
||
style = getStyle(style); | ||
|
||
// stroking / filling / both the path | ||
|
@@ -2196,22 +2191,6 @@ | |
return this.lines([[x2 - x1, y2 - y1]], x1, y1, [1, 1], "D"); | ||
}; | ||
|
||
API.beginClipPath = function () { | ||
withinClipPath = true; | ||
|
||
return this; | ||
}; | ||
|
||
API.endClipPath = function () { | ||
out("W n"); | ||
withinClipPath = false; | ||
|
||
return this; | ||
}; | ||
|
||
/** | ||
* @deprecated use {@link beginClipPath} and {@link endClipPath} instead | ||
*/ | ||
API.clip = function () { | ||
// By patrick-roberts, github.com/MrRio/jsPDF/issues/328 | ||
// Call .clip() after calling .rect() with a style argument of null | ||
|
@@ -3020,7 +2999,7 @@ | |
* pdfdoc.mymethod() // <- !!!!!! | ||
*/ | ||
jsPDF.API = { events: [] }; | ||
jsPDF.version = "1.3.2 2018-06-06T13:44:08.203Z:lukas-pc\lukas"; | ||
jsPDF.version = "1.4.0 2018-09-28T16:25:56.169Z:lukas-pc\lukas"; | ||
|
||
if (typeof define === 'function' && define.amd) { | ||
define('jsPDF', function () { | ||
|
@@ -12117,7 +12096,7 @@ Q\n"; | |
if (typeof module === 'object') { | ||
module.exports = callback(); | ||
} else if (typeof define === 'function') { | ||
define("adler32", callback); | ||
define('adler32cs', [], callback); | ||
} else { | ||
global.adler32cs = callback(); | ||
} | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters