diff options
author | Keiron Liddle <keiron@apache.org> | 2002-06-20 12:20:46 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-06-20 12:20:46 +0000 |
commit | 5aac7ca831a83a2f144c07c32198b50ac6270891 (patch) | |
tree | a20efbe891b8fca2dfe58e7ab42fffcfe0b513dd /src/org/apache/fop/pdf/PDFDocument.java | |
parent | 7043c9829a66de30102b9a4ea839cc1633aa1db1 (diff) | |
download | xmlgraphics-fop-5aac7ca831a83a2f144c07c32198b50ac6270891.tar.gz xmlgraphics-fop-5aac7ca831a83a2f144c07c32198b50ac6270891.zip |
implemented some basic transparency, needs optimization
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194903 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/pdf/PDFDocument.java')
-rw-r--r-- | src/org/apache/fop/pdf/PDFDocument.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/org/apache/fop/pdf/PDFDocument.java b/src/org/apache/fop/pdf/PDFDocument.java index 3954793d0..b2547e975 100644 --- a/src/org/apache/fop/pdf/PDFDocument.java +++ b/src/org/apache/fop/pdf/PDFDocument.java @@ -920,6 +920,15 @@ public class PDFDocument { return array; } + /** + * make an ExtGState for extra graphics options + */ + public PDFGState makeGState() { + + PDFGState gstate = new PDFGState(++this.objectcount); + this.objects.add(gstate); + return gstate; + } public int addImage(FopImage img) { // check if already created |