"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pdfbox/src/main/java/org/apache/pdfbox/rendering/GroupGraphics.java" between
pdfbox-2.0.23-src.zip and pdfbox-2.0.24-src.zip

About: Apache PDFBox is a Java PDF library tool that allows creation of new PDF documents, manipulation of existing documents and the ability to extract content from documents.

GroupGraphics.java  (pdfbox-2.0.23-src):GroupGraphics.java  (pdfbox-2.0.24-src)
skipping to change at line 120 skipping to change at line 120
@Override @Override
public Graphics create() public Graphics create()
{ {
Graphics g = groupG2D.create(); Graphics g = groupG2D.create();
Graphics a = alphaG2D.create(); Graphics a = alphaG2D.create();
if (g instanceof Graphics2D && a instanceof Graphics2D) if (g instanceof Graphics2D && a instanceof Graphics2D)
{ {
return new GroupGraphics(groupImage, (Graphics2D)g, groupAlphaImage, (Graphics2D)a); return new GroupGraphics(groupImage, (Graphics2D)g, groupAlphaImage, (Graphics2D)a);
} }
throw new UnsupportedOperationException(); g.dispose();
throw new UnsupportedOperationException("Only Graphics2D supported by th
is method");
} }
@Override @Override
public void dispose() public void dispose()
{ {
groupG2D.dispose(); groupG2D.dispose();
alphaG2D.dispose(); alphaG2D.dispose();
} }
@Override @Override
 End of changes. 1 change blocks. 
1 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)