Hi Guys,
I cannot see what is official/best way for Cocoa Target to create
REALpicture?
We have used on MAC OS for this
PicHandle -> REALBuildPictureFromPicHandle -> REALpicture
But now this method is deprecated.
I did fast attempt to use REALBuildPictureFromPictureDescription(),
Packing PicHandle, but it just returns nil.
Any hints for right direction?
/********************************************************************/
#if FBL_MAC && TARGET_COCOA
REALpicture REALBuildPictureFromPicHandle( PicHandle pic, Boolean
bPassOwnership )
{
REALpicture res = nil;
REALpictureDescription ds = {0};
ds.pictureType = pictureMacintoshPICT;
ds.pictureData = pic;
res = REALBuildPictureFromPictureDescription( &ds, bPassOwnership );
return res;
}
#endif // FBL_MAC && TARGET_COCOA
/********************************************************************/
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>