I’m trying to render a rectangle where I place its center in data units but then can choose its height and width in screen units.
As far as I can tell, this is similar to but different from:
scattering squares, as I can’t control the height and width separately
rect, as though this takes positions in data units and can take width/heights in screen units, the position always demarcates the top/bottom left and I need it to demarcate the center. If I could make the position a combination of a data unit position plus a screen unit offset, this would work, but I don’t see that option.
quadwhich seems to only be measured in data units
patchwhich seems to only be measured in data units
Is what I want possible?