Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 6 - Drawing and Graphics 2.1 / Drawing and Graphics Reference
Functions and Methods /


PackRGB

PackRGB(red, green, blue)

Returns a packed integer in a format that can be used when drawing shapes or text.

red
A 16-bit integer, that is in the range [0,65535].

green
A 16-bit integer, that is in the range [0,65535].

blue
A 16-bit integer, that is in the range [0,65535].

return value
A packed integer representing the color.


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