Showing
3 changed files
with
5 additions
and
1 deletions
| @@ -175,6 +175,7 @@ class Transform extends SingleChildWidget { | @@ -175,6 +175,7 @@ class Transform extends SingleChildWidget { | ||
| 175 | if (origin != null) { | 175 | if (origin != null) { |
| 176 | result.translate(origin.x, origin.y); | 176 | result.translate(origin.x, origin.y); |
| 177 | } | 177 | } |
| 178 | + result.translate(box.x, box.y); | ||
| 178 | PdfPoint translation; | 179 | PdfPoint translation; |
| 179 | if (alignment != null) { | 180 | if (alignment != null) { |
| 180 | translation = alignment.alongSize(box.size); | 181 | translation = alignment.alongSize(box.size); |
| @@ -4,7 +4,7 @@ description: A pdf producer for Dart. It can create pdf files for both web or fl | @@ -4,7 +4,7 @@ description: A pdf producer for Dart. It can create pdf files for both web or fl | ||
| 4 | homepage: https://github.com/DavBfr/dart_pdf/tree/master/pdf | 4 | homepage: https://github.com/DavBfr/dart_pdf/tree/master/pdf |
| 5 | repository: https://github.com/DavBfr/dart_pdf | 5 | repository: https://github.com/DavBfr/dart_pdf |
| 6 | issue_tracker: https://github.com/DavBfr/dart_pdf/issues | 6 | issue_tracker: https://github.com/DavBfr/dart_pdf/issues |
| 7 | -version: 1.3.8 | 7 | +version: 1.3.9 |
| 8 | 8 | ||
| 9 | environment: | 9 | environment: |
| 10 | sdk: ">=2.1.0 <3.0.0" | 10 | sdk: ">=2.1.0 <3.0.0" |
-
Please register or login to post a comment