xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas.dewe...@kodak.com
Subject RE: Batik offscreen rendering howto?
Date Sun, 05 Mar 2006 20:42:26 GMT
Hi Javid,

"Javid Alimohideen" <javid.am@gmail.com> wrote on 03/05/2006 03:24:58 PM:

> I had a small bug when I was doing my updates which is fixed now and 
works
> great. If I need the offscreen image once the document is fully loaded 
and
> rendererd which listeners should I use.

   Note that in my update I call:
                renderer.repaint(new Rectangle(0, 0, DISPLAY_WIDTH, 
DISPLAY_HEIGHT));

   After this you can call renderer.getOffscreen() to get the image
before updates.

>  Now, I get offscreen images after
> every updates but I would also need the image before I do any updates.
> 
> Thanks,
> Javid
> 
> -----Original Message-----
> From: thomas.deweese@kodak.com [mailto:thomas.deweese@kodak.com]
> Sent: Sunday, March 05, 2006 8:49 AM
> To: batik-users@xmlgraphics.apache.org
> Cc: batik-users@xmlgraphics.apache.org
> Subject: RE: Batik offscreen rendering howto?
> 
> 
> Hi Javid,
> 
>    I've created a Wiki page with an example that Works For Me(TM).
> 
>         http://wiki.apache.org/xmlgraphics-batik/DynamicSvgOffscreen
> 
> "Javid Alimohideen" <javid.am@gmail.com> wrote on 03/05/2006 12:38:48 
AM:
> 
> > I managed to write a simple standalone version of the offscreen 
renderer
> > with the updatemanagerlistener. But for some reason, the 
updateCompleted
> > method is never called.
> 
>   I actually don't think there are any really significant changes from
> your original code
> so I am surprised that your stuff didn't work.  You might want to look 
at
> the main I provided
> as that is where I modify the document.  I suspect that you weren't do
> this correctly.
> 
> 
> > Kindly, excuse me for pasting the entire code as I am not sure
> > if attachments are aloowed.
> 
>    Generally attachements aren't allowed, you could add the code
> to a Wiki-Page as well.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
> 


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


Mime
View raw message