Hi all,

i have an image of a car with bulbs (a circle) , now i want to make the bulbs on or off (painting the circle) by painting red and green based on some condition, but i am failing to understand to get the boundary position of the bulbs to fill the area in order to paint using
Qt Code:
  1. image.setpixel(int x, int y, QRGB);
To copy to clipboard, switch view to plain text mode 

could someone please suggest me some idea on this how to get the boundary position.

thanks and regards,
satya