pastispast
1st August 2010, 18:11
Hi Friends,
I am implementing some masking feachers for the ellipse. In there I have to implement masking in the ellipse from diameter to center based on the index. I am using QGraphicsScene method "addEllipse(...)" to add the ellipse (As I have some requirements so that QGraphicsView and QGraphicsScene are necessary for me).
So far I have incremented the pen size of the ellipse to get the same behavior but I am getting some deviation from the diameter.
Is there any better solution to do this, or how can I remove such deviation from the diameter.
I have attached the images for the reference and comparison.
I am implementing some masking feachers for the ellipse. In there I have to implement masking in the ellipse from diameter to center based on the index. I am using QGraphicsScene method "addEllipse(...)" to add the ellipse (As I have some requirements so that QGraphicsView and QGraphicsScene are necessary for me).
So far I have incremented the pen size of the ellipse to get the same behavior but I am getting some deviation from the diameter.
Is there any better solution to do this, or how can I remove such deviation from the diameter.
I have attached the images for the reference and comparison.