Function Surface.width

Gets the width of the dsdl2.Surface in pixels

uint width() @property @trusted const;

Returns

width of the dsdl2.Surface in pixels