• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Quartz 2D drawing problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Quartz 2D drawing problems
      • From: John Randolph <email@hidden>
  • Prev by Date: Re: NSView subclass bindings? NSTextView? (WebView?)
  • Next by Date: Re: NSArrayController selection bug?
  • Previous by thread: Re: NSTableView selection
  • Next by thread: Re: Quartz 2D drawing problems
  • Index(es):
    • Date
    • Thread