Negative bounds in Viewport

Is it possible to handle negative coordinates in a juce::Viewport? How?

With code like below for instance it is always put at origin.

view_.setBounds (juce::Rectangle<int> (-1000, -1000, 2000, 2000));
port_.setViewedComponent (&view_, false);
        
addAndMakeVisible (port_);

port_.setViewPosition (-100, -100);

The full sentence (top left) should be “Portez ce vieux whisky au juge blond qui fume”.

Managing negative coordinates is such a pain. :grimacing:

Negative positions are a never ending nightmare. :japanese_goblin:
I can not find a way to render those components properly on screen on demand.
The only workaround i’m thinking of is to add an arbitrary constant offset to everything.