mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-03-12 09:20:14 +01:00
Issue #185: Latest git fails to build in linux
This commit is contained in:
parent
8240ae061c
commit
2a93ca5a1f
@ -302,7 +302,7 @@ void PDFBLPaintEngine::updateState(const QPaintEngineState& updatedState)
|
||||
if (updatedState.state().testFlag(QPaintEngine::DirtyTransform))
|
||||
{
|
||||
m_currentTransform = updatedState.transform();
|
||||
m_blContext->setMatrix(getBLMatrix(updatedState.transform()));
|
||||
m_blContext->setTransform(getBLMatrix(updatedState.transform()));
|
||||
}
|
||||
|
||||
if (updatedState.state().testFlag(QPaintEngine::DirtyFont))
|
||||
@ -580,7 +580,7 @@ void PDFBLPaintEngine::drawPathImpl(const QPainterPath& path, bool enableStroke,
|
||||
if (!fillPath.isEmpty())
|
||||
{
|
||||
m_blContext->save();
|
||||
m_blContext->resetMatrix();
|
||||
m_blContext->resetTransform();
|
||||
m_blContext->fillPath(getBLPath(fillPath));
|
||||
m_blContext->restore();
|
||||
}
|
||||
@ -596,7 +596,7 @@ void PDFBLPaintEngine::drawPathImpl(const QPainterPath& path, bool enableStroke,
|
||||
if (!finalTransformedStrokedPath.isEmpty())
|
||||
{
|
||||
m_blContext->save();
|
||||
m_blContext->resetMatrix();
|
||||
m_blContext->resetTransform();
|
||||
setBLBrush(m_blContext.value(), m_currentPen.brush());
|
||||
m_blContext->fillPath(getBLPath(finalTransformedStrokedPath));
|
||||
m_blContext->restore();
|
||||
@ -1183,10 +1183,10 @@ void PDFBLPaintEngine::updateClipping(std::optional<QRegion> clipRegion,
|
||||
|
||||
if (m_clipSingleRect)
|
||||
{
|
||||
BLMatrix2D matrix = m_blContext->userMatrix();
|
||||
m_blContext->resetMatrix();
|
||||
BLMatrix2D matrix = m_blContext->userTransform();
|
||||
m_blContext->resetTransform();
|
||||
m_blContext->clipToRect(getBLRect(m_finalClipPath->boundingRect()));
|
||||
m_blContext->setMatrix(matrix);
|
||||
m_blContext->setTransform(matrix);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1,4 +1,5 @@
|
||||
CURRENT:
|
||||
- Issue #185: Latest git fails to build in linux
|
||||
|
||||
V: 1.4.0.0 4.7.2024
|
||||
- Issue #190: PageMaster crash + black bubbles instead of bubbles with correct color
|
||||
|
Loading…
x
Reference in New Issue
Block a user