I am trying to display text on a plugin viewport when in OpenGL mode.
The text should have a transparent background but I have not found a way of achieving this. The code here results in the first screenshot, with OpenGL selected. I need to produce a bitmap with a transparent background.
wxBitmap bm(w + label_offset*2, h + 1);
A second problem I have is drawing filled polygons with OpenGL on the viewport.
Is there any code in OpenCPN
or one of the plugins that could point me in the right direction?
Thanks for looking.