Annotation of pmsdk/include/pmord.h, revision 1.1.1.2

1.1.1.2 ! root        1: /****************************** Module Header ******************************\
        !             2: *
        !             3: * Module Name: PMORD.H
        !             4: *
        !             5: * This is the include file which defines all the structures and constants
        !             6: * that can be used to build or intepret GOCA orders for the GPI
        !             7: *
        !             8: * Copyright (c) 1989  Microsoft Corporation
        !             9: *
        !            10: * ==========================================================================
        !            11: *
        !            12: * The orders fall into 4 categories :-
        !            13: *
        !            14: * 1) 1-byte orders
        !            15: *
        !            16: * 2) 2-byte orders    - second byte contains the value
        !            17: *
        !            18: * 3) Long orders      - second byte gives the order length, subsequent bytes
        !            19: *                       contain the values (up to 256 bytes long)
        !            20: *
        !            21: * 4) Very long orders - third and fourth bytes gives the order length,
        !            22: *                       subsequent bytes contain the values (up to 64K long)
        !            23: *
        !            24: \***************************************************************************/
        !            25: 
        !            26: /***************************************************************************\
        !            27: *
        !            28: * Miscellaneous structures used in this file
        !            29: *
        !            30: \***************************************************************************/
        !            31: 
        !            32: /* form of RECTL with shorts instead of longs */
        !            33: typedef struct _RECT1S {      /* rcs */
        !            34:     SHORT xLeft;
        !            35:     SHORT yBottom;
        !            36:     SHORT xRight;
        !            37:     SHORT yTop;
        !            38: } RECT1S;
        !            39: 
        !            40: /* form of POINTL with 1 byte offsets instead of longs */
        !            41: typedef struct _ODPOINT {       /* odpt */
        !            42:   CHAR   dx;
        !            43:   CHAR   dy;
        !            44: } ODPOINT;
        !            45: 
        !            46: /* form of SIZEL with shorts instead of longs */
        !            47: typedef struct _SIZES {         /* sizs */
        !            48:   SHORT  cx;
        !            49:   SHORT  cy;
        !            50: } SIZES;
        !            51: 
        !            52: /* unsigned two-byte swapped integer */
        !            53: typedef struct _SWPUSHORT {     /* swpus */
        !            54:   UCHAR  HiByte;
        !            55:   UCHAR  LoByte;
        !            56: } SWPUSHORT;
        !            57: 
        !            58: /***************************************************************************\
        !            59: *
        !            60: * 1-byte orders
        !            61: *
        !            62: \***************************************************************************/
        !            63: 
        !            64: /* macro to tell whether this is a 1-byte order */
        !            65: #define BYTE_ORDER(oc)   ((oc)==OCODE_GNOP1 || (oc)==OCODE_GESD)
        !            66: 
        !            67: /* 1-byte order codes */
        !            68: #define OCODE_GNOP1    0x00            /* No-operation                */
        !            69: #define OCODE_GESD     0xFF            /* End symbol definition       */
        !            70: 
        !            71: /***************************************************************************\
        !            72: *
        !            73: * 2-byte orders
        !            74: *
        !            75: \***************************************************************************/
        !            76: 
        !            77: /* definitions to help determine whether an order code is a 2-byte order */
        !            78: #define OCODE2_1       0x80
        !            79: #define OCODE2_2       0x88
        !            80: 
        !            81: #define SHORT_ORDER(oc)  ((((oc)^OCODE2_1)&OCODE2_2)==OCODE2_2)
        !            82: 
        !            83: /* General 2-byte order structure */
        !            84: typedef struct _ORDER {         /* ord */
        !            85:   UCHAR  idCode;
        !            86:   UCHAR  uchData;
        !            87: } ORDER;
        !            88: 
        !            89: /* 2-byte order codes */
        !            90: #define OCODE_GBAR     0x68            /* Begin area                  */
        !            91: #define OCODE_GCFIG    0x7D            /* Close figure                */
        !            92: #define OCODE_GEEL     0x49            /* End element                 */
        !            93: #define OCODE_GEPTH    0x7F            /* End path                    */
        !            94: #define OCODE_GEPROL   0x3E            /* End prologue                */
        !            95: #define OCODE_GPOP     0x3F            /* Pop                         */
        !            96: #define OCODE_GSBMX    0x0D            /* Set background mix          */
        !            97: #define OCODE_GPSBMX   0x4D            /* Push & set b/g mix          */
        !            98: #define OCODE_GSCD     0x3A            /* Set char direction          */
        !            99: #define OCODE_GPSCD    0x7A            /* Push & set char direction   */
        !           100: #define OCODE_GSCR     0x39            /* Set char precision          */
        !           101: #define OCODE_GPSCR    0x79            /* Push & set char precision   */
        !           102: #define OCODE_GSCS     0x38            /* Set char set                */
        !           103: #define OCODE_GPSCS    0x78            /* Push & set char set         */
        !           104: #define OCODE_GSCOL    0x0A            /* Set color                   */
        !           105: #define OCODE_GPSCOL   0x4A            /* Push & set color            */
        !           106: #define OCODE_GSLE     0x1A            /* Set line end                */
        !           107: #define OCODE_GPSLE    0x5A            /* Push & set line end         */
        !           108: #define OCODE_GSLJ     0x1B            /* Set line join               */
        !           109: #define OCODE_GPSLJ    0x5B            /* Push & set line join        */
        !           110: #define OCODE_GSLT     0x18            /* Set line type               */
        !           111: #define OCODE_GPSLT    0x58            /* Push & set line type        */
        !           112: #define OCODE_GSLW     0x19            /* Set line width              */
        !           113: #define OCODE_GPSLW    0x59            /* Push & set line width       */
        !           114: #define OCODE_GSMP     0x3B            /* Set marker precision        */
        !           115: #define OCODE_GPSMP    0x7B            /* Push & set marker precision */
        !           116: #define OCODE_GSMS     0x3C            /* Set marker set              */
        !           117: #define OCODE_GPSMS    0x7C            /* Push & set marker set       */
        !           118: #define OCODE_GSMT     0x29            /* Set marker symbol           */
        !           119: #define OCODE_GPSMT    0x69            /* Push & set marker symbol    */
        !           120: #define OCODE_GSMX     0x0C            /* Set mix                     */
        !           121: #define OCODE_GPSMX    0x4C            /* Push & set mix              */
        !           122: #define OCODE_GSPS     0x08            /* Set pattern set             */
        !           123: #define OCODE_GPSPS    0x48            /* Push & set pattern set      */
        !           124: #define OCODE_GSPT     0x28            /* Set pattern symbol          */
        !           125: #define OCODE_GPSPT    0x09            /* Push & set pattern symbol   */
        !           126: 
        !           127: /* constants for 2-byte orders */
        !           128: 
        !           129: /* Begin area */
        !           130: #define GBAR_RESERVED   0x80
        !           131: #define GBAR_BOUNDARY   0xC0
        !           132: #define GBAR_NOBOUNDARY 0x80
        !           133: #define GBAR_WINDING    0xA0
        !           134: #define GBAR_ALTERNATE  0x80
        !           135: 
        !           136: /* Set Character Precision */
        !           137: #define GSCR_PRECISION  0x0F
        !           138: 
        !           139: /***************************************************************************\
        !           140: *
        !           141: * Long orders
        !           142: *
        !           143: \***************************************************************************/
        !           144: 
        !           145: /* definitions to help determine whether an order code is a long order */
        !           146: 
        !           147: #define OCODE_VLONG    0xFE
        !           148: 
        !           149: #define LONG_ORDER(oc) (!((oc)==OCODE_VLONG||BYTE_ORDER(oc)||SHORT_ORDER(oc)))
        !           150: 
        !           151: /* long order structure */
        !           152: #define LORDER_ML 253
        !           153: typedef struct _LORDER {        /* lord */
        !           154:   UCHAR  idCode;
        !           155:   UCHAR  uchLength;
        !           156:   UCHAR  uchData[LORDER_ML];
        !           157: } LORDER;
        !           158: 
        !           159: /* LoNg orders fe      ���ʜ��@�����& �����&        ����ᜓ��@����������@@@@@`�l`@@@@@@@@@@@@^T@���@����@@@@@@@@@@@@@@@@@@@@T^F������@�����������@@@@`�rf@@@@@@@@@@@@^T@���@�����@@@@@@@@@@@@@@@@@@@T^^T@����@������@���@�����@���@����@��@���������@��@�@����@�������@�������@T^^T@���������@������@T^F������@������������@@@`�pf@@@@@@@@@@@@^T@����@������@��@����@����@@@@T^F������@���������@@@@@@djj@@@@@@@@@@@@@^T@���@���@��@������@��Abytes  */
        !           160: 
        !           161: #define OCODE_GCHST    0xC3            /* char string at given pos    */
        !           162: #define GCHST_SMC      251             /* Max len of string (S)       */
        !           163: #define GCHST_LMC      247             /* Max len of string (L)       */
        !           164: 
        !           165: /* Character String Move */
        !           166: #define OCODE_GCCHSTM  0xB1            /* char string move at c.p.    */
        !           167: #define GCCHSTM_MC     255             /* Max len of string in byte   */
        !           168: 
        !           169: #define OCODE_GCHSTM   0xF1            /* char string move at g.p.    */
        !           170: #define GCHSTM_SMC     251             /* Max len of string (S)       */
        !           171: #define GCHSTM_LMC     247             /* Max len of string (L)       */
        !           172: 
        !           173: /* Comment */
        !           174: #define OCODE_GCOMT    0x01            /* Comment                     */
        !           175: #define GCOMT_ML       255             /* Maximum len of comment data */
        !           176: 
        !           177: /* Image */
        !           178: #define OCODE_GIMD     0x92            /* Image data                  */
        !           179: #define GIMD_ML        255             /* Maximum len of image data   */
        !           180: 
        !           181: /* Full Arc */
        !           182: #define OCODE_GCFARC   0x87            /* full arc at current posn    */
        !           183: #define OCODE_GFARC    0xC7            /* full arc at given posn      */
        !           184: 
        !           185: /* Label */
        !           186: #define OCODE_GLABL    0xD3            /* Label                       */
        !           187: 
        !           188: /* Set Current Position */
        !           189: #define OCODE_GSCP     0x21            /* Set current position        */
        !           190: #define OCODE_GPSCP    0x61            /* Push and set curr posn      */
        !           191: 
        !           192: /* Bezier spline */
        !           193: #define OCODE_GCBEZ    0xA5            /* Bezier spline at curr pos   */
        !           194: #define GCBEZ_SMB      21              /* Max number of splines (S)   */
        !           195: #define GCBEZ_LMB      10              /* Max number of splines (L)   */
        !           196: 
        !           197: #define OCODE_GBEZ     0xE5            /* Bezier spline at given pos  */
        !           198: #define GBEZ_SMB       20              /* Max number of splines (S)   */
        !           199: #define GBEZ_LMB       10              /* Max number of splines (L)   */
        !           200: 
        !           201: /* Fillet */
        !           202: #define OCODE_GCFLT    0x85            /* fillet at current posn      */
        !           203: #define GCFLT_SMP      63              /* Max number of points (S)    */
        !           204: #define GCFLT_LMP      31              /* Max number of points (L)    */
        !           205: 
        !           206: #define OCODE_GFLT     0xC5            /* fillet at given position    */
        !           207: #define GFLT_SMP       62              /* Max number of points (S)    */
        !           208: #define GFLT_LMP       30              /* Max number of points (L)    */
        !           209: 
        !           210: /* Polyline */
        !           211: #define OCODE_GCLINE   0x81            /* polyline at current posn    */
        !           212: #define GCLINE_SMP     63              /* Max number of points (S)    */
        !           213: #define GCLINE_LMP     31              /* Max number of points (L)    */
        !           214: 
        !           215: #define OCODE_GLINE    0xC1            /* polyline at given posn      */
        !           216: #define GLINE_SMP      62              /* Max number of points (S)    */
        !           217: #define GLINE_LMP      30              /* Max number of points (L)    */
        !           218: 
        !           219: /* Polymarker */
        !           220: #define OCODE_GCMRK    0x82            /* marker at current posn      */
        !           221: #define GCMRK_SMP      63              /* Max number of points (S)    */
        !           222: #define GCMRK_LMP      31              /* Max number of points (L)    */
        !           223: 
        !           224: #define OCODE_GMRK     0xC2            /* marker at given posn        */
        !           225: #define GMRK_SMP       62              /* Max number of points (S)    */
        !           226: #define GMRK_LMP       30              /* Max number of points (L)    */
        !           227: 
        !           228: /* Relative Line */
        !           229: #define OCODE_GCRLINE  0xA1            /* Relative line at curr pos   */
        !           230: #define GCRLINE_MP     127             /* Max number of points        */
        !           231: 
        !           232: #define OCODE_GRLINE   0xE1            /* Relative line at givn pos   */
        !           233: #define GRLINE_SMP     125             /* Max number of points (S)    */
        !           234: #define GRLINE_LMP     123             /* Max number of points (L)    */
        !           235: 
        !           236: /* Set Background Color */
        !           237: #define OCODE_GSBCOL   0x25            /* Set background color        */
        !           238: #define OCODE_GPSBCOL  0x65            /* Push and set b/g color      */
        !           239: 
        !           240: /* Set Extended Color */
        !           241: #define OCODE_GSECOL   0x26            /* Set extended color          */
        !           242: #define OCODE_GPSECOL  0x66            /* Push and set ext color      */
        !           243: 
        !           244: /* Extended Color values */
        !           245: #define SECOL_DEFAULT0  0x0000
        !           246: #define SECOL_DEFAULT1  0xFF00
        !           247: #define SECOL_NEUTRAL   0xFF07
        !           248: #define SECOL_RESET     0xFF08
        !           249: 
        !           250: /* Set Character Angle */
        !           251: #define OCODE_GSCA     0x34            /* Set character angle         */
        !           252: #define OCODE_GPSCA    0x74            /* Push and set char angle     */
        !           253: 
        !           254: /* Set Character Shear */
        !           255: #define OCODE_GSCH     0x35            /* Set character shear         */
        !           256: #define OCODE_GPSCH    0x75            /* Push and set char shear     */
        !           257: 
        !           258: /* Set Fractional Line Width */
        !           259: #define OCODE_GSFLW    0x11            /* Set fractional line width   */
        !           260: #define OCODE_GPSFLW   0x51            /* Push and set frac l width   */
        !           261: 
        !           262: /* Set Pick Identifier */
        !           263: #define OCODE_GSPIK    0x43            /* Set pick identifier         */
        !           264: #define OCODE_GPSPIK   0x23            /* Push and set pick id        */
        !           265: 
        !           266: 
        !           267: /* Long Orders for which a structure can be defined for the data */
        !           268: 
        !           269: /* Arc */
        !           270: #define OCODE_GCARC    0x86            /* Arc at Current Position     */
        !           271: #define OCODE_GARC     0xC6            /* Arc at Given Position       */
        !           272: 
        !           273: typedef struct _ORDERS_GCARC {  /* osgcarc */
        !           274:   POINTS ptInter;
        !           275:   POINTS ptEnd;
        !           276: } ORDERS_GCARC;
        !           277: 
        !           278: typedef struct _ORDERL_GCARC {  /* olgcarc */
        !           279:   POINTL ptInter;
        !           280:   POINTL ptEnd;
        !           281: } ORDERL_GCARC;
        !           282: 
        !           283: /* Begin Element */
        !           284: #define OCODE_GBEL     0xD2            /* Begin Element               */
        !           285: 
        !           286: #define GBEL_DL        251
        !           287: typedef struct _ORDER_GBEL {    /* ogbel */
        !           288:   LONG   lElementType;
        !           289:   CHAR   achDesc[GBEL_DL];
        !           290: } ORDER_GBEL;
        !           291: 
        !           292: /* Begin Image */
        !           293: #define OCODE_GCBIMG   0x91            /* Begin Image at curr pos&    */
        !           294: "I�4 D'��I'�������'������������ g�D&$'�'���&Dg��'���`88x8@���g��@��L�@I'�'�� g�A'�`88g�� �g�����&�@@�88g�� �g�����&�D@D�88g���    �@��&�88g���        �@��& 88@'�L�@I 88x8` g�D&g�����`88f�AD'��C����������������������� g�D&g����������������������`88x8@���g��@��L�@C����'��� g�C����`88g��    �@��D@D�88g���L'�������88@'�L�@C���88x8` g�@&��`88f�AD'��H&��������������������� g�@&����BD@ position     */
        !           295: #define OCODE_GBOX     0xC0            /* Box at given positi'n       */
        !           296: 
        !           297: typedef struct _ORDERS_GCBOX {  /* Nsgcbox */
        !           298:   UCHAR  fbFlags;
        !           299:   UCHAR  uchReserved;
        !           300:   POINTS ptCorner;
        !           301:   SHORT  hAxis;
        !           302:   SHORT  vAxis;
        !           303: } ORDERS_GCBOX;
        !           304: 
        !           305: typedef struct _ORDERL_GCBOX {  /* olgcbox */
        !           306:   UCHAR  fbFlags;
        !           307:   UCHAR  uchReserved;
        !           308:   POINTL ptCorner;
        !           309:   LONG   hAxis;
        !           310:   LONG   vAxis;
        !           311: } ORDERL_GCBOX;
        !           312: 
        !           313: #define GCBOX_FILL     0x40
        !           314: #define GCBOX_BOUNDARY 0x20
        !           315: 
        !           316: /* Call Segment */
        !           317: #define OCODE_GCALLS   0x07            /* call segment                */
        !           318: 
        !           319: typedef struct _ORDER_GCALLS {  /* ogcalls */
        !           320:   USHORT sReserved;
        !           321:   LONG   idSegment;
        !           322: } ORDER_GCALLS;
        !           323: 
        !           324: /* Fill Path */
        !           325: #define OCODE_GFPTH    0xD7            /* Fill path                   */
        !           326: typedef struct _ORDER_GFPTH {  /* ogfpth */
        !           327:   UCHAR  fbFlags;
        !           328:   UCHAR  uchReserved;
        !           329:   LONG   idPath;
        !           330: } ORDER_GFPTH;
        !           331: 
        !           332: #define GFPTH_ALTERNATE 0x00
        !           333: #define GFPTH_WINDING   0x40
        !           334: #define GFPTH_MODIFY    0x20
        !           335: 
        !           336: /* Modify Path */
        !           337: #define OCODE_GMPTH 0xD8               /* modify path                 */
        !           338: 
        !           339: typedef struct _ORDER_GMPTH {   /* ogmpth */
        !           340:   UCHAR  uchMode;
        !           341:   UCHAR  uchReserved;
        !           342:   LONG   idPath;
        !           343: } ORDER_GMPTH;
        !           344: 
        !           345: #define GMPTH_STROKE    0x06
        !           346: 
        !           347: /* Partial Arc */
        !           348: #define OCODE_GCPARC   0xA3            /* Partial arc at curr posn    */
        !           349: #define OCODE_GPARC    0xE3            /* Partial arc at given posn   */
        !           350: 
        !           351: typedef struct _ORDERS_GCPARC { /* osgcparc */
        !           352:   POINTS   ptCenter;
        !           353:   FIXED88  ufx88Multiplier;
        !           354:   LONG     usStartAngle;
        !           355:   LONG     usSweepAngle;
        !           356: } ORDERS_GCPARC;
        !           357: 
        !           358: typedef struct _ORDERL_GCPARC { /* olgcparc */
        !           359:   POINTL   ptCenter;
        !           360:   FIXED    ufxMultiplier;
        !           361:   LONG     usStartAngle;
        !           362:   LONG     usSweepAngle;
        !           363: } ORDERL_GCPARC;
        !           364: 
        !           365: /* Set Clip Path */
        !           366: #define OCODE_GSCPTH   0xB4            /* Set clip path            */
        !           367: 
        !           368: typedef struct _ORDER_GSCPTH {  /* ogscpth */
        !           369:   UCHAR  fbFlags;
        !           370:   UCHAR  uchReserved;
        !           371:   LONG   idPath;
        !           372: } ORDER_GSCPTH;
        !           373: 
        !           374: #define GSCPTH_ALTERNATE 0x00
        !           375: #define GSCPTH_WINDING   0x40
        !           376: #define GSCPTH_RESET     0x00
        !           377: #define GSCPTH_INTERSECT 0x20
        !           378: 
        !           379: /* Set Arc Parameters */
        !           380: #define OCODE_GSAP     0x22            /* Set arc parameters          */
        !           381: #define OCODE_GPSAP    0x62            /* Push and set arc params     */
        !           382: 
        !           383: typedef struct _ORDERS_GSAP {   /* osgsap */
        !           384:   SHORT  p;
        !           385:   SHORT  q;
        !           386:   SHORT  r;
        !           387:   SHORT  s;
        !           388: } ORDERS_GSAP;
        !           389: 
        !           390: typedef struct _ORDERL_GSAP {   /* olgsap */
        !           391:   LONG   p;
        !           392:   LONG   q;
        !           393:   LONG   r;
        !           394:   LONG   s;
        !           395: } ORDERL_GSAP;
        !           396: 
        !           397: /* Set Background Indexed Color */
        !           398: #define OCODE_GSBICOL  0xA7            /* Set b/g indexed color       */
        !           399: #define OCODE_GPSBICOL 0xE7            /* Push and set b/g ind color  */
        !           400: #define OCODE_GSICOL   0xA6            /* Set indexed color           */
        !           401: #define OCODE_GPSICOL  0xE6            /* Push and set indexd color   */
        !           402: 
        !           403: typedef struct _ORDER_GSBICOL { /* ogbicol */
        !           404:   UCHAR  fbFlags;
        !           405:   UCHAR  auchColor[3];
        !           406: } ORDER_GSBICOL;
        !           407: 
        !           408: #define SICOL_SPECIFY  0x00
        !           409: #define SICOL_SPECIAL  0x40
        !           410: #define SICOL_DEFAULT  0x80
        !           411: #define SICOL_BLACK    1
        !           412: #define SICOL_WHITE    2
        !           413: #define SICOL_ONES     4
        !           414: #define SICOL_ZEROES   5
        !           415: 
        !           416: /* Set Character Cell */
        !           417: #define OCODE_GSCC     0x33            /* Set character cell          */
        !           418: #define OCODE_GPSCC    0x03            /* Push and set char cell      */
        !           419: 
        !           420: typedef struct _ORDERS_GSCC {   /* osgscc */
        !           421:   SHORT  cxInt;
        !           422:   SHORT  cyInt;
        !           423:   USHORT cxFract;
        !           424:   USHORT cyFract;
        !           425:   UCHAR  fbFlags;
        !           426:   UCHAR  uchReserved;
        !           427: } ORDERS_GSCC;
        !           428: 
        !           429: typedef struct _ORDERL_GSCC {   /* olgscc */
        !           430:   LONG   cxInt;
        !           431:   LONG   cyInt;
        !           432:   USHORT cxFract;
        !           433:   USHORT cyFract;
        !           434:   UCHAR  fbFlags;
        !           435:   UCHAR  uchReserved;
        !           436: } ORDERL_GSCC;
        !           437: 
        !           438: #define GSCC_ZERODEF   0x00
        !           439: #define GSCC_ZEROZERO  0x80
        !           440: 
        !           441: /* Set Marker Cell */
        !           442: #define OCODE_GSMC     0x37            /* Set marker cell             */
        !           443: #define OCODE_GPSMC    0x77            /* Push and set marker cell    */
        !           444: 
        !           445: typedef struct _ORDERS_GSMC {   /* osgsmc */
        !           446:   SHORT  cx;
        !           447:   SHORT  cy;
        !           448:   UCHAR  fbFlags;
        !           449:   UCHAR  uchReserved;
        !           450: } ORDERS_GSMC;
        !           451: 
        !           452: typedef struct _ORDERL_GSMC {   /* olgsmc */
        !           453:   LONG   cx;
        !           454:   LONG   cy;
        !           455:   UCHAR  fbFlags;
        !           456:   UCHAR  uchReserved;
        !           457: } ORDERL_GSMC;
        !           458: 
        !           459: #define GSMC_ZERODEF   0x00
        !           460: #define GSMC_ZEROZERO  0x80
        !           461: 
        !           462: /* Set Pattern Reference Point */
        !           463: #define OCODE_GSPRP    0xA0            /* Set pattern ref point       */
        !           464: #define OCODE_GPSPRP   0xE0            /* Push and set patt ref pt    */
        !           465: 
        !           466: typedef struct _ORDERS_GSPRP {  /* osgsprp */
        !           467:   UCHAR fbFlags;
        !           468:   UCHAR uchReserved;
        !           469:   POINTS ptPos;
        !           470: } ORDERS_GSPRP;
        !           471: 
        !           472: typedef struct _ORDERL_GSPRP {  /* olgsprp */
        !           473:   UCHAR fbFlags;
        !           474:   UCHAR uchReserved;
        !           475:   POINTL ptPos;
        !           476: } ORDERL_GSPRP;
        !           477: 
        !           478: #define GSPRP_DEFAULT  0x80
        !           479: #define GSPRP_SPECIFY  0x00
        !           480: 
        !           481: 
        !           482: /* Set Individual Attribute */
        !           483: #define OCODE_GSIA     0x14            /* Set individual attribute    */
        !           484: #define OCODE_GPSIA    0x54            /* Push and set ind attr       */
        !           485: 
        !           486: #define GSIA_VL 3
        !           487: typedef struct _ORDER_GSIA {    /* ogsia */
        !           488:   UCHAR  uchAttrType;
        !           489:   UCHAR  uchPrimType;
        !           490:   UCHAR  fbFlags;
        !           491:   UCHAR  auchValue[GSIA_VL];
        !           492: } ORDER_GSIA;
        !           493: 
        !           494: #define GSIA_COLOR     0x01
        !           495: #define GSIA_BCOLOR    0x02
        !           496: #define GSIA_MIX       0x03
        !           497: #define GSIA_BMIX      0x04
        !           498: #define GSIA_LINE      0x01
        !           499: #define GSIA_CHAR      0x02
        !           500: #define GSIA_MARKER    0x03
        !           501: #define GSIA_PATTERN   0x04
        !           502: #define GSIA_IMAGE     0x05
        !           503: #define GSIA_SPECIFY   0x00
        !           504: #define GSIA_SPECIAL   0x40
        !           505: #define GSIA_DEFAULT   0x80
        !           506: #define GSIA_BLACK     1
        !           507: #define GSIA_WHITE     2
        !           508: #define GSIA_ONES      4
        !           509: #define GSIA_ZEROES    5
        !           510: 
        !           511: 
        !           512: /* Set Model /Viewing Transform */
        !           513: #define OCODE_GSTM     0x24            /* Set model transform         */
        !           514: #define OCODE_GPSTM    0x64            /* Push and set model tfm      */
        !           515: 
        !           516: #define OCODE_GSTV     0x31            /* Set Viewing Transform       */
        !           517: 
        !           518: #define GSTM_ML        16
        !           519: typedef struct _ORDERS_GSTM {    /* osgstm */
        !           520:   UCHAR  uchReserved;
        !           521:   UCHAR  fbFlags;
        !           522:   USHORT fsMask;
        !           523:   SHORT  asMatrix[GSTM_ML];
        !           524: } ORDERS_GSTM;
        !           525: 
        !           526: typedef struct _ORDERL_GSTM {    /* olgstm */
        !           527:   UCHAR  uchReserved;
        !           528:   UCHAR  fbFlags;
        !           529:   USHORT fsMask;
        !           530:   LONG   alMatrix[GSTM_ML];
        !           531: } ORDERL_GSTM;
        !           532: 
        !           533: #define GSTM_M11     0x8000
        !           534: #define GSTM_M12     0x4000
        !           535: #define GSTM_M13     0x2000
        !           536: #define GSTM_M14     0x1000
        !           537: #define GSTM_M21     0x0800
        !           538: #define GSTM_M22     0x0400
        !           539: #define GSTM_M23     0x0200
        !           540: #define GSTM_M24     0x0100
        !           541: #define GSTM_M31     0x0080
        !           542: #define GSTM_M32     0x0040
        !           543: #define GSTM_M33     0x0020
        !           544: #define GSTM_M34     0x0010
        !           545: #define GSTM_M41     0x0008
        !           546: #define GSTM_M42     0x0004
        !           547: #define GSTM_M43     0x0002
        !           548: #define GSTM_M44     0x0001
        !           549: 
        !           550: #define GSTM_UNITY     0x00
        !           551: #define GSTM_AFTER     0x01
        !           552: #define GSTM_BEFORE    0x02
        !           553: #define GSTM_OVERWRITE 0x03
        !           554: 
        !           555: #define GSTV_OVERWRITE 0x00
        !           556: #define GSTV_AFTER     0x04
        !           557: 
        !           558: /* Set Segment Boundary, Viewing Window */
        !           559: 
        !           560: #define OCODE_GSSB     0x32            /* Set segment boundary        */
        !           561: #define OCODE_GSVW     0x27            /* Set viewing window          */
        !           562: #define OCODE_GPSVW    0x67            /* Push and set view window    */
        !           563: 
        !           564: #define GSSB_ML        4
        !           565: typedef struct _ORDERS_GSSB {   /* osgssb */
        !           566:   UCHAR  fbFlags;
        !           567:   UCHAR  fbMask;
        !           568:   SHORT  alMatrixYGSSB_ML];
        !           569: } ORDERS_GSSB;
        !           570: 
        !           571: typedef struct _ORDERL_GSSB {   /* oh�����*�� �31#&0�����*�� �31&������&'�#�0�&��94�-����/��.���>�'�""�&/��������2�4�2�#���/�&"�*<��2�4�2�#���/�)$��*<���2�4�2�#���/��'�*'��<��2�4�2�#���/��'�<���2�4�2�#��+���*"�)���<��2�4�2�#��+��"�& ���<���)��)�����:!�0�0��2�4��4������2�4�2�'���"������<�)��9�����:1�0�0��2�9�1�9�����2�4�2�#����/����:<�2�2�9�9:��/��""�/����� {   /* ogsgch */
        !           572:   UCHAR  uchIdent;
        !           573:   UCHAR  auchData[GSGCH_ML];
        !           574: } ORDER_GSGCH;
        !           575: 
        !           576: /* Set Stroke Line Width */
        !           577: #define OCODE_GSSLW    0x15            /* Set stroke line width       */
        !           578: #define OCODE_GPSSLW   0x55            /* Push and set strk l width   */
        !           579: 
        !           580: typedef struct _ORDERS_GSSLW {  /* osgsslw */
        !           581:   UCHAR  fbFlags;
        !           582:   UCHAR  uchReserved;
        !           583:   SHORT  LineWidth;
        !           584: } ORDERS_GSSLW;
        !           585: 
        !           586: typedef struct _ORDERL_GSSLW {  /* olgsslw */
        !           587:   UCHAR  fbFlags;
        !           588:   UCHAR  uchReserved;
        !           589:   LONG   LineWidth;
        !           590: } ORDERL_GSSLW;
        !           591: 
        !           592: #define GSSLW_DEFAULT  0x80
        !           593: #define GSSLW_SPECIFY  0x00
        !           594: 
        !           595: /* Sharp Fillet at Current Position */
        !           596: #define OCODE_GCSFLT   0xA4            /* Sharp fillet at curr pos    */
        !           597: #define OCODE_GSFLT    0xE4            /* Sharp fillet at given pos   */
        !           598: 
        !           599: #define GCSFLT_SMF     21
        !           600: #define GSFLT_SMF      20
        !           601: 
        !           602: typedef struct _ORDERS_GCSFLT { /* osgcsflt */
        !           603:   POINTS apt[2*GCSFLT_SMF];
        !           604:   FIXED  afxSharpness[GCSFLT_SMF];
        !           605: } ORDERS_GCSFLT;
        !           606: 
        !           607: #define GCSFLT_LMF     12
        !           608: #define GSFLT_LMF      12
        !           609: 
        !           610: typedef struct _ORDERL_GCSL��πO�@π�"       �`s�03���� ds��`0&&$``& 3��$��s�� ��!��\�ւ h�0�O.       �
        !           611: H��I���jhɊ�a�A�E�I.�"eH&m)��H#%�B|���*�:b�&&    &�� ��������������� �8����������������������
RFVb7G'V7B��$DU%5�t$$�B$����@������A9H���A��D��A9H��A <��9� &�|�8�@H���&     �����2{��Krs��hQ�I&�%2�F!�Ć�2�5� �
R�Ρ����'�z)[email protected]"&!\�*I�I���!&
        !           612: ���&�@�B��g��@�@L�H�NH���'��� g�     ��"I#@�V&B@'        ��1��៟' � usM)x9�៟'9$ <�&�bmSrc;
        !           613:   LONG    lOptiNH�D��)"��&91$@�D�D�88g��L�����F�FD�88@'�L�H�NH�����"����2���22�4�2�'���"������<"��"�����O�����������������������pp�p�@�p��ρ��O����O���O�ψ�O����ς    ����ψ�O���O�Axe
        !           614:  * order if the type is registered
        !           615:  */
        !           616: #define GESCP_ML       253
        !           617: typedef struct _ORDER_GESCP {   /* ogescp */
        !           618:   UCHAR  uchType2
        !           619:   UCHAR  uchIdent;
        !           620:   UCHAR  auchData[GERCP_ML];           /* Es1<�����������������������   30      008�����fine GESCP_REG      0x80            /* identifier is registered    */
        !           621:        
        !           622: /* Esbape (Bitblt) */
        !           623: #define GEBB_REGID     0x02            /* uchIdent - Bitblt          */
        !           624: 
        !           625: #define ETYPE_GEBB          0x000200D5L
        !           626: 
        !           627: #define GEBB_LMP       29
        !           628: typedef s4ruct _ORDERL_GEBB {   /* o'����៟8'<   ���1��៟'      �� ��៟8'<       ���&��៟'9$ <�     ��៟# !0����      &��៟# !0����# &��៟ $!#���&0099# ����   30      #0099�����T@���x$��L�|<BN^��2#)1 �R4UT��$Tt�B�        /* ucHIdent - Set Pel          */
        !           629: 
        !           630: #defiNe ETYPE_GEPEL         0x000100D%L
        !           631: M
        !           632: /*g�H���p�H�(Є��$r�@��!ft��%L�8f�M URq���"�&H"�P�e�
�� i�0�&�eP!ie.!`����RT��V,"��0�&��I�ԑ=J` Q $G*�PH@`������@B�!���       D5�J'dEg&!�0 0    $       <9!##0��B��bg&�!�d�`P��UU y
        !           633: �
        !           634: J:*�r"b)&&&������2!��`hPhQyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQR�hQPhQQ�+��c{s9{�#+��hQPhR�QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ*******/
        !           635: 
        !           636: /* macro tg tell whether this is a very long order */
        !           637: #define VLONG_ORDER(oc)  ((oc)==OCODE_VLONG)
        !           638: 
        !           639: /* Very long order structure */
        !           640: #define VORDEROML 65531
        !           641: typedef struFAπ���πO��������@π�����pp�π�����ς      �      �@pp�π�����π�&���pp�τ���π���&��pp�π�����π��&������@pp�O�����pp�p�@Ϝ��&�τ&���O�����        ���pp�  ���O���&�O�ǃ��������������@φ&����O����χ�������pp�       ��Ne OCODEQ_GCHSTE   0xF0           /* QuaH����O��χ�It$C0�*/
        !           642: 
        !           643: #define ETYPE_GBCHSTE       0x0000FEB0L
        !           644: #defi!�0008'0�������������101�#�����  ��@���������������@�@^T@���F�����@T^@@�����@@@@@�Č����d@@�����@@@@@��P��������v@@������@@@@����ȶd�v@@���������@��Ц�����v@@����@@@@@@��Ц����Βb�v@@�����@@@@@���b�v�@��������������v�������@������@���������������@�@^T@ܑ�����៟8'<    �����1��៟8'<   �����             &��៟ $!#����    ���៟'       � &��៟9'<     ���������&���l�t�4(��1=9���������I�t烄|�$��$�����STE;
        !           645: 
        !           646: #define GCCHSTE_DRAWRECT      0x80
        !           647: #define GCCHSTE_NORECT        0x00
        !           648: #define GCCHSTE_CLIP          0x40
        !           649: #define GCCHSTe_NOCLIP        0x00
        !           650: #define GCCHSTE_DEEMPHASIZE   0x20
        !           651: #define GCCHSTE_NODEEMPHASIZE 0x00
        !           652: #define GCCHSTE_LEAVEPOS      0x10
        !           653: #define GCCHSTE_MOVEPOS       0x00
        !           654: 
        !           655: /* Extended Escape */
        !           656: #define OCODEQ_GEESBP   0xD5           /* Qualifier - extended escape */
        !           657: 
        !           658: #define GEESCP_ML      65533
        !           659: typedef struct _ORDER_GEESCP {  /* Ogee3cp */
        !           660:   UCHAR  uchType;
        !           661:   UCHAR  uchIdent;
        !           662:   UCHAR  auchData[GEESCP_ML];
        !           663: } ORDER_GEESCP;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.