You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2015/04/20 21:34:59 UTC
[jira] [Resolved] (PDFBOX-2764) Allow setting extended graphics
state in PDPageContentStream
[ https://issues.apache.org/jira/browse/PDFBOX-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved PDFBOX-2764.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Assignee: Tilman Hausherr
Thanks, done. I used a different name (the same one that we use for the operator when rendering) after reading the specification.
> 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
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.0
>
>
> 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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org