Moved the code to here. http://dl.dropbox.com/u/5614061/snippet.txt

The drawRect redraws the entire view.  So, in a sense, I am drawing over 
everything in that view.  What's interesting, is the lines are left from the 
first time I adjust the blue lines, any additional adjustments to the blue line 
don't leave any residuals. 

Changing the setLineWidth prior to any drawing doesn't have any affect on the 
problem.  Didn't think it would as I understand the "attributes" are not 
applied until the stroke happens.  I'll look into Quartz debug.

On Jul 29, 2010, at 3:54 PM, Tony Romano wrote:

> The drawRect redraws the entire view.  So, in a sense, I am drawing over 
> everything in that view.  What's interesting, is the lines are left from the 
> first time I adjust the blue lines, any additional adjustments to the blue 
> line don't leave any residuals. 
> 
> Changing the setLineWidth prior to any drawing doesn't have any affect on the 
> problem.  Didn't think it would as I understand the "attributes" are not 
> applied until the stroke happens.  I'll look into Quartz debug.
> 
> -Tony
> 
> On Jul 29, 2010, at 2:48 PM, Michael Dautermann wrote:
> 
>> Here's something else I noticed in your code.
>> 
>> You set the stroke width near the bottom of the drawGrid function, which 
>> happens AFTER you do the first draw of the lines.  Try moving the 
>> setLineWidth method call up to the top of your drawGrid and see if that 
>> makes any difference.
>> 
>> On Jul 29, 2010, at 2:01 PM, Tony Romano wrote:
>> 
>>> The drawRect redraws the entire view.  So, in a sense, I am drawing over 
>>> everything in that view.  What's interesting, is the lines are left from 
>>> the first time I adjust the blue lines, any additional adjustments to the 
>>> blue line don't leave any residuals. 
>>> 
>>> -Tony
>>>> 

-Tony

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to