FROM : Ben Lachman
DATE : Wed Mar 05 22:22:33 2008
displayIfNeededIgnoringOpacity goes back up the view hierarchy
looking for an opaque superview to start drawing with. Doing so was
causing an infinite drawing loop. I'm pretty sure this is because
you're not really supposed to be calling setNeedsDisplay...: and
displayIfNeeded...: within your drawRect: method. In any case it was
a nasty hack to get correct looking functionality and I'm actually
more interested in figuring out what is causing the double drawing
than hack a fix on top of it.
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
<email_removed>
740.590.0009
On Mar 3, 2008, at 5:38 AM, Uli Kusterer wrote:
> Am 29.02.2008 um 20:55 schrieb Ben Lachman:
>> [self displayIfNeededIgnoringOpacity];
>
>
> Is there a particular reason why you're calling this method? Won't
> plain old -displayIfNeeded do the job?
>
> Cheers,
> -- Uli Kusterer
> "The Witnesses of TeachText are everywhere..."
> http://www.zathras.de
>
>
>
>
>
DATE : Wed Mar 05 22:22:33 2008
displayIfNeededIgnoringOpacity goes back up the view hierarchy
looking for an opaque superview to start drawing with. Doing so was
causing an infinite drawing loop. I'm pretty sure this is because
you're not really supposed to be calling setNeedsDisplay...: and
displayIfNeeded...: within your drawRect: method. In any case it was
a nasty hack to get correct looking functionality and I'm actually
more interested in figuring out what is causing the double drawing
than hack a fix on top of it.
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
<email_removed>
740.590.0009
On Mar 3, 2008, at 5:38 AM, Uli Kusterer wrote:
> Am 29.02.2008 um 20:55 schrieb Ben Lachman:
>> [self displayIfNeededIgnoringOpacity];
>
>
> Is there a particular reason why you're calling this method? Won't
> plain old -displayIfNeeded do the job?
>
> Cheers,
> -- Uli Kusterer
> "The Witnesses of TeachText are everywhere..."
> http://www.zathras.de
>
>
>
>
>
| Related mails | Author | Date |
|---|---|---|
| Ben Lachman | Feb 21, 07:23 | |
| Ben Lachman | Feb 29, 20:55 | |
| Ken Ferry | Feb 29, 23:52 | |
| Ben Lachman | Mar 2, 22:02 | |
| Uli Kusterer | Mar 3, 11:38 | |
| Ben Lachman | Mar 5, 22:22 | |
| Ben Lachman | Mar 14, 09:11 | |
| Uli Kusterer | Mar 14, 13:11 | |
| Uli Kusterer | Mar 14, 13:34 | |
| Uli Kusterer | Mar 14, 13:54 | |
| Jean-Daniel Dupas | Mar 14, 14:09 | |
| Ben Lachman | Mar 14, 18:13 |






Cocoa mail archive

