Bitmaps can be read from files by sending the readBitmapFile:widthReturn:heightReturn:bitmapReturn:xHotReturn:yHotReturn: message to any CgDrawable. Parameters passed to the method include the file name and ReturnParameter objects for the width, height, the actual bitmap, and the x and y hot spot location. The value of any ReturnParameter object can be accessed by sending it the value message.
|