xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tonny Kohar <to...@kiyut.com>
Subject Re: rotate element?
Date Fri, 10 Feb 2006 01:50:45 GMT

On Wed, 2006-02-08 at 12:50 -0600, David Avery wrote:
> Does anyone have an example of how to rotate an element?
> I'm experimenting with the following code and getting a NPE at 
> Rectangle2D centerBounds = bridgeContext.getGraphicsNode(c).getBounds();

Have you load the css stuff as well or you only load the DOM.

Because bridgeContext will only work if you load the whole stuff.

Tonny Kohar
SVG Graphics Editor

To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org

View raw message