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:
@ -25,6 +25,7 @@
|
||||
#include "pdfsecurityhandler.h"
|
||||
|
||||
#include <QtCore>
|
||||
#include <QMatrix>
|
||||
#include <QDateTime>
|
||||
|
||||
namespace pdf
|
||||
@ -195,6 +196,10 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
/// Tries to read matrix from the dictionary. If matrix entry is not present, default value is returned.
|
||||
/// If it is present and invalid, exception is thrown.
|
||||
QMatrix readMatrixFromDictionary(const PDFDictionary* dictionary, const char* key, QMatrix defaultValue);
|
||||
|
||||
/// Tries to read array of real values from dictionary. If entry dictionary doesn't exist,
|
||||
/// or error occurs, empty array is returned.
|
||||
std::vector<PDFReal> readNumberArrayFromDictionary(const PDFDictionary* dictionary, const char* key);
|
||||
|
Reference in New Issue
Block a user