On 06/05/2009, at 4:47 AM, McLaughlin, Michael P. wrote:
In a custom NSBezierView, I fill the view with a background color
then set a
clip path that will eventually be drawn as a map. I do this so that
I can
color-code the map (in a complicated way) without "going outside the
lines".
If
On Tue, May 5, 2009 at 2:57 PM, McLaughlin, Michael P. wrote:
> Naturally, I came up with a solution two minutes after posting my query to
> this list :-(
>
> My solution is
>
> [[NSBezierPath bezierPathWithRect:rect] setClip];
>
> where rect is the viewRect. This works for me. It might not be t
On May 5, 2009, at 11:57 AM, McLaughlin, Michael P. wrote:
Naturally, I came up with a solution two minutes after posting my
query to
this list :-(
My solution is
[[NSBezierPath bezierPathWithRect:rect] setClip];
where rect is the viewRect. This works for me. It might not be
the best
s
Naturally, I came up with a solution two minutes after posting my query to
this list :-(
My solution is
[[NSBezierPath bezierPathWithRect:rect] setClip];
where rect is the viewRect. This works for me. It might not be the best
solution in all cases.
*** Original post ***
In a custom NSBezierV
On May 5, 2009, at 12:47 PM, McLaughlin, Michael P. wrote:
In a custom NSBezierView, I fill the view with a background color
then set a
clip path that will eventually be drawn as a map. I do this so that
I can
color-code the map (in a complicated way) without "going outside the
lines".
I
In a custom NSBezierView, I fill the view with a background color then set a
clip path that will eventually be drawn as a map. I do this so that I can
color-code the map (in a complicated way) without "going outside the lines".
If I then draw the map, external boundaries are drawn as half-width l