DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

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

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ p

⟦ef316bc2b⟧

    Length: 17448 (0x4428)
    Names: »pixelExt.c«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z« 
        └─⟦2109abc41⟧ 
            └─ ⟦this⟧ »./X.V10R4/Toolkit/Xr/src/Xrlib/Editor/pixelExt.c« 

Hex Dump

0x0000…0020 2f 2a 0a 20 2a 09 24 53 6f 75 72 63 65 3a 20 2f 75 31 2f 58 72 2f 73 72 63 2f 58 72 6c 69 62 2f   ┆/*  * $Source: /u1/Xr/src/Xrlib/┆
0x0020…0040 45 64 69 74 6f 72 2f 52 43 53 2f 70 69 78 65 6c 45 78 74 2e 63 2c 76 20 24 0a 20 2a 09 24 48 65   ┆Editor/RCS/pixelExt.c,v $  * $He┆
0x0040…0060 61 64 65 72 3a 20 70 69 78 65 6c 45 78 74 2e 63 2c 76 20 31 2e 31 20 38 36 2f 31 32 2f 31 37 20   ┆ader: pixelExt.c,v 1.1 86/12/17 ┆
0x0060…0080 30 39 3a 30 36 3a 35 37 20 73 77 69 63 6b 20 45 78 70 20 24 0a 20 2a 2f 0a 0a 23 69 66 6e 64 65   ┆09:06:57 swick Exp $  */  #ifnde┆
0x0080…00a0 66 20 6c 69 6e 74 0a 73 74 61 74 69 63 20 63 68 61 72 20 2a 72 63 73 69 64 5f 70 69 78 65 6c 45   ┆f lint static char *rcsid_pixelE┆
0x00a0…00c0 78 74 5f 63 20 3d 20 22 24 48 65 61 64 65 72 3a 20 70 69 78 65 6c 45 78 74 2e 63 2c 76 20 31 2e   ┆xt_c = "$Header: pixelExt.c,v 1.┆
0x00c0…00e0 31 20 38 36 2f 31 32 2f 31 37 20 30 39 3a 30 36 3a 35 37 20 73 77 69 63 6b 20 45 78 70 20 24 22   ┆1 86/12/17 09:06:57 swick Exp $"┆
0x00e0…0100 3b 0a 23 65 6e 64 69 66 09 6c 69 6e 74 0a 0a 0a 23 69 6e 63 6c 75 64 65 20 3c 58 72 2f 78 72 2d   ┆; #endif lint   #include <Xr/xr-┆
0x0100…0120 63 6f 70 79 72 69 67 68 74 2e 68 3e 0a 0a 2f 2a 20 24 48 65 61 64 65 72 3a 20 70 69 78 65 6c 45   ┆copyright.h>  /* $Header: pixelE┆
0x0120…0140 78 74 2e 63 2c 76 20 31 2e 31 20 38 36 2f 31 32 2f 31 37 20 30 39 3a 30 36 3a 35 37 20 73 77 69   ┆xt.c,v 1.1 86/12/17 09:06:57 swi┆
0x0140…0160 63 6b 20 45 78 70 20 24 20 2a 2f 0a 2f 2a 20 43 6f 70 79 72 69 67 68 74 20 31 39 38 36 2c 20 48   ┆ck Exp $ */ /* Copyright 1986, H┆
0x0160…0180 65 77 6c 65 74 74 2d 50 61 63 6b 61 72 64 20 43 6f 6d 70 61 6e 79 20 2a 2f 0a 2f 2a 20 43 6f 70   ┆ewlett-Packard Company */ /* Cop┆
0x0180…01a0 79 72 69 67 68 74 20 31 39 38 36 2c 20 4d 61 73 73 61 63 68 75 73 73 65 74 74 73 20 49 6e 73 74   ┆yright 1986, Massachussetts Inst┆
0x01a0…01c0 69 74 75 74 65 20 6f 66 20 54 65 63 68 6e 6f 6c 6f 67 79 20 2a 2f 0a 0a 0a 73 74 61 74 69 63 20   ┆itute of Technology */   static ┆
0x01c0…01e0 63 68 61 72 20 72 63 73 69 64 5b 5d 20 3d 20 22 24 48 65 61 64 65 72 3a 20 70 69 78 65 6c 45 78   ┆char rcsid[] = "$Header: pixelEx┆
0x01e0…0200 74 2e 63 2c 76 20 31 2e 31 20 38 36 2f 31 32 2f 31 37 20 30 39 3a 30 36 3a 35 37 20 73 77 69 63   ┆t.c,v 1.1 86/12/17 09:06:57 swic┆
0x0200…0220 6b 20 45 78 70 20 24 22 3b 0a 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a   ┆k Exp $"; /*********************┆
0x0220…0240 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 3c 2b 3e 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a   ┆****************<+>*************┆
0x0240…0260 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 20 2a 2a 2a 2a 2a 2a   ┆************************  ******┆
0x0260…0280 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a   ┆********************************┆
        […0x1…]
0x02a0…02c0 2a 2a 2a 2a 2a 2a 2a 0a 20 2a 2a 0a 20 2a 2a 20 20 20 46 69 6c 65 3a 20 20 20 20 20 20 20 20 70   ┆*******  **  **   File:        p┆
0x02c0…02e0 69 78 65 6c 45 78 74 2e 63 0a 20 2a 2a 0a 20 2a 2a 20 20 20 50 72 6f 6a 65 63 74 3a 20 20 20 20   ┆ixelExt.c  **  **   Project:    ┆
0x02e0…0300 20 58 2d 72 61 79 20 54 6f 6f 6c 62 6f 78 0a 20 2a 2a 0a 20 2a 2a 20 20 20 44 65 73 63 72 69 70   ┆ X-ray Toolbox  **  **   Descrip┆
0x0300…0320 74 69 6f 6e 3a 20 0a 20 2a 2a 20 20 20 20 20 20 20 20 20 20 54 68 69 73 20 6d 6f 64 75 6c 65 20   ┆tion:   **          This module ┆
0x0320…0340 63 6f 6e 74 61 69 6e 73 20 74 68 65 20 70 69 78 65 6c 20 65 78 74 72 61 63 74 69 6f 6e 20 69 6e   ┆contains the pixel extraction in┆
0x0340…0360 74 72 69 6e 73 69 63 0a 20 2a 2a 20 20 20 20 20 20 20 20 20 20 72 6f 75 74 69 6e 65 2e 20 20 49   ┆trinsic  **          routine.  I┆
0x0360…0380 74 20 69 73 20 63 61 70 61 62 6c 65 20 6f 66 20 65 78 74 72 61 63 74 69 6e 67 20 70 69 78 65 6c   ┆t is capable of extracting pixel┆
0x0380…03a0 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 0a 20 2a 2a 20 20 20 20 20 20 20 20 20 20 66 72 6f 6d 20 61   ┆ information  **          from a┆
0x03a0…03c0 20 72 61 73 74 65 72 20 69 6d 61 67 65 20 77 69 74 68 20 61 20 64 65 70 74 68 20 6f 66 20 31 20   ┆ raster image with a depth of 1 ┆
0x03c0…03e0 62 69 74 2c 20 6f 72 20 31 2c 20 32 2c 20 33 20 6f 72 0a 20 2a 2a 20 20 20 20 20 20 20 20 20 20   ┆bit, or 1, 2, 3 or  **          ┆
0x03e0…0400 34 20 62 79 74 65 73 2e 0a 20 2a 2a 0a 20 2a 2a 0a 20 2a 2a 20 20 20 2d 2d 2d 2d 2d 2d 2d 2d 2d   ┆4 bytes.  **  **  **   ---------┆
0x0400…0420 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 20 4d 4f 44 49 46 49 43 41 54 49 4f 4e 20 52 45 43   ┆--------------- MODIFICATION REC┆
0x0420…0440 4f 52 44 20 20 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 20   ┆ORD   ------------------------  ┆
0x0440…0460 2a 0a 20 2a 20 24 4c 6f 67 3a 09 70 69 78 65 6c 45 78 74 2e 63 2c 76 20 24 0a 20 2a 20 52 65 76   ┆*  * $Log: pixelExt.c,v $  * Rev┆
0x0460…0480 69 73 69 6f 6e 20 31 2e 31 20 20 38 36 2f 31 32 2f 31 37 20 20 30 39 3a 30 36 3a 35 37 20 20 73   ┆ision 1.1  86/12/17  09:06:57  s┆
0x0480…04a0 77 69 63 6b 0a 20 2a 20 49 6e 69 74 69 61 6c 20 72 65 76 69 73 69 6f 6e 0a 20 2a 20 0a 20 2a 20   ┆wick  * Initial revision  *   * ┆
0x04a0…04c0 52 65 76 69 73 69 6f 6e 20 37 2e 30 20 20 38 36 2f 31 31 2f 31 33 20 20 30 38 3a 33 30 3a 33 38   ┆Revision 7.0  86/11/13  08:30:38┆
0x04c0…04e0 20 20 30 38 3a 33 30 3a 33 38 20 20 66 72 65 64 20 28 29 0a 20 2a 20 46 69 6e 61 6c 20 51 41 20   ┆  08:30:38  fred ()  * Final QA ┆
0x04e0…0500 52 65 6c 65 61 73 65 0a 20 2a 20 0a 20 2a 20 52 65 76 69 73 69 6f 6e 20 36 2e 30 20 20 38 36 2f   ┆Release  *   * Revision 6.0  86/┆
0x0500…0520 31 31 2f 31 30 20 20 31 35 3a 33 39 3a 31 31 20 20 31 35 3a 33 39 3a 31 31 20 20 66 72 65 64 20   ┆11/10  15:39:11  15:39:11  fred ┆
0x0520…0540 28 29 0a 20 2a 20 51 41 20 23 32 20 72 65 6c 65 61 73 65 0a 20 2a 20 0a 20 2a 20 52 65 76 69 73   ┆()  * QA #2 release  *   * Revis┆
0x0540…0560 69 6f 6e 20 35 2e 31 20 20 38 36 2f 31 31 2f 30 37 20 20 31 34 3a 32 37 3a 30 34 20 20 31 34 3a   ┆ion 5.1  86/11/07  14:27:04  14:┆
0x0560…0580 32 37 3a 30 34 20 20 66 72 65 64 20 28 29 0a 20 2a 20 41 64 64 65 64 20 6e 65 77 20 63 6f 70 79   ┆27:04  fred ()  * Added new copy┆
0x0580…05a0 72 69 67 68 74 20 6d 65 73 73 61 67 65 2e 0a 20 2a 20 0a 20 2a 20 52 65 76 69 73 69 6f 6e 20 35   ┆right message.  *   * Revision 5┆
0x05a0…05c0 2e 30 20 20 38 36 2f 31 30 2f 32 38 20 20 30 38 3a 34 30 3a 35 32 20 20 30 38 3a 34 30 3a 35 32   ┆.0  86/10/28  08:40:52  08:40:52┆
0x05c0…05e0 20 20 66 72 65 64 20 28 29 0a 20 2a 20 51 41 20 23 31 2e 31 20 72 65 6c 65 61 73 65 0a 20 2a 20   ┆  fred ()  * QA #1.1 release  * ┆
0x05e0…0600 0a 20 2a 20 52 65 76 69 73 69 6f 6e 20 34 2e 31 20 20 38 36 2f 31 30 2f 32 33 20 20 30 39 3a 31   ┆  * Revision 4.1  86/10/23  09:1┆
0x0600…0620 32 3a 31 38 20 20 30 39 3a 31 32 3a 31 38 20 20 66 72 65 64 20 28 29 0a 20 2a 20 52 65 6d 6f 76   ┆2:18  09:12:18  fred ()  * Remov┆
0x0620…0640 65 64 20 75 6e 75 73 65 64 20 76 61 72 69 61 62 6c 65 73 2e 0a 20 2a 20 0a 20 2a 20 52 65 76 69   ┆ed unused variables.  *   * Revi┆
0x0640…0660 73 69 6f 6e 20 34 2e 30 20 20 38 36 2f 31 30 2f 32 30 20 20 31 32 3a 31 36 3a 34 34 20 20 31 32   ┆sion 4.0  86/10/20  12:16:44  12┆
0x0660…0680 3a 31 36 3a 34 34 20 20 66 72 65 64 20 28 29 0a 20 2a 20 51 41 20 23 31 20 72 65 6c 65 61 73 65   ┆:16:44  fred ()  * QA #1 release┆
0x0680…06a0 0a 20 2a 20 0a 20 2a 20 52 65 76 69 73 69 6f 6e 20 33 2e 31 20 20 38 36 2f 31 30 2f 31 36 20 20   ┆  *   * Revision 3.1  86/10/16  ┆
0x06a0…06c0 30 39 3a 32 34 3a 33 32 20 20 30 39 3a 32 34 3a 33 32 20 20 66 72 65 64 20 28 29 0a 20 2a 20 50   ┆09:24:32  09:24:32  fred ()  * P┆
0x06c0…06e0 65 72 66 6f 72 6d 61 6e 63 65 20 65 6e 68 61 6e 63 65 64 3a 20 61 64 64 65 64 20 75 73 65 20 6f   ┆erformance enhanced: added use o┆
0x06e0…0700 66 20 72 65 67 69 73 74 65 72 20 76 61 72 69 61 62 6c 65 73 2e 0a 20 2a 20 0a 20 2a 20 52 65 76   ┆f register variables.  *   * Rev┆
0x0700…0720 69 73 69 6f 6e 20 33 2e 30 20 20 38 36 2f 31 30 2f 30 32 20 20 31 36 3a 30 36 3a 34 36 20 20 31   ┆ision 3.0  86/10/02  16:06:46  1┆
0x0720…0740 36 3a 30 36 3a 34 36 20 20 66 72 65 64 20 28 29 0a 20 2a 20 41 6c 70 68 61 20 72 65 6c 65 61 73   ┆6:06:46  fred ()  * Alpha releas┆
0x0740…0760 65 20 73 65 74 20 74 6f 20 33 2e 30 0a 20 2a 20 0a 20 2a 20 52 65 76 69 73 69 6f 6e 20 32 2e 31   ┆e set to 3.0  *   * Revision 2.1┆
0x0760…0780 20 20 38 36 2f 30 39 2f 32 32 20 20 31 32 3a 33 33 3a 30 38 20 20 31 32 3a 33 33 3a 30 38 20 20   ┆  86/09/22  12:33:08  12:33:08  ┆
0x0780…07a0 66 72 65 64 20 28 29 0a 20 2a 20 43 68 61 6e 67 65 64 20 78 72 50 69 78 4d 61 70 20 73 74 72 75   ┆fred ()  * Changed xrPixMap stru┆
0x07a0…07c0 63 74 75 72 65 20 74 6f 20 78 72 50 69 78 6d 61 70 20 73 74 72 75 63 74 75 72 65 2e 0a 20 2a 20   ┆cture to xrPixmap structure.  * ┆
0x07c0…07e0 0a 20 2a 20 52 65 76 69 73 69 6f 6e 20 32 2e 30 20 20 38 36 2f 30 39 2f 31 36 20 20 30 38 3a 31   ┆  * Revision 2.0  86/09/16  08:1┆
0x07e0…0800 36 3a 35 32 20 20 30 38 3a 31 36 3a 35 32 20 20 66 72 65 64 20 28 29 0a 20 2a 20 4e 6f 20 63 68   ┆6:52  08:16:52  fred ()  * No ch┆
0x0800…0820 61 6e 67 65 3b 20 75 70 67 72 61 64 65 64 20 74 6f 20 72 65 76 69 73 69 6f 6e 20 32 2e 30 20 74   ┆ange; upgraded to revision 2.0 t┆
0x0820…0840 6f 20 6d 61 74 63 68 20 6f 74 68 65 72 20 73 6f 75 72 63 65 2e 0a 20 2a 20 0a 20 2a 20 52 65 76   ┆o match other source.  *   * Rev┆
0x0840…0860 69 73 69 6f 6e 20 31 2e 34 20 20 38 36 2f 30 39 2f 31 35 20 20 30 36 3a 34 38 3a 33 37 20 20 30   ┆ision 1.4  86/09/15  06:48:37  0┆
0x0860…0880 36 3a 34 38 3a 33 37 20 20 66 72 65 64 20 28 29 0a 20 2a 20 46 69 6c 6c 65 64 20 69 6e 20 66 69   ┆6:48:37  fred ()  * Filled in fi┆
0x0880…08a0 6c 65 20 68 65 61 64 65 72 73 2c 20 61 6e 64 20 62 72 6f 6b 65 20 75 70 20 6c 61 72 67 65 72 20   ┆le headers, and broke up larger ┆
0x08a0…08c0 72 6f 75 74 69 6e 65 73 2e 1b 0a 20 2a 20 0a 20 2a 20 52 65 76 69 73 69 6f 6e 20 31 2e 33 20 20   ┆routines.   *   * Revision 1.3  ┆
0x08c0…08e0 38 36 2f 30 39 2f 30 38 20 20 31 35 3a 32 36 3a 33 31 20 20 31 35 3a 32 36 3a 33 31 20 20 66 72   ┆86/09/08  15:26:31  15:26:31  fr┆
0x08e0…0900 65 64 20 28 29 0a 20 2a 20 4d 6f 64 69 66 69 65 64 20 74 68 65 20 62 69 74 20 70 65 72 20 70 69   ┆ed ()  * Modified the bit per pi┆
0x0900…0920 78 65 6c 20 65 78 74 72 61 63 74 69 6f 6e 2f 73 65 74 74 69 6e 67 20 72 6f 75 74 69 6e 65 20 73   ┆xel extraction/setting routine s┆
0x0920…0940 6f 20 74 68 61 74 0a 20 2a 20 69 74 20 70 72 6f 63 65 73 73 65 64 20 74 68 65 20 72 61 73 74 65   ┆o that  * it processed the raste┆
0x0940…0960 72 20 64 61 74 61 20 61 73 20 31 36 20 62 69 74 20 71 75 61 6e 69 74 69 65 73 2c 20 69 6e 73 74   ┆r data as 16 bit quanities, inst┆
0x0960…0980 65 61 64 20 6f 66 0a 20 2a 20 38 20 62 69 74 2e 20 20 41 6c 73 6f 20 63 68 61 6e 67 65 64 20 69   ┆ead of  * 8 bit.  Also changed i┆
0x0980…09a0 74 20 73 6f 20 74 68 61 74 20 74 68 65 20 62 69 74 73 20 77 65 72 65 20 6f 72 64 65 72 65 64 20   ┆t so that the bits were ordered ┆
0x09a0…09c0 31 35 20 2e 2e 2e 20 30 0a 20 2a 20 69 6e 73 74 65 61 64 20 6f 66 20 30 20 2e 2e 2e 20 31 35 2c   ┆15 ... 0  * instead of 0 ... 15,┆
0x09c0…09e0 20 77 69 74 68 69 6e 20 61 20 77 6f 72 64 2e 0a 20 2a 20 0a 20 2a 20 52 65 76 69 73 69 6f 6e 20   ┆ within a word.  *   * Revision ┆
0x09e0…0a00 31 2e 32 20 20 38 36 2f 30 39 2f 30 38 20 20 30 36 3a 35 32 3a 30 32 20 20 30 36 3a 35 32 3a 30   ┆1.2  86/09/08  06:52:02  06:52:0┆
0x0a00…0a20 32 20 20 66 72 65 64 20 28 29 0a 20 2a 20 45 78 70 61 6e 64 65 64 20 74 6f 20 61 6c 6c 6f 77 20   ┆2  fred ()  * Expanded to allow ┆
0x0a20…0a40 6e 6f 74 20 6f 6e 6c 79 20 74 68 65 20 65 78 74 72 61 63 74 69 6f 6e 20 6f 66 20 70 69 78 65 6c   ┆not only the extraction of pixel┆
0x0a40…0a60 20 64 61 74 61 2c 20 62 75 74 0a 20 2a 20 61 6c 73 6f 20 74 6f 20 61 6c 6c 6f 77 20 74 68 65 20   ┆ data, but  * also to allow the ┆
0x0a60…0a80 73 65 74 74 69 6e 67 20 6f 66 20 61 20 70 69 78 65 6c 20 77 69 74 68 69 6e 20 61 20 72 61 73 74   ┆setting of a pixel within a rast┆
0x0a80…0aa0 65 72 20 69 6d 61 67 65 2e 0a 20 2a 20 0a 20 2a 20 52 65 76 69 73 69 6f 6e 20 31 2e 31 20 20 38   ┆er image.  *   * Revision 1.1  8┆
0x0aa0…0ac0 36 2f 30 39 2f 30 33 20 20 31 34 3a 30 30 3a 32 30 20 20 31 34 3a 30 30 3a 32 30 20 20 66 72 65   ┆6/09/03  14:00:20  14:00:20  fre┆
0x0ac0…0ae0 64 20 28 29 0a 20 2a 20 49 6e 69 74 69 61 6c 20 72 65 76 69 73 69 6f 6e 0a 20 2a 20 0a 20 2a 0a   ┆d ()  * Initial revision  *   * ┆
0x0ae0…0b00 20 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a   ┆ *******************************┆
0x0b00…0b20 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a   ┆********************************┆
0x0b20…0b40 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 20 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a   ┆**************  ****************┆
0x0b40…0b60 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 3c 2b 3e 2a 2a 2a 2a 2a 2a 2a 2a   ┆*********************<+>********┆
0x0b60…0b80 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 0a 0a   ┆*****************************/  ┆
0x0b80…0ba0 23 69 6e 63 6c 75 64 65 20 3c 58 2f 58 6c 69 62 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 3c 58 72   ┆#include <X/Xlib.h> #include <Xr┆
0x0ba0…0bc0 2f 64 65 66 73 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 3c 58 72 2f 74 79 70 65 73 2e 68 3e 0a 23   ┆/defs.h> #include <Xr/types.h> #┆
0x0bc0…0be0 69 6e 63 6c 75 64 65 20 3c 58 72 2f 69 6e 5f 74 79 70 65 73 2e 68 3e 0a 0a 65 78 74 65 72 6e 20   ┆include <Xr/in_types.h>  extern ┆
0x0be0…0c00 78 72 50 69 78 65 6c 44 61 74 61 20 2a 20 4d 73 67 4e 65 77 48 61 6e 64 6c 65 72 28 29 3b 0a 65   ┆xrPixelData * MsgNewHandler(); e┆
0x0c00…0c20 78 74 65 72 6e 20 78 72 50 69 78 65 6c 44 61 74 61 20 2a 20 4d 73 67 4c 6f 63 61 74 69 6f 6e 48   ┆xtern xrPixelData * MsgLocationH┆
0x0c20…0c40 61 6e 64 6c 65 72 28 29 3b 0a 65 78 74 65 72 6e 20 78 72 50 69 78 65 6c 44 61 74 61 20 2a 20 4d   ┆andler(); extern xrPixelData * M┆
0x0c40…0c60 73 67 56 61 6c 75 65 48 61 6e 64 6c 65 72 28 29 3b 0a 0a 0a 0c 0a 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a   ┆sgValueHandler();     /*********┆
0x0c60…0c80 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 3c 2d 3e 2a   ┆****************************<->*┆
0x0c80…0ca0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a   ┆********************************┆
0x0ca0…0cc0 2a 2a 2a 2a 0a 20 2a 0a 20 2a 20 20 5f 58 72 50 69 78 65 6c 45 78 74 72 61 63 74 20 28 69 6e 73   ┆****  *  *  _XrPixelExtract (ins┆
0x0cc0…0ce0 74 61 6e 63 65 2c 20 6d 65 73 73 61 67 65 2c 20 64 61 74 61 29 0a 20 2a 0a 20 2a 20 20 20 20 20   ┆tance, message, data)  *  *     ┆
0x0ce0…0d00 78 72 50 69 78 65 6c 44 61 74 61 20 2a 20 69 6e 73 74 61 6e 63 65 3b 0a 20 2a 20 20 20 20 20 49   ┆xrPixelData * instance;  *     I┆
0x0d00…0d20 4e 54 33 32 20 20 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 3b 0a 20 2a 20 20 20 20 20 49 4e 54   ┆NT32         message;  *     INT┆
0x0d20…0d40 38 20 20 20 20 20 20 20 20 2a 20 64 61 74 61 3b 0a 20 2a 0a 20 2a 20 20 20 44 65 73 63 72 69 70   ┆8        * data;  *  *   Descrip┆
0x0d40…0d60 74 69 6f 6e 3a 0a 20 2a 20 20 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 20 2a 20 20 20 20 20 54 68   ┆tion:  *   -----------  *     Th┆
0x0d60…0d80 69 73 20 69 6e 74 72 69 6e 73 69 63 20 65 78 74 72 61 63 74 73 20 61 20 73 69 6e 67 6c 65 20 70   ┆is intrinsic extracts a single p┆
0x0d80…0da0 69 78 65 6c 20 6f 66 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 61 0a 20 2a 20 20 20   ┆ixel of information from a  *   ┆
0x0da0…0dc0 20 20 73 70 65 63 69 66 69 65 64 20 72 61 73 74 65 72 20 69 6d 61 67 65 2c 20 6f 72 20 73 65 74   ┆  specified raster image, or set┆
0x0dc0…0de0 73 20 61 20 73 69 6e 67 6c 65 20 70 69 78 65 6c 20 6f 66 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 0a   ┆s a single pixel of information ┆
0x0de0…0e00 20 2a 20 20 20 20 20 77 69 74 68 69 6e 20 61 20 72 61 73 74 65 72 20 69 6d 61 67 65 3b 20 74 68   ┆ *     within a raster image; th┆
0x0e00…0e20 65 20 69 6d 61 67 65 20 63 61 6e 20 68 61 76 65 20 61 20 64 65 70 74 68 20 6f 66 20 31 20 62 69   ┆e image can have a depth of 1 bi┆
0x0e20…0e40 74 2c 0a 20 2a 20 20 20 20 20 6f 72 20 31 2c 20 32 2c 20 33 20 6f 72 20 34 20 62 79 74 65 73 2e   ┆t,  *     or 1, 2, 3 or 4 bytes.┆
0x0e40…0e60 20 20 57 68 65 6e 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 69 73 20 66 69 72 73 74 20 63 72 65   ┆  When the instance is first cre┆
0x0e60…0e80 61 74 65 64 2c 20 75 73 69 6e 67 0a 20 2a 20 20 20 20 20 74 68 65 20 4d 53 47 5f 4e 45 57 20 6d   ┆ated, using  *     the MSG_NEW m┆
0x0e80…0ea0 65 73 73 61 67 65 2c 20 74 68 65 20 65 78 74 72 61 63 74 69 6f 6e 20 6c 6f 63 61 74 69 6f 6e 20   ┆essage, the extraction location ┆
0x0ea0…0ec0 69 73 20 73 65 74 20 74 6f 20 28 30 2c 30 29 2c 20 61 6e 64 0a 20 2a 20 20 20 20 20 61 6e 20 69   ┆is set to (0,0), and  *     an i┆
0x0ec0…0ee0 6e 73 74 61 6e 63 65 20 70 6f 69 6e 74 65 72 20 69 73 20 72 65 74 75 72 6e 65 64 20 74 6f 20 74   ┆nstance pointer is returned to t┆
0x0ee0…0f00 68 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 3b 20 74 68 69 73 20 69 6e 73 74 61 6e 63 65 0a 20 2a   ┆he application; this instance  *┆
0x0f00…0f20 20 20 20 20 20 70 6f 69 6e 74 65 72 20 6d 75 73 74 20 62 65 20 75 73 65 64 20 66 6f 72 20 61 6c   ┆     pointer must be used for al┆
0x0f20…0f40 6c 20 73 75 62 73 65 71 75 65 6e 74 20 72 65 71 75 65 73 74 73 20 6d 61 64 65 20 69 6e 20 72 65   ┆l subsequent requests made in re┆
0x0f40…0f60 67 61 72 64 20 74 6f 0a 20 2a 20 20 20 20 20 74 68 61 74 20 70 61 72 74 69 63 75 6c 61 72 20 72   ┆gard to  *     that particular r┆
0x0f60…0f80 61 73 74 65 72 20 69 6d 61 67 65 2e 20 20 55 73 69 6e 67 20 74 68 65 20 4d 53 47 5f 4c 4f 43 41   ┆aster image.  Using the MSG_LOCA┆
0x0f80…0fa0 54 49 4f 4e 20 6d 65 73 73 61 67 65 2c 0a 20 2a 20 20 20 20 20 61 6e 20 61 70 70 6c 69 63 61 74   ┆TION message,  *     an applicat┆
0x0fa0…0fc0 69 6f 6e 20 63 61 6e 20 63 68 61 6e 67 65 20 74 68 69 73 20 65 78 74 72 61 63 74 69 6f 6e 20 6c   ┆ion can change this extraction l┆
0x0fc0…0fe0 6f 63 61 74 69 6f 6e 20 74 6f 20 62 79 20 61 6e 79 20 70 6f 69 6e 74 0a 20 2a 20 20 20 20 20 77   ┆ocation to by any point  *     w┆
0x0fe0…1000 69 74 68 69 6e 20 74 68 65 20 62 6f 75 6e 64 73 20 6f 66 20 74 68 65 20 72 61 73 74 65 72 20 69   ┆ithin the bounds of the raster i┆
0x1000…1020 6d 61 67 65 2e 20 20 54 68 65 20 65 78 74 72 61 63 74 69 6f 6e 20 6c 6f 63 61 74 69 6f 6e 20 69   ┆mage.  The extraction location i┆
0x1020…1040 73 0a 20 2a 20 20 20 20 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 69 6e 63 72 65 6d 65 6e 74   ┆s  *     automatically increment┆
0x1040…1060 65 64 20 61 66 74 65 72 20 65 61 63 68 20 4d 53 47 5f 47 45 54 56 41 4c 55 45 20 6f 72 20 4d 53   ┆ed after each MSG_GETVALUE or MS┆
0x1060…1080 47 5f 53 45 54 56 41 4c 55 45 0a 20 2a 20 20 20 20 20 72 65 71 75 65 73 74 2c 20 61 6e 64 20 77   ┆G_SETVALUE  *     request, and w┆
0x1080…10a0 69 6c 6c 20 77 72 61 70 20 62 61 63 6b 20 74 6f 20 28 30 2c 30 29 2c 20 77 68 65 6e 20 74 68 65   ┆ill wrap back to (0,0), when the┆
0x10a0…10c0 20 65 6e 64 20 6f 66 20 74 68 65 20 72 61 73 74 65 72 0a 20 2a 20 20 20 20 20 69 6d 61 67 65 20   ┆ end of the raster  *     image ┆
0x10c0…10e0 69 73 20 72 65 61 63 68 65 64 2e 20 20 57 68 65 6e 20 61 6e 20 65 78 74 72 61 63 74 69 6f 6e 20   ┆is reached.  When an extraction ┆
0x10e0…1100 69 6e 73 74 61 6e 63 65 20 69 73 20 6e 6f 20 6c 6f 6e 67 65 72 20 6e 65 65 64 65 64 2c 0a 20 2a   ┆instance is no longer needed,  *┆
0x1100…1120 20 20 20 20 20 69 74 20 73 68 6f 75 6c 64 20 62 65 20 66 72 65 65 64 20 75 70 2c 20 75 73 69 6e   ┆     it should be freed up, usin┆
0x1120…1140 67 20 74 68 65 20 4d 53 47 5f 46 52 45 45 20 6d 65 73 73 61 67 65 2e 0a 20 2a 0a 20 2a 0a 20 2a   ┆g the MSG_FREE message.  *  *  *┆
0x1140…1160 20 20 20 49 6e 70 75 74 73 3a 0a 20 2a 20 20 20 2d 2d 2d 2d 2d 2d 0a 20 2a 20 20 20 20 20 69 6e   ┆   Inputs:  *   ------  *     in┆
0x1160…1180 73 74 61 6e 63 65 20 3d 20 46 6f 72 20 61 6c 6c 20 6d 65 73 73 61 67 65 73 20 65 78 63 65 70 74   ┆stance = For all messages except┆
0x1180…11a0 20 4d 53 47 5f 4e 45 57 2c 20 74 68 69 73 20 6d 75 73 74 20 73 70 65 63 69 66 79 0a 20 2a 20 20   ┆ MSG_NEW, this must specify  *  ┆
0x11a0…11c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 77 68 69 63 68   ┆              the instance which┆
0x11c0…11e0 20 69 73 20 74 6f 20 62 65 20 61 66 66 65 63 74 65 64 20 62 79 20 74 68 65 20 6d 65 73 73 61 67   ┆ is to be affected by the messag┆
0x11e0…1200 65 2e 0a 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 46 6f 72 20 4d 53 47 5f 4e 45 57   ┆e.  *                For MSG_NEW┆
0x1200…1220 2c 20 74 68 69 73 20 73 68 6f 75 6c 64 20 62 65 20 73 65 74 20 74 6f 20 4e 55 4c 4c 2e 0a 20 2a   ┆, this should be set to NULL.  *┆
0x1220…1240 0a 20 2a 20 20 20 20 20 6d 65 73 73 61 67 65 20 20 3d 20 54 68 69 73 20 73 70 65 63 69 66 69 65   ┆  *     message  = This specifie┆
0x1240…1260 73 20 74 68 65 20 61 63 74 69 6f 6e 20 74 6f 20 62 65 20 70 65 72 66 6f 72 6d 65 64 20 62 79 20   ┆s the action to be performed by ┆
0x1260…1280 74 68 69 73 0a 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 72 69 6e 73 69 63   ┆this  *                intrinsic┆
0x1280…12a0 2e 0a 20 2a 0a 20 2a 20 20 20 20 20 64 61 74 61 20 20 20 20 20 3d 20 54 68 69 73 20 70 6f 69 6e   ┆.  *  *     data     = This poin┆
0x12a0…12c0 74 73 20 74 6f 20 61 20 6d 65 73 73 61 67 65 20 73 70 65 63 69 66 69 63 20 64 61 74 61 20 73 74   ┆ts to a message specific data st┆
0x12c0…12e0 72 75 63 74 75 72 65 2e 0a 20 2a 20 0a 20 2a 20 20 20 4f 75 74 70 75 74 73 3a 0a 20 2a 20 20 20   ┆ructure.  *   *   Outputs:  *   ┆
0x12e0…1300 2d 2d 2d 2d 2d 2d 2d 0a 20 2a 20 20 20 20 20 41 6c 6c 20 6d 65 73 73 61 67 65 73 20 72 65 74 75   ┆-------  *     All messages retu┆
0x1300…1320 72 6e 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 70 6f 69 6e 74 65 72 20 75 70 6f 6e 20 73 75 63   ┆rn the instance pointer upon suc┆
0x1320…1340 63 65 73 73 66 75 6c 0a 20 2a 20 20 20 20 20 20 20 20 20 63 6f 6d 70 6c 65 74 69 6f 6e 3b 20 4e   ┆cessful  *         completion; N┆
0x1340…1360 55 4c 4c 20 69 73 20 72 65 74 75 72 6e 65 64 20 75 70 6f 6e 20 66 61 69 6c 75 72 65 2c 20 61 6e   ┆ULL is returned upon failure, an┆
0x1360…1380 64 20 74 68 65 20 67 6c 6f 62 61 6c 0a 20 2a 20 20 20 20 20 20 20 20 20 78 72 45 72 72 6e 6f 20   ┆d the global  *         xrErrno ┆
0x1380…13a0 77 69 6c 6c 20 62 65 20 73 65 74 2e 0a 20 2a 0a 20 2a 20 20 20 50 72 6f 63 65 64 75 72 65 73 20   ┆will be set.  *  *   Procedures ┆
0x13a0…13c0 43 61 6c 6c 65 64 0a 20 2a 20 20 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 20 2a   ┆Called  *   -----------------  *┆
0x13c0…13e0 20 20 20 4d 73 67 4e 65 77 48 61 6e 64 6c 65 72 28 29 0a 20 2a 20 20 20 4d 73 67 4c 6f 63 61 74   ┆   MsgNewHandler()  *   MsgLocat┆
0x13e0…1400 69 6f 6e 48 61 6e 64 6c 65 72 28 29 0a 20 2a 20 20 20 4d 73 67 56 61 6c 75 65 48 61 6e 64 6c 65   ┆ionHandler()  *   MsgValueHandle┆
0x1400…1420 72 28 29 0a 20 2a 0a 20 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a   ┆r()  *  ************************┆
0x1420…1440 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 3c 2d 3e 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a   ┆*************<->****************┆
0x1440…1460 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 0a 0a 78 72 50 69 78 65 6c 44 61 74   ┆*******************/  xrPixelDat┆
0x1460…1480 61 20 2a 0a 5f 58 72 50 69 78 65 6c 45 78 74 72 61 63 74 20 28 69 6e 73 74 61 6e 63 65 2c 20 6d   ┆a * _XrPixelExtract (instance, m┆
0x1480…14a0 65 73 73 61 67 65 2c 20 64 61 74 61 29 0a 0a 20 20 20 72 65 67 69 73 74 65 72 20 78 72 50 69 78   ┆essage, data)     register xrPix┆
0x14a0…14c0 65 6c 44 61 74 61 20 2a 20 69 6e 73 74 61 6e 63 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 49   ┆elData * instance;             I┆
0x14c0…14e0 4e 54 33 32 20 20 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 3b 0a 20 20 20 20 20 20 20 20 20 20   ┆NT32         message;           ┆
0x14e0…1500 20 20 49 4e 54 38 20 20 20 20 20 20 20 20 2a 20 64 61 74 61 3b 0a 0a 7b 0a 20 20 20 73 77 69 74   ┆  INT8        * data;  {    swit┆
0x1500…1520 63 68 20 28 6d 65 73 73 61 67 65 29 0a 20 20 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 4d 53 47   ┆ch (message)    {       case MSG┆
0x1520…1540 5f 4e 45 57 3a 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 2f 2a 0a 20 20 20 20 20 20   ┆_NEW:       {          /*       ┆
0x1540…1560 20 20 20 20 2a 20 43 72 65 61 74 65 20 61 20 6e 65 77 20 65 78 74 72 61 63 74 69 6f 6e 20 69 6e   ┆    * Create a new extraction in┆
0x1560…1580 73 74 61 6e 63 65 2c 20 61 6e 64 20 69 6e 69 74 69 61 6c 69 7a 65 20 69 74 73 0a 20 20 20 20 20   ┆stance, and initialize its      ┆
0x1580…15a0 20 20 20 20 20 2a 20 69 6e 73 74 61 6e 63 65 20 73 74 72 75 63 74 75 72 65 3b 20 72 65 74 75 72   ┆     * instance structure; retur┆
0x15a0…15c0 6e 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 69 73 20 73 74 72 75 63 74 75 72 65 0a 20 20   ┆n a pointer to this structure   ┆
0x15c0…15e0 20 20 20 20 20 20 20 20 2a 20 62 61 63 6b 20 74 6f 20 74 68 65 20 61 70 70 6c 69 63 61 74 69 6f   ┆        * back to the applicatio┆
0x15e0…1600 6e 20 70 72 6f 67 72 61 6d 2e 0a 20 20 20 20 20 20 20 20 20 20 2a 0a 20 20 20 20 20 20 20 20 20   ┆n program.           *          ┆
0x1600…1620 20 2a 20 54 68 65 20 27 64 61 74 61 27 20 70 61 72 61 6d 65 74 65 72 20 69 73 20 69 6e 74 65 72   ┆ * The 'data' parameter is inter┆
0x1620…1640 70 72 65 74 65 64 20 61 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 61 6e 0a 20 20 20 20 20 20   ┆preted as a pointer to an       ┆
0x1640…1660 20 20 20 20 2a 20 69 6e 73 74 61 6e 63 65 20 6f 66 20 74 68 65 20 27 78 72 50 69 78 6d 61 70 27   ┆    * instance of the 'xrPixmap'┆
0x1660…1680 20 73 74 72 75 63 74 75 72 65 2c 20 77 69 74 68 20 74 68 65 20 27 64 65 70 74 68 27 2c 0a 20 20   ┆ structure, with the 'depth',   ┆
0x1680…16a0 20 20 20 20 20 20 20 20 2a 20 27 68 65 69 67 68 74 27 2c 20 27 77 69 64 74 68 27 20 61 6e 64 20   ┆        * 'height', 'width' and ┆
0x16a0…16c0 27 72 61 73 74 65 72 27 20 66 69 65 6c 64 73 20 66 69 6c 6c 65 64 20 6f 75 74 20 74 6f 20 64 65   ┆'raster' fields filled out to de┆
0x16c0…16e0 73 63 72 69 62 65 0a 20 20 20 20 20 20 20 20 20 20 2a 20 74 68 65 20 70 69 78 6d 61 70 20 77 68   ┆scribe           * the pixmap wh┆
0x16e0…1700 69 63 68 20 69 73 20 74 6f 20 68 61 76 65 20 69 74 73 20 64 61 74 61 20 65 78 74 72 61 63 74 65   ┆ich is to have its data extracte┆
0x1700…1720 64 2e 0a 20 20 20 20 20 20 20 20 20 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20   ┆d.           */          return ┆
0x1720…1740 28 28 78 72 50 69 78 65 6c 44 61 74 61 20 2a 29 20 4d 73 67 4e 65 77 48 61 6e 64 6c 65 72 20 28   ┆((xrPixelData *) MsgNewHandler (┆
0x1740…1760 64 61 74 61 29 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 63 61 73 65 20 4d 53 47 5f   ┆data));       }        case MSG_┆
0x1760…1780 46 52 45 45 3a 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 2f 2a 0a 20 20 20 20 20 20   ┆FREE:       {          /*       ┆
0x1780…17a0 20 20 20 20 2a 20 44 65 73 74 72 6f 79 20 61 6e 20 61 63 74 69 76 65 20 65 78 74 72 61 63 74 69   ┆    * Destroy an active extracti┆
0x17a0…17c0 6f 6e 20 69 6e 73 74 61 6e 63 65 3b 20 74 68 69 73 20 69 6e 76 6f 6c 76 65 73 0a 20 20 20 20 20   ┆on instance; this involves      ┆
0x17c0…17e0 20 20 20 20 20 2a 20 73 69 6d 70 6c 79 20 66 72 65 65 69 6e 67 20 75 70 20 74 68 65 20 6d 65 6d   ┆     * simply freeing up the mem┆
0x17e0…1800 6f 72 79 20 6f 63 63 75 70 69 65 64 20 62 79 20 69 74 73 20 69 6e 73 74 61 6e 63 65 0a 20 20 20   ┆ory occupied by its instance    ┆
0x1800…1820 20 20 20 20 20 20 20 2a 20 73 74 72 75 63 74 75 72 65 2e 20 20 54 68 65 20 6f 6e 6c 79 20 70 61   ┆       * structure.  The only pa┆
0x1820…1840 72 61 6d 65 74 65 72 20 6f 66 20 69 6e 74 65 72 65 73 74 20 69 73 20 74 68 65 0a 20 20 20 20 20   ┆rameter of interest is the      ┆
0x1840…1860 20 20 20 20 20 2a 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 70 6f 69 6e 74 65 72 3b 20 27 64 61   ┆     * the instance pointer; 'da┆
0x1860…1880 74 61 27 20 69 73 20 69 67 6e 6f 72 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 2a 2f 0a 0a 20 20   ┆ta' is ignored.           */    ┆
0x1880…18a0 20 20 20 20 20 20 20 69 66 20 28 69 6e 73 74 61 6e 63 65 20 3d 3d 20 4e 55 4c 4c 29 0a 20 20 20   ┆       if (instance == NULL)    ┆
0x18a0…18c0 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 78 72 45 72 72 6e 6f 20 3d 20 58 72   ┆      {             xrErrno = Xr┆
0x18c0…18e0 49 4e 56 41 4c 49 44 49 44 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 28 28   ┆INVALIDID;             return ((┆
0x18e0…1900 78 72 50 69 78 65 6c 44 61 74 61 20 2a 29 20 4e 55 4c 4c 29 3b 0a 20 20 20 20 20 20 20 20 20 7d   ┆xrPixelData *) NULL);          }┆
0x1900…1920 0a 0a 20 20 20 20 20 20 20 20 20 28 2a 78 72 46 72 65 65 29 20 28 69 6e 73 74 61 6e 63 65 29 3b   ┆           (*xrFree) (instance);┆
[…truncated at 200 lines…]