DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: X

⟦b30e7b1df⟧

    Length: 7837 (0x1e9d)
    Names: »XAllocStandardColormap.3X«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat3/XAllocStandardColormap.3X« 

Default Hex Dump

0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f   ┆   _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 09 09 4c 69 62 72 61 72 79 09 46 75 6e 63 74 69 6f 6e 08 58 73 08 41 6c   ┆ u_ a_ l  Library Function Xs Al┆
0x0040…0060 6c 6f 63 53 74 61 6e 64 61 72 64 43 6f 6c 6f 72 6d 61 70 28 33 58 29 0a 0a 0a 0a 4e 08 4e 08 4e   ┆locStandardColormap(3X)    N N N┆
0x0060…0080 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 20 20 58 41 6c   ┆ NA A A AM M M ME E E E      XAl┆
0x0080…00a0 6c 6f 63 53 74 61 6e 64 61 72 64 43 6f 6c 6f 72 6d 61 70 2c 20 58 53 65 74 52 47 42 43 6f 6c 6f   ┆locStandardColormap, XSetRGBColo┆
0x00a0…00c0 72 6d 61 70 73 2c 20 58 47 65 74 52 47 42 43 6f 6c 6f 72 6d 61 70 73 2c 0a 20 20 20 20 20 58 53   ┆rmaps, XGetRGBColormaps,      XS┆
0x00c0…00e0 74 61 6e 64 61 72 64 43 6f 6c 6f 72 6d 61 70 20 2d 20 61 6c 6c 6f 63 61 74 65 2c 20 73 65 74 2c   ┆tandardColormap - allocate, set,┆
0x00e0…0100 09 6f 72 20 72 65 61 64 09 61 20 73 74 61 6e 64 61 72 64 20 63 6f 6c 6f 72 2d 0a 20 20 20 20 20   ┆ or read a standard color-      ┆
0x0100…0120 6d 61 70 20 73 74 72 75 63 74 75 72 65 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e   ┆map structure  S S S SY Y Y YN N┆
0x0120…0140 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 58   ┆ N NT T T TA A A AX X X X      X┆
0x0140…0160 53 74 61 6e 64 61 72 64 43 6f 6c 6f 72 6d 61 70 20 2a 58 41 6c 6c 6f 63 53 74 61 6e 64 61 72 64   ┆StandardColormap *XAllocStandard┆
0x0160…0180 43 6f 6c 6f 72 6d 61 70 28 29 0a 0a 20 20 20 20 20 76 6f 69 64 20 58 53 65 74 52 47 42 43 6f 6c   ┆Colormap()       void XSetRGBCol┆
0x0180…01a0 6f 72 6d 61 70 73 28 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 2c 20 5f 08   ┆ormaps(_ d_ i_ s_ p_ l_ a_ y, _ ┆
0x01a0…01c0 77 2c 20 5f 08 73 5f 08 74 5f 08 64 5f 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f   ┆w, _ s_ t_ d__ c_ o_ l_ o_ r_ m_┆
0x01c0…01e0 08 61 5f 08 70 2c 20 5f 08 63 5f 08 6f 5f 08 75 5f 08 6e 5f 08 74 2c 20 5f 08 70 5f 08 72 5f 08   ┆ a_ p, _ c_ o_ u_ n_ t, _ p_ r_ ┆
0x01e0…0200 6f 5f 08 2d 0a 20 20 20 20 20 5f 08 70 5f 08 65 5f 08 72 5f 08 74 5f 08 79 29 0a 09 20 20 20 44   ┆o_ -      _ p_ e_ r_ t_ y)     D┆
0x0200…0220 69 73 70 6c 61 79 20 2a 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 3b 0a 09   ┆isplay *_ d_ i_ s_ p_ l_ a_ y;  ┆
0x0220…0240 20 20 20 57 69 6e 64 6f 77 20 5f 08 77 3b 0a 09 20 20 20 58 53 74 61 6e 64 61 72 64 43 6f 6c 6f   ┆   Window _ w;     XStandardColo┆
0x0240…0260 72 6d 61 70 20 2a 5f 08 73 5f 08 74 5f 08 64 5f 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f   ┆rmap *_ s_ t_ d__ c_ o_ l_ o_ r_┆
0x0260…0280 08 6d 5f 08 61 5f 08 70 3b 0a 09 20 20 20 69 6e 74 20 5f 08 63 5f 08 6f 5f 08 75 5f 08 6e 5f 08   ┆ m_ a_ p;     int _ c_ o_ u_ n_ ┆
0x0280…02a0 74 3b 0a 09 20 20 20 41 74 6f 6d 09 5f 08 70 5f 08 72 5f 08 6f 5f 08 70 5f 08 65 5f 08 72 5f 08   ┆t;     Atom _ p_ r_ o_ p_ e_ r_ ┆
0x02a0…02c0 74 5f 08 79 3b 0a 0a 20 20 20 20 20 53 74 61 74 75 73 20 58 47 65 74 52 47 42 43 6f 6c 6f 72 6d   ┆t_ y;       Status XGetRGBColorm┆
0x02c0…02e0 61 70 73 28 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 2c 20 5f 08 77 2c 20   ┆aps(_ d_ i_ s_ p_ l_ a_ y, _ w, ┆
0x02e0…0300 5f 08 73 5f 08 74 5f 08 64 5f 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f   ┆_ s_ t_ d__ c_ o_ l_ o_ r_ m_ a_┆
0x0300…0320 08 70 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 2c 0a 20 20 20 20 20 5f 08 63 5f   ┆ p__ r_ e_ t_ u_ r_ n,      _ c_┆
0x0320…0340 08 6f 5f 08 75 5f 08 6e 5f 08 74 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 2c 20   ┆ o_ u_ n_ t__ r_ e_ t_ u_ r_ n, ┆
0x0340…0360 5f 08 70 5f 08 72 5f 08 6f 5f 08 70 5f 08 65 5f 08 72 5f 08 74 5f 08 79 29 0a 09 20 20 20 44 69   ┆_ p_ r_ o_ p_ e_ r_ t_ y)     Di┆
0x0360…0380 73 70 6c 61 79 20 2a 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 3b 0a 09 20   ┆splay *_ d_ i_ s_ p_ l_ a_ y;   ┆
0x0380…03a0 20 20 57 69 6e 64 6f 77 20 5f 08 77 3b 0a 09 20 20 20 58 53 74 61 6e 64 61 72 64 43 6f 6c 6f 72   ┆  Window _ w;     XStandardColor┆
0x03a0…03c0 6d 61 70 20 2a 2a 5f 08 73 5f 08 74 5f 08 64 5f 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f   ┆map **_ s_ t_ d__ c_ o_ l_ o_ r_┆
0x03c0…03e0 08 6d 5f 08 61 5f 08 70 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 3b 0a 09 20 20   ┆ m_ a_ p__ r_ e_ t_ u_ r_ n;    ┆
0x03e0…0400 20 69 6e 74 20 2a 5f 08 63 5f 08 6f 5f 08 75 5f 08 6e 5f 08 74 5f 5f 08 72 5f 08 65 5f 08 74 5f   ┆ int *_ c_ o_ u_ n_ t__ r_ e_ t_┆
0x0400…0420 08 75 5f 08 72 5f 08 6e 3b 0a 09 20 20 20 41 74 6f 6d 09 5f 08 70 5f 08 72 5f 08 6f 5f 08 70 5f   ┆ u_ r_ n;     Atom _ p_ r_ o_ p_┆
0x0420…0440 08 65 5f 08 72 5f 08 74 5f 08 79 3b 0a 0a 41 08 41 08 41 08 41 52 08 52 08 52 08 52 47 08 47 08   ┆ e_ r_ t_ y;  A A A AR R R RG G ┆
0x0440…0460 47 08 47 55 08 55 08 55 08 55 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 4e 08 4e 08 4e 08 4e 54   ┆G GU U U UM M M ME E E EN N N NT┆
0x0460…0480 08 54 08 54 08 54 53 08 53 08 53 08 53 0a 20 20 20 20 20 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f   ┆ T T TS S S S      _ d_ i_ s_ p_┆
0x0480…04a0 08 6c 5f 08 61 5f 08 79 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 63 6f 6e 6e 65 63 74   ┆ l_ a_ y   Specifies the connect┆
0x04a0…04c0 69 6f 6e 09 74 6f 20 74 68 65 20 58 20 73 65 72 76 65 72 2e 0a 0a 20 20 20 20 20 5f 08 63 5f 08   ┆ion to the X server.       _ c_ ┆
0x04c0…04e0 6f 5f 08 75 5f 08 6e 5f 08 74 20 20 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 6e 75 6d   ┆o_ u_ n_ t     Specifies the num┆
0x04e0…0500 62 65 72 20 6f 66 20 63 6f 6c 6f 72 6d 61 70 73 2e 0a 0a 20 20 20 20 20 5f 08 63 5f 08 6f 5f 08   ┆ber of colormaps.       _ c_ o_ ┆
0x0500…0520 75 5f 08 6e 5f 08 74 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 0a 09 20 20 20 20   ┆u_ n_ t__ r_ e_ t_ u_ r_ n      ┆
0x0520…0540 20 20 20 52 65 74 75 72 6e 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 63 6f 6c 6f 72 6d 61   ┆   Returns the number of colorma┆
0x0540…0560 70 73 2e 0a 0a 20 20 20 20 20 5f 08 70 5f 08 72 5f 08 6f 5f 08 70 5f 08 65 5f 08 72 5f 08 74 5f   ┆ps.       _ p_ r_ o_ p_ e_ r_ t_┆
0x0560…0580 08 79 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 2e   ┆ y  Specifies the property name.┆
0x0580…05a0 0a 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 08 64 5f 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72   ┆       _ s_ t_ d__ c_ o_ l_ o_ r┆
0x05a0…05c0 5f 08 6d 5f 08 61 5f 08 70 0a 09 20 20 20 20 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20   ┆_ m_ a_ p         Specifies the ┆
0x05c0…05e0 5f 08 58 5f 08 53 5f 08 74 5f 08 61 5f 08 6e 5f 08 64 5f 08 61 5f 08 72 5f 08 64 5f 08 43 5f 08   ┆_ X_ S_ t_ a_ n_ d_ a_ r_ d_ C_ ┆
0x05e0…0600 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 20 73 74 72 75 63 74 75 72 65 20 74 6f   ┆o_ l_ o_ r_ m_ a_ p structure to┆
0x0600…0620 20 62 65 0a 09 20 20 20 20 20 20 20 75 73 65 64 2e 0a 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 08   ┆ be         used.       _ s_ t_ ┆
0x0620…0640 64 5f 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 5f 5f 08 72 5f 08   ┆d__ c_ o_ l_ o_ r_ m_ a_ p__ r_ ┆
0x0640…0660 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 0a 09 20 20 20 20 20 20 20 52 65 74 75 72 6e 73 20 74 68   ┆e_ t_ u_ r_ n         Returns th┆
0x0660…0680 65 20 5f 08 58 5f 08 53 5f 08 74 5f 08 61 5f 08 6e 5f 08 64 5f 08 61 5f 08 72 5f 08 64 5f 08 43   ┆e _ X_ S_ t_ a_ n_ d_ a_ r_ d_ C┆
0x0680…06a0 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 20 73 74 72 75 63 74 75 72 65 2e   ┆_ o_ l_ o_ r_ m_ a_ p structure.┆
0x06a0…06c0 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08   ┆  D D D DE E E ES S S SC C C CR ┆
0x06c0…06e0 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08   ┆R R RI I I IP P P PT T T TI I I ┆
0x06e0…0700 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 54 68 65 20 5f 08 58 5f 08 41 5f   ┆IO O O ON N N N      The _ X_ A_┆
0x0700…0720 08 6c 5f 08 6c 5f 08 6f 5f 08 63 5f 08 53 5f 08 74 5f 08 61 5f 08 6e 5f 08 64 5f 08 61 5f 08 72   ┆ l_ l_ o_ c_ S_ t_ a_ n_ d_ a_ r┆
0x0720…0740 5f 08 64 5f 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 09 66 75 6e 63   ┆_ d_ C_ o_ l_ o_ r_ m_ a_ p func┆
0x0740…0760 74 69 6f 6e 20 61 6c 6c 6f 63 61 74 65 73 20 61 6e 64 20 72 65 74 75 72 6e 73 20 61 0a 20 20 20   ┆tion allocates and returns a    ┆
0x0760…0780 20 20 70 6f 69 6e 74 65 72 20 74 6f 09 61 20 5f 08 58 5f 08 53 5f 08 74 5f 08 61 5f 08 6e 5f 08   ┆  pointer to a _ X_ S_ t_ a_ n_ ┆
0x0780…07a0 64 5f 08 61 5f 08 72 5f 08 64 5f 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f   ┆d_ a_ r_ d_ C_ o_ l_ o_ r_ m_ a_┆
0x07a0…07c0 08 70 20 73 74 72 75 63 74 75 72 65 2e 09 4e 6f 74 65 20 74 68 61 74 20 61 6c 6c 0a 20 20 20 20   ┆ p structure. Note that all     ┆
0x07c0…07e0 20 66 69 65 6c 64 73 20 69 6e 20 74 68 65 20 5f 08 58 5f 08 53 5f 08 74 5f 08 61 5f 08 6e 5f 08   ┆ fields in the _ X_ S_ t_ a_ n_ ┆
0x07e0…0800 64 5f 08 61 5f 08 72 5f 08 64 5f 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f   ┆d_ a_ r_ d_ C_ o_ l_ o_ r_ m_ a_┆
0x0800…0820 08 70 20 73 74 72 75 63 74 75 72 65 20 61 72 65 20 69 6e 69 74 69 61 6c 6c 79 20 73 65 74 0a 20   ┆ p structure are initially set  ┆
0x0820…0840 20 20 20 20 74 6f 09 7a 65 72 6f 2e 20 20 49 66 20 69 6e 73 75 66 66 69 63 69 65 6e 74 20 6d 65   ┆    to zero.  If insufficient me┆
0x0840…0860 6d 6f 72 79 20 69 73 20 61 76 61 69 6c 61 62 6c 65 2c 20 5f 08 58 5f 08 41 5f 08 6c 5f 08 6c 5f   ┆mory is available, _ X_ A_ l_ l_┆
0x0860…0880 08 6f 5f 08 63 5f 08 53 5f 08 74 5f 08 61 5f 08 6e 5f 08 2d 0a 20 20 20 20 20 5f 08 64 5f 08 61   ┆ o_ c_ S_ t_ a_ n_ -      _ d_ a┆
0x0880…08a0 5f 08 72 5f 08 64 5f 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 20 72   ┆_ r_ d_ C_ o_ l_ o_ r_ m_ a_ p r┆
0x08a0…08c0 65 74 75 72 6e 73 20 4e 55 4c 4c 2e 09 20 54 6f 20 66 72 65 65 20 74 68 65 20 6d 65 6d 6f 72 79   ┆eturns NULL.  To free the memory┆
0x08c0…08e0 20 61 6c 6c 6f 63 61 74 65 64 20 74 6f 0a 20 20 20 20 20 74 68 69 73 20 73 74 72 75 63 74 75 72   ┆ allocated to      this structur┆
0x08e0…0900 65 2c 20 75 73 65 20 5f 08 58 5f 08 46 5f 08 72 5f 08 65 5f 08 65 2e 0a 0a 20 20 20 20 20 54 68   ┆e, use _ X_ F_ r_ e_ e.       Th┆
0x0900…0920 65 20 5f 08 58 5f 08 53 5f 08 65 5f 08 74 5f 08 52 5f 08 47 5f 08 42 5f 08 43 5f 08 6f 5f 08 6c   ┆e _ X_ S_ e_ t_ R_ G_ B_ C_ o_ l┆
0x0920…0940 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 5f 08 73 20 66 75 6e 63 74 69 6f 6e 20 72 65 70 6c   ┆_ o_ r_ m_ a_ p_ s function repl┆
0x0940…0960 61 63 65 73 20 74 68 65 09 52 47 42 20 63 6f 6c 6f 72 6d 61 70 0a 20 20 20 20 20 64 65 66 69 6e   ┆aces the RGB colormap      defin┆
0x0960…0980 69 74 69 6f 6e 09 69 6e 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 70 72 6f 70 65 72 74 79 20   ┆ition in the specified property ┆
0x0980…09a0 6f 6e 20 74 68 65 20 6e 61 6d 65 64 20 77 69 6e 64 6f 77 2e 0a 20 20 20 20 20 49 66 09 74 68 65   ┆on the named window.      If the┆
0x09a0…09c0 20 70 72 6f 70 65 72 74 79 20 64 6f 65 73 20 6e 6f 74 20 61 6c 72 65 61 64 79 20 65 78 69 73 74   ┆ property does not already exist┆
0x09c0…09e0 2c 20 5f 08 58 5f 08 53 5f 08 65 5f 08 74 5f 08 52 5f 08 47 5f 08 42 5f 08 43 5f 08 6f 5f 08 6c   ┆, _ X_ S_ e_ t_ R_ G_ B_ C_ o_ l┆
0x09e0…0a00 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 5f 08 73 0a 20 20 20 20 20 73 65 74 73 20 74 68 65   ┆_ o_ r_ m_ a_ p_ s      sets the┆
0x0a00…0a20 20 52 47 42 20 63 6f 6c 6f 72 6d 61 70 20 64 65 66 69 6e 69 74 69 6f 6e 20 69 6e 20 74 68 65 20   ┆ RGB colormap definition in the ┆
0x0a20…0a40 73 70 65 63 69 66 69 65 64 20 70 72 6f 70 65 72 74 79 0a 20 20 20 20 20 6f 6e 09 74 68 65 20 6e   ┆specified property      on the n┆
0x0a40…0a60 61 6d 65 64 20 77 69 6e 64 6f 77 2e 20 20 54 68 65 20 70 72 6f 70 65 72 74 79 09 69 73 20 73 74   ┆amed window.  The property is st┆
0x0a60…0a80 6f 72 65 64 20 77 69 74 68 20 61 20 74 79 70 65 20 6f 66 0a 20 20 20 20 20 52 47 42 5f 43 4f 4c   ┆ored with a type of      RGB_COL┆
0x0a80…0aa0 4f 52 5f 4d 41 50 20 61 6e 64 20 61 20 66 6f 72 6d 61 74 09 6f 66 20 33 32 2e 09 4e 6f 74 65 20   ┆OR_MAP and a format of 32. Note ┆
0x0aa0…0ac0 74 68 61 74 20 69 74 20 69 73 09 74 68 65 0a 20 20 20 20 20 63 61 6c 6c 65 72 27 73 20 72 65 73   ┆that it is the      caller's res┆
0x0ac0…0ae0 70 6f 6e 73 69 62 69 6c 69 74 79 20 74 6f 09 68 6f 6e 6f 72 20 74 68 65 20 49 43 43 43 4d 09 72   ┆ponsibility to honor the ICCCM r┆
0x0ae0…0b00 65 73 74 72 69 63 74 69 6f 6e 20 74 68 61 74 0a 20 20 20 20 20 6f 6e 6c 79 20 52 47 42 5f 44 45   ┆estriction that      only RGB_DE┆
0x0b00…0b20 46 41 55 4c 54 5f 4d 41 50 20 63 6f 6e 74 61 69 6e 20 6d 6f 72 65 20 74 68 61 6e 20 6f 6e 65 09   ┆FAULT_MAP contain more than one ┆
0x0b20…0b40 64 65 66 69 6e 69 74 69 6f 6e 2e 0a 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 5f 08 58 5f 08 53 5f   ┆definition.              _ X_ S_┆
0x0b40…0b60 08 65 5f 08 74 5f 08 52 5f 08 47 5f 08 42 5f 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d   ┆ e_ t_ R_ G_ B_ C_ o_ l_ o_ r_ m┆
0x0b60…0b80 5f 08 61 5f 08 70 5f 08 73 20 63 61 6e 20 67 65 6e 65 72 61 74 65 20 5f 08 42 5f 08 61 5f 08 64   ┆_ a_ p_ s can generate _ B_ a_ d┆
0x0b80…0ba0 5f 08 41 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 2c 20 5f 08 42 5f 08 61 5f 08 64 5f 08 41 5f 08 74   ┆_ A_ l_ l_ o_ c, _ B_ a_ d_ A_ t┆
0x0ba0…0bc0 5f 08 6f 5f 08 6d 2c 20 61 6e 64 20 5f 08 42 5f 08 61 5f 08 64 5f 08 57 5f 08 69 5f 08 6e 5f 08   ┆_ o_ m, and _ B_ a_ d_ W_ i_ n_ ┆
0x0bc0…0be0 2d 0a 20 20 20 20 20 5f 08 64 5f 08 6f 5f 08 77 20 65 72 72 6f 72 73 2e 0a 0a 20 20 20 20 20 54   ┆-      _ d_ o_ w errors.       T┆
0x0be0…0c00 68 65 20 5f 08 58 5f 08 47 5f 08 65 5f 08 74 5f 08 52 5f 08 47 5f 08 42 5f 08 43 5f 08 6f 5f 08   ┆he _ X_ G_ e_ t_ R_ G_ B_ C_ o_ ┆
0x0c00…0c20 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 5f 08 73 20 66 75 6e 63 74 69 6f 6e 20 72 65 74   ┆l_ o_ r_ m_ a_ p_ s function ret┆
0x0c20…0c40 75 72 6e 73 20 74 68 65 20 52 47 42 20 63 6f 6c 6f 72 6d 61 70 0a 20 20 20 20 20 64 65 66 69 6e   ┆urns the RGB colormap      defin┆
0x0c40…0c60 69 74 69 6f 6e 73 20 73 74 6f 72 65 64 09 69 6e 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 70   ┆itions stored in the specified p┆
0x0c60…0c80 72 6f 70 65 72 74 79 20 6f 6e 20 74 68 65 20 6e 61 6d 65 64 0a 20 20 20 20 20 77 69 6e 64 6f 77   ┆roperty on the named      window┆
0x0c80…0ca0 2e 20 20 49 66 20 74 68 65 20 70 72 6f 70 65 72 74 79 20 65 78 69 73 74 73 2c 20 69 73 20 6f 66   ┆.  If the property exists, is of┆
0x0ca0…0cc0 20 74 79 70 65 20 52 47 42 5f 43 4f 4c 4f 52 5f 4d 41 50 2c 0a 20 20 20 20 20 69 73 09 6f 66 20   ┆ type RGB_COLOR_MAP,      is of ┆
0x0cc0…0ce0 66 6f 72 6d 61 74 20 33 32 2c 20 61 6e 64 20 69 73 20 6c 6f 6e 67 20 65 6e 6f 75 67 68 20 74 6f   ┆format 32, and is long enough to┆
0x0ce0…0d00 20 63 6f 6e 74 61 69 6e 20 61 20 63 6f 6c 6f 72 6d 61 70 0a 20 20 20 20 20 64 65 66 69 6e 69 74   ┆ contain a colormap      definit┆
0x0d00…0d20 69 6f 6e 09 28 69 66 20 74 68 65 09 76 69 73 75 61 6c 69 64 20 69 73 20 6e 6f 74 09 70 72 65 73   ┆ion (if the visualid is not pres┆
0x0d20…0d40 65 6e 74 2c 20 5f 08 58 5f 08 47 5f 08 65 5f 08 74 5f 08 52 5f 08 47 5f 08 42 5f 08 43 5f 08 6f   ┆ent, _ X_ G_ e_ t_ R_ G_ B_ C_ o┆
0x0d40…0d60 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 5f 08 73 0a 20 20 20 20 20 61 73 73 75 6d   ┆_ l_ o_ r_ m_ a_ p_ s      assum┆
0x0d60…0d80 65 73 20 74 68 65 20 64 65 66 61 75 6c 74 20 76 69 73 75 61 6c 09 66 6f 72 20 74 68 65 09 73 63   ┆es the default visual for the sc┆
0x0d80…0da0 72 65 65 6e 20 6f 6e 20 77 68 69 63 68 09 74 68 65 20 77 69 6e 2d 0a 20 20 20 20 20 64 6f 77 20   ┆reen on which the win-      dow ┆
0x0da0…0dc0 69 73 20 6c 6f 63 61 74 65 64 3b 20 69 66 09 74 68 65 20 6b 69 6c 6c 69 64 20 69 73 20 6e 6f 74   ┆is located; if the killid is not┆
0x0dc0…0de0 20 70 72 65 73 65 6e 74 2c 20 5f 08 4e 5f 08 6f 5f 08 6e 5f 08 65 2c 20 77 68 69 63 68 0a 20 20   ┆ present, _ N_ o_ n_ e, which   ┆
0x0de0…0e00 20 20 20 69 6e 64 69 63 61 74 65 73 20 74 68 61 74 20 74 68 65 09 72 65 73 6f 75 72 63 65 73 20   ┆   indicates that the resources ┆
0x0e00…0e20 63 61 6e 6e 6f 74 20 62 65 20 72 65 6c 65 61 73 65 64 2c 20 69 73 0a 20 20 20 20 20 61 73 73 75   ┆cannot be released, is      assu┆
0x0e20…0e40 6d 65 64 29 2c 20 5f 08 58 5f 08 47 5f 08 65 5f 08 74 5f 08 52 5f 08 47 5f 08 42 5f 08 43 5f 08   ┆med), _ X_ G_ e_ t_ R_ G_ B_ C_ ┆
0x0e40…0e60 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 5f 08 73 09 61 6c 6c 6f 63 61 74 65 73   ┆o_ l_ o_ r_ m_ a_ p_ s allocates┆
0x0e60…0e80 20 61 6e 64 20 66 69 6c 6c 73 20 69 6e 20 73 70 61 63 65 20 66 6f 72 0a 20 20 20 20 20 74 68 65   ┆ and fills in space for      the┆
0x0e80…0ea0 20 72 65 74 75 72 6e 65 64 20 63 6f 6c 6f 72 6d 61 70 73 2c 20 61 6e 64 20 72 65 74 75 72 6e 73   ┆ returned colormaps, and returns┆
0x0ea0…0ec0 20 61 20 6e 6f 6e 2d 7a 65 72 6f 20 73 74 61 74 75 73 2e 20 20 4f 74 68 2d 0a 20 20 20 20 20 65   ┆ a non-zero status.  Oth-      e┆
0x0ec0…0ee0 72 77 69 73 65 2c 20 6e 6f 6e 65 20 6f 66 20 74 68 65 20 66 69 65 6c 64 73 09 61 72 65 20 73 65   ┆rwise, none of the fields are se┆
0x0ee0…0f00 74 2c 20 61 6e 64 20 5f 08 58 5f 08 47 5f 08 65 5f 08 74 5f 08 52 5f 08 47 5f 08 42 5f 08 43 5f   ┆t, and _ X_ G_ e_ t_ R_ G_ B_ C_┆
0x0f00…0f20 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 5f 08 73 0a 20 20 20 20 20 72 65 74   ┆ o_ l_ o_ r_ m_ a_ p_ s      ret┆
0x0f20…0f40 75 72 6e 73 20 61 20 7a 65 72 6f 20 73 74 61 74 75 73 2e 20 20 4e 6f 74 65 20 74 68 61 74 20 69   ┆urns a zero status.  Note that i┆
0x0f40…0f60 74 20 69 73 20 74 68 65 20 63 61 6c 6c 65 72 27 73 20 72 65 73 70 6f 6e 2d 0a 20 20 20 20 20 73   ┆t is the caller's respon-      s┆
0x0f60…0f80 69 62 69 6c 69 74 79 20 74 6f 20 68 6f 6e 6f 72 20 74 68 65 20 49 43 43 43 4d 20 72 65 73 74 72   ┆ibility to honor the ICCCM restr┆
0x0f80…0fa0 69 63 74 69 6f 6e 20 74 68 61 74 20 6f 6e 6c 79 0a 20 20 20 20 20 52 47 42 5f 44 45 46 41 55 4c   ┆iction that only      RGB_DEFAUL┆
0x0fa0…0fc0 54 5f 4d 41 50 20 63 6f 6e 74 61 69 6e 20 6d 6f 72 65 20 74 68 61 6e 20 6f 6e 65 20 64 65 66 69   ┆T_MAP contain more than one defi┆
0x0fc0…0fe0 6e 69 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 5f 08 58 5f 08 47 5f 08 65 5f 08 74 5f 08 52 5f 08 47   ┆nition.       _ X_ G_ e_ t_ R_ G┆
0x0fe0…1000 5f 08 42 5f 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 5f 08 73 20 63   ┆_ B_ C_ o_ l_ o_ r_ m_ a_ p_ s c┆
0x1000…1020 61 6e 20 67 65 6e 65 72 61 74 65 20 5f 08 42 5f 08 61 5f 08 64 5f 08 41 5f 08 74 5f 08 6f 5f 08   ┆an generate _ B_ a_ d_ A_ t_ o_ ┆
0x1020…1040 6d 20 61 6e 64 20 5f 08 42 5f 08 61 5f 08 64 5f 08 57 5f 08 69 5f 08 6e 5f 08 64 5f 08 6f 5f 08   ┆m and _ B_ a_ d_ W_ i_ n_ d_ o_ ┆
0x1040…1060 77 20 65 72 72 6f 72 73 2e 0a 0a 53 08 53 08 53 08 53 54 08 54 08 54 08 54 52 08 52 08 52 08 52   ┆w errors.  S S S ST T T TR R R R┆
0x1060…1080 55 08 55 08 55 08 55 43 08 43 08 43 08 43 54 08 54 08 54 08 54 55 08 55 08 55 08 55 52 08 52 08   ┆U U U UC C C CT T T TU U U UR R ┆
0x1080…10a0 52 08 52 45 08 45 08 45 08 45 53 08 53 08 53 08 53 0a 20 20 20 20 20 54 68 65 20 5f 08 58 5f 08   ┆R RE E E ES S S S      The _ X_ ┆
0x10a0…10c0 53 5f 08 74 5f 08 61 5f 08 6e 5f 08 64 5f 08 61 5f 08 72 5f 08 64 5f 08 43 5f 08 6f 5f 08 6c 5f   ┆S_ t_ a_ n_ d_ a_ r_ d_ C_ o_ l_┆
0x10c0…10e0 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 20 73 74 72 75 63 74 75 72 65 20 63 6f 6e 74 61 69 6e   ┆ o_ r_ m_ a_ p structure contain┆
0x10e0…1100 73 3a 0a 0a 20 20 20 20 20 2f 2a 09 48 69 6e 74 73 20 2a 2f 0a 0a 0a 20 20 20 20 20 23 64 65 66   ┆s:       /* Hints */        #def┆
0x1100…1120 69 6e 65 0a 0a 09 20 20 20 20 20 20 20 5f 08 52 5f 08 65 5f 08 6c 5f 08 65 5f 08 61 5f 08 73 5f   ┆ine          _ R_ e_ l_ e_ a_ s_┆
0x1120…1140 08 65 2d 0a 09 20 20 20 20 20 20 20 5f 08 42 5f 08 79 5f 08 46 5f 08 72 5f 08 65 5f 08 65 5f 08   ┆ e-         _ B_ y_ F_ r_ e_ e_ ┆
0x1140…1160 69 5f 08 6e 5f 08 67 5f 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 0a   ┆i_ n_ g_ C_ o_ l_ o_ r_ m_ a_ p ┆
0x1160…1180 0a 0a 09 09 09 09 20 20 20 20 20 20 28 09 28 58 49 44 29 0a 09 09 09 09 20 20 20 20 20 20 31 4c   ┆            ( (XID)           1L┆
0x1180…11a0 29 0a 20 20 20 20 20 2f 2a 09 56 61 6c 75 65 73 20 2a 2f 0a 20 20 20 20 20 74 79 70 65 64 65 66   ┆)      /* Values */      typedef┆
0x11a0…11c0 20 73 74 72 75 63 74 20 7b 0a 09 20 20 43 6f 6c 6f 72 6d 61 70 20 63 6f 6c 6f 72 6d 61 70 3b 0a   ┆ struct {    Colormap colormap; ┆
0x11c0…11e0 09 20 20 75 6e 73 69 67 6e 65 64 20 6c 6f 6e 67 09 72 65 64 5f 6d 61 78 3b 0a 09 20 20 75 6e 73   ┆   unsigned long red_max;    uns┆
0x11e0…1200 69 67 6e 65 64 20 6c 6f 6e 67 09 72 65 64 5f 6d 75 6c 74 3b 0a 09 20 20 75 6e 73 69 67 6e 65 64   ┆igned long red_mult;    unsigned┆
0x1200…1220 20 6c 6f 6e 67 09 67 72 65 65 6e 5f 6d 61 78 3b 0a 09 20 20 75 6e 73 69 67 6e 65 64 20 6c 6f 6e   ┆ long green_max;    unsigned lon┆
0x1220…1240 67 09 67 72 65 65 6e 5f 6d 75 6c 74 3b 0a 09 20 20 75 6e 73 69 67 6e 65 64 20 6c 6f 6e 67 09 62   ┆g green_mult;    unsigned long b┆
0x1240…1260 6c 75 65 5f 6d 61 78 3b 0a 09 20 20 75 6e 73 69 67 6e 65 64 20 6c 6f 6e 67 09 62 6c 75 65 5f 6d   ┆lue_max;    unsigned long blue_m┆
0x1260…1280 75 6c 74 3b 0a 09 20 20 75 6e 73 69 67 6e 65 64 20 6c 6f 6e 67 09 62 61 73 65 5f 70 69 78 65 6c   ┆ult;    unsigned long base_pixel┆
0x1280…12a0 3b 0a 09 20 20 56 69 73 75 61 6c 49 44 20 76 69 73 75 61 6c 69 64 3b 0a 09 20 20 58 49 44 20 6b   ┆;    VisualID visualid;    XID k┆
0x12a0…12c0 69 6c 6c 69 64 3b 0a 20 20 20 20 20 7d 20 58 53 74 61 6e 64 61 72 64 43 6f 6c 6f 72 6d 61 70 3b   ┆illid;      } XStandardColormap;┆
0x12c0…12e0 0a 0a 20 20 20 20 20 54 68 65 20 63 6f 6c 6f 72 6d 61 70 20 6d 65 6d 62 65 72 20 69 73 20 74 68   ┆       The colormap member is th┆
0x12e0…1300 65 09 63 6f 6c 6f 72 6d 61 70 20 63 72 65 61 74 65 64 20 62 79 20 74 68 65 0a 20 20 20 20 20 5f   ┆e colormap created by the      _┆
0x1300…1320 08 58 5f 08 43 5f 08 72 5f 08 65 5f 08 61 5f 08 74 5f 08 65 5f 08 43 5f 08 6f 5f 08 6c 5f 08 6f   ┆ X_ C_ r_ e_ a_ t_ e_ C_ o_ l_ o┆
0x1320…1340 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 20 66 75 6e 63 74 69 6f 6e 2e 09 54 68 65 20 72 65 64 5f 6d   ┆_ r_ m_ a_ p function. The red_m┆
0x1340…1360 61 78 2c 20 67 72 65 65 6e 5f 6d 61 78 2c 09 61 6e 64 0a 20 20 20 20 20 62 6c 75 65 5f 6d 61 78   ┆ax, green_max, and      blue_max┆
0x1360…1380 20 6d 65 6d 62 65 72 73 20 67 69 76 65 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 72 65 64 2c 20 67   ┆ members give the maximum red, g┆
0x1380…13a0 72 65 65 6e 2c 20 61 6e 64 20 62 6c 75 65 0a 20 20 20 20 20 76 61 6c 75 65 73 2c 20 72 65 73 70   ┆reen, and blue      values, resp┆
0x13a0…13c0 65 63 74 69 76 65 6c 79 2e 20 45 61 63 68 09 63 6f 6c 6f 72 20 63 6f 65 66 66 69 63 69 65 6e 74   ┆ectively. Each color coefficient┆
0x13c0…13e0 20 72 61 6e 67 65 73 20 66 72 6f 6d 0a 20 20 20 20 20 7a 65 72 6f 20 74 6f 20 69 74 73 20 6d 61   ┆ ranges from      zero to its ma┆
0x13e0…1400 78 2c 20 69 6e 63 6c 75 73 69 76 65 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 61 09 63 6f 6d   ┆x, inclusive. For example, a com┆
0x1400…1420 6d 6f 6e 20 63 6f 6c 6f 72 6d 61 70 0a 20 20 20 20 20 61 6c 6c 6f 63 61 74 69 6f 6e 09 69 73 20   ┆mon colormap      allocation is ┆
0x1420…1440 33 2f 33 2f 32 20 28 33 20 70 6c 61 6e 65 73 20 66 6f 72 20 72 65 64 2c 20 33 20 70 6c 61 6e 65   ┆3/3/2 (3 planes for red, 3 plane┆
0x1440…1460 73 20 66 6f 72 20 67 72 65 65 6e 2c 0a 20 20 20 20 20 61 6e 64 20 32 20 70 6c 61 6e 65 73 20 66   ┆s for green,      and 2 planes f┆
0x1460…1480 6f 72 20 62 6c 75 65 29 2e 20 54 68 69 73 20 63 6f 6c 6f 72 6d 61 70 20 77 6f 75 6c 64 20 68 61   ┆or blue). This colormap would ha┆
0x1480…14a0 76 65 20 72 65 64 5f 6d 61 78 20 3d 0a 20 20 20 20 20 37 2c 09 67 72 65 65 6e 5f 6d 61 78 20 3d   ┆ve red_max =      7, green_max =┆
0x14a0…14c0 20 37 2c 20 61 6e 64 20 62 6c 75 65 5f 6d 61 78 20 3d 20 33 2e 20 41 6e 20 61 6c 74 65 72 6e 61   ┆ 7, and blue_max = 3. An alterna┆
0x14c0…14e0 74 65 20 61 6c 6c 6f 63 61 74 69 6f 6e 0a 20 20 20 20 20 74 68 61 74 20 75 73 65 73 20 6f 6e 6c   ┆te allocation      that uses onl┆
0x14e0…1500 79 20 32 31 36 09 63 6f 6c 6f 72 73 20 69 73 20 72 65 64 5f 6d 61 78 20 3d 20 35 2c 20 67 72 65   ┆y 216 colors is red_max = 5, gre┆
0x1500…1520 65 6e 5f 6d 61 78 20 3d 20 35 2c 20 61 6e 64 0a 20 20 20 20 20 62 6c 75 65 5f 6d 61 78 20 3d 09   ┆en_max = 5, and      blue_max = ┆
0x1520…1540 35 2e 0a 0a 20 20 20 20 20 54 68 65 20 72 65 64 5f 6d 75 6c 74 2c 20 67 72 65 65 6e 5f 6d 75 6c   ┆5.       The red_mult, green_mul┆
0x1540…1560 74 2c 20 61 6e 64 20 62 6c 75 65 5f 6d 75 6c 74 20 6d 65 6d 62 65 72 73 20 67 69 76 65 20 74 68   ┆t, and blue_mult members give th┆
0x1560…1580 65 0a 20 20 20 20 20 73 63 61 6c 65 20 66 61 63 74 6f 72 73 20 75 73 65 64 09 74 6f 20 63 6f 6d   ┆e      scale factors used to com┆
0x1580…15a0 70 6f 73 65 20 61 20 66 75 6c 6c 20 70 69 78 65 6c 09 76 61 6c 75 65 2e 20 28 53 65 65 20 74 68   ┆pose a full pixel value. (See th┆
0x15a0…15c0 65 0a 20 20 20 20 20 64 69 73 63 75 73 73 69 6f 6e 09 6f 66 20 74 68 65 20 62 61 73 65 5f 70 69   ┆e      discussion of the base_pi┆
0x15c0…15e0 78 65 6c 20 6d 65 6d 62 65 72 73 20 66 6f 72 20 66 75 72 74 68 65 72 20 69 6e 66 6f 72 6d 61 2d   ┆xel members for further informa-┆
0x15e0…1600 0a 20 20 20 20 20 74 69 6f 6e 2e 29 20 46 6f 72 09 61 20 33 2f 33 2f 32 09 61 6c 6c 6f 63 61 74   ┆      tion.) For a 3/3/2 allocat┆
0x1600…1620 69 6f 6e 2c 20 72 65 64 5f 6d 75 6c 74 20 6d 69 67 68 74 20 62 65 20 33 32 2c 0a 20 20 20 20 20   ┆ion, red_mult might be 32,      ┆
0x1620…1640 67 72 65 65 6e 5f 6d 75 6c 74 09 6d 69 67 68 74 20 62 65 20 34 2c 20 61 6e 64 09 62 6c 75 65 5f   ┆green_mult might be 4, and blue_┆
0x1640…1660 6d 75 6c 74 20 6d 69 67 68 74 09 62 65 20 31 2e 20 46 6f 72 20 61 20 36 2d 0a 20 20 20 20 20 63   ┆mult might be 1. For a 6-      c┆
0x1660…1680 6f 6c 6f 72 73 2d 65 61 63 68 20 61 6c 6c 6f 63 61 74 69 6f 6e 2c 20 72 65 64 5f 6d 75 6c 74 20   ┆olors-each allocation, red_mult ┆
0x1680…16a0 6d 69 67 68 74 20 62 65 20 33 36 2c 20 67 72 65 65 6e 5f 6d 75 6c 74 0a 20 20 20 20 20 6d 69 67   ┆might be 36, green_mult      mig┆
0x16a0…16c0 68 74 20 62 65 20 36 2c 20 61 6e 64 20 62 6c 75 65 5f 6d 75 6c 74 20 6d 69 67 68 74 20 62 65 09   ┆ht be 6, and blue_mult might be ┆
0x16c0…16e0 31 2e 0a 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 54 68 65 20 62 61 73 65 5f 70 69 78 65 6c 20 6d   ┆1.              The base_pixel m┆
0x16e0…1700 65 6d 62 65 72 20 67 69 76 65 73 20 74 68 65 20 62 61 73 65 20 70 69 78 65 6c 09 76 61 6c 75 65   ┆ember gives the base pixel value┆
0x1700…1720 20 75 73 65 64 20 74 6f 0a 20 20 20 20 20 63 6f 6d 70 6f 73 65 20 61 20 66 75 6c 6c 20 70 69 78   ┆ used to      compose a full pix┆
0x1720…1740 65 6c 20 76 61 6c 75 65 2e 20 55 73 75 61 6c 6c 79 2c 20 74 68 65 20 62 61 73 65 5f 70 69 78 65   ┆el value. Usually, the base_pixe┆
0x1740…1760 6c 20 69 73 0a 20 20 20 20 20 6f 62 74 61 69 6e 65 64 20 66 72 6f 6d 20 61 20 63 61 6c 6c 20 74   ┆l is      obtained from a call t┆
0x1760…1780 6f 20 74 68 65 20 5f 08 58 5f 08 41 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 5f 08 43 5f 08 6f 5f 08   ┆o the _ X_ A_ l_ l_ o_ c_ C_ o_ ┆
0x1780…17a0 6c 5f 08 6f 5f 08 72 5f 08 50 5f 08 6c 5f 08 61 5f 08 6e 5f 08 65 5f 08 73 20 66 75 6e 63 74 69   ┆l_ o_ r_ P_ l_ a_ n_ e_ s functi┆
0x17a0…17c0 6f 6e 2e 0a 20 20 20 20 20 47 69 76 65 6e 20 69 6e 74 65 67 65 72 20 72 65 64 2c 09 67 72 65 65   ┆on.      Given integer red, gree┆
0x17c0…17e0 6e 2c 20 61 6e 64 20 62 6c 75 65 09 63 6f 65 66 66 69 63 69 65 6e 74 73 20 69 6e 09 74 68 65 69   ┆n, and blue coefficients in thei┆
0x17e0…1800 72 0a 20 20 20 20 20 61 70 70 72 6f 70 72 69 61 74 65 20 72 61 6e 67 65 73 2c 20 6f 6e 65 20 74   ┆r      appropriate ranges, one t┆
0x1800…1820 68 65 6e 20 63 61 6e 20 63 6f 6d 70 75 74 65 20 61 09 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 0a   ┆hen can compute a corresponding ┆
0x1820…1840 20 20 20 20 20 70 69 78 65 6c 20 76 61 6c 75 65 20 62 79 20 75 73 69 6e 67 20 74 68 65 20 66 6f   ┆     pixel value by using the fo┆
0x1840…1860 6c 6c 6f 77 69 6e 67 09 65 78 70 72 65 73 73 69 6f 6e 3a 0a 0a 20 20 20 20 20 72 20 2a 20 72 65   ┆llowing expression:       r * re┆
0x1860…1880 64 5f 6d 75 6c 74 20 2b 20 67 20 2a 09 67 72 65 65 6e 5f 6d 75 6c 74 20 2b 20 62 20 2a 20 62 6c   ┆d_mult + g * green_mult + b * bl┆
0x1880…18a0 75 65 5f 6d 75 6c 74 20 2b 20 62 61 73 65 5f 70 69 78 65 6c 0a 0a 20 20 20 20 20 46 6f 72 20 5f   ┆ue_mult + base_pixel       For _┆
0x18a0…18c0 08 47 5f 08 72 5f 08 61 5f 08 79 5f 08 53 5f 08 63 5f 08 61 5f 08 6c 5f 08 65 20 63 6f 6c 6f 72   ┆ G_ r_ a_ y_ S_ c_ a_ l_ e color┆
0x18c0…18e0 6d 61 70 73 2c 20 6f 6e 6c 79 20 74 68 65 20 63 6f 6c 6f 72 6d 61 70 2c 20 72 65 64 5f 6d 61 78   ┆maps, only the colormap, red_max┆
0x18e0…1900 2c 0a 20 20 20 20 20 72 65 64 5f 6d 75 6c 74 2c 20 61 6e 64 20 62 61 73 65 5f 70 69 78 65 6c 20   ┆,      red_mult, and base_pixel ┆
0x1900…1920 6d 65 6d 62 65 72 73 20 61 72 65 20 64 65 66 69 6e 65 64 2e 20 54 68 65 20 6f 74 68 65 72 0a 20   ┆members are defined. The other  ┆
[…truncated at 200 lines…]