Article # 64, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Palette manipulation
Q. What is "palette manipulation" and can you give an example? A. Each window in GEOS has an associated color palette that is a list of RGB values to use for various colors. You may change any or all of the color values in a window's palette using GrCreatePalette(), GrSetPalette(), and GrSetPaletteEntry(). GEOS will use the palette from the currently active window. If it uses custom colors, then other (inactive) windows will also be drawn with the same values, so they may appear distorted. You can read Concepts 24.3.1.3 for more details. However, this is an advanced graphics feature and is rarely used in most applications.