Positioning hints for aligning a surface relative to a rectangle.
These hints determine how the surface should be positioned in the case that the surface would fall off-screen if placed in its ideal position.
For example, flip-x will replace
north-west with north-east
and vice versa if the surface extends beyond the left or right edges of
the monitor.
If slide-x is set, the surface can be shifted
horizontally to fit on-screen. If resize-x is
set, the surface can be shrunken horizontally to fit.
In general, when multiple flags are set, flipping should take precedence over sliding, which should take precedence over resizing.
flip-xallow flipping anchors horizontally
flip-yallow flipping anchors vertically
slide-xallow sliding surface horizontally
slide-yallow sliding surface vertically
resize-xallow resizing surface horizontally
resize-yallow resizing surface vertically
flipallow flipping anchors on both axes
slideallow sliding surface on both axes
resizeallow resizing surface on both axes