XPDrawTrack

Function XPDrawTrack 

Source
pub unsafe extern "C" fn XPDrawTrack(
    inX1: c_int,
    inY1: c_int,
    inX2: c_int,
    inY2: c_int,
    inMin: c_int,
    inMax: c_int,
    inValue: c_int,
    inTrackStyle: XPTrackStyle,
    inLit: c_int,
)
Expand description

XPDrawTrack

This routine draws a track. You pass in the track dimensions and size; the track picks the optimal orientation for these dimensions. Pass in the track’s minimum current and maximum values; the indicator will be positioned appropriately. You can also specify whether the track is lit or not.