Hi I am writing a PDF transcoder, including extending org.apache.batik.ext.awt.g2d.AbstractGraphics2D. Using some SVG like this: <?xml version="1.0"
encoding="utf-8"?> <circle cx='200' cy='200' r='100'
stroke='red' stroke-width='3' fill="green"
opacity=".1"/> When a shape is rendered, if it has no opacity attribute then AbstractGraphics2D.drawShape is and I can render the shape to PDF ok. But if the shape has an opacity attribute then AbstractGraphics2D.drawImage is called instead, whereas I would like to have drawShape() also called and I handle the opacity within the PDF. I have a feeling this is a configuration setting or similar, and was wondering if anyone can tell me why this happens, before I spend a day installing the source and wading through it myself. Thanks for your help John Farrow Visual
Programming Ltd |
- extending AbstractGraphics2D john farrow
- Re: extending AbstractGraphics2D john farrow
- Re: extending AbstractGraphics2D Thomas DeWeese
- Re: extending AbstractGraphics2D john farrow
- Re: extending AbstractGraphics2D Thomas DeWeese
- Re: extending AbstractGraphics2D john farrow