For some reason I can't connect to your iDisk.
Anyway, I use
err = QDBeginCGContext(destPort, contextPtr);
to get my context which perhaps could make a difference.
Can you get non anti-aliased CG paths on 10.2.8 with 1 pixel widths
using your method?
My implementation is based on the tk canvas item plugin structure
so I get a drawable to draw in which is used to get the context from
the line above.
On Monday, Mar 14, 2005, at 02:48 US/Pacific, Mats Bengtsson wrote:
>The line is not anti-aliased. Drawing anti-aliased lines seems to produce
>the expected results with expected approximate widths.
I have put in the public folder of my iDisk (account name
'philip_aker'), 3 examples. One is the same "Collage" subview with
anti-aliasing turned off. As you can see, the line width of the border
is the same. There are also 2 other comparative examples with the same
square being drawn with and without antialiasing.
Other info that may be relevant is that I draw into windows with
compositing turned on and receive the context as one of the parameters
for drawing HIViews.
Hitta rätt på nätet med MSN Sök http://search.msn.se/