mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Image processing for transparency renderer
This commit is contained in:
@@ -39,6 +39,7 @@ namespace pdf
|
||||
{
|
||||
class PDFCMS;
|
||||
class PDFMesh;
|
||||
class PDFImage;
|
||||
class PDFTilingPattern;
|
||||
class PDFOptionalContentActivity;
|
||||
|
||||
@@ -508,6 +509,13 @@ protected:
|
||||
/// clip along the path (intersect with current clipping path).
|
||||
virtual void performClipping(const QPainterPath& path, Qt::FillRule fillRule);
|
||||
|
||||
/// Performs image processing on original image. If processor processes
|
||||
/// original image, it should return true, so no conversion to QImage occurs,
|
||||
/// which can be performance bottleneck.
|
||||
/// \param image Image
|
||||
/// \returns true, if image is successfully processed
|
||||
virtual bool performOriginalImagePainting(const PDFImage& image);
|
||||
|
||||
/// This function has to be implemented in the client drawing implementation, it should
|
||||
/// draw the image.
|
||||
/// \param image Image to be painted
|
||||
|
Reference in New Issue
Block a user