|Drawing to a GC through an external native library [message #636767]
||Tue, 02 November 2010 17:24
| Christian Sell
Registered: August 2010
I am having problems with printing to an SWT printer through an external library. I have created a GC for the printer device (actually, for a print preview image) and am printing to it from Java. then, at some point, I need to invoke an external component (which I have integrated via JNI) to perform additional output. For this purpose, I am passing the GC handle over into the native code.
The printing on the native side seems to go OK, since the API method I am calling returns all the correct data. However, on the Java side, the output is not visible.
can anybody provide hints here? I know this is a rather exotic issue..
Powered by FUDForum
. Page generated in 0.02049 seconds