Issue with vtkActor in different screen sizes

Yes, but what I mean is that when render a line, it may use some kind of rendering method (like shader) in the source code to maintains the thickness of the displayed lines. And it may also useful in this scenario?
I have to use shader here to extract the polyline, which is much faster than vtkCutter.