I've found this compass written in JavaFx. https://harmoniccode.blogspot.com/2014/04/just-because-you-asked-for-it.html
I'm trying to draw it using SWT GC, but I'm not able to draw and rotate the texts (N, 3, 6, E, 12, etc.) around the circle.
Does anyone know how to do that using SWT GC?