Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Appendix A - Newton Toolkit Enhancements / Functions
/


UnPackRGB

UnPackRGB(packedRGB)

Returns a frame with information about the red, green, and blue components of a packed RGB integer.

packedRGB
A packed RGB integer, as returned by the function *PackRGB.

return value
A frame with red, green, and blue slots. Each slot contains an integer in the range [0, 65535] for that color component's value.

SPECIAL CONSIDERATIONS

UnPack(*PackRGB(r,g,b)) returns a frame {red: redInt, green:greenInt, blue: blueInt}. Note that r might not equal redInt, g might not equal greenInt, and b might not equal blueInt. It is only guaranteed that these values are similar, not identical.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help