[ 
https://issues.apache.org/jira/browse/PDFBOX-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14503475#comment-14503475
 ] 

ASF subversion and git services commented on PDFBOX-2764:
---------------------------------------------------------

Commit 1674967 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1674967 ]

PDFBOX-2764: add method for gs operator, as suggested by Jesse Long

> Allow setting extended graphics state in PDPageContentStream
> ------------------------------------------------------------
>
>                 Key: PDFBOX-2764
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2764
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Jesse Long
>            Priority: Minor
>
> I use PDExtendedGraphicsState to draw with transparency. For this to work, I 
> register the extended graphics state, then call 
> PDPageContentStream.appendRawCommands("/name gs\n");
> appendRawCommands() has been deprecated in 2.0.0. I need a way of doing this, 
> so please either un-deprecate appendRawCommands(), or add something like:
> {code}
> public void setExtendedGraphicsState(PDExtendedGraphicsState state)
> {
>     COSName egsName = resources.add(state);
>     writeOperand(egsName);
>     writeOperator("gs");
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to