[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •Can we use RenderTarget.G2D_TARGET in Gephi 9.1
Page 1 of 1

Can we use RenderTarget.G2D_TARGET in Gephi 9.1

Posted: 14 Feb 2017 12:20
by yacine
When I'm using the demo project, we can use this line of code:

G2DTarget target1 = (G2DTarget) previewController.getRenderTarget(RenderTarget.G2D_TARGET);

to get the render target, but when I'm trying to include the java-tookit 9.1 jar to my projetc then using this code, there is no attribute G2D_TARGET in the RenderTarget Interface;

There is only : PDF, PROCESSING and SVG targets.

Have you any ideas?

Thanks in advance.

Re: Can we use RenderTarget.G2D_TARGET in Gephi 9.1

Posted: 14 Feb 2017 12:29
by eduramiba
Are you sure you are using Toolkit version 0.9.1?
Version 0.8.2 used to have processing, but 0.9+ does not.

Check https://github.com/gephi/gephi/issues/1289 and https://github.com/gephi/gephi/blob/0.9 ... arget.java

Re: Can we use RenderTarget.G2D_TARGET in Gephi 9.1

Posted: 14 Feb 2017 12:37
by yacine
Hi,

effectively I was using an old Jar,

thanks again for your fast responses,