Horizontal or vertical WPF Lines limited to 125,000 pixels?

后端 未结 2 1951
慢半拍i
慢半拍i 2021-01-18 12:30

Are horizontal or vertical WPF Lines limited to 125,000 pixels? Looking at the following code the Green line displays correctly but the Red one does not display at all despi

2条回答
  •  不要未来只要你来
    2021-01-18 12:47

    It definitely draws past 150,000 pixels, It is a bit strange that the line is not seen in this case, because for example if you do this

    
    

    or this

    
    

    all works fine, There is probably a answer somewhere as to why, but good find as this would cause significant flicker if you were animating the value of X2.

提交回复
热议问题