class RoundedRect : public Component {
public:
RoundedRect() {}
~RoundedRect() {}
void paint( Graphics& g ) override {
g.setColour(Colours::black);
g.fillRoundedRectangle(getLocalBounds().toFloat().reduced(1), 10);
g.setColour(Colours::green);
g.fillRoundedRectangle(getLocalBounds().toFloat().reduced(2), 10);
}
};
Any ideas what is with the pixelation in those juce corners compared to the Logic X version? I used Digital Color Meter to zoom in on the roundedRect corners.
If i use g.setImageResamplingQuality(juce::Graphics::ResamplingQuality::highResamplingQuality ); the juce version looks like this: