mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Separation color space, some bugfixing
This commit is contained in:
@ -75,14 +75,7 @@ void PDFPainter::performPathPainting(const QPainterPath& path, bool stroke, bool
|
||||
void PDFPainter::performClipping(const QPainterPath& path, Qt::FillRule fillRule)
|
||||
{
|
||||
Q_ASSERT(path.fillRule() == fillRule);
|
||||
if (m_painter->hasClipping())
|
||||
{
|
||||
m_painter->setClipPath(path, Qt::IntersectClip);
|
||||
}
|
||||
else
|
||||
{
|
||||
addError(PDFTranslationContext::tr("The paint device doesn't support clipping. Path was not clipped."));
|
||||
}
|
||||
m_painter->setClipPath(path, Qt::IntersectClip);
|
||||
}
|
||||
|
||||
void PDFPainter::performUpdateGraphicsState(const PDFPageContentProcessorState& state)
|
||||
|
Reference in New Issue
Block a user