qtlearner123
26th April 2012, 05:01
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
image.setpixel(int x, int y, QRGB);
could someone please suggest me some idea on this how to get the boundary position.
thanks and regards,
satya
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
image.setpixel(int x, int y, QRGB);
could someone please suggest me some idea on this how to get the boundary position.
thanks and regards,
satya