Sorry I have question for which I probably could get answer by myself, but it’s time consuming so maybe anybody has already that experienced?
In many projects I’ve already seen that knobs are very long image files (I mean very high and very narrow) with separated frame drawings for each angle position of knob. And then when drawing knob they crop that image to one frame, and then just changing position of image to crop frame with appropriate angle. But preparing such image file with all frames is time consuming (at least for me) especially if you have many different knobs look.
But I see in juce documentation there is method
drawImageTransformed(). It allows you to use just one drawing and change the angle of it by
It seems to be much smarter then preparing many frames of one knob.
But I wonder about performence of those two methods to drawing knobs. Can anyone give some advice? Have anyone some experience with those two methods and could tell about some comparison in the concern of performence?