Difference between revisions of "XPDrawElement"
From X-Plane SDK
m (1 revision)
Latest revision as of 19:51, 20 April 2009
WIDGET_API void XPDrawElement( int inX1, int inY1, int inX2, int inY2, XPElementStyle inStyle, int inLit);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.