mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-23 03:18:59 +00:00
Fix outdated comment
This commit is contained in:
parent
3be58f49e5
commit
ba6b6aacf1
@ -938,8 +938,8 @@ QPDFPageObjectHelper::placeFormXObject(
|
|||||||
QPDFObjectHandle::Rectangle bbox = bbox_obj.getArrayAsRectangle();
|
QPDFObjectHandle::Rectangle bbox = bbox_obj.getArrayAsRectangle();
|
||||||
QPDFObjectHandle::Rectangle T = wmatrix.transformRectangle(bbox);
|
QPDFObjectHandle::Rectangle T = wmatrix.transformRectangle(bbox);
|
||||||
|
|
||||||
// Calculate a scale factor, if needed. If the transformed
|
// Calculate a scale factor, if needed. Shrink or expand if needed
|
||||||
// rectangle is too big, shrink it. Never expand it.
|
// and allowed.
|
||||||
if ((T.urx == T.llx) || (T.ury == T.lly))
|
if ((T.urx == T.llx) || (T.ury == T.lly))
|
||||||
{
|
{
|
||||||
// avoid division by zero
|
// avoid division by zero
|
||||||
|
Loading…
Reference in New Issue
Block a user