mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Shading: Axial shading (first part)
This commit is contained in:
@ -116,6 +116,11 @@ QRectF PDFPage::getRectMM(const QRectF& rect) const
|
||||
convertPDFPointToMM(rect.height()));
|
||||
}
|
||||
|
||||
QRectF PDFPage::getRotatedMediaBox() const
|
||||
{
|
||||
return getRotatedBox(getMediaBox(), getPageRotation());
|
||||
}
|
||||
|
||||
QRectF PDFPage::getRotatedBox(const QRectF& rect, PageRotation rotation)
|
||||
{
|
||||
switch (rotation)
|
||||
|
Reference in New Issue
Block a user