1375,15 → 1375,12 |
|
void SlaOutputDev::endTransparencyGroup(GfxState *state) |
{ |
if (m_groupStack.count() <= 0) |
return; |
|
if (m_groupStack.count() != 0) |
{ |
groupEntry gElements = m_groupStack.pop(); |
tmpSel->clear(); |
|
groupEntry gElements = m_groupStack.pop(); |
if (gElements.Items.count() <= 0) |
return; |
|
if (gElements.Items.count() > 0) |
{ |
if (gElements.forSoftMask) |
{ |
for (int dre = 0; dre < gElements.Items.count(); ++dre) |
1449,15 → 1446,15 |
applyMask(ite); |
m_groupStack.top().Items.append(ite); |
} |
|
} |
tmpSel->clear(); |
} |
} |
|
void SlaOutputDev::setSoftMask(GfxState * /*state*/, POPPLER_CONST_070 double * /*bbox*/, GBool alpha, Function *transferFunc, GfxColor * /*backdropColor*/) |
{ |
if (m_groupStack.count() <= 0) |
return; |
|
if (m_groupStack.count() != 0) |
{ |
double lum = 0; |
double lum2 = 0; |
if (transferFunc) |
1473,6 → 1470,7 |
if (m_groupStack.top().Items.count() != 0) |
applyMask(m_groupStack.top().Items.last()); |
} |
} |
|
void SlaOutputDev::clearSoftMask(GfxState * /*state*/) |
{ |
1499,10 → 1497,9 |
ctm = state->getCTM(); |
m_ctm = QTransform(ctm[0], ctm[1], ctm[2], ctm[3], ctm[4], ctm[5]); |
QString output = convertPath(state->getPath()); |
if (output.isEmpty()) |
return; |
|
FPointArray out; |
if (!output.isEmpty()) |
{ |
out.parseSVG(output); |
out.svgClosePath(); |
out.map(m_ctm); |
1528,6 → 1525,7 |
else |
m_currentClipPath = out.copy(); |
} |
} |
|
void SlaOutputDev::eoClip(GfxState *state) |
{ |