Using C, I have loaded some bitmaps of gauges on the screen and now I want to control the rotation of needles on it. The resolution I have used is 1024 * 768.(super VGA mode) the background (the set of gauges) has only 5 colors and the needles has only 1 color.
each needle is defined as array of points and fillpoly() forms a needle. before rotation of needles, I save the background (using getimage() )and load it after the second rotation (using putimage()) but it’s time consuming so not smooth and is blinking. I’m looking for some tricks to solve it or completely change my procedure. help me, please. thanks in advance.