Fixed width line in QImage
Unsolved
General and Desktop
-
Hi! I am trying to create line plots using
QImage
. This plot is meant to be resizable in both width and height. The plotline I draw is usually 1 pixel wide, and each plotline consists of data points in tens of thousands and there are tens of plotlines in oneQImage
. When I resize, recalculating and redrawing the entireQImage
takes a lot of time and so I am trying to just scale theQImage
usingscaled()
function according to my requirements, this is very fast. However, if the height ofQImage
is small enough the line plots disappear, is there any way I can make sure that the plot lines have a fixed width no matter the size ofQImage
?