REAPER KB

Edge Attachment Coordinates

walter_themes/walter-concept-edge-attachment-coordinates · kind=reference

Edge Attachment Coordinates

The fifth through eighth coordinates of a position coordinate_list, controlling how the element resizes with its parent.

Kind: concept

For coordinate_lists that define a position, the 5th-8th items in a coordinate_list are used to specify "edge attachment". This controls how the position/size of the item changes in relation to changes of the parent size. These values are usually within 0..1, where 0 means that a change in the parent size does not affect a change in this coordinate, and 1 means that a change in the parent size changes this coordinate similarly, and 0.5 means that an increase of 2 pixels in the parent size will increase this coordinate by 1.

For other types (fonts, margins), the meanings of these items is specific to those types.

Other sections in this document