| 400 | } |
| 401 | |
| 402 | bool PDFUtils::InverseTransformBBox(const Matrix& matrix, Rect* boundBox) { |
| 403 | Matrix inverse; |
| 404 | if (!matrix.invert(&inverse)) { |
| 405 | return false; |
| 406 | } |
| 407 | inverse.mapRect(boundBox); |
| 408 | return true; |
| 409 | } |
| 410 | |
| 411 | void PDFUtils::PopulateTilingPatternDict(PDFDictionary* pattern, const Rect& boundBox, |
| 412 | std::unique_ptr<PDFDictionary> resources, |