Re: Format float value to display with commas

2009-01-21 Thread Rob Boellaard
In addition to Kenneth Bruno's suggestion, there is also the Data Formatting guide: http://developer.apple.com/documentation/Cocoa/Conceptual/DataFormatting/DataFormatting.html hth, Rob On Jan 21, 2009, at 12:59 PM, Tharindu Madushanka wrote: Hi I have float variables that

Re: CALayer not displaying masked CGImage properly

2009-01-09 Thread Rob Boellaard
the transparant area of the image. This would mean I am not creating my own masked image correctly. I guess I am unclear about how an image mask should work with alpha channel. I'll experiment some more. thanks anyway, Rob On Jan 8, 2009, at 9:56 AM, Rob Boellaard wrote: Hi everybody, I am

CALayer not displaying masked CGImage properly

2009-01-08 Thread Rob Boellaard
Hi everybody, I am trying to learn CoreGraphics and CoreAnimation, things were going well, but now I seem to be stuck. I have an image mask (CGImageRef) that displays nicely when I draw it directly in an NSView. But when I add the same image mask to a CALayer which I then add to a