You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2021/10/14 17:19:52 UTC
svn commit: r1894253 -
/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
Author: tilman
Date: Thu Oct 14 17:19:52 2021
New Revision: 1894253
URL: http://svn.apache.org/viewvc?rev=1894253&view=rev
Log:
PDFBOX-4892: remove TODO comments 1. because applySoftMaskToPaint is also used without getPaint() 2. because intersect isn't available for GeneralPath
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java?rev=1894253&r1=1894252&r2=1894253&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java Thu Oct 14 17:19:52 2021
@@ -650,7 +650,6 @@ public class PageDrawer extends PDFGraph
linePath.closePath();
}
- //TODO: move soft mask apply to getPaint()?
private Paint applySoftMaskToPaint(Paint parentPaint, PDSoftMask softMask) throws IOException
{
if (softMask == null || softMask.getGroup() == null)
@@ -860,7 +859,6 @@ public class PageDrawer extends PDFGraph
@Override
public void strokePath() throws IOException
{
- //TODO bbox of shading pattern should be used here? (see fillPath)
if (isContentRendered())
{
graphics.setComposite(getGraphicsState().getStrokingJavaComposite());