In my NSView subclass, I have to draw an image within a bezierPath and apply
an NSShadow to the result.
So within the drawRect: method I add
[bezierPath addClip];
[mImage drawInRect:inRect fromRect:fromRect
operation:NSCompositeSourceOver fraction:mOpacity];
It works. The image gets cli
On Dec 31, 2013, at 12:45 AM, Andy Lee wrote:
> On Dec 30, 2013, at 5:34 PM, Alex Hall wrote:
>> Anyway, the problem remains that I need to capture keystrokes (and
>> eventually mouse movements) in a subclass of NSView, but nothing seems to
>> happen. Since this is an audio game, there is no
On 31 Dec 2013, at 6:15 AM, Leonardo wrote:
> In my NSView subclass, I have to draw an image within a bezierPath and apply
> an NSShadow to the result.
> So within the drawRect: method I add
>
> [bezierPath addClip];
> [mImage drawInRect:inRect fromRect:fromRect
> operation:NSCompositeSo
On Dec 31, 2013, at 9:13 AM, Alex Hall wrote:
> Sorry, I should have specified - I'm so used to seeing it I didn't even
> think. The loop is based on an NSTimer and is used to process sound position
> updates. Basically, I use it to pan sounds and draw updates. I'm not putting
> key management
Thank you Fritz. I am afraid your method doesn't work in my case.
Me too I need to draw a rounded rect path with shadow. But its background
has an half-a-transparent color. So if I "stroke" the bezierPath (to cast
the shadow) I can quite see the path as a line. If I "fill" the bezierPath
(to cast t
On Dec 30, 2013, at 2:39 PM, Quincey Morris
wrote:
> On Dec 30, 2013, at 13:06 , Scott Ribe wrote:
>
>> Does anyone have any further suggestion for me???
>
> The release notes for 10.6 say this:
>
>> For apps linked on or after SnowLeopard, if a combo box is configured to
>> send action on