mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Minor bufixes in axial shading, clipping on crop box
This commit is contained in:
@ -121,6 +121,11 @@ QRectF PDFPage::getRotatedMediaBox() const
|
||||
return getRotatedBox(getMediaBox(), getPageRotation());
|
||||
}
|
||||
|
||||
QRectF PDFPage::getRotatedCropBox() const
|
||||
{
|
||||
return getRotatedBox(getCropBox(), getPageRotation());
|
||||
}
|
||||
|
||||
QRectF PDFPage::getRotatedBox(const QRectF& rect, PageRotation rotation)
|
||||
{
|
||||
switch (rotation)
|
||||
|
Reference in New Issue
Block a user