On Fri, 24 Jun 2005 08:57:29, "Steve Mills" <email@hidden> wrote:
> Can anyone tell me which would result in a faster stroke of a complex
> path, using a pattern or a dash? I'm changing our marching ants from
> QD to Quartz.
Is it important to stick with marching ants? Consider semi
transparent overlay window instead (what Finder does).
> The QD code xor'd 8 different patterns progressively.
> Switching to Quartz I used a {2,2} dash and increment the phase by 1
> each time. This results in very odd animation when running on a
> 450MHz G3. The bottom third or so of the path draws correctly each
> time (marching along nicely), but the upper 2/3 or so will sort of
> jump around, or seem to just toggle between 2 different dash phases.
> Would stroking with a pattern be any faster? I'll be drawing the
> pattern to mimmic the QD patterns, which were 45? 4-pixel alternating
> black/white lines, so I'll probably use something like this as my
> pattern draw code: BeginPath, (MoveToPoint, LineToPoint) * 3,
> StrokePath.
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden
This email sent to email@hidden