[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: drawing to NSImage off display
From: |
Omniscient |
Subject: |
Re: drawing to NSImage off display |
Date: |
Mon, 11 May 2009 23:54:58 -0700 (PDT) |
User-agent: |
G2/1.0 |
On May 12, 1:41 pm, Omniscient <obj...@gmail.com> wrote:
> and please take a look at
> -lockFocusOnRepresentation:
>
> if (imageRep == nil)
> imageRep = [self bestRepresentationForDevice: nil];
>
> imageRep = [self _cacheForRep: imageRep];
>
> imageRep got assigned twice.
Ah, my bad.