Resolves: #i123295# corrected object and clip rect...
in PDFExtOutDevData::EndGroup call in VclMetafileProcessor2D (cherry picked from commit b756639c139f043a613df6ca16c18f426fca1f29) Change-Id: I75faf2c8d925ec210cd74d8c29b90f5f9bf61ec8
This commit is contained in:
committed by
Caolán McNamara
parent
3e4604b464
commit
677df250be
@@ -862,10 +862,13 @@ namespace drawinglayer
|
|||||||
sal_Int32(ceil(aCropRange.getMaxX())), sal_Int32(ceil(aCropRange.getMaxY())));
|
sal_Int32(ceil(aCropRange.getMaxX())), sal_Int32(ceil(aCropRange.getMaxY())));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// #i123295# 3rd param is uncropped rect, 4th is cropped. The primitive has the cropped
|
||||||
|
// object transformation, thus aCurrentRect *is* the clip region while aCropRect is the expanded,
|
||||||
|
// uncropped region. Thus, correct order is aCropRect, aCurrentRect
|
||||||
mpPDFExtOutDevData->EndGroup(rGraphicPrimitive.getGraphicObject().GetGraphic(),
|
mpPDFExtOutDevData->EndGroup(rGraphicPrimitive.getGraphicObject().GetGraphic(),
|
||||||
rAttr.GetTransparency(),
|
rAttr.GetTransparency(),
|
||||||
aCurrentRect,
|
aCropRect,
|
||||||
aCropRect);
|
aCurrentRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user