You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The blue rectangle should be moved further to the left so that part of it is outside the background image. Instead, the "negative x position" is turned into a positive one. This does not happen on the right border (green rectangle).
I see the same on MacOS. It looks not like the negative x is turned into a positive one, but the value wraps around when outside the image?
If I do image_composite(image_blank(20, 10, "blue"), gravity="center", offset = "-40+0") then the blue square is all the way at the left, but further increasing the negative offset makes it bounce back again...
Right! I think we mean the same thing. Assume the left of the background image is $x_{\mathsf{background}}=0$ and the left of the blue rectangle at its intended location is $x_{\mathsf{blue,intent}} = x_{\mathsf{blue,start}} + x_{\mathsf{blue,offset}}$, where $x_{\mathsf{blue,start}}$ is essentially determined by gravity and $x_{\mathsf{blue,offset}}$ is the offset given in the offset parameter. But it seems to be placed at $x_{\mathsf{blue,is}} = |x_{\mathsf{blue,start}} + x_{\mathsf{blue,offset}}|$.
The blue rectangle should be moved further to the left so that part of it is outside the background image. Instead, the "negative x position" is turned into a positive one. This does not happen on the right border (green rectangle).
Maybe this is connected to #274 ?
current session info
The text was updated successfully, but these errors were encountered: