The OpenD Programming Language

bndScrollSliderRect

computes the bounds of the scroll slider from the scrollbar size and the handles offset and size.

offset is in the range 0..1 and defines the position of the scroll handle

size is in the range 0..1 and defines the size of the scroll handle

nothrow @trusted @nogc
void
bndScrollSliderRect
(
float* w
,
float* h
,
float offset
,
float size
)

Meta