pub unsafe extern "C" fn XPDrawElement(
inX1: c_int,
inY1: c_int,
inX2: c_int,
inY2: c_int,
inStyle: XPElementStyle,
inLit: c_int,
)Expand description
XPDrawElement
XPDrawElement draws a given element at an offset on the virtual screen in set dimensions. Even if the element is not scalable, it will be scaled if the width and height do not match the preferred dimensions; it’ll just look ugly. Pass inLit to see the lit version of the element; if the element cannot be lit this is ignored.