> On 2014 Dec 30, at 20:22, Ken Thomases wrote:
>
> Why are you using -lockFocus inside of -drawRect:?
Well, I would say because I never paid much attention to drawing, and copied or
inherited that code from someone else :)) Anyhow, I just deleted -lockFocus
and -unlockFocus from three -dra
On Dec 30, 2014, at 9:57 PM, Jerry Krinock wrote:
> Just to clarify on the guidelines for using -lockFocus in the Resolution
> Independent world…
>
> Apple’s advice to avoid -lockFocus [1] only applies to drawing into NSImage
> objects, which is called “off-screen drawing”. Using -lockFocus i
Just to clarify on the guidelines for using -lockFocus in the Resolution
Independent world…
Apple’s advice to avoid -lockFocus [1] only applies to drawing into NSImage
objects, which is called “off-screen drawing”. Using -lockFocus in -[NSView
drawRect] is, I suppose, “on-screen drawing”, and
> On 2014 Dec 17, at 05:59, Ken Thomases wrote:
>
> When you draw a single time using -lockFocus, your image can only be
> appropriate for one or the other. So, it will either be drawn at standard
> resolution, in which case it will look fuzzy or blocky on a high-resolution
> screen; or it w
On Dec 17, 2014, at 6:52 AM, Jerry Krinock wrote:
> I think I did what the "High Resolution Guidelines for OS X” document
> suggested for drawing offscreen vector images. See code snip below.
>
> The result looks the same to me. It’s OK with the old code, and OK with the
> new code.
>
> To
I think I did what the "High Resolution Guidelines for OS X” document suggested
for drawing offscreen vector images. See code snip below.
The result looks the same to me. It’s OK with the old code, and OK with the
new code.
To help me understand what I’m doing, I would appreciate if someone p