Re: Problem with CGPDFPageRef

2010-06-02 Thread David Duncan
On Jun 2, 2010, at 1:11 PM, Development wrote:

 Ok this is bizarre and it's been happening in several apps of mine and I 
 don't understand it.
 I'm getting scrambled variable data. For instance I pass a float 'float' with 
 a value of 1.0 and the receiver gets some weird number like 345783653.0.


What's the code look like here? Are you getting any warnings?

More than likely this is something along the lines of a type mismatch on the 
message send, but without seeing the code it is hard to know how or why that 
might happen.
--
David Duncan
Apple DTS Animation and Printing

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Problem with CGPDFPageRef

2010-06-02 Thread David Duncan
On Jun 2, 2010, at 1:23 PM, Development wrote:

 This is what I use to get the page: CGPDFPageRef thePage = 
 CGPDFDocumentGetPage(self.pdf,1);
 and what is passed back is a CALayer


You previously mentioned that a receiver was getting the incorrect value – this 
code doesn't show any objects or messages. Where are you getting the wrong 
value and where is that code being called from with the correct value?
--
David Duncan
Apple DTS Animation and Printing

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com