PDA

View Full Version : Filling a pie pixel by pixel



pradhan
10th December 2013, 07:47
Hi,

i have drawn a pie, i want to fill the pie area, pixel by pixel based on different colors . What would be the best way to achieve this ??.


Kindly advise

xxxollixxx
10th December 2013, 09:33
If you allready have a QImage image; of your pie, you can use the image.setPixel(x,y,color); function. Best regards, Olli