I work on macbook pro 13’ retina.
I designed knobs of my plugin by drawing primitive elements in
Eeach knob is drawing in
Rectangle<float> knobSize(50.0f, 50.0f);
And now I want to draw them from binary *.png files.
So I used system Screenshot app to capture my knobs, and open it in GIMP 2.10 to polish them, remove background etc.
But unfortunately I found out in GIMP size of my knob is suddenly 100x100 (instead 50x50 like my
And when I draw that knobs by:
The knob is two times bigger than it should be.
So what is recommended solution? Rescale the png file in GIMP, or better in code by
Please notice I also want to make it looking nice on non-retina displays. Or maybe I should have some macro to recognize non-retina display and then make special code for that case?
I have no idea how to deal with that. Could anyone give some advice? Great thanks in advance.