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
On Dec 31, 2013, at 12:45 AM, Andy Lee ag...@mac.com wrote:
On Dec 30, 2013, at 5:34 PM, Alex Hall mehg...@gmail.com 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
On 31 Dec 2013, at 6:15 AM, Leonardo mac.iphone@gmail.com 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
On Dec 31, 2013, at 9:13 AM, Alex Hall mehg...@gmail.com 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
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 the
On Dec 30, 2013, at 2:39 PM, Quincey Morris
quinceymor...@rivergatesoftware.com wrote:
On Dec 30, 2013, at 13:06 , Scott Ribe scott_r...@elevated-dev.com wrote:
Does anyone have any further suggestion for me???
The release notes for 10.6 say this:
For apps linked on or after