Re: Quartz 2D drawing problems
Re: Quartz 2D drawing problems
- Subject: Re: Quartz 2D drawing problems
- From: John Randolph <email@hidden>
- Date: Tue, 11 Nov 2003 14:23:32 -0800
On Nov 11, 2003, at 12:23 AM, Michael Schmidt wrote:
Hi,
since the update to 10.3 one of my apps has problems with redrawing
(I'm
using a custom NSView and calls to Quartz 2D within the drawRect
method).
The view shows everything that is draw and some additional stroked
lines,
which I cannot explain. The problem seems to arise, when I do something
like this:
- set stroke color
- setup a path (not closed) and stroke it
- setup an NSRect structure
- setup fill and stroke color
- fill this rectangle
- stroke this rectangle
The view draws the stroked line, the rectangle as one would expect and
in
addition the line, that would close the path stroked before (with the
color attributes set for the rectangle).
The problem disappears, if I first draw into a background image and
bitblit
from there.
Anyone with similar experiences?
Michael,
There's not enough information here for anyone to help you. Show us
the code.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.