MCPcopy Create free account
hub / github.com/Tencent/tgfx / InverseTransformBBox

Method InverseTransformBBox

src/pdf/PDFUtils.cpp:402–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402bool 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
411void PDFUtils::PopulateTilingPatternDict(PDFDictionary* pattern, const Rect& boundBox,
412 std::unique_ptr<PDFDictionary> resources,

Callers

nothing calls this directly

Calls 2

invertMethod · 0.80
mapRectMethod · 0.45

Tested by

no test coverage detected