For wide line rendering it is preferred to use polyline shaders. However creating a custom shader is complicated and a stone to far for many scriptors. This PR allows using line_width_set when wide line rendering is supported by the platform. Pull Request: https://projects.blender.org/blender/blender/pulls/146762