mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 18:25:37 +02:00
Combine re element into constructPath
This commit is contained in:
parent
456d219f2a
commit
8407d28c9e
4 changed files with 39 additions and 39 deletions
|
@ -385,7 +385,7 @@ var TilingPattern = (function TilingPatternClosure() {
|
|||
if (bbox && isArray(bbox) && 4 == bbox.length) {
|
||||
var bboxWidth = x1 - x0;
|
||||
var bboxHeight = y1 - y0;
|
||||
graphics.rectangle(x0, y0, bboxWidth, bboxHeight);
|
||||
graphics.ctx.rect(x0, y0, bboxWidth, bboxHeight);
|
||||
graphics.clip();
|
||||
graphics.endPath();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue