Hi list, I am working on a subclass of floatcanvas Circle that supports alpha transparency and anti-aliasing using a GC instead of a DC for the _Draw() method. See:
http://www.postlude.co.uk/incoming/AlphaCircleTest.py You will notice from this example that the same value for 'diameter' for both an AlphaCircle and a standard FloatCanvas.Circle, results in the AlphaCircle instance being twice the size of the Circle instance. Obviously this can be rectified simply by simply scaling the diameter by 0.5 in the AlphaCircle class definition. However, I'm just wondering if this points to some underlying problem or mistake that I have made with the code...? Jamie -- www.postlude.co.uk _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
