Quartz 2D drawing problems
Quartz 2D drawing problems
- Subject: Quartz 2D drawing problems
- From: Michael Schmidt <email@hidden>
- Date: Tue, 11 Nov 2003 09:23:34 +0100
- Organization: AbsInt GmbH
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 Schmidt
_______________________________________________
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.