Skip navigation.
 
mlRe: lockFocus clearing current color
FROM : Jonathon Mah
DATE : Sat Apr 16 19:19:07 2005

On 17 Apr 2005, at 02:40, Matt Neuburg wrote:

>>> After locking focus onto another view/image, you may
>>> need to set the color again, otherwise it will default
>>> to black.

>>
>> So how do I find out what it was?

>
> It's your code, so how can you *not* know what it was? m.


I /could/ pass it along as an argument to the -strokeOutside method,
but I shouldn't have to. Just as you don't have to pass it along to
-[NSBezierPath fill].

(This assumes you read my previous message on it being a category of
NSBezierPath.)


Jonathon Mah
<email_removed>

Related mailsAuthorDate
mllockFocus clearing current color Jonathon Mah Apr 16, 18:21
mlRe: lockFocus clearing current color Ian was here Apr 16, 18:57
mlRe: lockFocus clearing current color Jonathon Mah Apr 16, 18:58
mlRe: lockFocus clearing current color Ian was here Apr 16, 19:01
mlRe: lockFocus clearing current color Jonathon Mah Apr 16, 19:04
mlRe: lockFocus clearing current color Matt Neuburg Apr 16, 19:10
mlRe: lockFocus clearing current color Jonathon Mah Apr 16, 19:19
mlRe: lockFocus clearing current color Jonathon Mah Apr 16, 20:10