|
14 | 14 |
|
15 | 15 | /** @preserve |
16 | 16 | * jsPDF - PDF Document creation from JavaScript |
17 | | - * Version 1.3.2 Built on 2018-06-06T13:44:08.203Z |
18 | | - * CommitID ee8bcea89d |
| 17 | + * Version 1.4.0 Built on 2018-09-28T16:25:56.169Z |
| 18 | + * CommitID 7b29336d57 |
19 | 19 | * |
20 | 20 | * Copyright (c) 2010-2014 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF |
21 | 21 | * 2010 Aaron Spike, https://github.com/acspike |
|
212 | 212 | lineCapID = 0, |
213 | 213 | lineJoinID = 0, |
214 | 214 | content_length = 0, |
215 | | - withinClipPath = false, |
216 | 215 | renderTargets = {}, |
217 | 216 | renderTargetMap = {}, |
218 | 217 | renderTargetStack = [], |
|
1341 | 1340 | // puts the style for the previously drawn path. If a patternKey is provided, the pattern is used to fill |
1342 | 1341 | // the path. Use patternMatrix to transform the pattern to rhe right location. |
1343 | 1342 | putStyle = function putStyle(style, patternKey, patternData) { |
1344 | | - if (withinClipPath) { |
1345 | | - return; |
1346 | | - } |
1347 | | - |
1348 | 1343 | style = getStyle(style); |
1349 | 1344 |
|
1350 | 1345 | // stroking / filling / both the path |
|
2196 | 2191 | return this.lines([[x2 - x1, y2 - y1]], x1, y1, [1, 1], "D"); |
2197 | 2192 | }; |
2198 | 2193 |
|
2199 | | - API.beginClipPath = function () { |
2200 | | - withinClipPath = true; |
2201 | | - |
2202 | | - return this; |
2203 | | - }; |
2204 | | - |
2205 | | - API.endClipPath = function () { |
2206 | | - out("W n"); |
2207 | | - withinClipPath = false; |
2208 | | - |
2209 | | - return this; |
2210 | | - }; |
2211 | | - |
2212 | | - /** |
2213 | | - * @deprecated use {@link beginClipPath} and {@link endClipPath} instead |
2214 | | - */ |
2215 | 2194 | API.clip = function () { |
2216 | 2195 | // By patrick-roberts, github.com/MrRio/jsPDF/issues/328 |
2217 | 2196 | // Call .clip() after calling .rect() with a style argument of null |
|
3020 | 2999 | * pdfdoc.mymethod() // <- !!!!!! |
3021 | 3000 | */ |
3022 | 3001 | jsPDF.API = { events: [] }; |
3023 | | - jsPDF.version = "1.3.2 2018-06-06T13:44:08.203Z:lukas-pc\lukas"; |
| 3002 | + jsPDF.version = "1.4.0 2018-09-28T16:25:56.169Z:lukas-pc\lukas"; |
3024 | 3003 |
|
3025 | 3004 | if (typeof define === 'function' && define.amd) { |
3026 | 3005 | define('jsPDF', function () { |
@@ -12117,7 +12096,7 @@ Q\n"; |
12117 | 12096 | if (typeof module === 'object') { |
12118 | 12097 | module.exports = callback(); |
12119 | 12098 | } else if (typeof define === 'function') { |
12120 | | - define("adler32", callback); |
| 12099 | + define('adler32cs', [], callback); |
12121 | 12100 | } else { |
12122 | 12101 | global.adler32cs = callback(); |
12123 | 12102 | } |
|
0 commit comments