Login  Register

Re: SWT GLCanvas + Curve TextRenderer

Posted by Sven Gothel on Nov 26, 2012; 3:52pm
URL: https://forum.jogamp.org/SWT-GLCanvas-Curve-TextRenderer-tp4027219p4027221.html

On 11/26/2012 04:48 PM, visor.ck [via jogamp] wrote:
> Hi, I'm going to use jogl for drawing charts in my RCP-based applicaon.
>
> But I'm stuck trying to make  com.jogamp.graph.curve.opengl.TextRenderer to
> work with org.eclipse.swt.opengl.GLCanvas

Pls use NewtCanvasSWT, since the Eclipse SWT GLCanvas is not properly supported.
Also our SWT GLCanvas cannot suit GLCapabilties properly, read API doc.

Then .. it is easy to attach a NEWT window to SWT via NewtCanvasSWT,
i.e. use one of the unit-test/demos using graph.

>
> Can anyone provide a simple example of drawing some text on
> org.eclipse.swt.opengl.GLCanvas using
> com.jogamp.graph.curve.opengl.TextRenderer ?
>
> Thank you.

~Sven



signature.asc (909 bytes) Download Attachment