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 /


GetRed

GetRed (packedRGB)

Returns the value of the packedRGB argument's red component.

packedRGB
A packed integer representation of an RGB color.

return value
An integer in the range [0,65535].

SPECIAL CONSIDERATIONS

*GetRed(*PackRGB(r,g,b)) might not return r. It is only guaranteed that this function call will return an integer close to r.


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