Combine re element into constructPath

This commit is contained in:
pramodhkp 2014-06-24 01:37:31 +05:30
parent 456d219f2a
commit 8407d28c9e
4 changed files with 39 additions and 39 deletions

View file

@ -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();
}