batik-users@xmlgraphics.apache.org
[Top] [All Lists]

Re: displaying svg within a swt component

Subject: Re: displaying svg within a swt component
From: Marc Doerflinger
Date: Mon, 11 Jun 2007 08:45:53 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi volker!

no, i havent tried that one, but it sounds good. ill give it a try.
thanks for the hint.

marc

Volker wrote:
> Hi Marc,
> 
> You've probably done that already, but just in case:
> 
> The AWT-Panel you add the JSVGCanvas into should overwrite
> its update method:
> public void update(Graphics g) {
>    paint(g);
> }
> This solved some initial flickering we experienced in our RCP-App.
> 
> Good luck, Volker
> 
> 
> 
> 
> 
> 
> Marc Doerflinger wrote:
> hello batik-users!
> 
> i need to display svg graphics within our swt application. so far i did
> this by embedding the jsvgcanvs within a swt composite. but once i start
> massive editing within the svg (moving of elements) in dynamic mode, the
> graphics start to flicker. i already asked about the flickering problem
> before in this list, but i didnt recieve any useable answers. also the
> problem does not seem to exist within swing applications. since i cannot
> change to swing, i wonder if someone knows any other way of displaying
> svg graphics within a swt application. are there any other libraries
> besides batik? if not, are there any plans for batik to support "native"
> (without embedding swing components) swt?
> 
> regards,
> marc
>>
- ---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: batik-users-help@xxxxxxxxxxxxxxxxxxxxxx
>>
>>
>>

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: batik-users-help@xxxxxxxxxxxxxxxxxxxxxx



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGbO+h6mRZxtk0FrcRAgjTAJ4+Wbg6lOwNHJyppRwbrJ/deD2z9wCgjj9Z
oUTS9IxkNDc5CtSpuxMc8Eo=
=oioN
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: batik-users-help@xxxxxxxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>