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 /


GetGreen

GetGreen (packedRGB)

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

packedRGB
A packed integer representation of an RGB color.

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

SPECIAL CONSIDERATIONS

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


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