REAPER KB

knob-stack

walter_themes/image-type-knob-stack · kind=reference

knob-stack

an image that is used as a knob stack.

Kind: glossary-entry (image-type)

an image that is used as a knob stack. The image is treated as a group of image slices, spread along the larger dimension of the image.

  1. If the image has no pink corner lines, the smaller dimension is used as the slice size. The image will be drawn square (and centered in the knob area if needed).
  2. If the image has pink lines only, the pink line on the top or left (depending on the axis of the slices) define the slice size, allowing for non-square slices. The image will be drawn with aspect ratio preserved in the knob area.
  3. If the image has yellow lines in addition to pink lines, the yellow lines define the outside area, where the image is drawn according to the above logic, but with an outer extent region as specified by the yellow pixels. Note that yellow pixels being used require a certain amount of pink to signify that the logic should be active.

Finally, in the instance where there are tcp_knob_stack and tcp_knob_stack_1 etc, the image used will be selected from from these images based on aspect ratio and size.

Other sections in this document