home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / docs / pmhok.inf (.txt) < prev    next >
Encoding:
OS/2 Help File  |  1994-02-27  |  188.9 KB  |  9,314 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Graphics Orders ΓòÉΓòÉΓòÉ
  3.  
  4. This section describes the format of the graphics orders. 
  5.  
  6. Graphics orders are used in the following circumstances: 
  7.  
  8. o Using GpiGetData or GpiPutData functions for bulk transfer of part or all of 
  9.   graphics segment data (unless this is simply being copied without being 
  10.   changed). 
  11.  
  12. o Editing segments with GpiQueryElement and GpiElement. 
  13.  
  14. o Generating metafiles (other than through the Presentation Manager API), or 
  15.   examining their contents.  The data part of Graphics Data structured fields 
  16.   within the metafile (see Metafile Data Format) consists of graphics orders. 
  17.  
  18. When primitive or attribute functions (plus certain other functions) are 
  19. specified at the programming interface, and the drawing mode (see 
  20. GpiSetDrawingMode) is set to drawandretain, graphics orders are constructed and 
  21. placed in the current graphics segment. One API call often causes a single 
  22. order to be generated. Sometimes, however, several orders are necessary: an 
  23. example of this is where a GpiPolyLine call is issued, which specifies more 
  24. strokes than there is room for, in a single order. 
  25.  
  26. In either case, the order or orders generated by a single API call comprise a 
  27. single element, unless the application specifically starts an element using the 
  28. GpiBeginElement function. In this case the element consists of all of the 
  29. orders generated between this and the following GpiEndElement function. A 
  30. GpiQueryElement function returns the orders that comprise an element; the 
  31. application may edit these, and return them to the segment with GpiElement. The 
  32. Begin Element - End Element orders that surround a multi-order element in the 
  33. segment are never passed between the application and the system on 
  34. GpiQueryElement and GpiElement functions. 
  35.  
  36. No double word or word alignment can be assumed for orders either within 
  37. segments or during editing. 
  38.  
  39.  
  40. ΓòÉΓòÉΓòÉ 1.1. Arc ΓòÉΓòÉΓòÉ
  41.  
  42.  
  43. ΓòÉΓòÉΓòÉ <hidden> Topics - Arc ΓòÉΓòÉΓòÉ
  44.  
  45. Select an item: 
  46.  
  47. Call Syntax 
  48. Parameters 
  49. Glossary 
  50.  
  51.  
  52. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Arc ΓòÉΓòÉΓòÉ
  53.  
  54. /*Arc at a Given Position / Arc at Current Position 
  55.  
  56. This order constructs an arc starting at a given position. */ 
  57.  
  58. Arc at a Given Position (GARC)
  59. X'C6' (LEN, P0, P1, P2)
  60.  
  61. Arc at Current Position (GCARC)
  62. X'86' (LEN, P1, P2)
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72. ΓòÉΓòÉΓòÉ <hidden> Parameters - Arc ΓòÉΓòÉΓòÉ
  73.  
  74. LEN(GLENGTH1) 
  75.    Length of following data. 
  76.  
  77. P0(GPOINT) 
  78.    Coordinate data of start point. 
  79.  
  80.    This parameter is only present in a Arc at a Given Position Order. 
  81.  
  82. P1(GPOINT) 
  83.    Coordinate data of intermediate point. 
  84.  
  85. P2(GPOINT) 
  86.    Coordinate data of end point. 
  87.  
  88.  
  89. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  90.  
  91. LEN(GLENGTH1) 
  92.    Length of following data. 
  93.  
  94.  
  95. ΓòÉΓòÉΓòÉ <hidden> P0 ΓòÉΓòÉΓòÉ
  96.  
  97. P0(GPOINT) 
  98.    Coordinate data of start point. 
  99.  
  100.    This parameter is only present in a Arc at a Given Position Order. 
  101.  
  102.  
  103. ΓòÉΓòÉΓòÉ <hidden> P1 ΓòÉΓòÉΓòÉ
  104.  
  105. P1(GPOINT) 
  106.    Coordinate data of intermediate point. 
  107.  
  108.  
  109. ΓòÉΓòÉΓòÉ <hidden> P2 ΓòÉΓòÉΓòÉ
  110.  
  111. P2(GPOINT) 
  112.    Coordinate data of end point. 
  113.  
  114.  
  115. ΓòÉΓòÉΓòÉ 1.2. Begin Area ΓòÉΓòÉΓòÉ
  116.  
  117.  
  118. ΓòÉΓòÉΓòÉ <hidden> Topics - Begin Area ΓòÉΓòÉΓòÉ
  119.  
  120. Select an item: 
  121.  
  122. Call Syntax 
  123. Parameters 
  124. Glossary 
  125.  
  126.  
  127. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Begin Area ΓòÉΓòÉΓòÉ
  128.  
  129. /*Begin Area 
  130.  
  131. This order indicates the start of a set of primitives that define an area 
  132. boundary. */ 
  133.  
  134. Begin Area (GBAR)
  135. X'68' (FLAGS)
  136.  
  137.  
  138.  
  139. ΓòÉΓòÉΓòÉ <hidden> Parameters - Begin Area ΓòÉΓòÉΓòÉ
  140.  
  141. FLAGS 
  142.    Internal flags. 
  143.  
  144.    RES1 (GBIT1) 
  145.       Reserved for migration. 
  146.  
  147.       1 
  148.          Only valid value. 
  149.  
  150.    BOUNDARY (GBIT1) 
  151.       Boundary-line draw indicator. 
  152.  
  153.       0 
  154.          Do not draw boundary lines 
  155.       1 
  156.          Draw boundary lines. 
  157.  
  158.    INSIDE (GBIT1) 
  159.       Mode shading. 
  160.  
  161.       0 
  162.          Alternate mode 
  163.       1 
  164.          Winding mode. 
  165.  
  166.    RES2 (GBIT5) 
  167.       Reserved. 
  168.  
  169.       00000 
  170.          Only valid value. 
  171.  
  172.  
  173. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  174.  
  175. FLAGS 
  176.    Internal flags. 
  177.  
  178.    RES1 (GBIT1) 
  179.       Reserved for migration. 
  180.  
  181.       1 
  182.          Only valid value. 
  183.  
  184.    BOUNDARY (GBIT1) 
  185.       Boundary-line draw indicator. 
  186.  
  187.       0 
  188.          Do not draw boundary lines 
  189.       1 
  190.          Draw boundary lines. 
  191.  
  192.    INSIDE (GBIT1) 
  193.       Mode shading. 
  194.  
  195.       0 
  196.          Alternate mode 
  197.       1 
  198.          Winding mode. 
  199.  
  200.    RES2 (GBIT5) 
  201.       Reserved. 
  202.  
  203.       00000 
  204.          Only valid value. 
  205.  
  206.  
  207. ΓòÉΓòÉΓòÉ 1.3. Begin Element ΓòÉΓòÉΓòÉ
  208.  
  209.  
  210. ΓòÉΓòÉΓòÉ <hidden> Topics - Begin Element ΓòÉΓòÉΓòÉ
  211.  
  212. Select an item: 
  213.  
  214. Call Syntax 
  215. Parameters 
  216. Glossary 
  217.  
  218.  
  219. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Begin Element ΓòÉΓòÉΓòÉ
  220.  
  221. /*Begin Element 
  222.  
  223. This order indicates the beginning of a set of primitives that define an 
  224. element. */ 
  225.  
  226. Begin Element (GBEL)
  227. X'D2' (LEN, TYPE, DESCR)
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235. ΓòÉΓòÉΓòÉ <hidden> Parameters - Begin Element ΓòÉΓòÉΓòÉ
  236.  
  237. LEN(GLENGTH1) 
  238.    Length of following data. 
  239.  
  240. TYPE(GLONG) 
  241.    Element type code. 
  242.  
  243.    Values are: 
  244.  
  245.    X'0000FD01' 
  246.       Line bundle 
  247.    X'0000FD02' 
  248.       Character bundle 
  249.    X'0000FD03' 
  250.       Marker bundle 
  251.    X'0000FD04' 
  252.       Area bundle 
  253.    X'0000FD05' 
  254.       Image bundle 
  255.    X'00000007' 
  256.       Call segment 
  257.    X'00000081' 
  258.       Polyline 
  259.    X'00000085' 
  260.       Polyfillet 
  261.    X'000000A4' 
  262.       Polyfillet sharp 
  263.    X'000000A5' 
  264.       Polyspline 
  265.    X'00000082' 
  266.       Polymarker 
  267.    X'00000087' 
  268.       Full arc 
  269.    X'00000091' 
  270.       Image 
  271.    X'000000B1' 
  272.       Character string at current position 
  273.    X'000000F1' 
  274.       Character string at given position 
  275.    X'81xxxxxx'-X'FFxxxxxx' 
  276.       Indicates user defined elements 
  277.    Other 
  278.       Reserved values. 
  279.  
  280. DESCR(GUNDF) 
  281.    Element description data. 
  282.  
  283.    This is optional. 
  284.  
  285.  
  286. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  287.  
  288. LEN(GLENGTH1) 
  289.    Length of following data. 
  290.  
  291.  
  292. ΓòÉΓòÉΓòÉ <hidden> TYPE ΓòÉΓòÉΓòÉ
  293.  
  294. TYPE(GLONG) 
  295.    Element type code. 
  296.  
  297.    Values are: 
  298.  
  299.    X'0000FD01' 
  300.       Line bundle 
  301.    X'0000FD02' 
  302.       Character bundle 
  303.    X'0000FD03' 
  304.       Marker bundle 
  305.    X'0000FD04' 
  306.       Area bundle 
  307.    X'0000FD05' 
  308.       Image bundle 
  309.    X'00000007' 
  310.       Call segment 
  311.    X'00000081' 
  312.       Polyline 
  313.    X'00000085' 
  314.       Polyfillet 
  315.    X'000000A4' 
  316.       Polyfillet sharp 
  317.    X'000000A5' 
  318.       Polyspline 
  319.    X'00000082' 
  320.       Polymarker 
  321.    X'00000087' 
  322.       Full arc 
  323.    X'00000091' 
  324.       Image 
  325.    X'000000B1' 
  326.       Character string at current position 
  327.    X'000000F1' 
  328.       Character string at given position 
  329.    X'81xxxxxx'-X'FFxxxxxx' 
  330.       Indicates user defined elements 
  331.    Other 
  332.       Reserved values. 
  333.  
  334.  
  335. ΓòÉΓòÉΓòÉ <hidden> DESCR ΓòÉΓòÉΓòÉ
  336.  
  337. DESCR(GUNDF) 
  338.    Element description data. 
  339.  
  340.    This is optional. 
  341.  
  342.  
  343. ΓòÉΓòÉΓòÉ 1.4. Begin Image ΓòÉΓòÉΓòÉ
  344.  
  345.  
  346. ΓòÉΓòÉΓòÉ <hidden> Topics - Begin Image ΓòÉΓòÉΓòÉ
  347.  
  348. Select an item: 
  349.  
  350. Call Syntax 
  351. Parameters 
  352. Glossary 
  353.  
  354.  
  355. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Begin Image ΓòÉΓòÉΓòÉ
  356.  
  357. /*Begin Image at Given Position / Begin Image at Current Position 
  358.  
  359. These orders identify the start of an image definition at a given position or 
  360. at the current position. */ 
  361.  
  362. Begin Image at Given Position (GBIMG)
  363. X'D1' (LEN, P0, FORMAT, RES, WIDTH, HEIGHT)
  364.  
  365. Begin Image at Current Position (GCBIMG)
  366. X'91' (LEN, FORMAT, RES, WIDTH, HEIGHT)
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380. ΓòÉΓòÉΓòÉ <hidden> Parameters - Begin Image ΓòÉΓòÉΓòÉ
  381.  
  382. LEN(GLENGTH1) 
  383.    Length of following data. 
  384.  
  385.    X'06' 
  386.       Only valid value. 
  387.  
  388. P0(GPOINT) 
  389.    Point at which the image is to be placed. 
  390.  
  391.    This parameter is only present in a Begin Image at Given Position order. 
  392.  
  393. FORMAT(GBIT8) 
  394.    Format of the image data. 
  395.  
  396.    X'00' 
  397.       One bit in the data represents one image point on the usable area. 
  398.  
  399. RES(GBIT8) 
  400.    Reserved. 
  401.  
  402.    X'00' 
  403.       Only valid value. 
  404.  
  405. WIDTH(GUSHORT370) 
  406.    Width of the image data. 
  407.  
  408.    This is the width in pels 
  409.  
  410.    X'00'-X'07' 
  411.       Valid range of values. 
  412.  
  413. HEIGHT(GUSHORT370) 
  414.    Height of the image data. 
  415.  
  416.    This is the height in pels 
  417.  
  418.  
  419. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  420.  
  421. LEN(GLENGTH1) 
  422.    Length of following data. 
  423.  
  424.    X'06' 
  425.       Only valid value. 
  426.  
  427.  
  428. ΓòÉΓòÉΓòÉ <hidden> P0 ΓòÉΓòÉΓòÉ
  429.  
  430. P0(GPOINT) 
  431.    Point at which the image is to be placed. 
  432.  
  433.    This parameter is only present in a Begin Image at Given Position order. 
  434.  
  435.  
  436. ΓòÉΓòÉΓòÉ <hidden> FORMAT ΓòÉΓòÉΓòÉ
  437.  
  438. FORMAT(GBIT8) 
  439.    Format of the image data. 
  440.  
  441.    X'00' 
  442.       One bit in the data represents one image point on the usable area. 
  443.  
  444.  
  445. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  446.  
  447. RES(GBIT8) 
  448.    Reserved. 
  449.  
  450.    X'00' 
  451.       Only valid value. 
  452.  
  453.  
  454. ΓòÉΓòÉΓòÉ <hidden> WIDTH ΓòÉΓòÉΓòÉ
  455.  
  456. WIDTH(GUSHORT370) 
  457.    Width of the image data. 
  458.  
  459.    This is the width in pels 
  460.  
  461.    X'00'-X'07' 
  462.       Valid range of values. 
  463.  
  464.  
  465. ΓòÉΓòÉΓòÉ <hidden> HEIGHT ΓòÉΓòÉΓòÉ
  466.  
  467. HEIGHT(GUSHORT370) 
  468.    Height of the image data. 
  469.  
  470.    This is the height in pels 
  471.  
  472.  
  473. ΓòÉΓòÉΓòÉ 1.5. Begin Path ΓòÉΓòÉΓòÉ
  474.  
  475.  
  476. ΓòÉΓòÉΓòÉ <hidden> Topics - Begin Path ΓòÉΓòÉΓòÉ
  477.  
  478. Select an item: 
  479.  
  480. Call Syntax 
  481. Parameters 
  482. Glossary 
  483.  
  484.  
  485. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Begin Path ΓòÉΓòÉΓòÉ
  486.  
  487. /*Begin Path 
  488.  
  489. This order sets the drawing process into path state. */ 
  490.  
  491. Begin Path (GBPTH)
  492. X'D0' (LEN, RES, PTHID)
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500. ΓòÉΓòÉΓòÉ <hidden> Parameters - Begin Path ΓòÉΓòÉΓòÉ
  501.  
  502. LEN(GLENGTH1) 
  503.    Length of following data. 
  504.  
  505.    X'06' 
  506.       Only valid value. 
  507.  
  508. RES(GBIT16) 
  509.    Reserved. 
  510.  
  511.    X'0000' 
  512.       Only valid value. 
  513.  
  514. PTHID(GLONG) 
  515.    Path identifier. 
  516.  
  517.    X'00000001'-X'FFFFFFFF' 
  518.  
  519.  
  520. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  521.  
  522. LEN(GLENGTH1) 
  523.    Length of following data. 
  524.  
  525.    X'06' 
  526.       Only valid value. 
  527.  
  528.  
  529. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  530.  
  531. RES(GBIT16) 
  532.    Reserved. 
  533.  
  534.    X'0000' 
  535.       Only valid value. 
  536.  
  537.  
  538. ΓòÉΓòÉΓòÉ <hidden> PTHID ΓòÉΓòÉΓòÉ
  539.  
  540. PTHID(GLONG) 
  541.    Path identifier. 
  542.  
  543.    X'00000001'-X'FFFFFFFF' 
  544.  
  545.  
  546. ΓòÉΓòÉΓòÉ 1.6. Bezier Curve ΓòÉΓòÉΓòÉ
  547.  
  548.  
  549. ΓòÉΓòÉΓòÉ <hidden> Topics - Bezier Curve ΓòÉΓòÉΓòÉ
  550.  
  551. Select an item: 
  552.  
  553. Call Syntax 
  554. Parameters 
  555. Glossary 
  556.  
  557.  
  558. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Bezier Curve ΓòÉΓòÉΓòÉ
  559.  
  560. /*Bezier Curve at Given Position / Bezier Curve at Current Poition 
  561.  
  562. This order generates a curve that starts at a given position. */ 
  563.  
  564. Bezier Curve at Given Position (GBEZ)
  565. X'E5' (LEN, P0, P1, P2, P3, P4, P5, P6, PN-2, PN-1, PN)
  566.  
  567. Bezier Curve at Current Poition (GCBEZ)
  568. X'A5' (LEN, P1, P2, P3, P4, P5, P6, PN-2, PN-1, PN)
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592. ΓòÉΓòÉΓòÉ <hidden> Parameters - Bezier Curve ΓòÉΓòÉΓòÉ
  593.  
  594. LEN(GLENGTH1) 
  595.    Length of following data. 
  596.  
  597. P0(GPOINT) 
  598.    Coordinate data of first curve start. 
  599.  
  600.    This parameter is only present in a Bezier Curve at Given Position. 
  601.  
  602. P1(GPOINT) 
  603.    Coordinate data of first curve, first control point. 
  604.  
  605. P2(GPOINT) 
  606.    Coordinate data of first curve, second control point. 
  607.  
  608. P3(GPOINT) 
  609.    Coordinate data of first curve end. 
  610.  
  611. P4(GPOINT) 
  612.    Coordinate data of second curve, first control point 
  613.  
  614. P5(GPOINT) 
  615.    Coordinate data of second curve, second control point 
  616.  
  617. P6(GPOINT) 
  618.    Coordinate data of second curve end. 
  619.  
  620. PN-2(GPOINT) 
  621.    Coordinate data of final curve, first control point 
  622.  
  623. PN-1(GPOINT) 
  624.    Coordinate data of final curve, second control point 
  625.  
  626. PN(GPOINT) 
  627.    Coordinate data of final curve end. 
  628.  
  629.  
  630. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  631.  
  632. LEN(GLENGTH1) 
  633.    Length of following data. 
  634.  
  635.  
  636. ΓòÉΓòÉΓòÉ <hidden> P0 ΓòÉΓòÉΓòÉ
  637.  
  638. P0(GPOINT) 
  639.    Coordinate data of first curve start. 
  640.  
  641.    This parameter is only present in a Bezier Curve at Given Position. 
  642.  
  643.  
  644. ΓòÉΓòÉΓòÉ <hidden> P1 ΓòÉΓòÉΓòÉ
  645.  
  646. P1(GPOINT) 
  647.    Coordinate data of first curve, first control point. 
  648.  
  649.  
  650. ΓòÉΓòÉΓòÉ <hidden> P2 ΓòÉΓòÉΓòÉ
  651.  
  652. P2(GPOINT) 
  653.    Coordinate data of first curve, second control point. 
  654.  
  655.  
  656. ΓòÉΓòÉΓòÉ <hidden> P3 ΓòÉΓòÉΓòÉ
  657.  
  658. P3(GPOINT) 
  659.    Coordinate data of first curve end. 
  660.  
  661.  
  662. ΓòÉΓòÉΓòÉ <hidden> P4 ΓòÉΓòÉΓòÉ
  663.  
  664. P4(GPOINT) 
  665.    Coordinate data of second curve, first control point 
  666.  
  667.  
  668. ΓòÉΓòÉΓòÉ <hidden> P5 ΓòÉΓòÉΓòÉ
  669.  
  670. P5(GPOINT) 
  671.    Coordinate data of second curve, second control point 
  672.  
  673.  
  674. ΓòÉΓòÉΓòÉ <hidden> P6 ΓòÉΓòÉΓòÉ
  675.  
  676. P6(GPOINT) 
  677.    Coordinate data of second curve end. 
  678.  
  679.  
  680. ΓòÉΓòÉΓòÉ <hidden> PN-2 ΓòÉΓòÉΓòÉ
  681.  
  682. PN-2(GPOINT) 
  683.    Coordinate data of final curve, first control point 
  684.  
  685.  
  686. ΓòÉΓòÉΓòÉ <hidden> PN-1 ΓòÉΓòÉΓòÉ
  687.  
  688. PN-1(GPOINT) 
  689.    Coordinate data of final curve, second control point 
  690.  
  691.  
  692. ΓòÉΓòÉΓòÉ <hidden> PN ΓòÉΓòÉΓòÉ
  693.  
  694. PN(GPOINT) 
  695.    Coordinate data of final curve end. 
  696.  
  697.  
  698. ΓòÉΓòÉΓòÉ 1.7. Bitblt ΓòÉΓòÉΓòÉ
  699.  
  700.  
  701. ΓòÉΓòÉΓòÉ <hidden> Topics - Bitblt ΓòÉΓòÉΓòÉ
  702.  
  703. Select an item: 
  704.  
  705. Call Syntax 
  706. Parameters 
  707. Glossary 
  708.  
  709.  
  710. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Bitblt ΓòÉΓòÉΓòÉ
  711.  
  712. /*Bitblt 
  713.  
  714. This order copies a rectangle of a bit map into DOCS. */ 
  715.  
  716. Bitblt (GBBLT)
  717. X'D6' (LEN, FLAGS, MIX, BMID, TRANS, P1, P2, SOURCE1X, SOURCE1Y, SOURCE2X, SOURCE2Y)
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741. ΓòÉΓòÉΓòÉ <hidden> Parameters - Bitblt ΓòÉΓòÉΓòÉ
  742.  
  743. LEN(GLENGTH1) 
  744.    Length of following data. 
  745.  
  746. FLAGS(GBIT16) 
  747.    Reserved. 
  748.  
  749.    X'0000' 
  750.       Only valid value. 
  751.  
  752. MIX(GBIT16) 
  753.    Mix mode. 
  754.  
  755.    Values are: 
  756.  
  757.    X'00CC' 
  758.       Source. 
  759.    X'00C0' 
  760.       Source and pattern. 
  761.    X'00CA' 
  762.       Source where pattern1 
  763.    X'000C' 
  764.       Source where pattern0 
  765.    X'00E2' 
  766.       Pattern where source1 
  767.    X'00B8' 
  768.       Pattern where source0 
  769.    other 
  770.       Reserved values. 
  771.  
  772. BMID(GHBITMAP) 
  773.    Bit-map identifier. 
  774.  
  775. TRANS(GBIT32) 
  776.    Transfer mode. 
  777.  
  778.    Values are: 
  779.  
  780.    X'00000000' 
  781.       OR 
  782.    X'01000000' 
  783.       AND 
  784.    X'02000000' 
  785.       Ignore 
  786.    other 
  787.       Reserved values. 
  788.  
  789. P1(GPOINT) 
  790.    Target rectangle bottom-left corner. 
  791.  
  792. P2(GPOINT) 
  793.    Target rectangle top-right corner. 
  794.  
  795. SOURCE1X(GLONG) 
  796.    Source rectangle bottom-left corner, x coordinate. 
  797.  
  798. SOURCE1Y(GLONG) 
  799.    Source rectangle bottom-left corner, y coordinate. 
  800.  
  801. SOURCE2X(GLONG) 
  802.    Source rectangle top-right corner, x coordinate. 
  803.  
  804. SOURCE2Y(GLONG) 
  805.    Source rectangle top-right corner, y coordinate. 
  806.  
  807.  
  808. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  809.  
  810. LEN(GLENGTH1) 
  811.    Length of following data. 
  812.  
  813.  
  814. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  815.  
  816. FLAGS(GBIT16) 
  817.    Reserved. 
  818.  
  819.    X'0000' 
  820.       Only valid value. 
  821.  
  822.  
  823. ΓòÉΓòÉΓòÉ <hidden> MIX ΓòÉΓòÉΓòÉ
  824.  
  825. MIX(GBIT16) 
  826.    Mix mode. 
  827.  
  828.    Values are: 
  829.  
  830.    X'00CC' 
  831.       Source. 
  832.    X'00C0' 
  833.       Source and pattern. 
  834.    X'00CA' 
  835.       Source where pattern1 
  836.    X'000C' 
  837.       Source where pattern0 
  838.    X'00E2' 
  839.       Pattern where source1 
  840.    X'00B8' 
  841.       Pattern where source0 
  842.    other 
  843.       Reserved values. 
  844.  
  845.  
  846. ΓòÉΓòÉΓòÉ <hidden> BMID ΓòÉΓòÉΓòÉ
  847.  
  848. BMID(GHBITMAP) 
  849.    Bit-map identifier. 
  850.  
  851.  
  852. ΓòÉΓòÉΓòÉ <hidden> TRANS ΓòÉΓòÉΓòÉ
  853.  
  854. TRANS(GBIT32) 
  855.    Transfer mode. 
  856.  
  857.    Values are: 
  858.  
  859.    X'00000000' 
  860.       OR 
  861.    X'01000000' 
  862.       AND 
  863.    X'02000000' 
  864.       Ignore 
  865.    other 
  866.       Reserved values. 
  867.  
  868.  
  869. ΓòÉΓòÉΓòÉ <hidden> P1 ΓòÉΓòÉΓòÉ
  870.  
  871. P1(GPOINT) 
  872.    Target rectangle bottom-left corner. 
  873.  
  874.  
  875. ΓòÉΓòÉΓòÉ <hidden> P2 ΓòÉΓòÉΓòÉ
  876.  
  877. P2(GPOINT) 
  878.    Target rectangle top-right corner. 
  879.  
  880.  
  881. ΓòÉΓòÉΓòÉ <hidden> SOURCE1X ΓòÉΓòÉΓòÉ
  882.  
  883. SOURCE1X(GLONG) 
  884.    Source rectangle bottom-left corner, x coordinate. 
  885.  
  886.  
  887. ΓòÉΓòÉΓòÉ <hidden> SOURCE1Y ΓòÉΓòÉΓòÉ
  888.  
  889. SOURCE1Y(GLONG) 
  890.    Source rectangle bottom-left corner, y coordinate. 
  891.  
  892.  
  893. ΓòÉΓòÉΓòÉ <hidden> SOURCE2X ΓòÉΓòÉΓòÉ
  894.  
  895. SOURCE2X(GLONG) 
  896.    Source rectangle top-right corner, x coordinate. 
  897.  
  898.  
  899. ΓòÉΓòÉΓòÉ <hidden> SOURCE2Y ΓòÉΓòÉΓòÉ
  900.  
  901. SOURCE2Y(GLONG) 
  902.    Source rectangle top-right corner, y coordinate. 
  903.  
  904.  
  905. ΓòÉΓòÉΓòÉ 1.8. Box ΓòÉΓòÉΓòÉ
  906.  
  907.  
  908. ΓòÉΓòÉΓòÉ <hidden> Topics - Box ΓòÉΓòÉΓòÉ
  909.  
  910. Select an item: 
  911.  
  912. Call Syntax 
  913. Parameters 
  914. Glossary 
  915.  
  916.  
  917. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Box ΓòÉΓòÉΓòÉ
  918.  
  919. /*Box at Given Position / Box at Current Position 
  920.  
  921. This order defines a box with square or round corners, drawn with its first 
  922. corner at a given position. */ 
  923.  
  924. Box at Given Position (GBOX)
  925. X'C0' (LEN, CONTROL, RES, P0, P1, HAXIS, VAXIS)
  926.  
  927. Box at Current Position (GCBOX)
  928. X'80' (LEN, CONTROL, RES, P1, HAXIS, VAXIS)
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944. ΓòÉΓòÉΓòÉ <hidden> Parameters - Box ΓòÉΓòÉΓòÉ
  945.  
  946. LEN(GLENGTH1) 
  947.    Length of following data. 
  948.  
  949. CONTROL 
  950.    Internal flags. 
  951.  
  952.    RES1 (GBIT1) 
  953.       Reserved. 
  954.  
  955.       0 
  956.          Only valid value. 
  957.  
  958.    FILL (GBIT1) 
  959.       Values. 
  960.  
  961.       0 
  962.          No fill 
  963.       1 
  964.          Fill. 
  965.  
  966.    BOUNDARY (GBIT1) 
  967.       Values. 
  968.  
  969.       0 
  970.          No boundary 
  971.       1 
  972.          Boundary. 
  973.  
  974.    RES2 (GBIT5) 
  975.       Reserved. 
  976.  
  977.       00000 
  978.          Only valid value. 
  979.  
  980. RES(GBIT8) 
  981.    Reserved. 
  982.  
  983.    X'00' 
  984.       Only valid value. 
  985.  
  986. P0(GPOINT) 
  987.    Coordinate data of box origin. 
  988.  
  989.    This parameter is only present in a Box at Given Position order. 
  990.  
  991. P1(GPOINT) 
  992.    Coordinate data of box corner. 
  993.  
  994. HAXIS(GROSOL) 
  995.    Length of horizontal axis of ellipse. 
  996.  
  997. VAXIS(GROSOL) 
  998.    Length of vertical axis of ellipse. 
  999.  
  1000.  
  1001. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  1002.  
  1003. LEN(GLENGTH1) 
  1004.    Length of following data. 
  1005.  
  1006.  
  1007. ΓòÉΓòÉΓòÉ <hidden> CONTROL ΓòÉΓòÉΓòÉ
  1008.  
  1009. CONTROL 
  1010.    Internal flags. 
  1011.  
  1012.    RES1 (GBIT1) 
  1013.       Reserved. 
  1014.  
  1015.       0 
  1016.          Only valid value. 
  1017.  
  1018.    FILL (GBIT1) 
  1019.       Values. 
  1020.  
  1021.       0 
  1022.          No fill 
  1023.       1 
  1024.          Fill. 
  1025.  
  1026.    BOUNDARY (GBIT1) 
  1027.       Values. 
  1028.  
  1029.       0 
  1030.          No boundary 
  1031.       1 
  1032.          Boundary. 
  1033.  
  1034.    RES2 (GBIT5) 
  1035.       Reserved. 
  1036.  
  1037.       00000 
  1038.          Only valid value. 
  1039.  
  1040.  
  1041. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  1042.  
  1043. RES(GBIT8) 
  1044.    Reserved. 
  1045.  
  1046.    X'00' 
  1047.       Only valid value. 
  1048.  
  1049.  
  1050. ΓòÉΓòÉΓòÉ <hidden> P0 ΓòÉΓòÉΓòÉ
  1051.  
  1052. P0(GPOINT) 
  1053.    Coordinate data of box origin. 
  1054.  
  1055.    This parameter is only present in a Box at Given Position order. 
  1056.  
  1057.  
  1058. ΓòÉΓòÉΓòÉ <hidden> P1 ΓòÉΓòÉΓòÉ
  1059.  
  1060. P1(GPOINT) 
  1061.    Coordinate data of box corner. 
  1062.  
  1063.  
  1064. ΓòÉΓòÉΓòÉ <hidden> HAXIS ΓòÉΓòÉΓòÉ
  1065.  
  1066. HAXIS(GROSOL) 
  1067.    Length of horizontal axis of ellipse. 
  1068.  
  1069.  
  1070. ΓòÉΓòÉΓòÉ <hidden> VAXIS ΓòÉΓòÉΓòÉ
  1071.  
  1072. VAXIS(GROSOL) 
  1073.    Length of vertical axis of ellipse. 
  1074.  
  1075.  
  1076. ΓòÉΓòÉΓòÉ 1.9. Call Segment ΓòÉΓòÉΓòÉ
  1077.  
  1078.  
  1079. ΓòÉΓòÉΓòÉ <hidden> Topics - Call Segment ΓòÉΓòÉΓòÉ
  1080.  
  1081. Select an item: 
  1082.  
  1083. Call Syntax 
  1084. Parameters 
  1085. Glossary 
  1086.  
  1087.  
  1088. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Call Segment ΓòÉΓòÉΓòÉ
  1089.  
  1090. /*Call Segment 
  1091.  
  1092. This order calls one segment from another. */ 
  1093.  
  1094. Call Segment (GCALLS)
  1095. X'07' (LEN, RES, SEGNAME)
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103. ΓòÉΓòÉΓòÉ <hidden> Parameters - Call Segment ΓòÉΓòÉΓòÉ
  1104.  
  1105. LEN(GLENGTH1) 
  1106.    Length of following data. 
  1107.  
  1108.    X'06' 
  1109.       Only valid value. 
  1110.  
  1111. RES(GBIT16) 
  1112.    Reserved value. 
  1113.  
  1114.    X'0000' 
  1115.       Only valid value. 
  1116.  
  1117. SEGNAME(GLONG) 
  1118.    Name of segment that is to be called. 
  1119.  
  1120.    The name cannot be 0. 
  1121.  
  1122.  
  1123. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  1124.  
  1125. LEN(GLENGTH1) 
  1126.    Length of following data. 
  1127.  
  1128.    X'06' 
  1129.       Only valid value. 
  1130.  
  1131.  
  1132. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  1133.  
  1134. RES(GBIT16) 
  1135.    Reserved value. 
  1136.  
  1137.    X'0000' 
  1138.       Only valid value. 
  1139.  
  1140.  
  1141. ΓòÉΓòÉΓòÉ <hidden> SEGNAME ΓòÉΓòÉΓòÉ
  1142.  
  1143. SEGNAME(GLONG) 
  1144.    Name of segment that is to be called. 
  1145.  
  1146.    The name cannot be 0. 
  1147.  
  1148.  
  1149. ΓòÉΓòÉΓòÉ 1.10. Character String ΓòÉΓòÉΓòÉ
  1150.  
  1151.  
  1152. ΓòÉΓòÉΓòÉ <hidden> Topics - Character String ΓòÉΓòÉΓòÉ
  1153.  
  1154. Select an item: 
  1155.  
  1156. Call Syntax 
  1157. Parameters 
  1158. Glossary 
  1159.  
  1160.  
  1161. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Character String ΓòÉΓòÉΓòÉ
  1162.  
  1163. /*Character String at Given Position / Character String at Current Position 
  1164.  
  1165. These orders draw a character string at a given position or at the current 
  1166. position. */ 
  1167.  
  1168. Character String at Given Position (GCHST)
  1169. X'C3' (LEN, P0, CP)
  1170.  
  1171. Character String at Current Position (GCCHST)
  1172. X'83' (LEN, CP)
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180. ΓòÉΓòÉΓòÉ <hidden> Parameters - Character String ΓòÉΓòÉΓòÉ
  1181.  
  1182. LEN(GLENGTH1) 
  1183.    Length of following data. 
  1184.  
  1185. P0(GPOINT) 
  1186.    Point at which the character string is to be placed. 
  1187.  
  1188.    This parameter is only present in a Character String at Given Position 
  1189.    order. 
  1190.  
  1191. CP(GSTR) 
  1192.    Code points of each character in the string. 
  1193.  
  1194.  
  1195. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  1196.  
  1197. LEN(GLENGTH1) 
  1198.    Length of following data. 
  1199.  
  1200.  
  1201. ΓòÉΓòÉΓòÉ <hidden> P0 ΓòÉΓòÉΓòÉ
  1202.  
  1203. P0(GPOINT) 
  1204.    Point at which the character string is to be placed. 
  1205.  
  1206.    This parameter is only present in a Character String at Given Position 
  1207.    order. 
  1208.  
  1209.  
  1210. ΓòÉΓòÉΓòÉ <hidden> CP ΓòÉΓòÉΓòÉ
  1211.  
  1212. CP(GSTR) 
  1213.    Code points of each character in the string. 
  1214.  
  1215.  
  1216. ΓòÉΓòÉΓòÉ 1.11. Character String Extended ΓòÉΓòÉΓòÉ
  1217.  
  1218.  
  1219. ΓòÉΓòÉΓòÉ <hidden> Topics - Character String Extended ΓòÉΓòÉΓòÉ
  1220.  
  1221. Select an item: 
  1222.  
  1223. Call Syntax 
  1224. Parameters 
  1225. Glossary 
  1226.  
  1227.  
  1228. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Character String Extended ΓòÉΓòÉΓòÉ
  1229.  
  1230. /*Character String Extended at Given Position / Character String Extended at 
  1231. Current Position 
  1232.  
  1233. This order defines a character string to be drawn at a given position. */ 
  1234.  
  1235. Character String Extended at Given Position (GCHSTE)
  1236. X'FEF0' (LEN1, P0, FLAGS, RES, P1, P2, LEN2, CP, PAD)
  1237.  
  1238. Character String Extended at Current Position (GCCHSTE)
  1239. X'FEB0' (LEN1, FLAGS, RES, P1, P2, LEN2, CP, PAD)
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261. ΓòÉΓòÉΓòÉ <hidden> Parameters - Character String Extended ΓòÉΓòÉΓòÉ
  1262.  
  1263. LEN1(GLENGTH2) 
  1264.    Length of following data. 
  1265.  
  1266. P0(GPOINT) 
  1267.    Point at which the character string is to be placed. 
  1268.  
  1269.    This parameter is only present in a Character String Extended at Given 
  1270.    Position order. 
  1271.  
  1272. FLAGS 
  1273.    Extra functions: 
  1274.  
  1275.    RECT (GBIT1) 
  1276.       Values. 
  1277.  
  1278.       0 
  1279.          Do not draw background rectangle 
  1280.       1 
  1281.          Draw background rectangle. 
  1282.  
  1283.    CLIP (GBIT1) 
  1284.       Values. 
  1285.  
  1286.       0 
  1287.          Do not clip to rectangle 
  1288.       1 
  1289.          Clip to rectangle. 
  1290.  
  1291.    RES1 (GBIT1) 
  1292.       Reserved. 
  1293.  
  1294.       0 
  1295.          Only valid value. 
  1296.  
  1297.    LVCP (GBIT1) 
  1298.       Values. 
  1299.  
  1300.       0 
  1301.          Move current position 
  1302.       1 
  1303.          Leave current position. 
  1304.  
  1305.    RES2 (GBIT4) 
  1306.       Reserved. 
  1307.  
  1308.       0000 
  1309.          Only valid value. 
  1310.  
  1311. RES(GBIT8) 
  1312.    Reserved. 
  1313.  
  1314.    X'00' 
  1315.       Only valid value. 
  1316.  
  1317. P1(GPOINT) 
  1318.    Coordinate data of rectangle corner. 
  1319.  
  1320. P2(GPOINT) 
  1321.    Coordinate data of rectangle corner. 
  1322.  
  1323. LEN2(GLENGTH2) 
  1324.    Length of code-point data. 
  1325.  
  1326. CP(GSTR) 
  1327.    Code-point data. 
  1328.  
  1329. PAD(GBIT8) 
  1330.    Pad byte. 
  1331.  
  1332.    Only needs to be included if CP is an odd number of bytes. 
  1333.  
  1334. VECT(GROSOL) 
  1335.    IN (0) Vector of character increments. 
  1336.  
  1337.    n is the number of code points present in the CP parameter. 
  1338.  
  1339.  
  1340. ΓòÉΓòÉΓòÉ <hidden> LEN1 ΓòÉΓòÉΓòÉ
  1341.  
  1342. LEN1(GLENGTH2) 
  1343.    Length of following data. 
  1344.  
  1345.  
  1346. ΓòÉΓòÉΓòÉ <hidden> P0 ΓòÉΓòÉΓòÉ
  1347.  
  1348. P0(GPOINT) 
  1349.    Point at which the character string is to be placed. 
  1350.  
  1351.    This parameter is only present in a Character String Extended at Given 
  1352.    Position order. 
  1353.  
  1354.  
  1355. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  1356.  
  1357. FLAGS 
  1358.    Extra functions: 
  1359.  
  1360.    RECT (GBIT1) 
  1361.       Values. 
  1362.  
  1363.       0 
  1364.          Do not draw background rectangle 
  1365.       1 
  1366.          Draw background rectangle. 
  1367.  
  1368.    CLIP (GBIT1) 
  1369.       Values. 
  1370.  
  1371.       0 
  1372.          Do not clip to rectangle 
  1373.       1 
  1374.          Clip to rectangle. 
  1375.  
  1376.    RES1 (GBIT1) 
  1377.       Reserved. 
  1378.  
  1379.       0 
  1380.          Only valid value. 
  1381.  
  1382.    LVCP (GBIT1) 
  1383.       Values. 
  1384.  
  1385.       0 
  1386.          Move current position 
  1387.       1 
  1388.          Leave current position. 
  1389.  
  1390.    RES2 (GBIT4) 
  1391.       Reserved. 
  1392.  
  1393.       0000 
  1394.          Only valid value. 
  1395.  
  1396.  
  1397. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  1398.  
  1399. RES(GBIT8) 
  1400.    Reserved. 
  1401.  
  1402.    X'00' 
  1403.       Only valid value. 
  1404.  
  1405.  
  1406. ΓòÉΓòÉΓòÉ <hidden> P1 ΓòÉΓòÉΓòÉ
  1407.  
  1408. P1(GPOINT) 
  1409.    Coordinate data of rectangle corner. 
  1410.  
  1411.  
  1412. ΓòÉΓòÉΓòÉ <hidden> P2 ΓòÉΓòÉΓòÉ
  1413.  
  1414. P2(GPOINT) 
  1415.    Coordinate data of rectangle corner. 
  1416.  
  1417.  
  1418. ΓòÉΓòÉΓòÉ <hidden> LEN2 ΓòÉΓòÉΓòÉ
  1419.  
  1420. LEN2(GLENGTH2) 
  1421.    Length of code-point data. 
  1422.  
  1423.  
  1424. ΓòÉΓòÉΓòÉ <hidden> CP ΓòÉΓòÉΓòÉ
  1425.  
  1426. CP(GSTR) 
  1427.    Code-point data. 
  1428.  
  1429.  
  1430. ΓòÉΓòÉΓòÉ <hidden> PAD ΓòÉΓòÉΓòÉ
  1431.  
  1432. PAD(GBIT8) 
  1433.    Pad byte. 
  1434.  
  1435.    Only needs to be included if CP is an odd number of bytes. 
  1436.  
  1437.  
  1438. ΓòÉΓòÉΓòÉ <hidden> VECT ΓòÉΓòÉΓòÉ
  1439.  
  1440. VECT(GROSOL) 
  1441.    IN (0) Vector of character increments. 
  1442.  
  1443.    n is the number of code points present in the CP parameter. 
  1444.  
  1445.  
  1446. ΓòÉΓòÉΓòÉ 1.12. Character String Move ΓòÉΓòÉΓòÉ
  1447.  
  1448.  
  1449. ΓòÉΓòÉΓòÉ <hidden> Topics - Character String Move ΓòÉΓòÉΓòÉ
  1450.  
  1451. Select an item: 
  1452.  
  1453. Call Syntax 
  1454. Parameters 
  1455. Glossary 
  1456.  
  1457.  
  1458. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Character String Move ΓòÉΓòÉΓòÉ
  1459.  
  1460. /*Character String Move at Given Position / Character String Move at Current 
  1461. Position 
  1462.  
  1463. This order draws a character string starting from a given position and moves 
  1464. the current position to the end of the string. */ 
  1465.  
  1466. Character String Move at Given Position (GCHSTM)
  1467. X'F1' (LEN, P0, CP)
  1468.  
  1469. Character String Move at Current Position (GCCHSTM)
  1470. X'B1' (LEN, CP)
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478. ΓòÉΓòÉΓòÉ <hidden> Parameters - Character String Move ΓòÉΓòÉΓòÉ
  1479.  
  1480. LEN(GLENGTH1) 
  1481.    Length of following data. 
  1482.  
  1483. P0(GPOINT) 
  1484.    Point at which the character string is to be placed. 
  1485.  
  1486.    This parameter is only present in a Character String Move at Given Position 
  1487.    order. 
  1488.  
  1489. CP(GSTR) 
  1490.    Code points of each character in the string. 
  1491.  
  1492.  
  1493. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  1494.  
  1495. LEN(GLENGTH1) 
  1496.    Length of following data. 
  1497.  
  1498.  
  1499. ΓòÉΓòÉΓòÉ <hidden> P0 ΓòÉΓòÉΓòÉ
  1500.  
  1501. P0(GPOINT) 
  1502.    Point at which the character string is to be placed. 
  1503.  
  1504.    This parameter is only present in a Character String Move at Given Position 
  1505.    order. 
  1506.  
  1507.  
  1508. ΓòÉΓòÉΓòÉ <hidden> CP ΓòÉΓòÉΓòÉ
  1509.  
  1510. CP(GSTR) 
  1511.    Code points of each character in the string. 
  1512.  
  1513.  
  1514. ΓòÉΓòÉΓòÉ 1.13. Close Figure ΓòÉΓòÉΓòÉ
  1515.  
  1516.  
  1517. ΓòÉΓòÉΓòÉ <hidden> Topics - Close Figure ΓòÉΓòÉΓòÉ
  1518.  
  1519. Select an item: 
  1520.  
  1521. Call Syntax 
  1522. Parameters 
  1523. Glossary 
  1524.  
  1525.  
  1526. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Close Figure ΓòÉΓòÉΓòÉ
  1527.  
  1528. /*Close Figure 
  1529.  
  1530. This order delimits the end of a closed figure. */ 
  1531.  
  1532. Close Figure (GCLFIG)
  1533. X'7D' (RES)
  1534.  
  1535.  
  1536.  
  1537. ΓòÉΓòÉΓòÉ <hidden> Parameters - Close Figure ΓòÉΓòÉΓòÉ
  1538.  
  1539. RES(GBIT8) 
  1540.    Reserved. 
  1541.  
  1542.    X'00' 
  1543.       Only valid value. 
  1544.  
  1545.  
  1546. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  1547.  
  1548. RES(GBIT8) 
  1549.    Reserved. 
  1550.  
  1551.    X'00' 
  1552.       Only valid value. 
  1553.  
  1554.  
  1555. ΓòÉΓòÉΓòÉ 1.14. Comment ΓòÉΓòÉΓòÉ
  1556.  
  1557.  
  1558. ΓòÉΓòÉΓòÉ <hidden> Topics - Comment ΓòÉΓòÉΓòÉ
  1559.  
  1560. Select an item: 
  1561.  
  1562. Call Syntax 
  1563. Parameters 
  1564. Notes 
  1565. Glossary 
  1566.  
  1567.  
  1568. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Comment ΓòÉΓòÉΓòÉ
  1569.  
  1570. /*Comment 
  1571.  
  1572. This order enables data to be stored within a segment. */ 
  1573.  
  1574. Comment (GCOMT)
  1575. X'01' (LEN)
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581. ΓòÉΓòÉΓòÉ <hidden> Notes - Comment ΓòÉΓòÉΓòÉ
  1582.  
  1583. This order is treated as a no-operation. 
  1584.  
  1585.  
  1586. ΓòÉΓòÉΓòÉ <hidden> Parameters - Comment ΓòÉΓòÉΓòÉ
  1587.  
  1588. LEN(GLENGTH1) 
  1589.    Length of following data. 
  1590.  
  1591. DATA(GBIT8) 
  1592.    IN (0) Comment data. 
  1593.  
  1594.  
  1595. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  1596.  
  1597. LEN(GLENGTH1) 
  1598.    Length of following data. 
  1599.  
  1600.  
  1601. ΓòÉΓòÉΓòÉ <hidden> DATA ΓòÉΓòÉΓòÉ
  1602.  
  1603. DATA(GBIT8) 
  1604.    IN (0) Comment data. 
  1605.  
  1606.  
  1607. ΓòÉΓòÉΓòÉ 1.15. End Area ΓòÉΓòÉΓòÉ
  1608.  
  1609.  
  1610. ΓòÉΓòÉΓòÉ <hidden> Topics - End Area ΓòÉΓòÉΓòÉ
  1611.  
  1612. Select an item: 
  1613.  
  1614. Call Syntax 
  1615. Parameters 
  1616. Glossary 
  1617.  
  1618.  
  1619. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - End Area ΓòÉΓòÉΓòÉ
  1620.  
  1621. /*End Area 
  1622.  
  1623. This order indicates the end of a set of primitives that define an area 
  1624. boundary. */ 
  1625.  
  1626. End Area (GEAR)
  1627. X'60' (LEN)
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633. ΓòÉΓòÉΓòÉ <hidden> Parameters - End Area ΓòÉΓòÉΓòÉ
  1634.  
  1635. LEN(GLENGTH1) 
  1636.    Length of following data.  It is normally 0. 
  1637.  
  1638. DATA(GBIT8) 
  1639.    IN (0) Reserved. 
  1640.  
  1641.    X'00...' 
  1642.       Only valid value. 
  1643.  
  1644.  
  1645. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  1646.  
  1647. LEN(GLENGTH1) 
  1648.    Length of following data.  It is normally 0. 
  1649.  
  1650.  
  1651. ΓòÉΓòÉΓòÉ <hidden> DATA ΓòÉΓòÉΓòÉ
  1652.  
  1653. DATA(GBIT8) 
  1654.    IN (0) Reserved. 
  1655.  
  1656.    X'00...' 
  1657.       Only valid value. 
  1658.  
  1659.  
  1660. ΓòÉΓòÉΓòÉ 1.16. End Element ΓòÉΓòÉΓòÉ
  1661.  
  1662.  
  1663. ΓòÉΓòÉΓòÉ <hidden> Topics - End Element ΓòÉΓòÉΓòÉ
  1664.  
  1665. Select an item: 
  1666.  
  1667. Call Syntax 
  1668. Parameters 
  1669. Glossary 
  1670.  
  1671.  
  1672. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - End Element ΓòÉΓòÉΓòÉ
  1673.  
  1674. /*End Element 
  1675.  
  1676. This order identifies the end of a set of primitives that define an element. */ 
  1677.  
  1678. End Element (GEEL)
  1679. X'49' (RES)
  1680.  
  1681.  
  1682.  
  1683. ΓòÉΓòÉΓòÉ <hidden> Parameters - End Element ΓòÉΓòÉΓòÉ
  1684.  
  1685. RES(GBIT8) 
  1686.    Reserved. 
  1687.  
  1688.    X'00' 
  1689.       Only valid value. 
  1690.  
  1691.  
  1692. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  1693.  
  1694. RES(GBIT8) 
  1695.    Reserved. 
  1696.  
  1697.    X'00' 
  1698.       Only valid value. 
  1699.  
  1700.  
  1701. ΓòÉΓòÉΓòÉ 1.17. End Image ΓòÉΓòÉΓòÉ
  1702.  
  1703.  
  1704. ΓòÉΓòÉΓòÉ <hidden> Topics - End Image ΓòÉΓòÉΓòÉ
  1705.  
  1706. Select an item: 
  1707.  
  1708. Call Syntax 
  1709. Parameters 
  1710. Glossary 
  1711.  
  1712.  
  1713. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - End Image ΓòÉΓòÉΓòÉ
  1714.  
  1715. /*End Image 
  1716.  
  1717. This order identifies the end of an image definition. */ 
  1718.  
  1719. End Image (GEIMG)
  1720. X'93' (LEN)
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726. ΓòÉΓòÉΓòÉ <hidden> Parameters - End Image ΓòÉΓòÉΓòÉ
  1727.  
  1728. LEN(GLENGTH1) 
  1729.    Length of following data.  It is normally 0. 
  1730.  
  1731. DATA(GBIT8) 
  1732.    IN (0) Reserved. 
  1733.  
  1734.    X'00...' 
  1735.       Only valid value. 
  1736.  
  1737.  
  1738. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  1739.  
  1740. LEN(GLENGTH1) 
  1741.    Length of following data.  It is normally 0. 
  1742.  
  1743.  
  1744. ΓòÉΓòÉΓòÉ <hidden> DATA ΓòÉΓòÉΓòÉ
  1745.  
  1746. DATA(GBIT8) 
  1747.    IN (0) Reserved. 
  1748.  
  1749.    X'00...' 
  1750.       Only valid value. 
  1751.  
  1752.  
  1753. ΓòÉΓòÉΓòÉ 1.18. End of Symbol Definition ΓòÉΓòÉΓòÉ
  1754.  
  1755.  
  1756. ΓòÉΓòÉΓòÉ <hidden> Topics - End of Symbol Definition ΓòÉΓòÉΓòÉ
  1757.  
  1758. Select an item: 
  1759.  
  1760. Call Syntax 
  1761. Notes 
  1762. Glossary 
  1763.  
  1764.  
  1765. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - End of Symbol Definition ΓòÉΓòÉΓòÉ
  1766.  
  1767. /*End of Symbol Definition 
  1768.  
  1769. This order indicates the end of a set of orders defining a graphics symbol. */ 
  1770.  
  1771.  
  1772. ΓòÉΓòÉΓòÉ <hidden> Notes - End of Symbol Definition ΓòÉΓòÉΓòÉ
  1773.  
  1774. This order is only valid in the context of symbol definitions. 
  1775.  
  1776.  
  1777. ΓòÉΓòÉΓòÉ 1.19. End Prolog ΓòÉΓòÉΓòÉ
  1778.  
  1779.  
  1780. ΓòÉΓòÉΓòÉ <hidden> Topics - End Prolog ΓòÉΓòÉΓòÉ
  1781.  
  1782. Select an item: 
  1783.  
  1784. Call Syntax 
  1785. Parameters 
  1786. Glossary 
  1787.  
  1788.  
  1789. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - End Prolog ΓòÉΓòÉΓòÉ
  1790.  
  1791. /*End Prolog 
  1792.  
  1793. This order indicates the end of the prolog of a segment. */ 
  1794.  
  1795. End Prolog (GEPROL)
  1796. X'3E' (RES)
  1797.  
  1798.  
  1799.  
  1800. ΓòÉΓòÉΓòÉ <hidden> Parameters - End Prolog ΓòÉΓòÉΓòÉ
  1801.  
  1802. RES(GBIT8) 
  1803.    Reserved. 
  1804.  
  1805.    X'00' 
  1806.       Only valid value. 
  1807.  
  1808.  
  1809. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  1810.  
  1811. RES(GBIT8) 
  1812.    Reserved. 
  1813.  
  1814.    X'00' 
  1815.       Only valid value. 
  1816.  
  1817.  
  1818. ΓòÉΓòÉΓòÉ 1.20. End Path ΓòÉΓòÉΓòÉ
  1819.  
  1820.  
  1821. ΓòÉΓòÉΓòÉ <hidden> Topics - End Path ΓòÉΓòÉΓòÉ
  1822.  
  1823. Select an item: 
  1824.  
  1825. Call Syntax 
  1826. Parameters 
  1827. Glossary 
  1828.  
  1829.  
  1830. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - End Path ΓòÉΓòÉΓòÉ
  1831.  
  1832. /*End Path 
  1833.  
  1834. This order ends the definition of a path. */ 
  1835.  
  1836. End Path (GEPTH)
  1837. X'7F' (RES)
  1838.  
  1839.  
  1840.  
  1841. ΓòÉΓòÉΓòÉ <hidden> Parameters - End Path ΓòÉΓòÉΓòÉ
  1842.  
  1843. RES(GBIT8) 
  1844.    Reserved. 
  1845.  
  1846.    X'00' 
  1847.       Only valid value. 
  1848.  
  1849.  
  1850. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  1851.  
  1852. RES(GBIT8) 
  1853.    Reserved. 
  1854.  
  1855.    X'00' 
  1856.       Only valid value. 
  1857.  
  1858.  
  1859. ΓòÉΓòÉΓòÉ 1.21. Escape ΓòÉΓòÉΓòÉ
  1860.  
  1861.  
  1862. ΓòÉΓòÉΓòÉ <hidden> Topics - Escape ΓòÉΓòÉΓòÉ
  1863.  
  1864. Select an item: 
  1865.  
  1866. Call Syntax 
  1867. Parameters 
  1868. Glossary 
  1869.  
  1870.  
  1871. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Escape ΓòÉΓòÉΓòÉ
  1872.  
  1873. /*Escape 
  1874.  
  1875. This order provides facilities for registered and unregistered escape 
  1876. functions. */ 
  1877.  
  1878. Escape (GESCP)
  1879. X'D5' (LEN, TYPE, RID, PARMS)
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889. ΓòÉΓòÉΓòÉ <hidden> Parameters - Escape ΓòÉΓòÉΓòÉ
  1890.  
  1891. LEN(GLENGTH1) 
  1892.    Length of following data. 
  1893.  
  1894. TYPE(GBIT8) 
  1895.    Type identifier. 
  1896.  
  1897.    80 
  1898.       Registered value 
  1899.    Other 
  1900.       All other values are unregistered. 
  1901.  
  1902. RID(GBIT8) 
  1903.    Registered identifier. 
  1904.  
  1905.    01 
  1906.       Set pel. 
  1907.    02 
  1908.       BITBLT function. 
  1909.    03 
  1910.       Flood fill function. 
  1911.    04 
  1912.       Draw bits function. 
  1913.  
  1914. PARMS(GSTR) 
  1915.    Parameters of escape. 
  1916.  
  1917.  
  1918. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  1919.  
  1920. LEN(GLENGTH1) 
  1921.    Length of following data. 
  1922.  
  1923.  
  1924. ΓòÉΓòÉΓòÉ <hidden> TYPE ΓòÉΓòÉΓòÉ
  1925.  
  1926. TYPE(GBIT8) 
  1927.    Type identifier. 
  1928.  
  1929.    80 
  1930.       Registered value 
  1931.    Other 
  1932.       All other values are unregistered. 
  1933.  
  1934.  
  1935. ΓòÉΓòÉΓòÉ <hidden> RID ΓòÉΓòÉΓòÉ
  1936.  
  1937. RID(GBIT8) 
  1938.    Registered identifier. 
  1939.  
  1940.    01 
  1941.       Set pel. 
  1942.    02 
  1943.       BITBLT function. 
  1944.    03 
  1945.       Flood fill function. 
  1946.    04 
  1947.       Draw bits function. 
  1948.  
  1949.  
  1950. ΓòÉΓòÉΓòÉ <hidden> PARMS ΓòÉΓòÉΓòÉ
  1951.  
  1952. PARMS(GSTR) 
  1953.    Parameters of escape. 
  1954.  
  1955.  
  1956. ΓòÉΓòÉΓòÉ 1.22. Extended Escape ΓòÉΓòÉΓòÉ
  1957.  
  1958.  
  1959. ΓòÉΓòÉΓòÉ <hidden> Topics - Extended Escape ΓòÉΓòÉΓòÉ
  1960.  
  1961. Select an item: 
  1962.  
  1963. Call Syntax 
  1964. Parameters 
  1965. Glossary 
  1966.  
  1967.  
  1968. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Extended Escape ΓòÉΓòÉΓòÉ
  1969.  
  1970. /*Extended Escape 
  1971.  
  1972. This order provides facilities for registered and unregistered escape 
  1973. functions. */ 
  1974.  
  1975. Extended Escape (GEESCP)
  1976. X'FED5' (LEN, TYPE, RID, PARMS)
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986. ΓòÉΓòÉΓòÉ <hidden> Parameters - Extended Escape ΓòÉΓòÉΓòÉ
  1987.  
  1988. LEN(GLENGTH2) 
  1989.    Length of following data. 
  1990.  
  1991. TYPE(GBIT8) 
  1992.    Type identifier. 
  1993.  
  1994.    X'80' 
  1995.       Registered value 
  1996.    Other 
  1997.       All other values are unregistered. 
  1998.  
  1999. RID(GUCHAR) 
  2000.    Registered identifier. 
  2001.  
  2002.    No registered extended escapes are used by the OS/2* operating system. 
  2003.  
  2004. PARMS(GSTR) 
  2005.    Parameters of escape. 
  2006.  
  2007.  
  2008. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  2009.  
  2010. LEN(GLENGTH2) 
  2011.    Length of following data. 
  2012.  
  2013.  
  2014. ΓòÉΓòÉΓòÉ <hidden> TYPE ΓòÉΓòÉΓòÉ
  2015.  
  2016. TYPE(GBIT8) 
  2017.    Type identifier. 
  2018.  
  2019.    X'80' 
  2020.       Registered value 
  2021.    Other 
  2022.       All other values are unregistered. 
  2023.  
  2024.  
  2025. ΓòÉΓòÉΓòÉ <hidden> RID ΓòÉΓòÉΓòÉ
  2026.  
  2027. RID(GUCHAR) 
  2028.    Registered identifier. 
  2029.  
  2030.    No registered extended escapes are used by the OS/2* operating system. 
  2031.  
  2032.  
  2033. ΓòÉΓòÉΓòÉ <hidden> PARMS ΓòÉΓòÉΓòÉ
  2034.  
  2035. PARMS(GSTR) 
  2036.    Parameters of escape. 
  2037.  
  2038.  
  2039. ΓòÉΓòÉΓòÉ 1.23. Fill Path ΓòÉΓòÉΓòÉ
  2040.  
  2041.  
  2042. ΓòÉΓòÉΓòÉ <hidden> Topics - Fill Path ΓòÉΓòÉΓòÉ
  2043.  
  2044. Select an item: 
  2045.  
  2046. Call Syntax 
  2047. Parameters 
  2048. Glossary 
  2049.  
  2050.  
  2051. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Fill Path ΓòÉΓòÉΓòÉ
  2052.  
  2053. /*Fill Path 
  2054.  
  2055. This order fills the interior of the specified path. */ 
  2056.  
  2057. Fill Path (GFPTH)
  2058. X'D7' (LEN, FLAGS, RES, PTHID)
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068. ΓòÉΓòÉΓòÉ <hidden> Parameters - Fill Path ΓòÉΓòÉΓòÉ
  2069.  
  2070. LEN(GLENGTH1) 
  2071.    Length of following data. 
  2072.  
  2073.    X'06' 
  2074.       Only valid value. 
  2075.  
  2076. FLAGS 
  2077.    Extra functions: 
  2078.  
  2079.    RES1 (GBIT1) 
  2080.       Reserved. 
  2081.  
  2082.       0 
  2083.          Only valid value. 
  2084.  
  2085.    INSIDE (GBIT1) 
  2086.       Values. 
  2087.  
  2088.       0 
  2089.          Alternate mode 
  2090.       1 
  2091.          Winding mode. 
  2092.  
  2093.    MOD (GBIT1) 
  2094.       Values. 
  2095.  
  2096.       0 
  2097.          Do not modify before filling 
  2098.       1 
  2099.          Modify path before filling. 
  2100.  
  2101.    RES2 (GBIT5) 
  2102.       Reserved. 
  2103.  
  2104.       00000 
  2105.          Only valid value. 
  2106.  
  2107. RES(GBIT8) 
  2108.    Reserved. 
  2109.  
  2110.    X'00' 
  2111.       Only valid value. 
  2112.  
  2113. PTHID(GLONG) 
  2114.    Path identifier. 
  2115.  
  2116.    X'00000001'-X'FFFFFFFF' 
  2117.       Valid path identifiers. 
  2118.  
  2119.  
  2120. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  2121.  
  2122. LEN(GLENGTH1) 
  2123.    Length of following data. 
  2124.  
  2125.    X'06' 
  2126.       Only valid value. 
  2127.  
  2128.  
  2129. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  2130.  
  2131. FLAGS 
  2132.    Extra functions: 
  2133.  
  2134.    RES1 (GBIT1) 
  2135.       Reserved. 
  2136.  
  2137.       0 
  2138.          Only valid value. 
  2139.  
  2140.    INSIDE (GBIT1) 
  2141.       Values. 
  2142.  
  2143.       0 
  2144.          Alternate mode 
  2145.       1 
  2146.          Winding mode. 
  2147.  
  2148.    MOD (GBIT1) 
  2149.       Values. 
  2150.  
  2151.       0 
  2152.          Do not modify before filling 
  2153.       1 
  2154.          Modify path before filling. 
  2155.  
  2156.    RES2 (GBIT5) 
  2157.       Reserved. 
  2158.  
  2159.       00000 
  2160.          Only valid value. 
  2161.  
  2162.  
  2163. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  2164.  
  2165. RES(GBIT8) 
  2166.    Reserved. 
  2167.  
  2168.    X'00' 
  2169.       Only valid value. 
  2170.  
  2171.  
  2172. ΓòÉΓòÉΓòÉ <hidden> PTHID ΓòÉΓòÉΓòÉ
  2173.  
  2174. PTHID(GLONG) 
  2175.    Path identifier. 
  2176.  
  2177.    X'00000001'-X'FFFFFFFF' 
  2178.       Valid path identifiers. 
  2179.  
  2180.  
  2181. ΓòÉΓòÉΓòÉ 1.24. Fillet ΓòÉΓòÉΓòÉ
  2182.  
  2183.  
  2184. ΓòÉΓòÉΓòÉ <hidden> Topics - Fillet ΓòÉΓòÉΓòÉ
  2185.  
  2186. Select an item: 
  2187.  
  2188. Call Syntax 
  2189. Parameters 
  2190. Glossary 
  2191.  
  2192.  
  2193. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Fillet ΓòÉΓòÉΓòÉ
  2194.  
  2195. /*Fillet at Given Position / Fillet at Current Position 
  2196.  
  2197. These orders draw a curved line tangential to a specified set of straight 
  2198. lines, at the given position or at the current position. */ 
  2199.  
  2200. Fillet at Given Position (GFLT)
  2201. X'C5' (LEN, P0, P1, P2, PN)
  2202.  
  2203. Fillet at Current Position (GCFLT)
  2204. X'85' (LEN, P1, P2, PN)
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216. ΓòÉΓòÉΓòÉ <hidden> Parameters - Fillet ΓòÉΓòÉΓòÉ
  2217.  
  2218. LEN(GLENGTH1) 
  2219.    Length of following data. 
  2220.  
  2221. P0(GPOINT) 
  2222.    Coordinate data of line start. 
  2223.  
  2224.    This parameter is only present in a Fillet at Given Position order. 
  2225.  
  2226. P1(GPOINT) 
  2227.    Coordinate data of first line end. 
  2228.  
  2229. P2(GPOINT) 
  2230.    Coordinate data of second line end. 
  2231.  
  2232. PN(GPOINT) 
  2233.    Coordinate data of final line end. 
  2234.  
  2235.  
  2236. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  2237.  
  2238. LEN(GLENGTH1) 
  2239.    Length of following data. 
  2240.  
  2241.  
  2242. ΓòÉΓòÉΓòÉ <hidden> P0 ΓòÉΓòÉΓòÉ
  2243.  
  2244. P0(GPOINT) 
  2245.    Coordinate data of line start. 
  2246.  
  2247.    This parameter is only present in a Fillet at Given Position order. 
  2248.  
  2249.  
  2250. ΓòÉΓòÉΓòÉ <hidden> P1 ΓòÉΓòÉΓòÉ
  2251.  
  2252. P1(GPOINT) 
  2253.    Coordinate data of first line end. 
  2254.  
  2255.  
  2256. ΓòÉΓòÉΓòÉ <hidden> P2 ΓòÉΓòÉΓòÉ
  2257.  
  2258. P2(GPOINT) 
  2259.    Coordinate data of second line end. 
  2260.  
  2261.  
  2262. ΓòÉΓòÉΓòÉ <hidden> PN ΓòÉΓòÉΓòÉ
  2263.  
  2264. PN(GPOINT) 
  2265.    Coordinate data of final line end. 
  2266.  
  2267.  
  2268. ΓòÉΓòÉΓòÉ 1.25. Full Arc ΓòÉΓòÉΓòÉ
  2269.  
  2270.  
  2271. ΓòÉΓòÉΓòÉ <hidden> Topics - Full Arc ΓòÉΓòÉΓòÉ
  2272.  
  2273. Select an item: 
  2274.  
  2275. Call Syntax 
  2276. Parameters 
  2277. Glossary 
  2278.  
  2279.  
  2280. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Full Arc ΓòÉΓòÉΓòÉ
  2281.  
  2282. /*Full Arc at Given Position / Full Arc at Current Position 
  2283.  
  2284. This order constructs a full circle or an ellipse, with the center at a given 
  2285. position. */ 
  2286.  
  2287. Full Arc at Given Position (GFARC)
  2288. X'C7' (LEN, P0, M)
  2289.  
  2290. Full Arc at Current Position (GCFARC)
  2291. X'87' (LEN, M)
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299. ΓòÉΓòÉΓòÉ <hidden> Parameters - Full Arc ΓòÉΓòÉΓòÉ
  2300.  
  2301. LEN(GLENGTH1) 
  2302.    Length of following data. 
  2303.  
  2304. P0(GPOINT) 
  2305.    Coordinate data of the center of the circle/ellipse. 
  2306.  
  2307.    This parameter is only present in a Full Arc at Given Position order. 
  2308.  
  2309. M(GROFUFS) 
  2310.    Multiplier. 
  2311.  
  2312.  
  2313. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  2314.  
  2315. LEN(GLENGTH1) 
  2316.    Length of following data. 
  2317.  
  2318.  
  2319. ΓòÉΓòÉΓòÉ <hidden> P0 ΓòÉΓòÉΓòÉ
  2320.  
  2321. P0(GPOINT) 
  2322.    Coordinate data of the center of the circle/ellipse. 
  2323.  
  2324.    This parameter is only present in a Full Arc at Given Position order. 
  2325.  
  2326.  
  2327. ΓòÉΓòÉΓòÉ <hidden> M ΓòÉΓòÉΓòÉ
  2328.  
  2329. M(GROFUFS) 
  2330.    Multiplier. 
  2331.  
  2332.  
  2333. ΓòÉΓòÉΓòÉ 1.26. Image Data ΓòÉΓòÉΓòÉ
  2334.  
  2335.  
  2336. ΓòÉΓòÉΓòÉ <hidden> Topics - Image Data ΓòÉΓòÉΓòÉ
  2337.  
  2338. Select an item: 
  2339.  
  2340. Call Syntax 
  2341. Parameters 
  2342. Glossary 
  2343.  
  2344.  
  2345. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Image Data ΓòÉΓòÉΓòÉ
  2346.  
  2347. /*Image Data 
  2348.  
  2349. This order provides bit data for an image. */ 
  2350.  
  2351. Image Data (GIMD)
  2352. X'92' (LEN)
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358. ΓòÉΓòÉΓòÉ <hidden> Parameters - Image Data ΓòÉΓòÉΓòÉ
  2359.  
  2360. LEN(GLENGTH1) 
  2361.    Length of following data. 
  2362.  
  2363. DATA(GBIT8) 
  2364.    IN (0) Image data. 
  2365.  
  2366.  
  2367. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  2368.  
  2369. LEN(GLENGTH1) 
  2370.    Length of following data. 
  2371.  
  2372.  
  2373. ΓòÉΓòÉΓòÉ <hidden> DATA ΓòÉΓòÉΓòÉ
  2374.  
  2375. DATA(GBIT8) 
  2376.    IN (0) Image data. 
  2377.  
  2378.  
  2379. ΓòÉΓòÉΓòÉ 1.27. Label ΓòÉΓòÉΓòÉ
  2380.  
  2381.  
  2382. ΓòÉΓòÉΓòÉ <hidden> Topics - Label ΓòÉΓòÉΓòÉ
  2383.  
  2384. Select an item: 
  2385.  
  2386. Call Syntax 
  2387. Parameters 
  2388. Glossary 
  2389.  
  2390.  
  2391. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Label ΓòÉΓòÉΓòÉ
  2392.  
  2393. /*Label 
  2394.  
  2395. This order is used to label an element within a segment. */ 
  2396.  
  2397. Label (GLBL)
  2398. X'D3' (LEN, LDATA)
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404. ΓòÉΓòÉΓòÉ <hidden> Parameters - Label ΓòÉΓòÉΓòÉ
  2405.  
  2406. LEN(GLENGTH1) 
  2407.    Length of following data. 
  2408.  
  2409.    X'04' 
  2410.       Only valid value. 
  2411.  
  2412. LDATA(GLONG) 
  2413.    Label value. 
  2414.  
  2415.  
  2416. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  2417.  
  2418. LEN(GLENGTH1) 
  2419.    Length of following data. 
  2420.  
  2421.    X'04' 
  2422.       Only valid value. 
  2423.  
  2424.  
  2425. ΓòÉΓòÉΓòÉ <hidden> LDATA ΓòÉΓòÉΓòÉ
  2426.  
  2427. LDATA(GLONG) 
  2428.    Label value. 
  2429.  
  2430.  
  2431. ΓòÉΓòÉΓòÉ 1.28. Line ΓòÉΓòÉΓòÉ
  2432.  
  2433.  
  2434. ΓòÉΓòÉΓòÉ <hidden> Topics - Line ΓòÉΓòÉΓòÉ
  2435.  
  2436. Select an item: 
  2437.  
  2438. Call Syntax 
  2439. Parameters 
  2440. Glossary 
  2441.  
  2442.  
  2443. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Line ΓòÉΓòÉΓòÉ
  2444.  
  2445. /*Line at Given Position / Line at Current Position 
  2446.  
  2447. This order defines one or more connected straight lines, drawn from the given 
  2448. position. */ 
  2449.  
  2450. Line at Given Position (GLINE)
  2451. X'C1' (LEN, P0, P1, PN)
  2452.  
  2453. Line at Current Position (GCLINE)
  2454. X'81' (LEN, P1, PN)
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464. ΓòÉΓòÉΓòÉ <hidden> Parameters - Line ΓòÉΓòÉΓòÉ
  2465.  
  2466. LEN(GLENGTH1) 
  2467.    Length of following data. 
  2468.  
  2469. P0(GPOINT) 
  2470.    Coordinate data of line start. 
  2471.  
  2472.    This parameter is only present in a Line at Given Position order. 
  2473.  
  2474. P1(GPOINT) 
  2475.    Coordinate data of first line end. 
  2476.  
  2477. PN(GPOINT) 
  2478.    Coordinate data of final line end. 
  2479.  
  2480.  
  2481. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  2482.  
  2483. LEN(GLENGTH1) 
  2484.    Length of following data. 
  2485.  
  2486.  
  2487. ΓòÉΓòÉΓòÉ <hidden> P0 ΓòÉΓòÉΓòÉ
  2488.  
  2489. P0(GPOINT) 
  2490.    Coordinate data of line start. 
  2491.  
  2492.    This parameter is only present in a Line at Given Position order. 
  2493.  
  2494.  
  2495. ΓòÉΓòÉΓòÉ <hidden> P1 ΓòÉΓòÉΓòÉ
  2496.  
  2497. P1(GPOINT) 
  2498.    Coordinate data of first line end. 
  2499.  
  2500.  
  2501. ΓòÉΓòÉΓòÉ <hidden> PN ΓòÉΓòÉΓòÉ
  2502.  
  2503. PN(GPOINT) 
  2504.    Coordinate data of final line end. 
  2505.  
  2506.  
  2507. ΓòÉΓòÉΓòÉ 1.29. Marker ΓòÉΓòÉΓòÉ
  2508.  
  2509.  
  2510. ΓòÉΓòÉΓòÉ <hidden> Topics - Marker ΓòÉΓòÉΓòÉ
  2511.  
  2512. Select an item: 
  2513.  
  2514. Call Syntax 
  2515. Parameters 
  2516. Glossary 
  2517.  
  2518.  
  2519. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Marker ΓòÉΓòÉΓòÉ
  2520.  
  2521. /*Marker at Given Position / Marker at Current Position 
  2522.  
  2523. This order draws the current marker symbol at one or more positions starting 
  2524. from a given position. */ 
  2525.  
  2526. Marker at Given Position (GMRK)
  2527. X'C2' (LEN, P0, P1, PN)
  2528.  
  2529. Marker at Current Position (GCMRK)
  2530. X'82' (LEN, P1, PN)
  2531.  
  2532.  
  2533.  
  2534.  
  2535.  
  2536.  
  2537.  
  2538.  
  2539.  
  2540. ΓòÉΓòÉΓòÉ <hidden> Parameters - Marker ΓòÉΓòÉΓòÉ
  2541.  
  2542. LEN(GLENGTH1) 
  2543.    Length of following data. 
  2544.  
  2545. P0(GPOINT) 
  2546.    Coordinate data of first marker. 
  2547.  
  2548. P1(GPOINT) 
  2549.    Coordinate data of second marker. 
  2550.  
  2551. PN(GPOINT) 
  2552.    Coordinate data of final marker. 
  2553.  
  2554.  
  2555. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  2556.  
  2557. LEN(GLENGTH1) 
  2558.    Length of following data. 
  2559.  
  2560.  
  2561. ΓòÉΓòÉΓòÉ <hidden> P0 ΓòÉΓòÉΓòÉ
  2562.  
  2563. P0(GPOINT) 
  2564.    Coordinate data of first marker. 
  2565.  
  2566.  
  2567. ΓòÉΓòÉΓòÉ <hidden> P1 ΓòÉΓòÉΓòÉ
  2568.  
  2569. P1(GPOINT) 
  2570.    Coordinate data of second marker. 
  2571.  
  2572.  
  2573. ΓòÉΓòÉΓòÉ <hidden> PN ΓòÉΓòÉΓòÉ
  2574.  
  2575. PN(GPOINT) 
  2576.    Coordinate data of final marker. 
  2577.  
  2578.  
  2579. ΓòÉΓòÉΓòÉ 1.30. Modify Path ΓòÉΓòÉΓòÉ
  2580.  
  2581.  
  2582. ΓòÉΓòÉΓòÉ <hidden> Topics - Modify Path ΓòÉΓòÉΓòÉ
  2583.  
  2584. Select an item: 
  2585.  
  2586. Call Syntax 
  2587. Parameters 
  2588. Glossary 
  2589.  
  2590.  
  2591. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Modify Path ΓòÉΓòÉΓòÉ
  2592.  
  2593. /*Modify Path 
  2594.  
  2595. This order modifies the path according to the value of the mode. */ 
  2596.  
  2597. Modify Path (GMPTH)
  2598. X'D8' (LEN, MODE, RES, PTHID)
  2599.  
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608. ΓòÉΓòÉΓòÉ <hidden> Parameters - Modify Path ΓòÉΓòÉΓòÉ
  2609.  
  2610. LEN(GLENGTH1) 
  2611.    Length of following data. 
  2612.  
  2613.    X'06' 
  2614.       Only valid value. 
  2615.  
  2616. MODE(GBIT8) 
  2617.    Mode of path modification. 
  2618.  
  2619.    X'06' 
  2620.       Stroke the path 
  2621.    Other 
  2622.       All other values are reserved. 
  2623.  
  2624. RES(GBIT8) 
  2625.    Reserved. 
  2626.  
  2627.    X'00' 
  2628.       Only valid value. 
  2629.  
  2630. PTHID(GLONG) 
  2631.    Path identifier. 
  2632.  
  2633.    X'00000001'-X'FFFFFFFF' 
  2634.       Valid path identifiers. 
  2635.  
  2636.  
  2637. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  2638.  
  2639. LEN(GLENGTH1) 
  2640.    Length of following data. 
  2641.  
  2642.    X'06' 
  2643.       Only valid value. 
  2644.  
  2645.  
  2646. ΓòÉΓòÉΓòÉ <hidden> MODE ΓòÉΓòÉΓòÉ
  2647.  
  2648. MODE(GBIT8) 
  2649.    Mode of path modification. 
  2650.  
  2651.    X'06' 
  2652.       Stroke the path 
  2653.    Other 
  2654.       All other values are reserved. 
  2655.  
  2656.  
  2657. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  2658.  
  2659. RES(GBIT8) 
  2660.    Reserved. 
  2661.  
  2662.    X'00' 
  2663.       Only valid value. 
  2664.  
  2665.  
  2666. ΓòÉΓòÉΓòÉ <hidden> PTHID ΓòÉΓòÉΓòÉ
  2667.  
  2668. PTHID(GLONG) 
  2669.    Path identifier. 
  2670.  
  2671.    X'00000001'-X'FFFFFFFF' 
  2672.       Valid path identifiers. 
  2673.  
  2674.  
  2675. ΓòÉΓòÉΓòÉ 1.31. No-Operation ΓòÉΓòÉΓòÉ
  2676.  
  2677.  
  2678. ΓòÉΓòÉΓòÉ <hidden> Topics - No-Operation ΓòÉΓòÉΓòÉ
  2679.  
  2680. Select an item: 
  2681.  
  2682. Call Syntax 
  2683. Glossary 
  2684.  
  2685.  
  2686. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - No-Operation ΓòÉΓòÉΓòÉ
  2687.  
  2688. /*No-Operation 
  2689.  
  2690. This order is a no-operation. */ 
  2691.  
  2692.  
  2693. ΓòÉΓòÉΓòÉ 1.32. Outline Path ΓòÉΓòÉΓòÉ
  2694.  
  2695.  
  2696. ΓòÉΓòÉΓòÉ <hidden> Topics - Outline Path ΓòÉΓòÉΓòÉ
  2697.  
  2698. Select an item: 
  2699.  
  2700. Call Syntax 
  2701. Parameters 
  2702. Glossary 
  2703.  
  2704.  
  2705. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Outline Path ΓòÉΓòÉΓòÉ
  2706.  
  2707. /*Outline Path 
  2708.  
  2709. This order draws the outline of the specified path. */ 
  2710.  
  2711. Outline Path (GOPTH)
  2712. X'D4' (LEN, FLAGS, RES, PTHID)
  2713.  
  2714.  
  2715.  
  2716.  
  2717.  
  2718.  
  2719.  
  2720.  
  2721.  
  2722. ΓòÉΓòÉΓòÉ <hidden> Parameters - Outline Path ΓòÉΓòÉΓòÉ
  2723.  
  2724. LEN(GLENGTH1) 
  2725.    Length of following data. 
  2726.  
  2727. FLAGS(GBIT8) 
  2728.    Function flags. 
  2729.  
  2730.    X'00' 
  2731.       Only valid value. 
  2732.  
  2733. RES(GBIT8) 
  2734.    Reserved. 
  2735.  
  2736.    X'00' 
  2737.       Only valid value. 
  2738.  
  2739. PTHID(GLONG) 
  2740.    Path identifier. 
  2741.  
  2742.    1 
  2743.       Only valid value. 
  2744.  
  2745.  
  2746. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  2747.  
  2748. LEN(GLENGTH1) 
  2749.    Length of following data. 
  2750.  
  2751.  
  2752. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  2753.  
  2754. FLAGS(GBIT8) 
  2755.    Function flags. 
  2756.  
  2757.    X'00' 
  2758.       Only valid value. 
  2759.  
  2760.  
  2761. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  2762.  
  2763. RES(GBIT8) 
  2764.    Reserved. 
  2765.  
  2766.    X'00' 
  2767.       Only valid value. 
  2768.  
  2769.  
  2770. ΓòÉΓòÉΓòÉ <hidden> PTHID ΓòÉΓòÉΓòÉ
  2771.  
  2772. PTHID(GLONG) 
  2773.    Path identifier. 
  2774.  
  2775.    1 
  2776.       Only valid value. 
  2777.  
  2778.  
  2779. ΓòÉΓòÉΓòÉ 1.33. Partial Arc ΓòÉΓòÉΓòÉ
  2780.  
  2781.  
  2782. ΓòÉΓòÉΓòÉ <hidden> Topics - Partial Arc ΓòÉΓòÉΓòÉ
  2783.  
  2784. Select an item: 
  2785.  
  2786. Call Syntax 
  2787. Parameters 
  2788. Glossary 
  2789.  
  2790.  
  2791. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Partial Arc ΓòÉΓòÉΓòÉ
  2792.  
  2793. /*Partial Arc at Given Position / Partial Arc at Current Position 
  2794.  
  2795. This order draws a line from a given position to the start of an arc, and then 
  2796. draws the arc. */ 
  2797.  
  2798. Partial Arc at Given Position (GPARC)
  2799. X'E3' (LEN, P0, P1, M, START, SWEEP)
  2800.  
  2801. Partial Arc at Current Position (GCPARC)
  2802. X'A3' (LEN, P1, M, START, SWEEP)
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813.  
  2814.  
  2815.  
  2816. ΓòÉΓòÉΓòÉ <hidden> Parameters - Partial Arc ΓòÉΓòÉΓòÉ
  2817.  
  2818. LEN(GLENGTH1) 
  2819.    Length of following data. 
  2820.  
  2821. P0(GPOINT) 
  2822.    Coordinate data of start of line. 
  2823.  
  2824.    This parameter is only present in a Partial Arc at Given Position order. 
  2825.  
  2826. P1(GPOINT) 
  2827.    Coordinate data of center of arc. 
  2828.  
  2829. M(GROFUFS) 
  2830.    Multiplier. 
  2831.  
  2832. START(GROF) 
  2833.    Start angle. 
  2834.  
  2835. SWEEP(GROF) 
  2836.    Sweep angle. 
  2837.  
  2838.  
  2839. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  2840.  
  2841. LEN(GLENGTH1) 
  2842.    Length of following data. 
  2843.  
  2844.  
  2845. ΓòÉΓòÉΓòÉ <hidden> P0 ΓòÉΓòÉΓòÉ
  2846.  
  2847. P0(GPOINT) 
  2848.    Coordinate data of start of line. 
  2849.  
  2850.    This parameter is only present in a Partial Arc at Given Position order. 
  2851.  
  2852.  
  2853. ΓòÉΓòÉΓòÉ <hidden> P1 ΓòÉΓòÉΓòÉ
  2854.  
  2855. P1(GPOINT) 
  2856.    Coordinate data of center of arc. 
  2857.  
  2858.  
  2859. ΓòÉΓòÉΓòÉ <hidden> M ΓòÉΓòÉΓòÉ
  2860.  
  2861. M(GROFUFS) 
  2862.    Multiplier. 
  2863.  
  2864.  
  2865. ΓòÉΓòÉΓòÉ <hidden> START ΓòÉΓòÉΓòÉ
  2866.  
  2867. START(GROF) 
  2868.    Start angle. 
  2869.  
  2870.  
  2871. ΓòÉΓòÉΓòÉ <hidden> SWEEP ΓòÉΓòÉΓòÉ
  2872.  
  2873. SWEEP(GROF) 
  2874.    Sweep angle. 
  2875.  
  2876.  
  2877. ΓòÉΓòÉΓòÉ 1.34. Polygons ΓòÉΓòÉΓòÉ
  2878.  
  2879.  
  2880. ΓòÉΓòÉΓòÉ <hidden> Topics - Polygons ΓòÉΓòÉΓòÉ
  2881.  
  2882. Select an item: 
  2883.  
  2884. Call Syntax 
  2885. Parameters 
  2886. Notes 
  2887. Glossary 
  2888.  
  2889.  
  2890. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Polygons ΓòÉΓòÉΓòÉ
  2891.  
  2892. /*Polygons 
  2893.  
  2894. This order defines a set of polygons, which are optionally filled. */ 
  2895.  
  2896. Polygons (GPOLYS)
  2897. X'F3' (LEN, FLAGS., COUNT, POLYS)
  2898.  
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907. ΓòÉΓòÉΓòÉ <hidden> Notes - Polygons ΓòÉΓòÉΓòÉ
  2908.  
  2909. This order draws a set of polygons. For the first polygon the current position 
  2910. is the first point. For all subsequent polygons all points which define the 
  2911. polygon are given explicitly.  The polygons are automatically closed if 
  2912. necessary. 
  2913.  
  2914. The current position is set to the last point specified. 
  2915.  
  2916.  
  2917. ΓòÉΓòÉΓòÉ <hidden> Parameters - Polygons ΓòÉΓòÉΓòÉ
  2918.  
  2919. LEN(GLENGTH2) 
  2920.    Length of following data. 
  2921.  
  2922. FLAGS. 
  2923.    Internal flags. 
  2924.  
  2925.    INSIDE (GBIT1) 
  2926.       Mode shading. 
  2927.  
  2928.       0 
  2929.          Alternate mode. 
  2930.       1 
  2931.          Winding mode. 
  2932.  
  2933.    MODEL (GBIT1) 
  2934.       Drawing model. 
  2935.  
  2936.       0 
  2937.          The fill is inclusive of bottom right. 
  2938.       1 
  2939.          The fill is exclusive of bottom right. 
  2940.  
  2941.    RES2 (GBIT6) 
  2942.       Reserved. 
  2943.  
  2944.       000000 
  2945.          Only valid value. 
  2946.  
  2947. COUNT(GUSHORT) 
  2948.    Number of polygons 
  2949.  
  2950. POLYS(GPOLYS) 
  2951.    Array of polygons 
  2952.  
  2953.  
  2954. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  2955.  
  2956. LEN(GLENGTH2) 
  2957.    Length of following data. 
  2958.  
  2959.  
  2960. ΓòÉΓòÉΓòÉ <hidden> FLAGS. ΓòÉΓòÉΓòÉ
  2961.  
  2962. FLAGS. 
  2963.    Internal flags. 
  2964.  
  2965.    INSIDE (GBIT1) 
  2966.       Mode shading. 
  2967.  
  2968.       0 
  2969.          Alternate mode. 
  2970.       1 
  2971.          Winding mode. 
  2972.  
  2973.    MODEL (GBIT1) 
  2974.       Drawing model. 
  2975.  
  2976.       0 
  2977.          The fill is inclusive of bottom right. 
  2978.       1 
  2979.          The fill is exclusive of bottom right. 
  2980.  
  2981.    RES2 (GBIT6) 
  2982.       Reserved. 
  2983.  
  2984.       000000 
  2985.          Only valid value. 
  2986.  
  2987.  
  2988. ΓòÉΓòÉΓòÉ <hidden> COUNT ΓòÉΓòÉΓòÉ
  2989.  
  2990. COUNT(GUSHORT) 
  2991.    Number of polygons 
  2992.  
  2993.  
  2994. ΓòÉΓòÉΓòÉ <hidden> POLYS ΓòÉΓòÉΓòÉ
  2995.  
  2996. POLYS(GPOLYS) 
  2997.    Array of polygons 
  2998.  
  2999.  
  3000. ΓòÉΓòÉΓòÉ 1.35. Pop ΓòÉΓòÉΓòÉ
  3001.  
  3002.  
  3003. ΓòÉΓòÉΓòÉ <hidden> Topics - Pop ΓòÉΓòÉΓòÉ
  3004.  
  3005. Select an item: 
  3006.  
  3007. Call Syntax 
  3008. Parameters 
  3009. Notes 
  3010. Glossary 
  3011.  
  3012.  
  3013. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Pop ΓòÉΓòÉΓòÉ
  3014.  
  3015. /*Pop 
  3016.  
  3017. This order enables data to be popped from the Segment Call Stack. */ 
  3018.  
  3019. Pop (GPOP)
  3020. X'3F' (RES)
  3021.  
  3022.  
  3023.  
  3024. ΓòÉΓòÉΓòÉ <hidden> Notes - Pop ΓòÉΓòÉΓòÉ
  3025.  
  3026. The data is placed into an attribute or Drawing Process Control. 
  3027.  
  3028.  
  3029. ΓòÉΓòÉΓòÉ <hidden> Parameters - Pop ΓòÉΓòÉΓòÉ
  3030.  
  3031. RES(GBIT8) 
  3032.    Reserved. 
  3033.  
  3034.    X'00' 
  3035.       Only valid value. 
  3036.  
  3037.  
  3038. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  3039.  
  3040. RES(GBIT8) 
  3041.    Reserved. 
  3042.  
  3043.    X'00' 
  3044.       Only valid value. 
  3045.  
  3046.  
  3047. ΓòÉΓòÉΓòÉ 1.36. Relative Line ΓòÉΓòÉΓòÉ
  3048.  
  3049.  
  3050. ΓòÉΓòÉΓòÉ <hidden> Topics - Relative Line ΓòÉΓòÉΓòÉ
  3051.  
  3052. Select an item: 
  3053.  
  3054. Call Syntax 
  3055. Parameters 
  3056. Notes 
  3057. Glossary 
  3058.  
  3059.  
  3060. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Relative Line ΓòÉΓòÉΓòÉ
  3061.  
  3062. /*Relative Line at Given Position / Relative Line at Current Position 
  3063.  
  3064. These orders define one or more connected straight lines, at the given position 
  3065. or at the current position. */ 
  3066.  
  3067. Relative Line at Given Position (GRLINE)
  3068. X'E1' (LEN, P0, OFF0, OFF1, OFFN)
  3069.  
  3070. Relative Line at Current Position (GCRLINE)
  3071. X'A1' (LEN, OFF0, OFF1, OFFN)
  3072.  
  3073.  
  3074.  
  3075.  
  3076.  
  3077.  
  3078.  
  3079.  
  3080.  
  3081.  
  3082.  
  3083. ΓòÉΓòÉΓòÉ <hidden> Notes - Relative Line ΓòÉΓòÉΓòÉ
  3084.  
  3085. The end point of each line is given as an offset from the start of the line, 
  3086. rather than as absolute coordinates. 
  3087.  
  3088.  
  3089. ΓòÉΓòÉΓòÉ <hidden> Parameters - Relative Line ΓòÉΓòÉΓòÉ
  3090.  
  3091. LEN(GLENGTH1) 
  3092.    Length of following data. 
  3093.  
  3094. P0(GPOINT) 
  3095.    Coordinate data of line start. 
  3096.  
  3097.    This parameter is only present in a Relative Line at Given Position order. 
  3098.  
  3099. OFF0(GDELPOINT) 
  3100.    Offset data for first point. 
  3101.  
  3102.    This offset is to the first line end, relative to its start point. 
  3103.  
  3104. OFF1(GDELPOINT) 
  3105.    Offset data for second point. 
  3106.  
  3107.    This offset is to the second line end, relative to the first line end. 
  3108.  
  3109. OFFN(GDELPOINT) 
  3110.    Offset data for final point. 
  3111.  
  3112.    This offset is to the nth line end, relative to the n-1th line end. 
  3113.  
  3114.  
  3115. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  3116.  
  3117. LEN(GLENGTH1) 
  3118.    Length of following data. 
  3119.  
  3120.  
  3121. ΓòÉΓòÉΓòÉ <hidden> P0 ΓòÉΓòÉΓòÉ
  3122.  
  3123. P0(GPOINT) 
  3124.    Coordinate data of line start. 
  3125.  
  3126.    This parameter is only present in a Relative Line at Given Position order. 
  3127.  
  3128.  
  3129. ΓòÉΓòÉΓòÉ <hidden> OFF0 ΓòÉΓòÉΓòÉ
  3130.  
  3131. OFF0(GDELPOINT) 
  3132.    Offset data for first point. 
  3133.  
  3134.    This offset is to the first line end, relative to its start point. 
  3135.  
  3136.  
  3137. ΓòÉΓòÉΓòÉ <hidden> OFF1 ΓòÉΓòÉΓòÉ
  3138.  
  3139. OFF1(GDELPOINT) 
  3140.    Offset data for second point. 
  3141.  
  3142.    This offset is to the second line end, relative to the first line end. 
  3143.  
  3144.  
  3145. ΓòÉΓòÉΓòÉ <hidden> OFFN ΓòÉΓòÉΓòÉ
  3146.  
  3147. OFFN(GDELPOINT) 
  3148.    Offset data for final point. 
  3149.  
  3150.    This offset is to the nth line end, relative to the n-1th line end. 
  3151.  
  3152.  
  3153. ΓòÉΓòÉΓòÉ 1.37. Segment Characteristics ΓòÉΓòÉΓòÉ
  3154.  
  3155.  
  3156. ΓòÉΓòÉΓòÉ <hidden> Topics - Segment Characteristics ΓòÉΓòÉΓòÉ
  3157.  
  3158. Select an item: 
  3159.  
  3160. Call Syntax 
  3161. Parameters 
  3162. Notes 
  3163. Glossary 
  3164.  
  3165.  
  3166. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Segment Characteristics ΓòÉΓòÉΓòÉ
  3167.  
  3168. /*Segment Characteristics 
  3169.  
  3170. This order provides the facility to set architected or user-defined 
  3171. characteristics for a segment. */ 
  3172.  
  3173. Segment Characteristics (GSGCH)
  3174. X'04' (LEN, CBIT8, PARMS)
  3175.  
  3176.  
  3177.  
  3178.  
  3179.  
  3180.  
  3181.  
  3182. ΓòÉΓòÉΓòÉ <hidden> Notes - Segment Characteristics ΓòÉΓòÉΓòÉ
  3183.  
  3184. The order is only valid in a root-segment prolog. 
  3185.  
  3186.  
  3187. ΓòÉΓòÉΓòÉ <hidden> Parameters - Segment Characteristics ΓòÉΓòÉΓòÉ
  3188.  
  3189. LEN(GLENGTH1) 
  3190.    Length of following data. 
  3191.  
  3192. CBIT8(GUCHAR) 
  3193.    Identification code for characteristics. 
  3194.  
  3195.    X'00'-X'7F' 
  3196.       Reserved for architected characteristics. 
  3197.    X'80'-X'FF' 
  3198.       Reserved for user-defined characteristics. 
  3199.  
  3200. PARMS(GSTR) 
  3201.    Parameters of characteristics. 
  3202.  
  3203.  
  3204. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  3205.  
  3206. LEN(GLENGTH1) 
  3207.    Length of following data. 
  3208.  
  3209.  
  3210. ΓòÉΓòÉΓòÉ <hidden> CBIT8 ΓòÉΓòÉΓòÉ
  3211.  
  3212. CBIT8(GUCHAR) 
  3213.    Identification code for characteristics. 
  3214.  
  3215.    X'00'-X'7F' 
  3216.       Reserved for architected characteristics. 
  3217.    X'80'-X'FF' 
  3218.       Reserved for user-defined characteristics. 
  3219.  
  3220.  
  3221. ΓòÉΓòÉΓòÉ <hidden> PARMS ΓòÉΓòÉΓòÉ
  3222.  
  3223. PARMS(GSTR) 
  3224.    Parameters of characteristics. 
  3225.  
  3226.  
  3227. ΓòÉΓòÉΓòÉ 1.38. Set Arc Parameters / Push and Set Arc Parameters ΓòÉΓòÉΓòÉ
  3228.  
  3229.  
  3230. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Arc Parameters / Push and Set Arc Parameters ΓòÉΓòÉΓòÉ
  3231.  
  3232. Select an item: 
  3233.  
  3234. Call Syntax 
  3235. Parameters 
  3236. Notes 
  3237. Glossary 
  3238.  
  3239.  
  3240. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Arc Parameters / Push and Set Arc Parameters ΓòÉΓòÉΓòÉ
  3241.  
  3242. /*Set Arc Parameters / Push and Set Arc Parameters 
  3243.  
  3244. These orders set, or push and set, the values of the current arc parameters. */ 
  3245.  
  3246. Set Arc Parameters (GSAP)
  3247. X'22' (LEN, P, Q, R, S)
  3248.  
  3249. Push and Set Arc Parameters (GPSAP)
  3250. X'62' (LEN, P, Q, R, S)
  3251.  
  3252.  
  3253.  
  3254.  
  3255.  
  3256.  
  3257.  
  3258.  
  3259.  
  3260.  
  3261.  
  3262. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Arc Parameters / Push and Set Arc Parameters ΓòÉΓòÉΓòÉ
  3263.  
  3264. The values of the current arc parameters are pushed on to the Segment Call 
  3265. stack by the Push and Set order only. Both orders then set the current arc 
  3266. parameters to the values specified in the order. 
  3267.  
  3268. The value of these parameters determines the shape of subsequent orders drawn 
  3269. using Arc at a Given Position / Arc at Current Position or Full Arc at Given 
  3270. Position / Full Arc at Current Position or Partial Arc at Given Position / 
  3271. Partial Arc at Current Position. 
  3272.  
  3273.  
  3274. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Arc Parameters / Push and Set Arc Parameters ΓòÉΓòÉΓòÉ
  3275.  
  3276. LEN(GLENGTH1) 
  3277.    Length of following data. 
  3278.  
  3279. P(GROSOL) 
  3280.    P-parameter of arc transform. 
  3281.  
  3282. Q(GROSOL) 
  3283.    Q-parameter of arc transform. 
  3284.  
  3285. R(GROSOL) 
  3286.    R-parameter of arc transform. 
  3287.  
  3288. S(GROSOL) 
  3289.    S-parameter of arc transform. 
  3290.  
  3291.  
  3292. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  3293.  
  3294. LEN(GLENGTH1) 
  3295.    Length of following data. 
  3296.  
  3297.  
  3298. ΓòÉΓòÉΓòÉ <hidden> P ΓòÉΓòÉΓòÉ
  3299.  
  3300. P(GROSOL) 
  3301.    P-parameter of arc transform. 
  3302.  
  3303.  
  3304. ΓòÉΓòÉΓòÉ <hidden> Q ΓòÉΓòÉΓòÉ
  3305.  
  3306. Q(GROSOL) 
  3307.    Q-parameter of arc transform. 
  3308.  
  3309.  
  3310. ΓòÉΓòÉΓòÉ <hidden> R ΓòÉΓòÉΓòÉ
  3311.  
  3312. R(GROSOL) 
  3313.    R-parameter of arc transform. 
  3314.  
  3315.  
  3316. ΓòÉΓòÉΓòÉ <hidden> S ΓòÉΓòÉΓòÉ
  3317.  
  3318. S(GROSOL) 
  3319.    S-parameter of arc transform. 
  3320.  
  3321.  
  3322. ΓòÉΓòÉΓòÉ 1.39. Set Background Color / Push and Set Background Color ΓòÉΓòÉΓòÉ
  3323.  
  3324.  
  3325. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Background Color / Push and Set Background Color ΓòÉΓòÉΓòÉ
  3326.  
  3327. Select an item: 
  3328.  
  3329. Call Syntax 
  3330. Parameters 
  3331. Glossary 
  3332.  
  3333.  
  3334. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Background Color / Push and Set Background Color ΓòÉΓòÉΓòÉ
  3335.  
  3336. /*Set Background Color / Push and Set Background Color 
  3337.  
  3338. These orders set, or push and set, the value of the current background color 
  3339. attribute. */ 
  3340.  
  3341. Set Background Color (GSBCOL)
  3342. X'25' (LEN, COLOR)
  3343.  
  3344. Push and Set Background Color (GPSBCOL)
  3345. X'65' (LEN, COLOR)
  3346.  
  3347.  
  3348.  
  3349.  
  3350.  
  3351. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Background Color / Push and Set Background Color ΓòÉΓòÉΓòÉ
  3352.  
  3353. LEN(GLENGTH1) 
  3354.    Length of following data. 
  3355.  
  3356.    X'02' 
  3357.       Only valid value. 
  3358.  
  3359. COLOR(GBIT16) 
  3360.    Color-table index. 
  3361.  
  3362.    Except for the special values, the values X'0000' through X'nnnn' are 
  3363.    allowed color indexes; that is, as many values as are allowed by the size of 
  3364.    the LCT. 
  3365.  
  3366.    Special Values 
  3367.  
  3368.    X'0000' 
  3369.       Drawing default 
  3370.    X'0007' 
  3371.       White 
  3372.    X'0008' 
  3373.       Black 
  3374.    X'FF00' 
  3375.       Drawing default 
  3376.    X'FF0x' 
  3377.       Color indexes X'000x', where x is in the range 1 through 7. 
  3378.    X'FF08' 
  3379.       Color index 0 (reset color). 
  3380.  
  3381.  
  3382. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  3383.  
  3384. LEN(GLENGTH1) 
  3385.    Length of following data. 
  3386.  
  3387.    X'02' 
  3388.       Only valid value. 
  3389.  
  3390.  
  3391. ΓòÉΓòÉΓòÉ <hidden> COLOR ΓòÉΓòÉΓòÉ
  3392.  
  3393. COLOR(GBIT16) 
  3394.    Color-table index. 
  3395.  
  3396.    Except for the special values, the values X'0000' through X'nnnn' are 
  3397.    allowed color indexes; that is, as many values as are allowed by the size of 
  3398.    the LCT. 
  3399.  
  3400.    Special Values 
  3401.  
  3402.    X'0000' 
  3403.       Drawing default 
  3404.    X'0007' 
  3405.       White 
  3406.    X'0008' 
  3407.       Black 
  3408.    X'FF00' 
  3409.       Drawing default 
  3410.    X'FF0x' 
  3411.       Color indexes X'000x', where x is in the range 1 through 7. 
  3412.    X'FF08' 
  3413.       Color index 0 (reset color). 
  3414.  
  3415.  
  3416. ΓòÉΓòÉΓòÉ 1.40. Set Background Indexed Color / Push and Set Background Indexed Color ΓòÉΓòÉΓòÉ
  3417.  
  3418.  
  3419. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Background Indexed Color / Push and Set Background Indexed Color ΓòÉΓòÉΓòÉ
  3420.  
  3421. Select an item: 
  3422.  
  3423. Call Syntax 
  3424. Parameters 
  3425. Notes 
  3426. Glossary 
  3427.  
  3428.  
  3429. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Background Indexed Color / Push and Set Background Indexed Color ΓòÉΓòÉΓòÉ
  3430.  
  3431. /*Set Background Indexed Color / Push and Set Background Indexed Color 
  3432.  
  3433. These orders set, or push and set, the value of the current background color 
  3434. attribute. */ 
  3435.  
  3436. Set Background Indexed Color (GSBICOL)
  3437. X'A7' (LEN, FLAGS, INDEX)
  3438.  
  3439. Push and Set Background Indexed Color (GPSBICOL)
  3440. X'E7' (LEN, FLAGS, INDEX)
  3441.  
  3442.  
  3443.  
  3444.  
  3445.  
  3446.  
  3447.  
  3448. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Background Indexed Color / Push and Set Background Indexed Color ΓòÉΓòÉΓòÉ
  3449.  
  3450. The value of the current background color attribute is pushed on to the stack 
  3451. by the Push and Set order only. Both orders then set the current background 
  3452. color attribute to the value specified in the order. 
  3453.  
  3454.  
  3455. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Background Indexed Color / Push and Set Background Indexed Color ΓòÉΓòÉΓòÉ
  3456.  
  3457. LEN(GLENGTH1) 
  3458.    Length of following data. 
  3459.  
  3460.    X'04' 
  3461.       Only valid value. 
  3462.  
  3463. FLAGS 
  3464.    Values: 
  3465.  
  3466.    DEFAULT (GBIT1) 
  3467.       Options. 
  3468.  
  3469.       0 
  3470.          Use specified INDEX 
  3471.       1 
  3472.          Use drawing default color. 
  3473.  
  3474.    SPEC (GBIT1) 
  3475.       Options. 
  3476.  
  3477.       0 
  3478.          Use index directly 
  3479.       1 
  3480.          Special value. 
  3481.  
  3482.    RES (GBIT6) 
  3483.       Reserved. 
  3484.  
  3485.       000000 
  3486.          Only valid value. 
  3487.  
  3488. INDEX(GINDEX3) 
  3489.    Value for color index. 
  3490.  
  3491.    The value is a direct index into the current color table or a special value. 
  3492.  
  3493.    The special values are: 
  3494.  
  3495.    1 
  3496.       Black 
  3497.    2 
  3498.       White 
  3499.    4 
  3500.       All ones 
  3501.    5 
  3502.       All zeros. 
  3503.  
  3504.  
  3505. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  3506.  
  3507. LEN(GLENGTH1) 
  3508.    Length of following data. 
  3509.  
  3510.    X'04' 
  3511.       Only valid value. 
  3512.  
  3513.  
  3514. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  3515.  
  3516. FLAGS 
  3517.    Values: 
  3518.  
  3519.    DEFAULT (GBIT1) 
  3520.       Options. 
  3521.  
  3522.       0 
  3523.          Use specified INDEX 
  3524.       1 
  3525.          Use drawing default color. 
  3526.  
  3527.    SPEC (GBIT1) 
  3528.       Options. 
  3529.  
  3530.       0 
  3531.          Use index directly 
  3532.       1 
  3533.          Special value. 
  3534.  
  3535.    RES (GBIT6) 
  3536.       Reserved. 
  3537.  
  3538.       000000 
  3539.          Only valid value. 
  3540.  
  3541.  
  3542. ΓòÉΓòÉΓòÉ <hidden> INDEX ΓòÉΓòÉΓòÉ
  3543.  
  3544. INDEX(GINDEX3) 
  3545.    Value for color index. 
  3546.  
  3547.    The value is a direct index into the current color table or a special value. 
  3548.  
  3549.    The special values are: 
  3550.  
  3551.    1 
  3552.       Black 
  3553.    2 
  3554.       White 
  3555.    4 
  3556.       All ones 
  3557.    5 
  3558.       All zeros. 
  3559.  
  3560.  
  3561. ΓòÉΓòÉΓòÉ 1.41. Set Background Mix / Push and Set Background Mix ΓòÉΓòÉΓòÉ
  3562.  
  3563.  
  3564. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Background Mix / Push and Set Background Mix ΓòÉΓòÉΓòÉ
  3565.  
  3566. Select an item: 
  3567.  
  3568. Call Syntax 
  3569. Parameters 
  3570. Notes 
  3571. Glossary 
  3572.  
  3573.  
  3574. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Background Mix / Push and Set Background Mix ΓòÉΓòÉΓòÉ
  3575.  
  3576. /*Set Background Mix / Push and Set Background Mix 
  3577.  
  3578. These orders set, or push and set, the value of the current background mix 
  3579. attribute. */ 
  3580.  
  3581. Set Background Mix (GSBMX)
  3582. X'0D' (MODE)
  3583.  
  3584. Push and Set Background Mix (GPSBMX)
  3585. X'4D' (MODE)
  3586.  
  3587.  
  3588.  
  3589. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Background Mix / Push and Set Background Mix ΓòÉΓòÉΓòÉ
  3590.  
  3591. The value of the current background mix attribute is pushed on to the Segment 
  3592. Call stack by the Push and Set order only. Both orders then set the current 
  3593. background mix attribute to the value specified in the order. 
  3594.  
  3595.  
  3596. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Background Mix / Push and Set Background Mix ΓòÉΓòÉΓòÉ
  3597.  
  3598. MODE(GBIT8) 
  3599.    Mix-mode value. 
  3600.  
  3601.    X'00' 
  3602.       Drawing default 
  3603.    X'01' 
  3604.       OR 
  3605.    X'02' 
  3606.       Overpaint 
  3607.    X'03' 
  3608.       Reserved 
  3609.    X'04' 
  3610.       Exclusive-OR 
  3611.    X'05' 
  3612.       Leave Alone 
  3613.    X'06' 
  3614.       AND 
  3615.    X'07' 
  3616.       Subtract 
  3617.    X'08' 
  3618.       Source AND (inverse destination) 
  3619.    X'09' 
  3620.       All zeros 
  3621.    X'0A' 
  3622.       Inverse (source OR destination) 
  3623.    X'0B' 
  3624.       Inverse (source XOR destination) 
  3625.    X'0C' 
  3626.       Inverse destination 
  3627.    X'0D' 
  3628.       Source OR (inverse destination) 
  3629.    X'0E' 
  3630.       Inverse source 
  3631.    X'0F' 
  3632.       (Inverse source) OR destination 
  3633.    X'10' 
  3634.       Inverse (source AND destination) 
  3635.    X'11' 
  3636.       All ones. 
  3637.  
  3638.  
  3639. ΓòÉΓòÉΓòÉ <hidden> MODE ΓòÉΓòÉΓòÉ
  3640.  
  3641. MODE(GBIT8) 
  3642.    Mix-mode value. 
  3643.  
  3644.    X'00' 
  3645.       Drawing default 
  3646.    X'01' 
  3647.       OR 
  3648.    X'02' 
  3649.       Overpaint 
  3650.    X'03' 
  3651.       Reserved 
  3652.    X'04' 
  3653.       Exclusive-OR 
  3654.    X'05' 
  3655.       Leave Alone 
  3656.    X'06' 
  3657.       AND 
  3658.    X'07' 
  3659.       Subtract 
  3660.    X'08' 
  3661.       Source AND (inverse destination) 
  3662.    X'09' 
  3663.       All zeros 
  3664.    X'0A' 
  3665.       Inverse (source OR destination) 
  3666.    X'0B' 
  3667.       Inverse (source XOR destination) 
  3668.    X'0C' 
  3669.       Inverse destination 
  3670.    X'0D' 
  3671.       Source OR (inverse destination) 
  3672.    X'0E' 
  3673.       Inverse source 
  3674.    X'0F' 
  3675.       (Inverse source) OR destination 
  3676.    X'10' 
  3677.       Inverse (source AND destination) 
  3678.    X'11' 
  3679.       All ones. 
  3680.  
  3681.  
  3682. ΓòÉΓòÉΓòÉ 1.42. Set Character Angle / Push and Set Character Angle ΓòÉΓòÉΓòÉ
  3683.  
  3684.  
  3685. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Character Angle / Push and Set Character Angle ΓòÉΓòÉΓòÉ
  3686.  
  3687. Select an item: 
  3688.  
  3689. Call Syntax 
  3690. Parameters 
  3691. Notes 
  3692. Glossary 
  3693.  
  3694.  
  3695. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Character Angle / Push and Set Character Angle ΓòÉΓòÉΓòÉ
  3696.  
  3697. /*Set Character Angle / Push and Set Character Angle 
  3698.  
  3699. These orders set, or push and set, the value of the current character angle 
  3700. attribute. */ 
  3701.  
  3702. Set Character Angle (GSCA)
  3703. X'34' (LEN, AX, AY)
  3704.  
  3705. Push and Set Character Angle (GPSCA)
  3706. X'74' (LEN, AX, AY)
  3707.  
  3708.  
  3709.  
  3710.  
  3711.  
  3712.  
  3713.  
  3714. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Character Angle / Push and Set Character Angle ΓòÉΓòÉΓòÉ
  3715.  
  3716. The value of the current character angle attribute is pushed on to the Segment 
  3717. Call Stack by the Push and Set order only. Both orders then set the value of 
  3718. the current character angle to the value specified in the order. 
  3719.  
  3720.  
  3721. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Character Angle / Push and Set Character Angle ΓòÉΓòÉΓòÉ
  3722.  
  3723. LEN(GLENGTH1) 
  3724.    Length of following data. 
  3725.  
  3726. AX(GROSOL) 
  3727.    X coordinate of point. 
  3728.  
  3729.    This point defines the angle of the character string. 
  3730.  
  3731. AY(GROSOL) 
  3732.    Y coordinate of point. 
  3733.  
  3734.    This point defines the angle of the character string. 
  3735.  
  3736.  
  3737. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  3738.  
  3739. LEN(GLENGTH1) 
  3740.    Length of following data. 
  3741.  
  3742.  
  3743. ΓòÉΓòÉΓòÉ <hidden> AX ΓòÉΓòÉΓòÉ
  3744.  
  3745. AX(GROSOL) 
  3746.    X coordinate of point. 
  3747.  
  3748.    This point defines the angle of the character string. 
  3749.  
  3750.  
  3751. ΓòÉΓòÉΓòÉ <hidden> AY ΓòÉΓòÉΓòÉ
  3752.  
  3753. AY(GROSOL) 
  3754.    Y coordinate of point. 
  3755.  
  3756.    This point defines the angle of the character string. 
  3757.  
  3758.  
  3759. ΓòÉΓòÉΓòÉ 1.43. Set Character Break Extra / Push and Set Character Break Extra ΓòÉΓòÉΓòÉ
  3760.  
  3761.  
  3762. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Character Break Extra / Push and Set Character Break Extra ΓòÉΓòÉΓòÉ
  3763.  
  3764. Select an item: 
  3765.  
  3766. Call Syntax 
  3767. Parameters 
  3768. Notes 
  3769. Glossary 
  3770.  
  3771.  
  3772. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Character Break Extra / Push and Set Character Break Extra ΓòÉΓòÉΓòÉ
  3773.  
  3774. /*Set Character Break Extra / Push and Set Character Break Extra 
  3775.  
  3776. These orders set, or push and set, the value of the current character break 
  3777. extra attribute. */ 
  3778.  
  3779. Set Character Break Extra (GSCBE)
  3780. X'05' (LEN, FLAGS, RES2, INC)
  3781.  
  3782. Push and Set Character Break Extra (GPSCBE)
  3783. X'45' (LEN, FLAGS, RES2, INC)
  3784.  
  3785.  
  3786.  
  3787.  
  3788.  
  3789.  
  3790.  
  3791.  
  3792.  
  3793. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Character Break Extra / Push and Set Character Break Extra ΓòÉΓòÉΓòÉ
  3794.  
  3795. The value of the current character break extra attribute is pushed on to the 
  3796. Segment Call Stack by the Push and Set order only. Both orders then set the 
  3797. value of the current character break extra attribute to the value specified in 
  3798. the order. 
  3799.  
  3800.  
  3801. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Character Break Extra / Push and Set Character Break Extra ΓòÉΓòÉΓòÉ
  3802.  
  3803. LEN(GLENGTH1) 
  3804.    Length of following data. 
  3805.  
  3806. FLAGS 
  3807.    Values as follows: 
  3808.  
  3809.    DEFAULT (GBIT1) 
  3810.       Values as follows. 
  3811.  
  3812.       B'0' 
  3813.          Set to specified value. 
  3814.       B'1' 
  3815.          Set to drawing default. 
  3816.  
  3817.    RES1 (GBIT7) 
  3818.       Reserved. 
  3819.  
  3820.       B'0000000' 
  3821.          Only valid value. 
  3822.  
  3823. RES2(GUNDF1) 
  3824.    Reserved. 
  3825.  
  3826.    X'00' 
  3827.       Only valid value. 
  3828.  
  3829. INC(GROF) 
  3830.    Increment. 
  3831.  
  3832.  
  3833. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  3834.  
  3835. LEN(GLENGTH1) 
  3836.    Length of following data. 
  3837.  
  3838.  
  3839. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  3840.  
  3841. FLAGS 
  3842.    Values as follows: 
  3843.  
  3844.    DEFAULT (GBIT1) 
  3845.       Values as follows. 
  3846.  
  3847.       B'0' 
  3848.          Set to specified value. 
  3849.       B'1' 
  3850.          Set to drawing default. 
  3851.  
  3852.    RES1 (GBIT7) 
  3853.       Reserved. 
  3854.  
  3855.       B'0000000' 
  3856.          Only valid value. 
  3857.  
  3858.  
  3859. ΓòÉΓòÉΓòÉ <hidden> RES2 ΓòÉΓòÉΓòÉ
  3860.  
  3861. RES2(GUNDF1) 
  3862.    Reserved. 
  3863.  
  3864.    X'00' 
  3865.       Only valid value. 
  3866.  
  3867.  
  3868. ΓòÉΓòÉΓòÉ <hidden> INC ΓòÉΓòÉΓòÉ
  3869.  
  3870. INC(GROF) 
  3871.    Increment. 
  3872.  
  3873.  
  3874. ΓòÉΓòÉΓòÉ 1.44. Set Character Cell / Push and Set Character Cell ΓòÉΓòÉΓòÉ
  3875.  
  3876.  
  3877. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Character Cell / Push and Set Character Cell ΓòÉΓòÉΓòÉ
  3878.  
  3879. Select an item: 
  3880.  
  3881. Call Syntax 
  3882. Parameters 
  3883. Notes 
  3884. Glossary 
  3885.  
  3886.  
  3887. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Character Cell / Push and Set Character Cell ΓòÉΓòÉΓòÉ
  3888.  
  3889. /*Set Character Cell / Push and Set Character Cell 
  3890.  
  3891. These orders set, or push and set, the value of the current character cell-size 
  3892. attribute. */ 
  3893.  
  3894. Set Character Cell (GSCC)
  3895. X'33' (LEN, CELLX, CELLY, CELLXF, CELLYF, FLAGS, RES)
  3896.  
  3897. Push and Set Character Cell (GPSCC)
  3898. X'03' (LEN, CELLX, CELLY, CELLXF, CELLYF, FLAGS, RES)
  3899.  
  3900.  
  3901.  
  3902.  
  3903.  
  3904.  
  3905.  
  3906.  
  3907.  
  3908.  
  3909.  
  3910.  
  3911.  
  3912.  
  3913.  
  3914. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Character Cell / Push and Set Character Cell ΓòÉΓòÉΓòÉ
  3915.  
  3916. The value of the current character cell-size attribute is pushed on to the 
  3917. Segment Call Stack by the Push and Set order only. Both orders then set the 
  3918. value of the current character cell-size attribute to the value in the order. 
  3919.  
  3920.  
  3921. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Character Cell / Push and Set Character Cell ΓòÉΓòÉΓòÉ
  3922.  
  3923. LEN(GLENGTH1) 
  3924.    Length of following data. 
  3925.  
  3926. CELLX(GROSOL) 
  3927.    X part of character cell-size attribute. 
  3928.  
  3929. CELLY(GROSOL) 
  3930.    Y part of character cell-size attribute. 
  3931.  
  3932. CELLXF(GUSHORT) 
  3933.    Fractional X part of character cell-size attribute. 
  3934.  
  3935.    This parameter is optional. 
  3936.  
  3937. CELLYF(GUSHORT) 
  3938.    Fractional Y part of character cell-size attribute. 
  3939.  
  3940.    This parameter must be present if CELLXF parameter is present. 
  3941.  
  3942. FLAGS 
  3943.    Internal flags. 
  3944.  
  3945.    This parameter is optional. 
  3946.  
  3947.    NOTDEFLT (GBIT1) 
  3948.       Values. 
  3949.  
  3950.       0 
  3951.          A cell size of zero sets drawing default 
  3952.       1 
  3953.          A cell size of zero sets to zero. 
  3954.  
  3955.    RES (GBIT7) 
  3956.       Reserved. 
  3957.  
  3958.       0000000 
  3959.          Only valid value. 
  3960.  
  3961. RES(GBIT8) 
  3962.    Reserved value. 
  3963.  
  3964.    This parameter must be present if FLAGS parameter is present. 
  3965.  
  3966.    X'00' 
  3967.       Only valid value. 
  3968.  
  3969.  
  3970. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  3971.  
  3972. LEN(GLENGTH1) 
  3973.    Length of following data. 
  3974.  
  3975.  
  3976. ΓòÉΓòÉΓòÉ <hidden> CELLX ΓòÉΓòÉΓòÉ
  3977.  
  3978. CELLX(GROSOL) 
  3979.    X part of character cell-size attribute. 
  3980.  
  3981.  
  3982. ΓòÉΓòÉΓòÉ <hidden> CELLY ΓòÉΓòÉΓòÉ
  3983.  
  3984. CELLY(GROSOL) 
  3985.    Y part of character cell-size attribute. 
  3986.  
  3987.  
  3988. ΓòÉΓòÉΓòÉ <hidden> CELLXF ΓòÉΓòÉΓòÉ
  3989.  
  3990. CELLXF(GUSHORT) 
  3991.    Fractional X part of character cell-size attribute. 
  3992.  
  3993.    This parameter is optional. 
  3994.  
  3995.  
  3996. ΓòÉΓòÉΓòÉ <hidden> CELLYF ΓòÉΓòÉΓòÉ
  3997.  
  3998. CELLYF(GUSHORT) 
  3999.    Fractional Y part of character cell-size attribute. 
  4000.  
  4001.    This parameter must be present if CELLXF parameter is present. 
  4002.  
  4003.  
  4004. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  4005.  
  4006. FLAGS 
  4007.    Internal flags. 
  4008.  
  4009.    This parameter is optional. 
  4010.  
  4011.    NOTDEFLT (GBIT1) 
  4012.       Values. 
  4013.  
  4014.       0 
  4015.          A cell size of zero sets drawing default 
  4016.       1 
  4017.          A cell size of zero sets to zero. 
  4018.  
  4019.    RES (GBIT7) 
  4020.       Reserved. 
  4021.  
  4022.       0000000 
  4023.          Only valid value. 
  4024.  
  4025.  
  4026. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  4027.  
  4028. RES(GBIT8) 
  4029.    Reserved value. 
  4030.  
  4031.    This parameter must be present if FLAGS parameter is present. 
  4032.  
  4033.    X'00' 
  4034.       Only valid value. 
  4035.  
  4036.  
  4037. ΓòÉΓòÉΓòÉ 1.45. Set Character Direction / Push and Set Character Direction ΓòÉΓòÉΓòÉ
  4038.  
  4039.  
  4040. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Character Direction / Push and Set Character Direction ΓòÉΓòÉΓòÉ
  4041.  
  4042. Select an item: 
  4043.  
  4044. Call Syntax 
  4045. Parameters 
  4046. Notes 
  4047. Glossary 
  4048.  
  4049.  
  4050. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Character Direction / Push and Set Character Direction ΓòÉΓòÉΓòÉ
  4051.  
  4052. /*Set Character Direction / Push and Set Character Direction 
  4053.  
  4054. These orders set, or push and set, the value of the current character direction 
  4055. attribute. */ 
  4056.  
  4057. Set Character Direction (GSCD)
  4058. X'3A' (DIRECTION)
  4059.  
  4060. Push and Set Character Direction (GPSCD)
  4061. X'7A' (DIRECTION)
  4062.  
  4063.  
  4064.  
  4065. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Character Direction / Push and Set Character Direction ΓòÉΓòÉΓòÉ
  4066.  
  4067. The value of the current character direction attribute is pushed on to the 
  4068. Segment Call Stack by the Push and Set order only. Both orders then set the 
  4069. value of the current character direction attribute to the value in the order. 
  4070.  
  4071.  
  4072. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Character Direction / Push and Set Character Direction ΓòÉΓòÉΓòÉ
  4073.  
  4074. DIRECTION(GBIT8) 
  4075.    Value for character direction. 
  4076.  
  4077.    All other values are reserved. 
  4078.  
  4079.    X'00' 
  4080.       Drawing default 
  4081.    X'01' 
  4082.       Left to right 
  4083.    X'02' 
  4084.       Top to bottom 
  4085.    X'03' 
  4086.       Right to left 
  4087.    X'04' 
  4088.       Bottom to top. 
  4089.  
  4090.  
  4091. ΓòÉΓòÉΓòÉ <hidden> DIRECTION ΓòÉΓòÉΓòÉ
  4092.  
  4093. DIRECTION(GBIT8) 
  4094.    Value for character direction. 
  4095.  
  4096.    All other values are reserved. 
  4097.  
  4098.    X'00' 
  4099.       Drawing default 
  4100.    X'01' 
  4101.       Left to right 
  4102.    X'02' 
  4103.       Top to bottom 
  4104.    X'03' 
  4105.       Right to left 
  4106.    X'04' 
  4107.       Bottom to top. 
  4108.  
  4109.  
  4110. ΓòÉΓòÉΓòÉ 1.46. Set Character Extra / Push and Set Character Extra ΓòÉΓòÉΓòÉ
  4111.  
  4112.  
  4113. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Character Extra / Push and Set Character Extra ΓòÉΓòÉΓòÉ
  4114.  
  4115. Select an item: 
  4116.  
  4117. Call Syntax 
  4118. Parameters 
  4119. Notes 
  4120. Glossary 
  4121.  
  4122.  
  4123. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Character Extra / Push and Set Character Extra ΓòÉΓòÉΓòÉ
  4124.  
  4125. /*Set Character Extra / Push and Set Character Extra 
  4126.  
  4127. These orders set, or push and set, the value of the current character extra 
  4128. attribute. */ 
  4129.  
  4130. Set Character Extra (GSCE)
  4131. X'17' (LEN, FLAGS, RES2, INC)
  4132.  
  4133. Push and Set Character Extra (GPSCE)
  4134. X'57' (LEN, FLAGS, RES2, INC)
  4135.  
  4136.  
  4137.  
  4138.  
  4139.  
  4140.  
  4141.  
  4142.  
  4143.  
  4144. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Character Extra / Push and Set Character Extra ΓòÉΓòÉΓòÉ
  4145.  
  4146. The value of the current character extra attribute is pushed on to the Segment 
  4147. Call Stack by the Push and Set order only. Both orders set the value of the 
  4148. current character extra attribute to the value specified in the order. 
  4149.  
  4150.  
  4151. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Character Extra / Push and Set Character Extra ΓòÉΓòÉΓòÉ
  4152.  
  4153. LEN(GLENGTH1) 
  4154.    Length of following data. 
  4155.  
  4156. FLAGS 
  4157.    Values as follows: 
  4158.  
  4159.    DEFAULT (GBIT1) 
  4160.       Values as follows. 
  4161.  
  4162.       B'0' 
  4163.          Set to specified value. 
  4164.       B'1' 
  4165.          Set to drawing default. 
  4166.  
  4167.    RES1 (GBIT7) 
  4168.       Reserved. 
  4169.  
  4170.       B'0000000' 
  4171.          Only valid value. 
  4172.  
  4173. RES2(GUNDF1) 
  4174.    Reserved. 
  4175.  
  4176.    X'00' 
  4177.       Only valid value. 
  4178.  
  4179. INC(GROF) 
  4180.    Increment. 
  4181.  
  4182.  
  4183. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  4184.  
  4185. LEN(GLENGTH1) 
  4186.    Length of following data. 
  4187.  
  4188.  
  4189. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  4190.  
  4191. FLAGS 
  4192.    Values as follows: 
  4193.  
  4194.    DEFAULT (GBIT1) 
  4195.       Values as follows. 
  4196.  
  4197.       B'0' 
  4198.          Set to specified value. 
  4199.       B'1' 
  4200.          Set to drawing default. 
  4201.  
  4202.    RES1 (GBIT7) 
  4203.       Reserved. 
  4204.  
  4205.       B'0000000' 
  4206.          Only valid value. 
  4207.  
  4208.  
  4209. ΓòÉΓòÉΓòÉ <hidden> RES2 ΓòÉΓòÉΓòÉ
  4210.  
  4211. RES2(GUNDF1) 
  4212.    Reserved. 
  4213.  
  4214.    X'00' 
  4215.       Only valid value. 
  4216.  
  4217.  
  4218. ΓòÉΓòÉΓòÉ <hidden> INC ΓòÉΓòÉΓòÉ
  4219.  
  4220. INC(GROF) 
  4221.    Increment. 
  4222.  
  4223.  
  4224. ΓòÉΓòÉΓòÉ 1.47. Set Character Precision / Push and Set Character Precision ΓòÉΓòÉΓòÉ
  4225.  
  4226.  
  4227. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Character Precision / Push and Set Character Precision ΓòÉΓòÉΓòÉ
  4228.  
  4229. Select an item: 
  4230.  
  4231. Call Syntax 
  4232. Parameters 
  4233. Notes 
  4234. Glossary 
  4235.  
  4236.  
  4237. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Character Precision / Push and Set Character Precision ΓòÉΓòÉΓòÉ
  4238.  
  4239. /*Set Character Precision / Push and Set Character Precision 
  4240.  
  4241. These orders set, or push and set, the value of the current character precision 
  4242. attribute. */ 
  4243.  
  4244. Set Character Precision (GSCR)
  4245. X'39' (PREC)
  4246.  
  4247. Push and Set Character Precision (GPSCR)
  4248. X'79' (PREC)
  4249.  
  4250.  
  4251.  
  4252. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Character Precision / Push and Set Character Precision ΓòÉΓòÉΓòÉ
  4253.  
  4254. The value of the current character precision attribute is pushed on to the 
  4255. Segment Call Stack by the Push and Set order only. Both orders then set the 
  4256. value of the current character precision attribute to the value in the order. 
  4257.  
  4258.  
  4259. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Character Precision / Push and Set Character Precision ΓòÉΓòÉΓòÉ
  4260.  
  4261. PREC(GBIT8) 
  4262.    Value for character-precision attribute. 
  4263.  
  4264.    All other values are reserved. 
  4265.  
  4266.    X'00' 
  4267.       Drawing default 
  4268.    X'01' 
  4269.       String precision 
  4270.    X'02' 
  4271.       Character precision 
  4272.    X'03' 
  4273.       Stroke precision 
  4274.  
  4275.  
  4276. ΓòÉΓòÉΓòÉ <hidden> PREC ΓòÉΓòÉΓòÉ
  4277.  
  4278. PREC(GBIT8) 
  4279.    Value for character-precision attribute. 
  4280.  
  4281.    All other values are reserved. 
  4282.  
  4283.    X'00' 
  4284.       Drawing default 
  4285.    X'01' 
  4286.       String precision 
  4287.    X'02' 
  4288.       Character precision 
  4289.    X'03' 
  4290.       Stroke precision 
  4291.  
  4292.  
  4293. ΓòÉΓòÉΓòÉ 1.48. Set Character Set / Push and Set Character Set ΓòÉΓòÉΓòÉ
  4294.  
  4295.  
  4296. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Character Set / Push and Set Character Set ΓòÉΓòÉΓòÉ
  4297.  
  4298. Select an item: 
  4299.  
  4300. Call Syntax 
  4301. Parameters 
  4302. Notes 
  4303. Glossary 
  4304.  
  4305.  
  4306. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Character Set / Push and Set Character Set ΓòÉΓòÉΓòÉ
  4307.  
  4308. /*Set Character Set / Push and Set Character Set 
  4309.  
  4310. These orders set, or push and set, the value of the current character-set 
  4311. attribute. */ 
  4312.  
  4313. Set Character Set (GSCS)
  4314. X'38' (LCID)
  4315.  
  4316. Push and Set Character Set (GPSCS)
  4317. X'78' (LCID)
  4318.  
  4319.  
  4320.  
  4321. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Character Set / Push and Set Character Set ΓòÉΓòÉΓòÉ
  4322.  
  4323. The value of the current character-set attribute is pushed on to the Segment 
  4324. Call Stack by the Push and Set order only. Both orders then set the value of 
  4325. the current character-set attribute to the value in the order. 
  4326.  
  4327.  
  4328. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Character Set / Push and Set Character Set ΓòÉΓòÉΓòÉ
  4329.  
  4330. LCID(GUCHAR) 
  4331.    Local identifier (LCID) for the character set. 
  4332.  
  4333.    X'00' 
  4334.       Drawing default 
  4335.    X'01'-X'FE' 
  4336.       Lcid for the symbol set 
  4337.    X'FF' 
  4338.       Special character set. 
  4339.  
  4340.  
  4341. ΓòÉΓòÉΓòÉ <hidden> LCID ΓòÉΓòÉΓòÉ
  4342.  
  4343. LCID(GUCHAR) 
  4344.    Local identifier (LCID) for the character set. 
  4345.  
  4346.    X'00' 
  4347.       Drawing default 
  4348.    X'01'-X'FE' 
  4349.       Lcid for the symbol set 
  4350.    X'FF' 
  4351.       Special character set. 
  4352.  
  4353.  
  4354. ΓòÉΓòÉΓòÉ 1.49. Set Character Shear / Push and Set Character Shear ΓòÉΓòÉΓòÉ
  4355.  
  4356.  
  4357. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Character Shear / Push and Set Character Shear ΓòÉΓòÉΓòÉ
  4358.  
  4359. Select an item: 
  4360.  
  4361. Call Syntax 
  4362. Parameters 
  4363. Notes 
  4364. Glossary 
  4365.  
  4366.  
  4367. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Character Shear / Push and Set Character Shear ΓòÉΓòÉΓòÉ
  4368.  
  4369. /*Set Character Shear / Push and Set Character Shear 
  4370.  
  4371. These orders set, or push and set, the value of the current character shear 
  4372. attribute. */ 
  4373.  
  4374. Set Character Shear (GSCH)
  4375. X'35' (LEN, HX, HY)
  4376.  
  4377. Push and Set Character Shear (GPSCH)
  4378. X'75' (LEN, HX, HY)
  4379.  
  4380.  
  4381.  
  4382.  
  4383.  
  4384.  
  4385.  
  4386. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Character Shear / Push and Set Character Shear ΓòÉΓòÉΓòÉ
  4387.  
  4388. When HX and HY are both 0, the drawing default is set. The value of the current 
  4389. character shear attribute is pushed on to the Segment Call Stack by the Push 
  4390. and Set order only. Both orders then set the value of the current character 
  4391. shear attribute to the value in the order. 
  4392.  
  4393.  
  4394. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Character Shear / Push and Set Character Shear ΓòÉΓòÉΓòÉ
  4395.  
  4396. LEN(GLENGTH1) 
  4397.    Length of following data. 
  4398.  
  4399. HX(GROSOL) 
  4400.    Dividend of shear ratio. 
  4401.  
  4402. HY(GROSOL) 
  4403.    Divisor of shear ratio. 
  4404.  
  4405.  
  4406. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  4407.  
  4408. LEN(GLENGTH1) 
  4409.    Length of following data. 
  4410.  
  4411.  
  4412. ΓòÉΓòÉΓòÉ <hidden> HX ΓòÉΓòÉΓòÉ
  4413.  
  4414. HX(GROSOL) 
  4415.    Dividend of shear ratio. 
  4416.  
  4417.  
  4418. ΓòÉΓòÉΓòÉ <hidden> HY ΓòÉΓòÉΓòÉ
  4419.  
  4420. HY(GROSOL) 
  4421.    Divisor of shear ratio. 
  4422.  
  4423.  
  4424. ΓòÉΓòÉΓòÉ 1.50. Set Clip Path ΓòÉΓòÉΓòÉ
  4425.  
  4426.  
  4427. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Clip Path ΓòÉΓòÉΓòÉ
  4428.  
  4429. Select an item: 
  4430.  
  4431. Call Syntax 
  4432. Parameters 
  4433. Glossary 
  4434.  
  4435.  
  4436. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Clip Path ΓòÉΓòÉΓòÉ
  4437.  
  4438. /*Set Clip Path 
  4439.  
  4440. This order sets the current clip path. */ 
  4441.  
  4442. Set Clip Path (GSCPTH)
  4443. X'B4' (LEN, FLAGS, RES, PTHID)
  4444.  
  4445.  
  4446.  
  4447.  
  4448.  
  4449.  
  4450.  
  4451.  
  4452.  
  4453. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Clip Path ΓòÉΓòÉΓòÉ
  4454.  
  4455. LEN(GLENGTH1) 
  4456.    Length of following data. 
  4457.  
  4458. FLAGS 
  4459.    Extra functions: 
  4460.  
  4461.    RES (GBIT1) 
  4462.       Reserved. 
  4463.  
  4464.       0 
  4465.          Only valid value. 
  4466.  
  4467.    FILL (GBIT1) 
  4468.       Values. 
  4469.  
  4470.       0 
  4471.          Alternate mode 
  4472.       1 
  4473.          Winding mode. 
  4474.  
  4475.    INTER (GBIT1) 
  4476.       Values. 
  4477.  
  4478.       0 
  4479.          Set to specified path 
  4480.       1 
  4481.          Set to intersection of specified and current clip path. 
  4482.  
  4483.    RES2 (GBIT5) 
  4484.       Reserved. 
  4485.  
  4486.       B'00000' 
  4487.          Only valid value. 
  4488.  
  4489. RES(GBIT8) 
  4490.    Reserved. 
  4491.  
  4492.    X'00' 
  4493.       Only valid value. 
  4494.  
  4495. PTHID(GLONG) 
  4496.    Path identifier. 
  4497.  
  4498.    X'00000000' 
  4499.       No clipping. 
  4500.    X'00000001'-X'FFFFFFFF' 
  4501.       Path identifier. 
  4502.  
  4503.  
  4504. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  4505.  
  4506. LEN(GLENGTH1) 
  4507.    Length of following data. 
  4508.  
  4509.  
  4510. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  4511.  
  4512. FLAGS 
  4513.    Extra functions: 
  4514.  
  4515.    RES (GBIT1) 
  4516.       Reserved. 
  4517.  
  4518.       0 
  4519.          Only valid value. 
  4520.  
  4521.    FILL (GBIT1) 
  4522.       Values. 
  4523.  
  4524.       0 
  4525.          Alternate mode 
  4526.       1 
  4527.          Winding mode. 
  4528.  
  4529.    INTER (GBIT1) 
  4530.       Values. 
  4531.  
  4532.       0 
  4533.          Set to specified path 
  4534.       1 
  4535.          Set to intersection of specified and current clip path. 
  4536.  
  4537.    RES2 (GBIT5) 
  4538.       Reserved. 
  4539.  
  4540.       B'00000' 
  4541.          Only valid value. 
  4542.  
  4543.  
  4544. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  4545.  
  4546. RES(GBIT8) 
  4547.    Reserved. 
  4548.  
  4549.    X'00' 
  4550.       Only valid value. 
  4551.  
  4552.  
  4553. ΓòÉΓòÉΓòÉ <hidden> PTHID ΓòÉΓòÉΓòÉ
  4554.  
  4555. PTHID(GLONG) 
  4556.    Path identifier. 
  4557.  
  4558.    X'00000000' 
  4559.       No clipping. 
  4560.    X'00000001'-X'FFFFFFFF' 
  4561.       Path identifier. 
  4562.  
  4563.  
  4564. ΓòÉΓòÉΓòÉ 1.51. Set Color / Push and Set Color ΓòÉΓòÉΓòÉ
  4565.  
  4566.  
  4567. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Color / Push and Set Color ΓòÉΓòÉΓòÉ
  4568.  
  4569. Select an item: 
  4570.  
  4571. Call Syntax 
  4572. Parameters 
  4573. Notes 
  4574. Glossary 
  4575.  
  4576.  
  4577. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Color / Push and Set Color ΓòÉΓòÉΓòÉ
  4578.  
  4579. /*Set Color / Push and Set Color 
  4580.  
  4581. These orders set, or push and set, the value of the current color attribute. */ 
  4582.  
  4583. Set Color (GSCOL)
  4584. X'0A' (COL)
  4585.  
  4586. Push and Set Color (GPSCOL)
  4587. X'4A' (COL)
  4588.  
  4589.  
  4590.  
  4591. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Color / Push and Set Color ΓòÉΓòÉΓòÉ
  4592.  
  4593. The value of the current color attribute is pushed on to the Segment Call Stack 
  4594. by the Push and Set order only. Both orders then set the value of the current 
  4595. color attribute to the value in the order. 
  4596.  
  4597.  
  4598. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Color / Push and Set Color ΓòÉΓòÉΓòÉ
  4599.  
  4600. COL(GBIT8) 
  4601.    Value for color attribute. 
  4602.  
  4603.    X'00'-X'08' 
  4604.       These one-byte values are converted to two-byte values by preceding the 
  4605.       value with X'FF'.  The resultant is then treated as a two-byte value as 
  4606.       defined by the Set Extended Color / Push and Set Extended Color order. 
  4607.    Other 
  4608.       Reserved values. 
  4609.  
  4610.  
  4611. ΓòÉΓòÉΓòÉ <hidden> COL ΓòÉΓòÉΓòÉ
  4612.  
  4613. COL(GBIT8) 
  4614.    Value for color attribute. 
  4615.  
  4616.    X'00'-X'08' 
  4617.       These one-byte values are converted to two-byte values by preceding the 
  4618.       value with X'FF'.  The resultant is then treated as a two-byte value as 
  4619.       defined by the Set Extended Color / Push and Set Extended Color order. 
  4620.    Other 
  4621.       Reserved values. 
  4622.  
  4623.  
  4624. ΓòÉΓòÉΓòÉ 1.52. Set Current Position / Push and Set Current Position ΓòÉΓòÉΓòÉ
  4625.  
  4626.  
  4627. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Current Position / Push and Set Current Position ΓòÉΓòÉΓòÉ
  4628.  
  4629. Select an item: 
  4630.  
  4631. Call Syntax 
  4632. Parameters 
  4633. Notes 
  4634. Glossary 
  4635.  
  4636.  
  4637. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Current Position / Push and Set Current Position ΓòÉΓòÉΓòÉ
  4638.  
  4639. /*Set Current Position / Push and Set Current Position 
  4640.  
  4641. These orders set, or push and set, the value of the current position. */ 
  4642.  
  4643. Set Current Position (GSCP)
  4644. X'21' (LEN, P)
  4645.  
  4646. Push and Set Current Position (GPSCP)
  4647. X'61' (LEN, P)
  4648.  
  4649.  
  4650.  
  4651.  
  4652.  
  4653. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Current Position / Push and Set Current Position ΓòÉΓòÉΓòÉ
  4654.  
  4655. The value of the current position is pushed on to the Segment Call Stack by the 
  4656. Push and Set order only. Both orders then set the value of the current position 
  4657. to the value in the order. 
  4658.  
  4659.  
  4660. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Current Position / Push and Set Current Position ΓòÉΓòÉΓòÉ
  4661.  
  4662. LEN(GLENGTH1) 
  4663.    Length of following data. 
  4664.  
  4665. P(GPOINT) 
  4666.    Coordinate data. 
  4667.  
  4668.  
  4669. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  4670.  
  4671. LEN(GLENGTH1) 
  4672.    Length of following data. 
  4673.  
  4674.  
  4675. ΓòÉΓòÉΓòÉ <hidden> P ΓòÉΓòÉΓòÉ
  4676.  
  4677. P(GPOINT) 
  4678.    Coordinate data. 
  4679.  
  4680.  
  4681. ΓòÉΓòÉΓòÉ 1.53. Set Extended Color / Push and Set Extended Color ΓòÉΓòÉΓòÉ
  4682.  
  4683.  
  4684. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Extended Color / Push and Set Extended Color ΓòÉΓòÉΓòÉ
  4685.  
  4686. Select an item: 
  4687.  
  4688. Call Syntax 
  4689. Parameters 
  4690. Notes 
  4691. Glossary 
  4692.  
  4693.  
  4694. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Extended Color / Push and Set Extended Color ΓòÉΓòÉΓòÉ
  4695.  
  4696. /*Set Extended Color / Push and Set Extended Color 
  4697.  
  4698. These orders set, or push and set, the value of the current color attribute. */ 
  4699.  
  4700. Set Extended Color (GSECOL)
  4701. X'26' (LEN, COLOR)
  4702.  
  4703. Push and Set Extended Color (GPSECOL)
  4704. X'66' (LEN, COLOR)
  4705.  
  4706.  
  4707.  
  4708.  
  4709.  
  4710. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Extended Color / Push and Set Extended Color ΓòÉΓòÉΓòÉ
  4711.  
  4712. The value of the current extended color attribute is pushed on to the Segment 
  4713. Call Stack by the Push and Set order only. Both orders then set the value of 
  4714. the current extended color attribute to the value in the order. 
  4715.  
  4716.  
  4717. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Extended Color / Push and Set Extended Color ΓòÉΓòÉΓòÉ
  4718.  
  4719. LEN(GLENGTH1) 
  4720.    Length of following data. 
  4721.  
  4722.    X'02' 
  4723.       Only valid value. 
  4724.  
  4725. COLOR(GBIT16) 
  4726.    Color-table index. 
  4727.  
  4728.    Except for the special values, the values X'0000' through X'nnnn' are 
  4729.    allowed color indexes; that is, as many values as are allowed by the size of 
  4730.    the LCT. 
  4731.  
  4732.    Special Values 
  4733.  
  4734.    X'0000' 
  4735.       Drawing default 
  4736.    X'0007' 
  4737.       White 
  4738.    X'0008' 
  4739.       Black 
  4740.    X'FF00' 
  4741.       Drawing default 
  4742.    X'FF0x' 
  4743.       Color indexes X'000x', where x is in the range 1 through 7. 
  4744.    X'FF08' 
  4745.       Color index 0 (reset color). 
  4746.  
  4747.  
  4748. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  4749.  
  4750. LEN(GLENGTH1) 
  4751.    Length of following data. 
  4752.  
  4753.    X'02' 
  4754.       Only valid value. 
  4755.  
  4756.  
  4757. ΓòÉΓòÉΓòÉ <hidden> COLOR ΓòÉΓòÉΓòÉ
  4758.  
  4759. COLOR(GBIT16) 
  4760.    Color-table index. 
  4761.  
  4762.    Except for the special values, the values X'0000' through X'nnnn' are 
  4763.    allowed color indexes; that is, as many values as are allowed by the size of 
  4764.    the LCT. 
  4765.  
  4766.    Special Values 
  4767.  
  4768.    X'0000' 
  4769.       Drawing default 
  4770.    X'0007' 
  4771.       White 
  4772.    X'0008' 
  4773.       Black 
  4774.    X'FF00' 
  4775.       Drawing default 
  4776.    X'FF0x' 
  4777.       Color indexes X'000x', where x is in the range 1 through 7. 
  4778.    X'FF08' 
  4779.       Color index 0 (reset color). 
  4780.  
  4781.  
  4782. ΓòÉΓòÉΓòÉ 1.54. Set Fractional Line Width / Push and Set Fractional Line Width ΓòÉΓòÉΓòÉ
  4783.  
  4784.  
  4785. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Fractional Line Width / Push and Set Fractional Line Width ΓòÉΓòÉΓòÉ
  4786.  
  4787. Select an item: 
  4788.  
  4789. Call Syntax 
  4790. Parameters 
  4791. Notes 
  4792. Glossary 
  4793.  
  4794.  
  4795. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Fractional Line Width / Push and Set Fractional Line Width ΓòÉΓòÉΓòÉ
  4796.  
  4797. /*Set Fractional Line Width / Push and Set Fractional Line Width 
  4798.  
  4799. These orders set, or push and set, the value of the current line-width 
  4800. attribute. */ 
  4801.  
  4802. Set Fractional Line Width (GSFLW)
  4803. X'11' (LEN, LINE WIDTH)
  4804.  
  4805. Push and Set Fractional Line Width (GPSFLW)
  4806. X'51' (LEN, LINE WIDTH)
  4807.  
  4808.  
  4809.  
  4810.  
  4811.  
  4812. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Fractional Line Width / Push and Set Fractional Line Width ΓòÉΓòÉΓòÉ
  4813.  
  4814. The value of the current line-width attribute is pushed on to the Segment Call 
  4815. Stack by the Push and Set order only. Both orders then set the value of the 
  4816. current line-width attribute to the value in the order. 
  4817.  
  4818.  
  4819. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Fractional Line Width / Push and Set Fractional Line Width ΓòÉΓòÉΓòÉ
  4820.  
  4821. LEN(GLENGTH1) 
  4822.    Length of following data. 
  4823.  
  4824.    X'02' 
  4825.       Only valid value. 
  4826.  
  4827. LINE WIDTH(GROUFS) 
  4828.    Value for the line-width attribute. 
  4829.  
  4830.    The nonzero value is an integral and fractional multiplier of the normal 
  4831.    line width: 
  4832.  
  4833.    X'0000' 
  4834.       Drawing default 
  4835.    X'0001'-X'FFFF' 
  4836.       Multiplier of normal line width. 
  4837.  
  4838.  
  4839. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  4840.  
  4841. LEN(GLENGTH1) 
  4842.    Length of following data. 
  4843.  
  4844.    X'02' 
  4845.       Only valid value. 
  4846.  
  4847.  
  4848. ΓòÉΓòÉΓòÉ <hidden> LINE WIDTH ΓòÉΓòÉΓòÉ
  4849.  
  4850. LINE WIDTH(GROUFS) 
  4851.    Value for the line-width attribute. 
  4852.  
  4853.    The nonzero value is an integral and fractional multiplier of the normal 
  4854.    line width: 
  4855.  
  4856.    X'0000' 
  4857.       Drawing default 
  4858.    X'0001'-X'FFFF' 
  4859.       Multiplier of normal line width. 
  4860.  
  4861.  
  4862. ΓòÉΓòÉΓòÉ 1.55. Set Indexed Color / Push and Set Indexed Color ΓòÉΓòÉΓòÉ
  4863.  
  4864.  
  4865. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Indexed Color / Push and Set Indexed Color ΓòÉΓòÉΓòÉ
  4866.  
  4867. Select an item: 
  4868.  
  4869. Call Syntax 
  4870. Parameters 
  4871. Notes 
  4872. Glossary 
  4873.  
  4874.  
  4875. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Indexed Color / Push and Set Indexed Color ΓòÉΓòÉΓòÉ
  4876.  
  4877. /*Set Indexed Color / Push and Set Indexed Color 
  4878.  
  4879. These orders set, or push and set, the value of the current color attribute. */ 
  4880.  
  4881. Set Indexed Color (GSICOL)
  4882. X'A6' (LEN, FLAGS, INDEX)
  4883.  
  4884. Push and Set Indexed Color (GPSICOL)
  4885. X'E6' (LEN, FLAGS, INDEX)
  4886.  
  4887.  
  4888.  
  4889.  
  4890.  
  4891.  
  4892.  
  4893. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Indexed Color / Push and Set Indexed Color ΓòÉΓòÉΓòÉ
  4894.  
  4895. The value of the current color attribute is pushed on to the Segment Call Stack 
  4896. by the Push and Set order only. Both orders then set the value of the current 
  4897. color attribute to the value in the order. 
  4898.  
  4899.  
  4900. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Indexed Color / Push and Set Indexed Color ΓòÉΓòÉΓòÉ
  4901.  
  4902. LEN(GLENGTH1) 
  4903.    Length of following data. 
  4904.  
  4905.    X'04' 
  4906.       Only valid value. 
  4907.  
  4908. FLAGS 
  4909.    Values: 
  4910.  
  4911.    DEFAULT (GBIT1) 
  4912.       Options. 
  4913.  
  4914.       0 
  4915.          Use specified index 
  4916.       1 
  4917.          Use drawing default color. 
  4918.  
  4919.    SPEC (GBIT1) 
  4920.       Options. 
  4921.  
  4922.       0 
  4923.          Use index directly 
  4924.       1 
  4925.          Special value. 
  4926.  
  4927.    RES (GBIT6) 
  4928.       Reserved. 
  4929.  
  4930.       000000 
  4931.          Only valid value. 
  4932.  
  4933. INDEX(GINDEX3) 
  4934.    Value for color index. 
  4935.  
  4936.    The value is a direct index into the current color table or a special value. 
  4937.    The table can be the standard table, or one loaded by the user. 
  4938.  
  4939.    The special values are: 
  4940.  
  4941.    1 
  4942.       Black 
  4943.    2 
  4944.       White 
  4945.    4 
  4946.       All ones 
  4947.    5 
  4948.       All zeros. 
  4949.  
  4950.  
  4951. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  4952.  
  4953. LEN(GLENGTH1) 
  4954.    Length of following data. 
  4955.  
  4956.    X'04' 
  4957.       Only valid value. 
  4958.  
  4959.  
  4960. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  4961.  
  4962. FLAGS 
  4963.    Values: 
  4964.  
  4965.    DEFAULT (GBIT1) 
  4966.       Options. 
  4967.  
  4968.       0 
  4969.          Use specified index 
  4970.       1 
  4971.          Use drawing default color. 
  4972.  
  4973.    SPEC (GBIT1) 
  4974.       Options. 
  4975.  
  4976.       0 
  4977.          Use index directly 
  4978.       1 
  4979.          Special value. 
  4980.  
  4981.    RES (GBIT6) 
  4982.       Reserved. 
  4983.  
  4984.       000000 
  4985.          Only valid value. 
  4986.  
  4987.  
  4988. ΓòÉΓòÉΓòÉ <hidden> INDEX ΓòÉΓòÉΓòÉ
  4989.  
  4990. INDEX(GINDEX3) 
  4991.    Value for color index. 
  4992.  
  4993.    The value is a direct index into the current color table or a special value. 
  4994.    The table can be the standard table, or one loaded by the user. 
  4995.  
  4996.    The special values are: 
  4997.  
  4998.    1 
  4999.       Black 
  5000.    2 
  5001.       White 
  5002.    4 
  5003.       All ones 
  5004.    5 
  5005.       All zeros. 
  5006.  
  5007.  
  5008. ΓòÉΓòÉΓòÉ 1.56. Set Individual Attribute / Push and Set Individual Attribute ΓòÉΓòÉΓòÉ
  5009.  
  5010.  
  5011. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Individual Attribute / Push and Set Individual Attribute ΓòÉΓòÉΓòÉ
  5012.  
  5013. Select an item: 
  5014.  
  5015. Call Syntax 
  5016. Parameters 
  5017. Notes 
  5018. Glossary 
  5019.  
  5020.  
  5021. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Individual Attribute / Push and Set Individual Attribute ΓòÉΓòÉΓòÉ
  5022.  
  5023. /*Set Individual Attribute / Push and Set Individual Attribute 
  5024.  
  5025. These orders set, or push and set, the value of the color, background color, 
  5026. mix, or background mix attribute for the line character, marker, pattern, or 
  5027. image primitive type. */ 
  5028.  
  5029. Set Individual Attribute (GSIA)
  5030. X'14' (LEN, ATYPE, PTYPE, FLAG1, VAL)
  5031.  
  5032. Push and Set Individual Attribute (GPSIA)
  5033. X'54' (LEN, ATYPE, PTYPE, FLAG1, VAL)
  5034.  
  5035.  
  5036.  
  5037.  
  5038.  
  5039.  
  5040.  
  5041.  
  5042.  
  5043.  
  5044.  
  5045. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Individual Attribute / Push and Set Individual Attribute ΓòÉΓòÉΓòÉ
  5046.  
  5047. The value of the current attribute is pushed on to the Segment Call Stack by 
  5048. the Push and Set order only. Both orders then set the value of the individual 
  5049. attribute to the value in the order. 
  5050.  
  5051.  
  5052. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Individual Attribute / Push and Set Individual Attribute ΓòÉΓòÉΓòÉ
  5053.  
  5054. LEN(GLENGTH1) 
  5055.    Length of following data. 
  5056.  
  5057. ATYPE(GBIT8) 
  5058.    Attribute type. 
  5059.  
  5060.    X'1' 
  5061.       Color 
  5062.    X'2' 
  5063.       Background color 
  5064.    X'3' 
  5065.       Mix 
  5066.    X'4' 
  5067.       Background Mix 
  5068.    Other 
  5069.       All other values are reserved. 
  5070.  
  5071. PTYPE(GBIT8) 
  5072.    Primitive type. 
  5073.  
  5074.    X'1' 
  5075.       Line 
  5076.    X'2' 
  5077.       Character 
  5078.    X'3' 
  5079.       Marker 
  5080.    X'4' 
  5081.       Pattern 
  5082.    X'5' 
  5083.       Image 
  5084.    Other 
  5085.       All other values are reserved. 
  5086.  
  5087. FLAG1 
  5088.    Values: 
  5089.  
  5090.    DEFAULT (GBIT1) 
  5091.       Options. 
  5092.  
  5093.       0 
  5094.          Use specified value 
  5095.       1 
  5096.          Use drawing default color. 
  5097.  
  5098.    SPEC (GBIT1) 
  5099.       Options. 
  5100.  
  5101.       0 
  5102.          Use value directly 
  5103.       1 
  5104.          Special Value. 
  5105.  
  5106.    RES (GBIT6) 
  5107.       Reserved. 
  5108.  
  5109.       000000 
  5110.          Only valid value. 
  5111.  
  5112. VAL(GINDATT) 
  5113.    Color index value. 
  5114.  
  5115.    For colors, the value is a direct index into the current color table or a 
  5116.    special value. 
  5117.    The table can be the standard table, or one loaded by the user. 
  5118.  
  5119.    The special values are: 
  5120.  
  5121.    1 
  5122.       Black 
  5123.    2 
  5124.       White 
  5125.    4 
  5126.       All ones 
  5127.    5 
  5128.       All zeros. 
  5129.  
  5130.  
  5131. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  5132.  
  5133. LEN(GLENGTH1) 
  5134.    Length of following data. 
  5135.  
  5136.  
  5137. ΓòÉΓòÉΓòÉ <hidden> ATYPE ΓòÉΓòÉΓòÉ
  5138.  
  5139. ATYPE(GBIT8) 
  5140.    Attribute type. 
  5141.  
  5142.    X'1' 
  5143.       Color 
  5144.    X'2' 
  5145.       Background color 
  5146.    X'3' 
  5147.       Mix 
  5148.    X'4' 
  5149.       Background Mix 
  5150.    Other 
  5151.       All other values are reserved. 
  5152.  
  5153.  
  5154. ΓòÉΓòÉΓòÉ <hidden> PTYPE ΓòÉΓòÉΓòÉ
  5155.  
  5156. PTYPE(GBIT8) 
  5157.    Primitive type. 
  5158.  
  5159.    X'1' 
  5160.       Line 
  5161.    X'2' 
  5162.       Character 
  5163.    X'3' 
  5164.       Marker 
  5165.    X'4' 
  5166.       Pattern 
  5167.    X'5' 
  5168.       Image 
  5169.    Other 
  5170.       All other values are reserved. 
  5171.  
  5172.  
  5173. ΓòÉΓòÉΓòÉ <hidden> FLAG1 ΓòÉΓòÉΓòÉ
  5174.  
  5175. FLAG1 
  5176.    Values: 
  5177.  
  5178.    DEFAULT (GBIT1) 
  5179.       Options. 
  5180.  
  5181.       0 
  5182.          Use specified value 
  5183.       1 
  5184.          Use drawing default color. 
  5185.  
  5186.    SPEC (GBIT1) 
  5187.       Options. 
  5188.  
  5189.       0 
  5190.          Use value directly 
  5191.       1 
  5192.          Special Value. 
  5193.  
  5194.    RES (GBIT6) 
  5195.       Reserved. 
  5196.  
  5197.       000000 
  5198.          Only valid value. 
  5199.  
  5200.  
  5201. ΓòÉΓòÉΓòÉ <hidden> VAL ΓòÉΓòÉΓòÉ
  5202.  
  5203. VAL(GINDATT) 
  5204.    Color index value. 
  5205.  
  5206.    For colors, the value is a direct index into the current color table or a 
  5207.    special value. 
  5208.    The table can be the standard table, or one loaded by the user. 
  5209.  
  5210.    The special values are: 
  5211.  
  5212.    1 
  5213.       Black 
  5214.    2 
  5215.       White 
  5216.    4 
  5217.       All ones 
  5218.    5 
  5219.       All zeros. 
  5220.  
  5221.  
  5222. ΓòÉΓòÉΓòÉ 1.57. Set Line End / Push and Set Line End ΓòÉΓòÉΓòÉ
  5223.  
  5224.  
  5225. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Line End / Push and Set Line End ΓòÉΓòÉΓòÉ
  5226.  
  5227. Select an item: 
  5228.  
  5229. Call Syntax 
  5230. Parameters 
  5231. Notes 
  5232. Glossary 
  5233.  
  5234.  
  5235. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Line End / Push and Set Line End ΓòÉΓòÉΓòÉ
  5236.  
  5237. /*Set Line End / Push and Set Line End 
  5238.  
  5239. These orders set, or push and set, the value of the current line-end attribute. 
  5240. */ 
  5241.  
  5242. Set Line End (GSLE)
  5243. X'1A' (LINEEND)
  5244.  
  5245. Push and Set Line End (GPSLE)
  5246. X'5A' (LINEEND)
  5247.  
  5248.  
  5249.  
  5250. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Line End / Push and Set Line End ΓòÉΓòÉΓòÉ
  5251.  
  5252. The value of the current line-end attribute is pushed on to the Segment Call 
  5253. Stack by the Push and Set order only. Both orders then set the value of the 
  5254. current line-end attribute to the value in the order. 
  5255.  
  5256.  
  5257. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Line End / Push and Set Line End ΓòÉΓòÉΓòÉ
  5258.  
  5259. LINEEND(GBIT8) 
  5260.    Value for the line-end attribute. 
  5261.  
  5262.    X'00' 
  5263.       Drawing default 
  5264.    X'01' 
  5265.       Flat 
  5266.    X'02' 
  5267.       Square 
  5268.    X'03' 
  5269.       Round 
  5270.    Other 
  5271.       Reserved values. 
  5272.  
  5273.  
  5274. ΓòÉΓòÉΓòÉ <hidden> LINEEND ΓòÉΓòÉΓòÉ
  5275.  
  5276. LINEEND(GBIT8) 
  5277.    Value for the line-end attribute. 
  5278.  
  5279.    X'00' 
  5280.       Drawing default 
  5281.    X'01' 
  5282.       Flat 
  5283.    X'02' 
  5284.       Square 
  5285.    X'03' 
  5286.       Round 
  5287.    Other 
  5288.       Reserved values. 
  5289.  
  5290.  
  5291. ΓòÉΓòÉΓòÉ 1.58. Set Line Join / Push and Set Line Join ΓòÉΓòÉΓòÉ
  5292.  
  5293.  
  5294. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Line Join / Push and Set Line Join ΓòÉΓòÉΓòÉ
  5295.  
  5296. Select an item: 
  5297.  
  5298. Call Syntax 
  5299. Parameters 
  5300. Notes 
  5301. Glossary 
  5302.  
  5303.  
  5304. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Line Join / Push and Set Line Join ΓòÉΓòÉΓòÉ
  5305.  
  5306. /*Set Line Join / Push and Set Line Join 
  5307.  
  5308. These orders set the value of the current line-join attribute. */ 
  5309.  
  5310. Set Line Join (GSLJ)
  5311. X'1B' (LINEJOIN)
  5312.  
  5313. Push and Set Line Join (GPSLJ)
  5314. X'5B' (LINEJOIN)
  5315.  
  5316.  
  5317.  
  5318. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Line Join / Push and Set Line Join ΓòÉΓòÉΓòÉ
  5319.  
  5320. The value of the current line-join attribute is pushed on to the Segment Call 
  5321. stack by the Push and Set order only. Both orders then set the value of the 
  5322. current line-join attribute to the value in the order. 
  5323.  
  5324.  
  5325. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Line Join / Push and Set Line Join ΓòÉΓòÉΓòÉ
  5326.  
  5327. LINEJOIN(GBIT8) 
  5328.    Value for line-join attribute. 
  5329.  
  5330.    X'00' 
  5331.       Drawing default 
  5332.    X'01' 
  5333.       Bevel 
  5334.    X'02' 
  5335.       Round 
  5336.    X'03' 
  5337.       Miter 
  5338.    Other 
  5339.       Reserved values. 
  5340.  
  5341.  
  5342. ΓòÉΓòÉΓòÉ <hidden> LINEJOIN ΓòÉΓòÉΓòÉ
  5343.  
  5344. LINEJOIN(GBIT8) 
  5345.    Value for line-join attribute. 
  5346.  
  5347.    X'00' 
  5348.       Drawing default 
  5349.    X'01' 
  5350.       Bevel 
  5351.    X'02' 
  5352.       Round 
  5353.    X'03' 
  5354.       Miter 
  5355.    Other 
  5356.       Reserved values. 
  5357.  
  5358.  
  5359. ΓòÉΓòÉΓòÉ 1.59. Set Line Type / Push and Set Line Type ΓòÉΓòÉΓòÉ
  5360.  
  5361.  
  5362. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Line Type / Push and Set Line Type ΓòÉΓòÉΓòÉ
  5363.  
  5364. Select an item: 
  5365.  
  5366. Call Syntax 
  5367. Parameters 
  5368. Notes 
  5369. Glossary 
  5370.  
  5371.  
  5372. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Line Type / Push and Set Line Type ΓòÉΓòÉΓòÉ
  5373.  
  5374. /*Set Line Type / Push and Set Line Type 
  5375.  
  5376. These orders set, or push and set, the value of the current line-type 
  5377. attribute. */ 
  5378.  
  5379. Set Line Type (GSLT)
  5380. X'18' (LINETYPE)
  5381.  
  5382. Push and Set Line Type (GPSLT)
  5383. X'58' (LINETYPE)
  5384.  
  5385.  
  5386.  
  5387. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Line Type / Push and Set Line Type ΓòÉΓòÉΓòÉ
  5388.  
  5389. The value of the current line-type attribute is pushed on to the Segment Call 
  5390. Stack by the Push and Set order only. Both orders then set the value of the 
  5391. current line-type attribute to the value in the order. 
  5392.  
  5393.  
  5394. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Line Type / Push and Set Line Type ΓòÉΓòÉΓòÉ
  5395.  
  5396. LINETYPE(GBIT8) 
  5397.    Value for line-type attribute. 
  5398.  
  5399.    The value is an index into a notational line-type table: 
  5400.  
  5401.    X'00' 
  5402.       Drawing default 
  5403.    X'01' 
  5404.       Dotted line 
  5405.    X'02' 
  5406.       Short dashed line 
  5407.    X'03' 
  5408.       Dash-dot line 
  5409.    X'04' 
  5410.       Double dotted line 
  5411.    X'05' 
  5412.       Long dashed line 
  5413.    X'06' 
  5414.       Dash-double-dot line 
  5415.    X'07' 
  5416.       Solid line 
  5417.    X'08' 
  5418.       Invisible line 
  5419.    Other 
  5420.       Reserved values. 
  5421.  
  5422.  
  5423. ΓòÉΓòÉΓòÉ <hidden> LINETYPE ΓòÉΓòÉΓòÉ
  5424.  
  5425. LINETYPE(GBIT8) 
  5426.    Value for line-type attribute. 
  5427.  
  5428.    The value is an index into a notational line-type table: 
  5429.  
  5430.    X'00' 
  5431.       Drawing default 
  5432.    X'01' 
  5433.       Dotted line 
  5434.    X'02' 
  5435.       Short dashed line 
  5436.    X'03' 
  5437.       Dash-dot line 
  5438.    X'04' 
  5439.       Double dotted line 
  5440.    X'05' 
  5441.       Long dashed line 
  5442.    X'06' 
  5443.       Dash-double-dot line 
  5444.    X'07' 
  5445.       Solid line 
  5446.    X'08' 
  5447.       Invisible line 
  5448.    Other 
  5449.       Reserved values. 
  5450.  
  5451.  
  5452. ΓòÉΓòÉΓòÉ 1.60. Set Line Width / Push and Set Line Width ΓòÉΓòÉΓòÉ
  5453.  
  5454.  
  5455. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Line Width / Push and Set Line Width ΓòÉΓòÉΓòÉ
  5456.  
  5457. Select an item: 
  5458.  
  5459. Call Syntax 
  5460. Parameters 
  5461. Notes 
  5462. Glossary 
  5463.  
  5464.  
  5465. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Line Width / Push and Set Line Width ΓòÉΓòÉΓòÉ
  5466.  
  5467. /*Set Line Width / Push and Set Line Width 
  5468.  
  5469. These orders set, or push and set, the value of the current line-width 
  5470. attribute to the value specified in the order. */ 
  5471.  
  5472. Set Line Width (GSLW)
  5473. X'19' (LINEWIDTH)
  5474.  
  5475. Push and Set Line Width (GPSLW)
  5476. X'59' (LINEWIDTH)
  5477.  
  5478.  
  5479.  
  5480. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Line Width / Push and Set Line Width ΓòÉΓòÉΓòÉ
  5481.  
  5482. The value of the current line-width attribute is pushed on to the Segment Call 
  5483. stack by the Push and Set order only. Both orders then set the value of the 
  5484. current line-width attribute to the value in the order. 
  5485.  
  5486.  
  5487. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Line Width / Push and Set Line Width ΓòÉΓòÉΓòÉ
  5488.  
  5489. LINEWIDTH(GBIT8) 
  5490.    Value for line-width attribute. 
  5491.  
  5492.    X'00' 
  5493.       Drawing default 
  5494.    X'01'-X'FF' 
  5495.       Integral multiplier of normal line width. 
  5496.  
  5497.  
  5498. ΓòÉΓòÉΓòÉ <hidden> LINEWIDTH ΓòÉΓòÉΓòÉ
  5499.  
  5500. LINEWIDTH(GBIT8) 
  5501.    Value for line-width attribute. 
  5502.  
  5503.    X'00' 
  5504.       Drawing default 
  5505.    X'01'-X'FF' 
  5506.       Integral multiplier of normal line width. 
  5507.  
  5508.  
  5509. ΓòÉΓòÉΓòÉ 1.61. Set Marker Cell / Push and Set Marker Cell ΓòÉΓòÉΓòÉ
  5510.  
  5511.  
  5512. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Marker Cell / Push and Set Marker Cell ΓòÉΓòÉΓòÉ
  5513.  
  5514. Select an item: 
  5515.  
  5516. Call Syntax 
  5517. Parameters 
  5518. Notes 
  5519. Glossary 
  5520.  
  5521.  
  5522. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Marker Cell / Push and Set Marker Cell ΓòÉΓòÉΓòÉ
  5523.  
  5524. /*Set Marker Cell / Push and Set Marker Cell 
  5525.  
  5526. These orders set, or push and set, the value of the current marker cell-size 
  5527. attribute. */ 
  5528.  
  5529. Set Marker Cell (GSMC)
  5530. X'37' (LEN, CELLX, CELLY, FLAGS, RES)
  5531.  
  5532. Push and Set Marker Cell (GPSMC)
  5533. X'77' (LEN, CELLX, CELLY, FLAGS, RES)
  5534.  
  5535.  
  5536.  
  5537.  
  5538.  
  5539.  
  5540.  
  5541.  
  5542.  
  5543.  
  5544.  
  5545. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Marker Cell / Push and Set Marker Cell ΓòÉΓòÉΓòÉ
  5546.  
  5547. The value of the current marker cell-size attribute is pushed on to the Segment 
  5548. Call stack by the Push and Set order only. Both orders then set the value of 
  5549. the current marker cell-size attribute to the value in the order. 
  5550.  
  5551.  
  5552. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Marker Cell / Push and Set Marker Cell ΓòÉΓòÉΓòÉ
  5553.  
  5554. LEN(GLENGTH1) 
  5555.    Length of following data. 
  5556.  
  5557. CELLX(GROSOL) 
  5558.    X part of marker cell-size attribute. 
  5559.  
  5560. CELLY(GROSOL) 
  5561.    Y part of marker cell-size attribute. 
  5562.  
  5563. FLAGS 
  5564.    This is an optional extension. 
  5565.  
  5566.    Values: 
  5567.  
  5568.    NOTDEFLT (GBIT1) 
  5569.       Options. 
  5570.  
  5571.       0 
  5572.          A cell size of zero sets drawing default 
  5573.       1 
  5574.          A cell size of zero sets to zero. 
  5575.  
  5576.    RES (GBIT7) 
  5577.       Reserved. 
  5578.  
  5579.       0000000 
  5580.          Only valid value. 
  5581.  
  5582. RES(GBIT8) 
  5583.    Reserved. 
  5584.  
  5585.    X'00' 
  5586.       Only valid value. 
  5587.  
  5588.  
  5589. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  5590.  
  5591. LEN(GLENGTH1) 
  5592.    Length of following data. 
  5593.  
  5594.  
  5595. ΓòÉΓòÉΓòÉ <hidden> CELLX ΓòÉΓòÉΓòÉ
  5596.  
  5597. CELLX(GROSOL) 
  5598.    X part of marker cell-size attribute. 
  5599.  
  5600.  
  5601. ΓòÉΓòÉΓòÉ <hidden> CELLY ΓòÉΓòÉΓòÉ
  5602.  
  5603. CELLY(GROSOL) 
  5604.    Y part of marker cell-size attribute. 
  5605.  
  5606.  
  5607. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  5608.  
  5609. FLAGS 
  5610.    This is an optional extension. 
  5611.  
  5612.    Values: 
  5613.  
  5614.    NOTDEFLT (GBIT1) 
  5615.       Options. 
  5616.  
  5617.       0 
  5618.          A cell size of zero sets drawing default 
  5619.       1 
  5620.          A cell size of zero sets to zero. 
  5621.  
  5622.    RES (GBIT7) 
  5623.       Reserved. 
  5624.  
  5625.       0000000 
  5626.          Only valid value. 
  5627.  
  5628.  
  5629. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  5630.  
  5631. RES(GBIT8) 
  5632.    Reserved. 
  5633.  
  5634.    X'00' 
  5635.       Only valid value. 
  5636.  
  5637.  
  5638. ΓòÉΓòÉΓòÉ 1.62. Set Marker Precision / Push and Set Marker Precision ΓòÉΓòÉΓòÉ
  5639.  
  5640.  
  5641. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Marker Precision / Push and Set Marker Precision ΓòÉΓòÉΓòÉ
  5642.  
  5643. Select an item: 
  5644.  
  5645. Call Syntax 
  5646. Parameters 
  5647. Notes 
  5648. Glossary 
  5649.  
  5650.  
  5651. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Marker Precision / Push and Set Marker Precision ΓòÉΓòÉΓòÉ
  5652.  
  5653. /*Set Marker Precision / Push and Set Marker Precision 
  5654.  
  5655. These orders set, or push and set, the value of the current marker-precision 
  5656. attribute. */ 
  5657.  
  5658. Set Marker Precision (GSMP)
  5659. X'3B' (PREC)
  5660.  
  5661. Push and Set Marker Precision (GPSMP)
  5662. X'7B' (PREC)
  5663.  
  5664.  
  5665.  
  5666. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Marker Precision / Push and Set Marker Precision ΓòÉΓòÉΓòÉ
  5667.  
  5668. The value of the current marker-precision attribute is pushed on to the Segment 
  5669. Call stack by the Push and Set order only. Both orders then set the value of 
  5670. the current-marker precision attribute to the value in the order. 
  5671.  
  5672.  
  5673. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Marker Precision / Push and Set Marker Precision ΓòÉΓòÉΓòÉ
  5674.  
  5675. PREC(GBIT8) 
  5676.    Value for marker-precision attribute. 
  5677.  
  5678.    X'00' 
  5679.       Drawing default 
  5680.    X'01' 
  5681.       String precision 
  5682.    X'02' 
  5683.       Character precision 
  5684.    X'03' 
  5685.       Stroke precision 
  5686.    Other 
  5687.       Reserved values. 
  5688.  
  5689.  
  5690. ΓòÉΓòÉΓòÉ <hidden> PREC ΓòÉΓòÉΓòÉ
  5691.  
  5692. PREC(GBIT8) 
  5693.    Value for marker-precision attribute. 
  5694.  
  5695.    X'00' 
  5696.       Drawing default 
  5697.    X'01' 
  5698.       String precision 
  5699.    X'02' 
  5700.       Character precision 
  5701.    X'03' 
  5702.       Stroke precision 
  5703.    Other 
  5704.       Reserved values. 
  5705.  
  5706.  
  5707. ΓòÉΓòÉΓòÉ 1.63. Set Marker Set / Push and Set Marker Set ΓòÉΓòÉΓòÉ
  5708.  
  5709.  
  5710. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Marker Set / Push and Set Marker Set ΓòÉΓòÉΓòÉ
  5711.  
  5712. Select an item: 
  5713.  
  5714. Call Syntax 
  5715. Parameters 
  5716. Notes 
  5717. Glossary 
  5718.  
  5719.  
  5720. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Marker Set / Push and Set Marker Set ΓòÉΓòÉΓòÉ
  5721.  
  5722. /*Set Marker Set / Push and Set Marker Set 
  5723.  
  5724. These orders set, or push and set, the value of the current marker symbol-set 
  5725. attribute. */ 
  5726.  
  5727. Set Marker Set (GSMS)
  5728. X'3C' (LCID)
  5729.  
  5730. Push and Set Marker Set (GPSMS)
  5731. X'7C' (LCID)
  5732.  
  5733.  
  5734.  
  5735. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Marker Set / Push and Set Marker Set ΓòÉΓòÉΓòÉ
  5736.  
  5737. The value of the current marker symbol-set attribute is pushed on to the 
  5738. Segment Call stack by the Push and Set order only. Both orders then set the 
  5739. value of the current marker symbol-set attribute to the value in the order. 
  5740.  
  5741.  
  5742. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Marker Set / Push and Set Marker Set ΓòÉΓòÉΓòÉ
  5743.  
  5744. LCID(GUCHAR) 
  5745.    Local identifier (LCID) for the marker set. 
  5746.  
  5747.    X'00' 
  5748.       Drawing default 
  5749.    X'01'-X'FE' 
  5750.       LCID for the coded font 
  5751.    X'FF' 
  5752.       Special marker set. 
  5753.  
  5754.  
  5755. ΓòÉΓòÉΓòÉ <hidden> LCID ΓòÉΓòÉΓòÉ
  5756.  
  5757. LCID(GUCHAR) 
  5758.    Local identifier (LCID) for the marker set. 
  5759.  
  5760.    X'00' 
  5761.       Drawing default 
  5762.    X'01'-X'FE' 
  5763.       LCID for the coded font 
  5764.    X'FF' 
  5765.       Special marker set. 
  5766.  
  5767.  
  5768. ΓòÉΓòÉΓòÉ 1.64. Set Marker Symbol / Push and Set Marker Symbol ΓòÉΓòÉΓòÉ
  5769.  
  5770.  
  5771. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Marker Symbol / Push and Set Marker Symbol ΓòÉΓòÉΓòÉ
  5772.  
  5773. Select an item: 
  5774.  
  5775. Call Syntax 
  5776. Parameters 
  5777. Notes 
  5778. Glossary 
  5779.  
  5780.  
  5781. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Marker Symbol / Push and Set Marker Symbol ΓòÉΓòÉΓòÉ
  5782.  
  5783. /*Set Marker Symbol / Push and Set Marker Symbol 
  5784.  
  5785. These orders set, or push and set, the value of the current marker symbol 
  5786. attribute. */ 
  5787.  
  5788. Set Marker Symbol (GSMT)
  5789. X'29' (N)
  5790.  
  5791. Push and Set Marker Symbol (GPSMT)
  5792. X'69' (N)
  5793.  
  5794.  
  5795.  
  5796. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Marker Symbol / Push and Set Marker Symbol ΓòÉΓòÉΓòÉ
  5797.  
  5798. The value of the current marker symbol attribute is pushed on to the Segment 
  5799. Call Stack by the Push and Set order only. Both orders then set the value of 
  5800. the current marker symbol attribute to the value in the order. 
  5801.  
  5802.  
  5803. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Marker Symbol / Push and Set Marker Symbol ΓòÉΓòÉΓòÉ
  5804.  
  5805. N(GBIT8) 
  5806.    Value of marker symbol code point. 
  5807.  
  5808.    Special marker set 
  5809.  
  5810.    When this is selected (lcid = X'FF'), the values are: 
  5811.  
  5812.    X'00' 
  5813.       Drawing default 
  5814.    X'01' 
  5815.       Cross 
  5816.    X'02' 
  5817.       Plus 
  5818.    X'03' 
  5819.       Diamond 
  5820.    X'04' 
  5821.       Square 
  5822.    X'05' 
  5823.       6-point star 
  5824.    X'06' 
  5825.       8-point star 
  5826.    X'07' 
  5827.       Filled diamond 
  5828.    X'08' 
  5829.       Filled square 
  5830.    X'09' 
  5831.       Dot 
  5832.    X'0A' 
  5833.       Small circle 
  5834.    X'40' 
  5835.       Blank 
  5836.    Other 
  5837.       Reserved values. 
  5838.  
  5839.       Marker set 
  5840.  
  5841.       Values are as follows for any other set: 
  5842.    X'00' 
  5843.       Drawing default 
  5844.    X'01'-X'FF' 
  5845.       These are the code points into the current marker set. 
  5846.  
  5847.  
  5848. ΓòÉΓòÉΓòÉ <hidden> N ΓòÉΓòÉΓòÉ
  5849.  
  5850. N(GBIT8) 
  5851.    Value of marker symbol code point. 
  5852.  
  5853.    Special marker set 
  5854.  
  5855.    When this is selected (lcid = X'FF'), the values are: 
  5856.  
  5857.    X'00' 
  5858.       Drawing default 
  5859.    X'01' 
  5860.       Cross 
  5861.    X'02' 
  5862.       Plus 
  5863.    X'03' 
  5864.       Diamond 
  5865.    X'04' 
  5866.       Square 
  5867.    X'05' 
  5868.       6-point star 
  5869.    X'06' 
  5870.       8-point star 
  5871.    X'07' 
  5872.       Filled diamond 
  5873.    X'08' 
  5874.       Filled square 
  5875.    X'09' 
  5876.       Dot 
  5877.    X'0A' 
  5878.       Small circle 
  5879.    X'40' 
  5880.       Blank 
  5881.    Other 
  5882.       Reserved values. 
  5883.  
  5884.       Marker set 
  5885.  
  5886.       Values are as follows for any other set: 
  5887.    X'00' 
  5888.       Drawing default 
  5889.    X'01'-X'FF' 
  5890.       These are the code points into the current marker set. 
  5891.  
  5892.  
  5893. ΓòÉΓòÉΓòÉ 1.65. Set Mix / Push and Set Mix ΓòÉΓòÉΓòÉ
  5894.  
  5895.  
  5896. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Mix / Push and Set Mix ΓòÉΓòÉΓòÉ
  5897.  
  5898. Select an item: 
  5899.  
  5900. Call Syntax 
  5901. Parameters 
  5902. Notes 
  5903. Glossary 
  5904.  
  5905.  
  5906. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Mix / Push and Set Mix ΓòÉΓòÉΓòÉ
  5907.  
  5908. /*Set Mix / Push and Set Mix 
  5909.  
  5910. These orders set, or push and set, the value of the current mix attribute. */ 
  5911.  
  5912. Set Mix (GSMX)
  5913. X'0C' (MODE)
  5914.  
  5915. Push and Set Mix (GPSMX)
  5916. X'4C' (MODE)
  5917.  
  5918.  
  5919.  
  5920. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Mix / Push and Set Mix ΓòÉΓòÉΓòÉ
  5921.  
  5922. The value of the current mix attribute is pushed on to the Segment Call stack 
  5923. by the Push and Set order only. Both orders then set the value of the current 
  5924. mix attribute to the value in the order. 
  5925.  
  5926.  
  5927. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Mix / Push and Set Mix ΓòÉΓòÉΓòÉ
  5928.  
  5929. MODE(GBIT8) 
  5930.    Mix-mode value. 
  5931.  
  5932.    X'00' 
  5933.       Drawing default 
  5934.    X'01' 
  5935.       OR 
  5936.    X'02' 
  5937.       Overpaint 
  5938.    X'03' 
  5939.       Reserved 
  5940.    X'04' 
  5941.       Exclusive-OR 
  5942.    X'05' 
  5943.       Leave alone 
  5944.    X'06' 
  5945.       AND 
  5946.    X'07' 
  5947.       Subtract 
  5948.    X'08' 
  5949.       Source AND (inverse destination) 
  5950.    X'09' 
  5951.       All zeros 
  5952.    X'0A' 
  5953.       Inverse (source OR destination) 
  5954.    X'0B' 
  5955.       Inverse (source XOR destination) 
  5956.    X'0C' 
  5957.       Inverse destination 
  5958.    X'0D' 
  5959.       Source OR (inverse destination) 
  5960.    X'0E' 
  5961.       Inverse source 
  5962.    X'0F' 
  5963.       (Inverse source) OR destination 
  5964.    X'10' 
  5965.       Inverse (source AND destination) 
  5966.    X'11' 
  5967.       All ones. 
  5968.    Other 
  5969.       Reserved values. 
  5970.  
  5971.  
  5972. ΓòÉΓòÉΓòÉ <hidden> MODE ΓòÉΓòÉΓòÉ
  5973.  
  5974. MODE(GBIT8) 
  5975.    Mix-mode value. 
  5976.  
  5977.    X'00' 
  5978.       Drawing default 
  5979.    X'01' 
  5980.       OR 
  5981.    X'02' 
  5982.       Overpaint 
  5983.    X'03' 
  5984.       Reserved 
  5985.    X'04' 
  5986.       Exclusive-OR 
  5987.    X'05' 
  5988.       Leave alone 
  5989.    X'06' 
  5990.       AND 
  5991.    X'07' 
  5992.       Subtract 
  5993.    X'08' 
  5994.       Source AND (inverse destination) 
  5995.    X'09' 
  5996.       All zeros 
  5997.    X'0A' 
  5998.       Inverse (source OR destination) 
  5999.    X'0B' 
  6000.       Inverse (source XOR destination) 
  6001.    X'0C' 
  6002.       Inverse destination 
  6003.    X'0D' 
  6004.       Source OR (inverse destination) 
  6005.    X'0E' 
  6006.       Inverse source 
  6007.    X'0F' 
  6008.       (Inverse source) OR destination 
  6009.    X'10' 
  6010.       Inverse (source AND destination) 
  6011.    X'11' 
  6012.       All ones. 
  6013.    Other 
  6014.       Reserved values. 
  6015.  
  6016.  
  6017. ΓòÉΓòÉΓòÉ 1.66. Set Model Transform / Push and Set Model Transform ΓòÉΓòÉΓòÉ
  6018.  
  6019.  
  6020. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Model Transform / Push and Set Model Transform ΓòÉΓòÉΓòÉ
  6021.  
  6022. Select an item: 
  6023.  
  6024. Call Syntax 
  6025. Parameters 
  6026. Notes 
  6027. Glossary 
  6028.  
  6029.  
  6030. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Model Transform / Push and Set Model Transform ΓòÉΓòÉΓòÉ
  6031.  
  6032. /*Set Model Transform / Push and Set Model Transform 
  6033.  
  6034. These orders set, or push and set, values in the current model transform. */ 
  6035.  
  6036. Set Model Transform (GSTM)
  6037. X'24' (LEN, RES, FLAGS, MASK)
  6038.  
  6039. Push and Set Model Transform (GPSTM)
  6040. X'64' (LEN, RES, FLAGS, MASK)
  6041.  
  6042.  
  6043.  
  6044.  
  6045.  
  6046.  
  6047.  
  6048.  
  6049.  
  6050.  
  6051.  
  6052. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Model Transform / Push and Set Model Transform ΓòÉΓòÉΓòÉ
  6053.  
  6054. The value of the current model transform is pushed on to the Segment Call stack 
  6055. by the Push and Set order only. Both orders then set values in the current 
  6056. model transform as specified in the order. 
  6057.  
  6058.  
  6059. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Model Transform / Push and Set Model Transform ΓòÉΓòÉΓòÉ
  6060.  
  6061. LEN(GLENGTH1) 
  6062.    Length of following data. 
  6063.  
  6064. RES(GBIT8) 
  6065.    Reserved. 
  6066.  
  6067.    X'00' 
  6068.       Only valid value. 
  6069.  
  6070. FLAGS 
  6071.    Values: 
  6072.  
  6073.    RES (GBIT6) 
  6074.       Reserved. 
  6075.  
  6076.       B'000000' 
  6077.          Only valid value. 
  6078.  
  6079.    CM (GBIT2) 
  6080.       Matrix control bits. 
  6081.  
  6082.       B'00' 
  6083.          Unity matrix 
  6084.       B'01' 
  6085.          Concatenate after 
  6086.       B'10' 
  6087.          Concatenate before 
  6088.       B'11' 
  6089.          Overwrite. 
  6090.  
  6091. MASK(GBIT16) 
  6092.    Load mask. 
  6093.  
  6094. MX(GROSOL) 
  6095.    IN (0) Matrix values. 
  6096.  
  6097.  
  6098. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  6099.  
  6100. LEN(GLENGTH1) 
  6101.    Length of following data. 
  6102.  
  6103.  
  6104. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  6105.  
  6106. RES(GBIT8) 
  6107.    Reserved. 
  6108.  
  6109.    X'00' 
  6110.       Only valid value. 
  6111.  
  6112.  
  6113. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  6114.  
  6115. FLAGS 
  6116.    Values: 
  6117.  
  6118.    RES (GBIT6) 
  6119.       Reserved. 
  6120.  
  6121.       B'000000' 
  6122.          Only valid value. 
  6123.  
  6124.    CM (GBIT2) 
  6125.       Matrix control bits. 
  6126.  
  6127.       B'00' 
  6128.          Unity matrix 
  6129.       B'01' 
  6130.          Concatenate after 
  6131.       B'10' 
  6132.          Concatenate before 
  6133.       B'11' 
  6134.          Overwrite. 
  6135.  
  6136.  
  6137. ΓòÉΓòÉΓòÉ <hidden> MASK ΓòÉΓòÉΓòÉ
  6138.  
  6139. MASK(GBIT16) 
  6140.    Load mask. 
  6141.  
  6142.  
  6143. ΓòÉΓòÉΓòÉ <hidden> MX ΓòÉΓòÉΓòÉ
  6144.  
  6145. MX(GROSOL) 
  6146.    IN (0) Matrix values. 
  6147.  
  6148.  
  6149. ΓòÉΓòÉΓòÉ 1.67. Set Pattern Reference Point / Push and Set Pattern Reference Point ΓòÉΓòÉΓòÉ
  6150.  
  6151.  
  6152. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Pattern Reference Point / Push and Set Pattern Reference Point ΓòÉΓòÉΓòÉ
  6153.  
  6154. Select an item: 
  6155.  
  6156. Call Syntax 
  6157. Parameters 
  6158. Notes 
  6159. Glossary 
  6160.  
  6161.  
  6162. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Pattern Reference Point / Push and Set Pattern Reference Point ΓòÉΓòÉΓòÉ
  6163.  
  6164. /*Set Pattern Reference Point / Push and Set Pattern Reference Point 
  6165.  
  6166. These orders set, or push and set, the value of the current pattern 
  6167. reference-point attribute. */ 
  6168.  
  6169. Set Pattern Reference Point (GSPRP)
  6170. X'A0' (LEN, FLAGS, RES, PREF)
  6171.  
  6172. Push and Set Pattern Reference Point (GPSPRP)
  6173. X'E0' (LEN, FLAGS, RES, PREF)
  6174.  
  6175.  
  6176.  
  6177.  
  6178.  
  6179.  
  6180.  
  6181.  
  6182.  
  6183. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Pattern Reference Point / Push and Set Pattern Reference Point ΓòÉΓòÉΓòÉ
  6184.  
  6185. The value of the current pattern reference-point attribute is pushed on to the 
  6186. Segment Call stack by the Push and Set order only. Both orders then set the 
  6187. value of the current reference-point attribute to the value in the order. 
  6188.  
  6189.  
  6190. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Pattern Reference Point / Push and Set Pattern Reference Point ΓòÉΓòÉΓòÉ
  6191.  
  6192. LEN(GLENGTH1) 
  6193.    Length of following data. 
  6194.  
  6195. FLAGS 
  6196.    Values: 
  6197.  
  6198.    DEFAULT (GBIT1) 
  6199.       Options. 
  6200.  
  6201.       0 
  6202.          Set to specified value 
  6203.       1 
  6204.          Set to the drawing default. 
  6205.  
  6206.    RES (GBIT7) 
  6207.       Reserved 
  6208.  
  6209.       0000000 
  6210.          Only valid value. 
  6211.  
  6212. RES(GBIT8) 
  6213.    Reserved. 
  6214.  
  6215.    X'00' 
  6216.       Only valid value. 
  6217.  
  6218. PREF(GPOINT) 
  6219.    Coordinate data of the pattern-reference point. 
  6220.  
  6221.  
  6222. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  6223.  
  6224. LEN(GLENGTH1) 
  6225.    Length of following data. 
  6226.  
  6227.  
  6228. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  6229.  
  6230. FLAGS 
  6231.    Values: 
  6232.  
  6233.    DEFAULT (GBIT1) 
  6234.       Options. 
  6235.  
  6236.       0 
  6237.          Set to specified value 
  6238.       1 
  6239.          Set to the drawing default. 
  6240.  
  6241.    RES (GBIT7) 
  6242.       Reserved 
  6243.  
  6244.       0000000 
  6245.          Only valid value. 
  6246.  
  6247.  
  6248. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  6249.  
  6250. RES(GBIT8) 
  6251.    Reserved. 
  6252.  
  6253.    X'00' 
  6254.       Only valid value. 
  6255.  
  6256.  
  6257. ΓòÉΓòÉΓòÉ <hidden> PREF ΓòÉΓòÉΓòÉ
  6258.  
  6259. PREF(GPOINT) 
  6260.    Coordinate data of the pattern-reference point. 
  6261.  
  6262.  
  6263. ΓòÉΓòÉΓòÉ 1.68. Set Pattern Set / Push and Set Pattern Set ΓòÉΓòÉΓòÉ
  6264.  
  6265.  
  6266. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Pattern Set / Push and Set Pattern Set ΓòÉΓòÉΓòÉ
  6267.  
  6268. Select an item: 
  6269.  
  6270. Call Syntax 
  6271. Parameters 
  6272. Notes 
  6273. Glossary 
  6274.  
  6275.  
  6276. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Pattern Set / Push and Set Pattern Set ΓòÉΓòÉΓòÉ
  6277.  
  6278. /*Set Pattern Set / Push and Set Pattern Set 
  6279.  
  6280. These orders set, or push and set, the value of the current pattern symbol-set 
  6281. attribute. */ 
  6282.  
  6283. Set Pattern Set (GSPS)
  6284. X'08' (LCID)
  6285.  
  6286. Push and Set Pattern Set (GPSPS)
  6287. X'48' (LCID)
  6288.  
  6289.  
  6290.  
  6291. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Pattern Set / Push and Set Pattern Set ΓòÉΓòÉΓòÉ
  6292.  
  6293. The value of the current pattern symbol-set attribute is pushed on to the 
  6294. Segment Call stack by the Push and Set order only. Both orders then set the 
  6295. value of the current pattern symbol-set attribute to the value in the order. 
  6296.  
  6297.  
  6298. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Pattern Set / Push and Set Pattern Set ΓòÉΓòÉΓòÉ
  6299.  
  6300. LCID(GUCHAR) 
  6301.    Local identifier (LCID) for the pattern set. 
  6302.  
  6303.    X'00' 
  6304.       Drawing default 
  6305.    X'01'-X'FE' 
  6306.       LCID for the symbol set 
  6307.    X'FF' 
  6308.       Special pattern set. 
  6309.  
  6310.  
  6311. ΓòÉΓòÉΓòÉ <hidden> LCID ΓòÉΓòÉΓòÉ
  6312.  
  6313. LCID(GUCHAR) 
  6314.    Local identifier (LCID) for the pattern set. 
  6315.  
  6316.    X'00' 
  6317.       Drawing default 
  6318.    X'01'-X'FE' 
  6319.       LCID for the symbol set 
  6320.    X'FF' 
  6321.       Special pattern set. 
  6322.  
  6323.  
  6324. ΓòÉΓòÉΓòÉ 1.69. Set Pattern Symbol / Push and Set Pattern Symbol ΓòÉΓòÉΓòÉ
  6325.  
  6326.  
  6327. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Pattern Symbol / Push and Set Pattern Symbol ΓòÉΓòÉΓòÉ
  6328.  
  6329. Select an item: 
  6330.  
  6331. Call Syntax 
  6332. Parameters 
  6333. Notes 
  6334. Glossary 
  6335.  
  6336.  
  6337. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Pattern Symbol / Push and Set Pattern Symbol ΓòÉΓòÉΓòÉ
  6338.  
  6339. /*Set Pattern Symbol / Push and Set Pattern Symbol 
  6340.  
  6341. These orders set, or push and set, the value of the current pattern-symbol 
  6342. attribute. */ 
  6343.  
  6344. Set Pattern Symbol (GSPT)
  6345. X'28' (PATT)
  6346.  
  6347. Push and Set Pattern Symbol (GPSPT)
  6348. X'09' (PATT)
  6349.  
  6350.  
  6351.  
  6352. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Pattern Symbol / Push and Set Pattern Symbol ΓòÉΓòÉΓòÉ
  6353.  
  6354. The value of the current pattern-symbol attribute is pushed on to the Segment 
  6355. Call stack by the Push and Set order only. Both orders then set the value of 
  6356. the current pattern-symbol attribute to the value in the order. 
  6357.  
  6358.  
  6359. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Pattern Symbol / Push and Set Pattern Symbol ΓòÉΓòÉΓòÉ
  6360.  
  6361. PATT(GBIT8) 
  6362.    Value for pattern-symbol attribute. 
  6363.  
  6364.    Special pattern set 
  6365.  
  6366.    When this is selected (lcid = X'FF'), the values are: 
  6367.  
  6368.    X'00' 
  6369.       Drawing default 
  6370.    X'01'-X'08' 
  6371.       Density one through density eight (decreasing) 
  6372.    X'09' 
  6373.       Vertical lines 
  6374.    X'0A' 
  6375.       Horizontal lines 
  6376.    X'0B' 
  6377.       Diagonal lines 1 (bottom-left to top-right) 
  6378.    X'0C' 
  6379.       Diagonal lines 2 (bottom-left to top-right) 
  6380.    X'0D' 
  6381.       Diagonal lines 1 (top-left to bottom-right) 
  6382.    X'0E' 
  6383.       Diagonal lines 2 (top-left to bottom-right) 
  6384.    X'0F' 
  6385.       No shading 
  6386.    X'10' 
  6387.       Solid shading 
  6388.    X'40' 
  6389.       Blank. 
  6390.    Other 
  6391.       Reserved values. 
  6392.  
  6393.       Pattern set 
  6394.  
  6395.       Values are as follows for any other set: 
  6396.    X'00' 
  6397.       Drawing default 
  6398.    X'01'-X'FF' 
  6399.       These are the code points into the current pattern set. 
  6400.  
  6401.  
  6402. ΓòÉΓòÉΓòÉ <hidden> PATT ΓòÉΓòÉΓòÉ
  6403.  
  6404. PATT(GBIT8) 
  6405.    Value for pattern-symbol attribute. 
  6406.  
  6407.    Special pattern set 
  6408.  
  6409.    When this is selected (lcid = X'FF'), the values are: 
  6410.  
  6411.    X'00' 
  6412.       Drawing default 
  6413.    X'01'-X'08' 
  6414.       Density one through density eight (decreasing) 
  6415.    X'09' 
  6416.       Vertical lines 
  6417.    X'0A' 
  6418.       Horizontal lines 
  6419.    X'0B' 
  6420.       Diagonal lines 1 (bottom-left to top-right) 
  6421.    X'0C' 
  6422.       Diagonal lines 2 (bottom-left to top-right) 
  6423.    X'0D' 
  6424.       Diagonal lines 1 (top-left to bottom-right) 
  6425.    X'0E' 
  6426.       Diagonal lines 2 (top-left to bottom-right) 
  6427.    X'0F' 
  6428.       No shading 
  6429.    X'10' 
  6430.       Solid shading 
  6431.    X'40' 
  6432.       Blank. 
  6433.    Other 
  6434.       Reserved values. 
  6435.  
  6436.       Pattern set 
  6437.  
  6438.       Values are as follows for any other set: 
  6439.    X'00' 
  6440.       Drawing default 
  6441.    X'01'-X'FF' 
  6442.       These are the code points into the current pattern set. 
  6443.  
  6444.  
  6445. ΓòÉΓòÉΓòÉ 1.70. Set Pick Identifier / Push and Set Pick Identifier ΓòÉΓòÉΓòÉ
  6446.  
  6447.  
  6448. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Pick Identifier / Push and Set Pick Identifier ΓòÉΓòÉΓòÉ
  6449.  
  6450. Select an item: 
  6451.  
  6452. Call Syntax 
  6453. Parameters 
  6454. Notes 
  6455. Glossary 
  6456.  
  6457.  
  6458. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Pick Identifier / Push and Set Pick Identifier ΓòÉΓòÉΓòÉ
  6459.  
  6460. /*Set Pick Identifier / Push and Set Pick Identifier 
  6461.  
  6462. These orders set, or push and set, the value of the current pick identifier. */ 
  6463.  
  6464. Set Pick Identifier (GSPIK)
  6465. X'43' (LEN, PKID)
  6466.  
  6467. Push and Set Pick Identifier (GPSPIK)
  6468. X'23' (LEN, PKID)
  6469.  
  6470.  
  6471.  
  6472.  
  6473.  
  6474. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Pick Identifier / Push and Set Pick Identifier ΓòÉΓòÉΓòÉ
  6475.  
  6476. The value of the current pick identifier is pushed on to the Segment Call stack 
  6477. by the Push and Set order only. Both orders then set the value of the current 
  6478. pick identifier to the value in the order. 
  6479.  
  6480.  
  6481. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Pick Identifier / Push and Set Pick Identifier ΓòÉΓòÉΓòÉ
  6482.  
  6483. LEN(GLENGTH1) 
  6484.    Length of following data. 
  6485.  
  6486. PKID(GLONG) 
  6487.    Pick identifier. 
  6488.  
  6489.  
  6490. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  6491.  
  6492. LEN(GLENGTH1) 
  6493.    Length of following data. 
  6494.  
  6495.  
  6496. ΓòÉΓòÉΓòÉ <hidden> PKID ΓòÉΓòÉΓòÉ
  6497.  
  6498. PKID(GLONG) 
  6499.    Pick identifier. 
  6500.  
  6501.  
  6502. ΓòÉΓòÉΓòÉ 1.71. Set Segment Boundary ΓòÉΓòÉΓòÉ
  6503.  
  6504.  
  6505. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Segment Boundary ΓòÉΓòÉΓòÉ
  6506.  
  6507. Select an item: 
  6508.  
  6509. Call Syntax 
  6510. Parameters 
  6511. Notes 
  6512. Glossary 
  6513.  
  6514.  
  6515. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Segment Boundary ΓòÉΓòÉΓòÉ
  6516.  
  6517. /*Set Segment Boundary 
  6518.  
  6519. This order defines the maximum extent of the boundaries of the associated root 
  6520. segment.  It is valid only in a root segment prolog. */ 
  6521.  
  6522. Set Segment Boundary (GSSB)
  6523. X'32' (LEN, RES, MASK)
  6524.  
  6525.  
  6526.  
  6527.  
  6528.  
  6529.  
  6530.  
  6531.  
  6532.  
  6533. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Segment Boundary ΓòÉΓòÉΓòÉ
  6534.  
  6535. The order is only valid in a root-segment prolog. 
  6536.  
  6537.  
  6538. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Segment Boundary ΓòÉΓòÉΓòÉ
  6539.  
  6540. LEN(GLENGTH1) 
  6541.    Length of following data. 
  6542.  
  6543. RES(GBIT8) 
  6544.    Reserved. 
  6545.  
  6546.    X'00' 
  6547.       Only valid value. 
  6548.  
  6549. MASK 
  6550.    Values: 
  6551.  
  6552.    RES1 (GBIT2) 
  6553.       Reserved. 
  6554.  
  6555.       00 
  6556.          Only valid value. 
  6557.  
  6558.    XL (GBIT1) 
  6559.       X left limit. 
  6560.  
  6561.       0 
  6562.          Not included in list of BB values 
  6563.       1 
  6564.          Is included in list of BB values. 
  6565.  
  6566.    XR (GBIT1) 
  6567.       X right limit. 
  6568.  
  6569.       0 
  6570.          Not included in list of BB values 
  6571.       1 
  6572.          Is included in list of BB values. 
  6573.  
  6574.    YB (GBIT1) 
  6575.       Y bottom limit. 
  6576.  
  6577.       0 
  6578.          Not included in list of BB values 
  6579.       1 
  6580.          Is included in list of BB values. 
  6581.  
  6582.    YT (GBIT1) 
  6583.       Y top limit. 
  6584.  
  6585.       0 
  6586.          Not included in list of BB values 
  6587.       1 
  6588.          Is included in list of BB values. 
  6589.  
  6590.    RES2 (GBIT2) 
  6591.       Reserved. 
  6592.  
  6593.       00 
  6594.          Only valid value. 
  6595.  
  6596. BB(GROSOL) 
  6597.    IN (0) Boundary values. 
  6598.  
  6599.  
  6600. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  6601.  
  6602. LEN(GLENGTH1) 
  6603.    Length of following data. 
  6604.  
  6605.  
  6606. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  6607.  
  6608. RES(GBIT8) 
  6609.    Reserved. 
  6610.  
  6611.    X'00' 
  6612.       Only valid value. 
  6613.  
  6614.  
  6615. ΓòÉΓòÉΓòÉ <hidden> MASK ΓòÉΓòÉΓòÉ
  6616.  
  6617. MASK 
  6618.    Values: 
  6619.  
  6620.    RES1 (GBIT2) 
  6621.       Reserved. 
  6622.  
  6623.       00 
  6624.          Only valid value. 
  6625.  
  6626.    XL (GBIT1) 
  6627.       X left limit. 
  6628.  
  6629.       0 
  6630.          Not included in list of BB values 
  6631.       1 
  6632.          Is included in list of BB values. 
  6633.  
  6634.    XR (GBIT1) 
  6635.       X right limit. 
  6636.  
  6637.       0 
  6638.          Not included in list of BB values 
  6639.       1 
  6640.          Is included in list of BB values. 
  6641.  
  6642.    YB (GBIT1) 
  6643.       Y bottom limit. 
  6644.  
  6645.       0 
  6646.          Not included in list of BB values 
  6647.       1 
  6648.          Is included in list of BB values. 
  6649.  
  6650.    YT (GBIT1) 
  6651.       Y top limit. 
  6652.  
  6653.       0 
  6654.          Not included in list of BB values 
  6655.       1 
  6656.          Is included in list of BB values. 
  6657.  
  6658.    RES2 (GBIT2) 
  6659.       Reserved. 
  6660.  
  6661.       00 
  6662.          Only valid value. 
  6663.  
  6664.  
  6665. ΓòÉΓòÉΓòÉ <hidden> BB ΓòÉΓòÉΓòÉ
  6666.  
  6667. BB(GROSOL) 
  6668.    IN (0) Boundary values. 
  6669.  
  6670.  
  6671. ΓòÉΓòÉΓòÉ 1.72. Set Stroke Line Width / Push and Set Stroke Line Width ΓòÉΓòÉΓòÉ
  6672.  
  6673.  
  6674. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Stroke Line Width / Push and Set Stroke Line Width ΓòÉΓòÉΓòÉ
  6675.  
  6676. Select an item: 
  6677.  
  6678. Call Syntax 
  6679. Parameters 
  6680. Glossary 
  6681.  
  6682.  
  6683. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Stroke Line Width / Push and Set Stroke Line Width ΓòÉΓòÉΓòÉ
  6684.  
  6685. /*Set Stroke Line Width / Push and Set Stroke Line Width 
  6686.  
  6687. These orders set the current stroke line-width attribute. */ 
  6688.  
  6689. Set Stroke Line Width (GSSLW)
  6690. X'15' (LEN, FLAGS, RES, STRWIDTH)
  6691.  
  6692. Push and Set Stroke Line Width (GPSSLW)
  6693. X'55' (LEN, FLAGS, RES, STRWIDTH)
  6694.  
  6695.  
  6696.  
  6697.  
  6698.  
  6699.  
  6700.  
  6701.  
  6702.  
  6703. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Stroke Line Width / Push and Set Stroke Line Width ΓòÉΓòÉΓòÉ
  6704.  
  6705. LEN(GLENGTH1) 
  6706.    Length of following data. 
  6707.  
  6708. FLAGS 
  6709.  
  6710.    DEFLT (GBIT1) 
  6711.       Values. 
  6712.  
  6713.       0 
  6714.          Set to value 
  6715.       1 
  6716.          Set to drawing default. 
  6717.  
  6718.    RES (GBIT7) 
  6719.       Reserved. 
  6720.  
  6721.       B'0000000' 
  6722.          Only valid value. 
  6723.  
  6724. RES(GBIT8) 
  6725.    Reserved. 
  6726.  
  6727.    X'00' 
  6728.       Only valid value. 
  6729.  
  6730. STRWIDTH(GROSOL) 
  6731.    Value for stroke width. 
  6732.  
  6733.  
  6734. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  6735.  
  6736. LEN(GLENGTH1) 
  6737.    Length of following data. 
  6738.  
  6739.  
  6740. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  6741.  
  6742. FLAGS 
  6743.  
  6744.    DEFLT (GBIT1) 
  6745.       Values. 
  6746.  
  6747.       0 
  6748.          Set to value 
  6749.       1 
  6750.          Set to drawing default. 
  6751.  
  6752.    RES (GBIT7) 
  6753.       Reserved. 
  6754.  
  6755.       B'0000000' 
  6756.          Only valid value. 
  6757.  
  6758.  
  6759. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  6760.  
  6761. RES(GBIT8) 
  6762.    Reserved. 
  6763.  
  6764.    X'00' 
  6765.       Only valid value. 
  6766.  
  6767.  
  6768. ΓòÉΓòÉΓòÉ <hidden> STRWIDTH ΓòÉΓòÉΓòÉ
  6769.  
  6770. STRWIDTH(GROSOL) 
  6771.    Value for stroke width. 
  6772.  
  6773.  
  6774. ΓòÉΓòÉΓòÉ 1.73. Set Text Alignment / Push and Set Text Alignment ΓòÉΓòÉΓòÉ
  6775.  
  6776.  
  6777. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Text Alignment / Push and Set Text Alignment ΓòÉΓòÉΓòÉ
  6778.  
  6779. Select an item: 
  6780.  
  6781. Call Syntax 
  6782. Parameters 
  6783. Notes 
  6784. Glossary 
  6785.  
  6786.  
  6787. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Text Alignment / Push and Set Text Alignment ΓòÉΓòÉΓòÉ
  6788.  
  6789. /*Set Text Alignment / Push and Set Text Alignment 
  6790.  
  6791. These orders set, or push and set, the value of the current text alignment 
  6792. attribute. */ 
  6793.  
  6794. Set Text Alignment (GSCSA)
  6795. X'10' (LEN, HORIZ, VERT)
  6796.  
  6797. Push and Set Text Alignment (GPSCSA)
  6798. X'50' (LEN, HORIZ, VERT)
  6799.  
  6800.  
  6801.  
  6802.  
  6803.  
  6804.  
  6805.  
  6806. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Text Alignment / Push and Set Text Alignment ΓòÉΓòÉΓòÉ
  6807.  
  6808. The value of the current text alignment attribute is pushed on to the Segment 
  6809. Call stack by the Push and Set order only. Both orders set the value of the 
  6810. current text alignment attribute to the value specified in the order. 
  6811.  
  6812.  
  6813. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Text Alignment / Push and Set Text Alignment ΓòÉΓòÉΓòÉ
  6814.  
  6815. LEN(GLENGTH1) 
  6816.    Length of following data. 
  6817.  
  6818. HORIZ(GUCHAR) 
  6819.    Horizontal alignment as follows. 
  6820.  
  6821.    X'00' 
  6822.       Drawing default. 
  6823.    X'01' 
  6824.       Normal alignment. The alignment assumed depends on the current character 
  6825.       direction: 
  6826.  
  6827.       Left to right            Left alignment. 
  6828.       Top to bottom            Center alignment. 
  6829.       Right to left            Right alignment. 
  6830.       Bottom to top            Center alignment. 
  6831.    X'02' 
  6832.       Left alignment.  The string is aligned on the left edge of its leftmost 
  6833.       character. 
  6834.    X'03' 
  6835.       Center alignment.  The string is aligned on the arithmetic mean of left 
  6836.       and right. 
  6837.    X'04' 
  6838.       Right alignment.  The string is aligned on the right edge of its 
  6839.       rightmost character. 
  6840.    X'FF' 
  6841.       Standard alignment. The alignment assumed depends on the current 
  6842.       character direction: 
  6843.  
  6844.       Left to right            Left alignment. 
  6845.       Top to bottom            Left alignment. 
  6846.       Right to left            Right alignment. 
  6847.       Bottom to top            Left alignment. 
  6848.  
  6849. VERT(GUCHAR) 
  6850.    Vertical alignment as follows. 
  6851.  
  6852.    X'00' 
  6853.       Drawing default. 
  6854.    X'01' 
  6855.       Normal alignment. The alignment assumed depends on the current character 
  6856.       direction: 
  6857.  
  6858.       Left to right            Base alignment. 
  6859.       Top to bottom            Top alignment. 
  6860.       Right to left            Base alignment. 
  6861.       Bottom to top            Bottom alignment. 
  6862.    X'02' 
  6863.       Top Alignment.  The string is aligned on the top edge of its topmost 
  6864.       character. 
  6865.    X'03' 
  6866.       Reserved. 
  6867.    X'04' 
  6868.       Half alignment.  The string is aligned on the arithmetic mean of top and 
  6869.       bottom. 
  6870.    X'05' 
  6871.       Base alignment.  The string is aligned on the base of its bottom 
  6872.       character. 
  6873.    X'06' 
  6874.       Bottom Alignment.  The string is aligned on the bottom edge of its bottom 
  6875.       character. 
  6876.    X'FF' 
  6877.       Standard alignment. The alignment assumed depends on the current 
  6878.       character direction: 
  6879.  
  6880.       Left to right            Bottom alignment. 
  6881.       Top to bottom            Top alignment. 
  6882.       Right to left            Bottom alignment. 
  6883.       Bottom to top            Bottom alignment. 
  6884.  
  6885.  
  6886. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  6887.  
  6888. LEN(GLENGTH1) 
  6889.    Length of following data. 
  6890.  
  6891.  
  6892. ΓòÉΓòÉΓòÉ <hidden> HORIZ ΓòÉΓòÉΓòÉ
  6893.  
  6894. HORIZ(GUCHAR) 
  6895.    Horizontal alignment as follows. 
  6896.  
  6897.    X'00' 
  6898.       Drawing default. 
  6899.    X'01' 
  6900.       Normal alignment. The alignment assumed depends on the current character 
  6901.       direction: 
  6902.  
  6903.       Left to right            Left alignment. 
  6904.       Top to bottom            Center alignment. 
  6905.       Right to left            Right alignment. 
  6906.       Bottom to top            Center alignment. 
  6907.    X'02' 
  6908.       Left alignment.  The string is aligned on the left edge of its leftmost 
  6909.       character. 
  6910.    X'03' 
  6911.       Center alignment.  The string is aligned on the arithmetic mean of left 
  6912.       and right. 
  6913.    X'04' 
  6914.       Right alignment.  The string is aligned on the right edge of its 
  6915.       rightmost character. 
  6916.    X'FF' 
  6917.       Standard alignment. The alignment assumed depends on the current 
  6918.       character direction: 
  6919.  
  6920.       Left to right            Left alignment. 
  6921.       Top to bottom            Left alignment. 
  6922.       Right to left            Right alignment. 
  6923.       Bottom to top            Left alignment. 
  6924.  
  6925.  
  6926. ΓòÉΓòÉΓòÉ <hidden> VERT ΓòÉΓòÉΓòÉ
  6927.  
  6928. VERT(GUCHAR) 
  6929.    Vertical alignment as follows. 
  6930.  
  6931.    X'00' 
  6932.       Drawing default. 
  6933.    X'01' 
  6934.       Normal alignment. The alignment assumed depends on the current character 
  6935.       direction: 
  6936.  
  6937.       Left to right            Base alignment. 
  6938.       Top to bottom            Top alignment. 
  6939.       Right to left            Base alignment. 
  6940.       Bottom to top            Bottom alignment. 
  6941.    X'02' 
  6942.       Top Alignment.  The string is aligned on the top edge of its topmost 
  6943.       character. 
  6944.    X'03' 
  6945.       Reserved. 
  6946.    X'04' 
  6947.       Half alignment.  The string is aligned on the arithmetic mean of top and 
  6948.       bottom. 
  6949.    X'05' 
  6950.       Base alignment.  The string is aligned on the base of its bottom 
  6951.       character. 
  6952.    X'06' 
  6953.       Bottom Alignment.  The string is aligned on the bottom edge of its bottom 
  6954.       character. 
  6955.    X'FF' 
  6956.       Standard alignment. The alignment assumed depends on the current 
  6957.       character direction: 
  6958.  
  6959.       Left to right            Bottom alignment. 
  6960.       Top to bottom            Top alignment. 
  6961.       Right to left            Bottom alignment. 
  6962.       Bottom to top            Bottom alignment. 
  6963.  
  6964.  
  6965. ΓòÉΓòÉΓòÉ 1.74. Set Viewing Transform ΓòÉΓòÉΓòÉ
  6966.  
  6967.  
  6968. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Viewing Transform ΓòÉΓòÉΓòÉ
  6969.  
  6970. Select an item: 
  6971.  
  6972. Call Syntax 
  6973. Parameters 
  6974. Glossary 
  6975.  
  6976.  
  6977. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Viewing Transform ΓòÉΓòÉΓòÉ
  6978.  
  6979. /*Set Viewing Transform 
  6980.  
  6981. This order sets the current viewing transform. */ 
  6982.  
  6983. Set Viewing Transform (GSTV)
  6984. X'31' (LEN, RES, FLAGS, MASK)
  6985.  
  6986.  
  6987.  
  6988.  
  6989.  
  6990.  
  6991.  
  6992.  
  6993.  
  6994.  
  6995.  
  6996. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Viewing Transform ΓòÉΓòÉΓòÉ
  6997.  
  6998. LEN(GLENGTH1) 
  6999.    Length of following data. 
  7000.  
  7001. RES(GBIT8) 
  7002.    Reserved. 
  7003.  
  7004.    X'0' 
  7005.       Only valid value. 
  7006.  
  7007. FLAGS 
  7008.    Values: 
  7009.  
  7010.    RES1 (GBIT5) 
  7011.       Reserved. 
  7012.  
  7013.       00000 
  7014.          Only valid value. 
  7015.  
  7016.    CONTROL (GBIT1) 
  7017.       Values. 
  7018.  
  7019.       0 
  7020.          Concatenate before drawing default 
  7021.       1 
  7022.          Concatenate before the current viewing transform. 
  7023.  
  7024.    RES2 (GBIT2) 
  7025.       Reserved. 
  7026.  
  7027.       00 
  7028.          Only valid value. 
  7029.  
  7030. MASK(GBIT16) 
  7031.    Load mask. 
  7032.  
  7033. MX(GROSOL) 
  7034.    IN (0) Matrix values. 
  7035.  
  7036.  
  7037. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  7038.  
  7039. LEN(GLENGTH1) 
  7040.    Length of following data. 
  7041.  
  7042.  
  7043. ΓòÉΓòÉΓòÉ <hidden> RES ΓòÉΓòÉΓòÉ
  7044.  
  7045. RES(GBIT8) 
  7046.    Reserved. 
  7047.  
  7048.    X'0' 
  7049.       Only valid value. 
  7050.  
  7051.  
  7052. ΓòÉΓòÉΓòÉ <hidden> FLAGS ΓòÉΓòÉΓòÉ
  7053.  
  7054. FLAGS 
  7055.    Values: 
  7056.  
  7057.    RES1 (GBIT5) 
  7058.       Reserved. 
  7059.  
  7060.       00000 
  7061.          Only valid value. 
  7062.  
  7063.    CONTROL (GBIT1) 
  7064.       Values. 
  7065.  
  7066.       0 
  7067.          Concatenate before drawing default 
  7068.       1 
  7069.          Concatenate before the current viewing transform. 
  7070.  
  7071.    RES2 (GBIT2) 
  7072.       Reserved. 
  7073.  
  7074.       00 
  7075.          Only valid value. 
  7076.  
  7077.  
  7078. ΓòÉΓòÉΓòÉ <hidden> MASK ΓòÉΓòÉΓòÉ
  7079.  
  7080. MASK(GBIT16) 
  7081.    Load mask. 
  7082.  
  7083.  
  7084. ΓòÉΓòÉΓòÉ <hidden> MX ΓòÉΓòÉΓòÉ
  7085.  
  7086. MX(GROSOL) 
  7087.    IN (0) Matrix values. 
  7088.  
  7089.  
  7090. ΓòÉΓòÉΓòÉ 1.75. Set Viewing Window / Push and Set Viewing Window ΓòÉΓòÉΓòÉ
  7091.  
  7092.  
  7093. ΓòÉΓòÉΓòÉ <hidden> Topics - Set Viewing Window / Push and Set Viewing Window ΓòÉΓòÉΓòÉ
  7094.  
  7095. Select an item: 
  7096.  
  7097. Call Syntax 
  7098. Parameters 
  7099. Notes 
  7100. Glossary 
  7101.  
  7102.  
  7103. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Set Viewing Window / Push and Set Viewing Window ΓòÉΓòÉΓòÉ
  7104.  
  7105. /*Set Viewing Window / Push and Set Viewing Window 
  7106.  
  7107. These orders set, or push and set, the current viewing window. */ 
  7108.  
  7109. Set Viewing Window (GSVW)
  7110. X'27' (LEN, FLAG, MASK)
  7111.  
  7112. Push and Set Viewing Window (GPSVW)
  7113. X'67' (LEN, FLAG, MASK)
  7114.  
  7115.  
  7116.  
  7117.  
  7118.  
  7119.  
  7120.  
  7121.  
  7122.  
  7123. ΓòÉΓòÉΓòÉ <hidden> Notes - Set Viewing Window / Push and Set Viewing Window ΓòÉΓòÉΓòÉ
  7124.  
  7125. The value of the current viewing window is pushed on to the Segment Call stack 
  7126. by the Push and Set order only. Both orders then set the current viewing window 
  7127. using the values in the order. 
  7128.  
  7129.  
  7130. ΓòÉΓòÉΓòÉ <hidden> Parameters - Set Viewing Window / Push and Set Viewing Window ΓòÉΓòÉΓòÉ
  7131.  
  7132. LEN(GLENGTH1) 
  7133.    Length of following data. 
  7134.  
  7135. FLAG 
  7136.    Values: 
  7137.  
  7138.    REPLACE (GBIT1) 
  7139.       Values. 
  7140.  
  7141.       0 
  7142.          Intersect with current window 
  7143.       1 
  7144.          Replace current with new window. 
  7145.  
  7146.    RES (GBIT7) 
  7147.       Reserved. 
  7148.  
  7149.       0000000 
  7150.          Only valid value. 
  7151.  
  7152. MASK 
  7153.    Values: 
  7154.  
  7155.    RES1 (GBIT2) 
  7156.       Reserved. 
  7157.  
  7158.       00 
  7159.          Only valid value. 
  7160.  
  7161.    XL (GBIT1) 
  7162.       X left limit. 
  7163.  
  7164.       0 
  7165.          Not included in list of WW values 
  7166.       1 
  7167.          Is included in list of WW values 
  7168.  
  7169.    XR (GBIT1) 
  7170.       X right limit. 
  7171.  
  7172.       0 
  7173.          Not included in list of WW values 
  7174.       1 
  7175.          Is included in list of WW values 
  7176.  
  7177.    YB (GBIT1) 
  7178.       Y bottom limit. 
  7179.  
  7180.       0 
  7181.          Not included in list of WW values 
  7182.       1 
  7183.          Is included in list of WW values 
  7184.  
  7185.    YT (GBIT1) 
  7186.       Y top limit. 
  7187.  
  7188.       0 
  7189.          Not included in list of WW values 
  7190.       1 
  7191.          Is included in list of WW values 
  7192.  
  7193.    RES2 (GBIT2) 
  7194.       Reserved value. 
  7195.  
  7196.       00 
  7197.          Only valid value. 
  7198.  
  7199. WW(GROSOL) 
  7200.    IN (0) Window values. 
  7201.  
  7202.  
  7203. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  7204.  
  7205. LEN(GLENGTH1) 
  7206.    Length of following data. 
  7207.  
  7208.  
  7209. ΓòÉΓòÉΓòÉ <hidden> FLAG ΓòÉΓòÉΓòÉ
  7210.  
  7211. FLAG 
  7212.    Values: 
  7213.  
  7214.    REPLACE (GBIT1) 
  7215.       Values. 
  7216.  
  7217.       0 
  7218.          Intersect with current window 
  7219.       1 
  7220.          Replace current with new window. 
  7221.  
  7222.    RES (GBIT7) 
  7223.       Reserved. 
  7224.  
  7225.       0000000 
  7226.          Only valid value. 
  7227.  
  7228.  
  7229. ΓòÉΓòÉΓòÉ <hidden> MASK ΓòÉΓòÉΓòÉ
  7230.  
  7231. MASK 
  7232.    Values: 
  7233.  
  7234.    RES1 (GBIT2) 
  7235.       Reserved. 
  7236.  
  7237.       00 
  7238.          Only valid value. 
  7239.  
  7240.    XL (GBIT1) 
  7241.       X left limit. 
  7242.  
  7243.       0 
  7244.          Not included in list of WW values 
  7245.       1 
  7246.          Is included in list of WW values 
  7247.  
  7248.    XR (GBIT1) 
  7249.       X right limit. 
  7250.  
  7251.       0 
  7252.          Not included in list of WW values 
  7253.       1 
  7254.          Is included in list of WW values 
  7255.  
  7256.    YB (GBIT1) 
  7257.       Y bottom limit. 
  7258.  
  7259.       0 
  7260.          Not included in list of WW values 
  7261.       1 
  7262.          Is included in list of WW values 
  7263.  
  7264.    YT (GBIT1) 
  7265.       Y top limit. 
  7266.  
  7267.       0 
  7268.          Not included in list of WW values 
  7269.       1 
  7270.          Is included in list of WW values 
  7271.  
  7272.    RES2 (GBIT2) 
  7273.       Reserved value. 
  7274.  
  7275.       00 
  7276.          Only valid value. 
  7277.  
  7278.  
  7279. ΓòÉΓòÉΓòÉ <hidden> WW ΓòÉΓòÉΓòÉ
  7280.  
  7281. WW(GROSOL) 
  7282.    IN (0) Window values. 
  7283.  
  7284.  
  7285. ΓòÉΓòÉΓòÉ 1.76. Sharp Fillet ΓòÉΓòÉΓòÉ
  7286.  
  7287.  
  7288. ΓòÉΓòÉΓòÉ <hidden> Topics - Sharp Fillet ΓòÉΓòÉΓòÉ
  7289.  
  7290. Select an item: 
  7291.  
  7292. Call Syntax 
  7293. Parameters 
  7294. Notes 
  7295. Glossary 
  7296.  
  7297.  
  7298. ΓòÉΓòÉΓòÉ <hidden> Call Syntax  - Sharp Fillet ΓòÉΓòÉΓòÉ
  7299.  
  7300. /*Sharp Fillet at Given Position / Sharp Fillet at Current Position 
  7301.  
  7302. This order generates a curve that starts at a given position, and uses points 
  7303. P1 and P2, together with the sharpness specification S1. */ 
  7304.  
  7305. Sharp Fillet at Given Position (GSFLT)
  7306. X'E4' (LEN, P0, P1, P2, P3, P4, PN-1, PN, S1, S2, SN/2)
  7307.  
  7308. Sharp Fillet at Current Position (GCSFLT)
  7309. X'A4' (LEN, P1, P2, P3, P4, PN-1, PN, S1, S2, SN/2)
  7310.  
  7311.  
  7312.  
  7313.  
  7314.  
  7315.  
  7316.  
  7317.  
  7318.  
  7319.  
  7320.  
  7321.  
  7322.  
  7323.  
  7324.  
  7325.  
  7326.  
  7327.  
  7328.  
  7329.  
  7330.  
  7331.  
  7332.  
  7333. ΓòÉΓòÉΓòÉ <hidden> Notes - Sharp Fillet ΓòÉΓòÉΓòÉ
  7334.  
  7335. Further points are used in groups of two to form a polycurve. 
  7336.  
  7337.  
  7338. ΓòÉΓòÉΓòÉ <hidden> Parameters - Sharp Fillet ΓòÉΓòÉΓòÉ
  7339.  
  7340. LEN(GLENGTH1) 
  7341.    Length of following data. 
  7342.  
  7343. P0(GPOINT) 
  7344.    Coordinate data of first curve start. 
  7345.  
  7346.    This parameter is only present in a Sharp Fillet at Given Position order. 
  7347.  
  7348. P1(GPOINT) 
  7349.    Coordinate data of first curve control point. 
  7350.  
  7351. P2(GPOINT) 
  7352.    Coordinate data of first curve end. 
  7353.  
  7354. P3(GPOINT) 
  7355.    Coordinate data of second curve control point. 
  7356.  
  7357. P4(GPOINT) 
  7358.    Coordinate data of second curve end. 
  7359.  
  7360. PN-1(GPOINT) 
  7361.    Coordinate data of last curve control point. 
  7362.  
  7363. PN(GPOINT) 
  7364.    Coordinate data of last curve end. 
  7365.  
  7366. S1(GROF) 
  7367.    Sharpness specification of first curve. 
  7368.  
  7369. S2(GROF) 
  7370.    Sharpness specification of second curve. 
  7371.  
  7372. SN/2(GROF) 
  7373.    Sharpness specification of last curve. 
  7374.  
  7375.  
  7376. ΓòÉΓòÉΓòÉ <hidden> LEN ΓòÉΓòÉΓòÉ
  7377.  
  7378. LEN(GLENGTH1) 
  7379.    Length of following data. 
  7380.  
  7381.  
  7382. ΓòÉΓòÉΓòÉ <hidden> P0 ΓòÉΓòÉΓòÉ
  7383.  
  7384. P0(GPOINT) 
  7385.    Coordinate data of first curve start. 
  7386.  
  7387.    This parameter is only present in a Sharp Fillet at Given Position order. 
  7388.  
  7389.  
  7390. ΓòÉΓòÉΓòÉ <hidden> P1 ΓòÉΓòÉΓòÉ
  7391.  
  7392. P1(GPOINT) 
  7393.    Coordinate data of first curve control point. 
  7394.  
  7395.  
  7396. ΓòÉΓòÉΓòÉ <hidden> P2 ΓòÉΓòÉΓòÉ
  7397.  
  7398. P2(GPOINT) 
  7399.    Coordinate data of first curve end. 
  7400.  
  7401.  
  7402. ΓòÉΓòÉΓòÉ <hidden> P3 ΓòÉΓòÉΓòÉ
  7403.  
  7404. P3(GPOINT) 
  7405.    Coordinate data of second curve control point. 
  7406.  
  7407.  
  7408. ΓòÉΓòÉΓòÉ <hidden> P4 ΓòÉΓòÉΓòÉ
  7409.  
  7410. P4(GPOINT) 
  7411.    Coordinate data of second curve end. 
  7412.  
  7413.  
  7414. ΓòÉΓòÉΓòÉ <hidden> PN-1 ΓòÉΓòÉΓòÉ
  7415.  
  7416. PN-1(GPOINT) 
  7417.    Coordinate data of last curve control point. 
  7418.  
  7419.  
  7420. ΓòÉΓòÉΓòÉ <hidden> PN ΓòÉΓòÉΓòÉ
  7421.  
  7422. PN(GPOINT) 
  7423.    Coordinate data of last curve end. 
  7424.  
  7425.  
  7426. ΓòÉΓòÉΓòÉ <hidden> S1 ΓòÉΓòÉΓòÉ
  7427.  
  7428. S1(GROF) 
  7429.    Sharpness specification of first curve. 
  7430.  
  7431.  
  7432. ΓòÉΓòÉΓòÉ <hidden> S2 ΓòÉΓòÉΓòÉ
  7433.  
  7434. S2(GROF) 
  7435.    Sharpness specification of second curve. 
  7436.  
  7437.  
  7438. ΓòÉΓòÉΓòÉ <hidden> SN/2 ΓòÉΓòÉΓòÉ
  7439.  
  7440. SN/2(GROF) 
  7441.    Sharpness specification of last curve. 
  7442.  
  7443.  
  7444. ΓòÉΓòÉΓòÉ 2. Graphics Orders Data Types ΓòÉΓòÉΓòÉ
  7445.  
  7446. All data types are in Intel** format, unless noted otherwise. 
  7447.  
  7448.  
  7449. ΓòÉΓòÉΓòÉ 2.1. GBIT1 ΓòÉΓòÉΓòÉ
  7450.  
  7451. GBIT1 1-bit field. 
  7452.  
  7453.  
  7454. ΓòÉΓòÉΓòÉ 2.2. GBIT2 ΓòÉΓòÉΓòÉ
  7455.  
  7456. GBIT2 2-bit field. 
  7457.  
  7458.  
  7459. ΓòÉΓòÉΓòÉ 2.3. GBIT4 ΓòÉΓòÉΓòÉ
  7460.  
  7461. GBIT4 4-bit field. 
  7462.  
  7463.  
  7464. ΓòÉΓòÉΓòÉ 2.4. GBIT5 ΓòÉΓòÉΓòÉ
  7465.  
  7466. GBIT5 5-bit field. 
  7467.  
  7468.  
  7469. ΓòÉΓòÉΓòÉ 2.5. GBIT6 ΓòÉΓòÉΓòÉ
  7470.  
  7471. GBIT6 6-bit field. 
  7472.  
  7473.  
  7474. ΓòÉΓòÉΓòÉ 2.6. GBIT7 ΓòÉΓòÉΓòÉ
  7475.  
  7476. GBIT7 7-bit field. 
  7477.  
  7478.  
  7479. ΓòÉΓòÉΓòÉ 2.7. GBIT8 ΓòÉΓòÉΓòÉ
  7480.  
  7481. GBIT8 8-bit field. 
  7482.  
  7483.  
  7484. ΓòÉΓòÉΓòÉ 2.8. GBIT16 ΓòÉΓòÉΓòÉ
  7485.  
  7486. GBIT16 16-bit field. 
  7487.  
  7488.  
  7489. ΓòÉΓòÉΓòÉ 2.9. GBIT32 ΓòÉΓòÉΓòÉ
  7490.  
  7491. GBIT32 32-bit field. 
  7492.  
  7493.  
  7494. ΓòÉΓòÉΓòÉ 2.10. GCHAR ΓòÉΓòÉΓòÉ
  7495.  
  7496. GCHAR Signed 1-byte integer value. 
  7497.  
  7498.  
  7499. ΓòÉΓòÉΓòÉ 2.11. GDELPOINT ΓòÉΓòÉΓòÉ
  7500.  
  7501. GDELPOINT Offset point structure. 
  7502.  
  7503. GCHAR   dx   /* x coordinate offset. */
  7504. GCHAR   dy   /* y coordinate offset. */
  7505.  
  7506.  
  7507. ΓòÉΓòÉΓòÉ <hidden> dx ΓòÉΓòÉΓòÉ
  7508.  
  7509. dx (GCHAR) 
  7510.    x coordinate offset. 
  7511.  
  7512.  
  7513. ΓòÉΓòÉΓòÉ <hidden> dy ΓòÉΓòÉΓòÉ
  7514.  
  7515. dy (GCHAR) 
  7516.    y coordinate offset. 
  7517.  
  7518.  
  7519. ΓòÉΓòÉΓòÉ 2.12. GFIXED ΓòÉΓòÉΓòÉ
  7520.  
  7521. GFIXED Signed integer fraction (16:16). (This can be treated as a GLONG where 
  7522. the value has been multiplied by 65536.) 
  7523.  
  7524.  
  7525. ΓòÉΓòÉΓòÉ 2.13. GFIXEDS ΓòÉΓòÉΓòÉ
  7526.  
  7527. GFIXEDS Signed integer fraction (8:8), which can be treated as a GSHORT data 
  7528. type, where the value has been multiplied by 256. 
  7529.  
  7530. GCHAR   Integer   /* Integral component. */
  7531. GUCHAR   Fraction   /* Fractional component. */
  7532.  
  7533.  
  7534. ΓòÉΓòÉΓòÉ <hidden> Integer ΓòÉΓòÉΓòÉ
  7535.  
  7536. Integer (GCHAR) 
  7537.    Integral component. 
  7538.  
  7539.  
  7540. ΓòÉΓòÉΓòÉ <hidden> Fraction ΓòÉΓòÉΓòÉ
  7541.  
  7542. Fraction (GUCHAR) 
  7543.    Fractional component. 
  7544.  
  7545.  
  7546. ΓòÉΓòÉΓòÉ 2.14. GHBITMAP ΓòÉΓòÉΓòÉ
  7547.  
  7548. GHBITMAP Bit-map handle, which is the same as GULONG. 
  7549.  
  7550.  
  7551. ΓòÉΓòÉΓòÉ 2.15. GINDATT ΓòÉΓòÉΓòÉ
  7552.  
  7553. GINDATT Individual attribute value.  For the attribute types color and 
  7554. background color, this is the same as GINDEX3. For the attribute types mix and 
  7555. background color, this is the same as GUCHAR. 
  7556.  
  7557.  
  7558. ΓòÉΓòÉΓòÉ 2.16. GINDEX3 ΓòÉΓòÉΓòÉ
  7559.  
  7560. GINDEX3 Unsigned 3-byte integer value. 
  7561.  
  7562.  
  7563. ΓòÉΓòÉΓòÉ 2.17. GLENGTH1 ΓòÉΓòÉΓòÉ
  7564.  
  7565. GLENGTH1 1-byte length. 
  7566.  
  7567.  
  7568. ΓòÉΓòÉΓòÉ 2.18. GLENGTH2 ΓòÉΓòÉΓòÉ
  7569.  
  7570. GLENGTH2 2-byte length, in S/370 format; that is, the high-order byte precedes 
  7571. the low-order byte in storage. 
  7572.  
  7573.  
  7574. ΓòÉΓòÉΓòÉ 2.19. GLONG ΓòÉΓòÉΓòÉ
  7575.  
  7576. GLONG Signed 4-byte integer value. 
  7577.  
  7578.  
  7579. ΓòÉΓòÉΓòÉ 2.20. GPOINT ΓòÉΓòÉΓòÉ
  7580.  
  7581. GPOINT Point structure. 
  7582.  
  7583. GROSOL   x   /* x coordinate. */
  7584. GROSOL   y   /* y coordinate. */
  7585.  
  7586.  
  7587. ΓòÉΓòÉΓòÉ <hidden> x ΓòÉΓòÉΓòÉ
  7588.  
  7589. x (GROSOL) 
  7590.    x coordinate. 
  7591.  
  7592.  
  7593. ΓòÉΓòÉΓòÉ <hidden> y ΓòÉΓòÉΓòÉ
  7594.  
  7595. y (GROSOL) 
  7596.    y coordinate. 
  7597.  
  7598.  
  7599. ΓòÉΓòÉΓòÉ 2.21. GPOINTB ΓòÉΓòÉΓòÉ
  7600.  
  7601. GPOINTB Point in bit-map structure. 
  7602.  
  7603. GLONG   x   /* x coordinate. */
  7604. GLONG   y   /* y coordinate. */
  7605.  
  7606.  
  7607. ΓòÉΓòÉΓòÉ <hidden> x ΓòÉΓòÉΓòÉ
  7608.  
  7609. x (GLONG) 
  7610.    x coordinate. 
  7611.  
  7612.  
  7613. ΓòÉΓòÉΓòÉ <hidden> y ΓòÉΓòÉΓòÉ
  7614.  
  7615. y (GLONG) 
  7616.    y coordinate. 
  7617.  
  7618.  
  7619. ΓòÉΓòÉΓòÉ 2.22. GPOLYS ΓòÉΓòÉΓòÉ
  7620.  
  7621. GPOLYS Array of Polygons. Each element of the array is a 16 bit count of the 
  7622. number of vertices, followed by the vertex coordinates. 
  7623.  
  7624.  
  7625. ΓòÉΓòÉΓòÉ 2.23. GREAL ΓòÉΓòÉΓòÉ
  7626.  
  7627. GREAL Real (single precision floating point). 
  7628.  
  7629. This data type is in Intel format. 
  7630.  
  7631.  
  7632. ΓòÉΓòÉΓòÉ 2.24. GROF ΓòÉΓòÉΓòÉ
  7633.  
  7634. GROF Number representation which is the same as the GFIXED data type. 
  7635.  
  7636.  
  7637. ΓòÉΓòÉΓòÉ 2.25. GROFUFS ΓòÉΓòÉΓòÉ
  7638.  
  7639. GROFUFS Number representation which is either GFIXED, GUFIXEDS or GREAL data 
  7640. type, depending on the presentation-space format. 
  7641.  
  7642.  
  7643. ΓòÉΓòÉΓòÉ 2.26. GROL ΓòÉΓòÉΓòÉ
  7644.  
  7645. GROL Number representation, which is the same as the GLONG data type. 
  7646.  
  7647.  
  7648. ΓòÉΓòÉΓòÉ 2.27. GROSOL ΓòÉΓòÉΓòÉ
  7649.  
  7650. GROSOL Number representation which is either the GSHORT or the GLONG data type, 
  7651. depending on the presentation-space format; see PS_FORMAT in the flOptions 
  7652. parameter of the GpiCreatePS function. 
  7653.  
  7654.  
  7655. ΓòÉΓòÉΓòÉ 2.28. GROUFS ΓòÉΓòÉΓòÉ
  7656.  
  7657. GROUFS Number representation which is either the GUFIXEDS or GREAL data type, 
  7658. depending on the presentation-space format. 
  7659.  
  7660.  
  7661. ΓòÉΓòÉΓòÉ 2.29. GROUL ΓòÉΓòÉΓòÉ
  7662.  
  7663. GROUL Number representation, which is the same as the GULONG data type. 
  7664.  
  7665.  
  7666. ΓòÉΓòÉΓòÉ 2.30. GSHORT ΓòÉΓòÉΓòÉ
  7667.  
  7668. GSHORT Signed 2-byte integer value. 
  7669.  
  7670.  
  7671. ΓòÉΓòÉΓòÉ 2.31. GSHORT370 ΓòÉΓòÉΓòÉ
  7672.  
  7673. GSHORT370 Signed 2-byte integer value, in S/370 format (that is, the high-order 
  7674. byte precedes the low-order byte in storage). 
  7675.  
  7676.  
  7677. ΓòÉΓòÉΓòÉ 2.32. GSTR ΓòÉΓòÉΓòÉ
  7678.  
  7679. GSTR String with an explicit length count. 
  7680.  
  7681.  
  7682. ΓòÉΓòÉΓòÉ 2.33. GUCHAR ΓòÉΓòÉΓòÉ
  7683.  
  7684. GUCHAR Unsigned 1-byte integer value. 
  7685.  
  7686.  
  7687. ΓòÉΓòÉΓòÉ 2.34. GUFIXEDS ΓòÉΓòÉΓòÉ
  7688.  
  7689. GUFIXEDS Unsigned integer fraction (8:8) which can be treated as a GUSHORT data 
  7690. type, where the value has been multiplied by 256. 
  7691.  
  7692.  
  7693. ΓòÉΓòÉΓòÉ 2.35. GULONG370 ΓòÉΓòÉΓòÉ
  7694.  
  7695. GULONG370 Unsigned 4-byte integer value, in S/370 format (that is, the 
  7696. high-order byte first, the low-order byte last in storage). 
  7697.  
  7698.  
  7699. ΓòÉΓòÉΓòÉ 2.36. GULONG ΓòÉΓòÉΓòÉ
  7700.  
  7701. GULONG Unsigned 4-byte integer value. 
  7702.  
  7703.  
  7704. ΓòÉΓòÉΓòÉ 2.37. GUNDF ΓòÉΓòÉΓòÉ
  7705.  
  7706. GUNDF Undefined string of 8-bit bytes. 
  7707.  
  7708.  
  7709. ΓòÉΓòÉΓòÉ 2.38. GUNDF1 ΓòÉΓòÉΓòÉ
  7710.  
  7711. GUNDF1 Undefined 8-bit byte. 
  7712.  
  7713.  
  7714. ΓòÉΓòÉΓòÉ 2.39. GUSHORT ΓòÉΓòÉΓòÉ
  7715.  
  7716. GUSHORT Unsigned 2-byte integer value. 
  7717.  
  7718.  
  7719. ΓòÉΓòÉΓòÉ 2.40. GUSHORT370 ΓòÉΓòÉΓòÉ
  7720.  
  7721. GUSHORT370 Unsigned 2-byte integer value, in S/370 format; that is, the 
  7722. high-order byte precedes the low-order byte in storage. 
  7723.  
  7724.  
  7725. ΓòÉΓòÉΓòÉ 3. Hooks and Procedures ΓòÉΓòÉΓòÉ
  7726.  
  7727. This section describes dialog procedures, window procedures, and hooks.  It 
  7728. shows the input parameters and returns that the operating system expects an 
  7729. application to use in application procedures and that can be called by the 
  7730. operating system in response to certain events. 
  7731.  
  7732. Procedures and hooks are application code that is called by the system in 
  7733. response to certain events. 
  7734.  
  7735. The names and parameter lists of functions are contained in header files that 
  7736. are incorporated into the application when it is compiled.  Their addresses are 
  7737. contained in .LIB files that are incorporated at link time. 
  7738.  
  7739. The names of procedures and hooks are defined by the application, and their 
  7740. parameter lists are defined by the system. Function prototypes for these 
  7741. procedures and hooks are in PMWIN.H. The prototypes have sample names that can 
  7742. be changed by the programmer before they are inserted into the application 
  7743. source code. 
  7744.  
  7745. The application passes the address of these procedures and hooks in the 
  7746. following ways: 
  7747.  
  7748. Dialog procedures           During the WinLoadDlg, WinDlgBox, WinFileDlg, or 
  7749.                             WinFontDlg function 
  7750.  
  7751. Window procedures           During the WinRegisterClass or WinSubclassWindow 
  7752.                             functions 
  7753.  
  7754. Hooks                       During the WinSetHook function 
  7755.  
  7756. Thunks                      During the WinSetClassThunkProc or 
  7757.                             WinSetWindowThunkProc functions. 
  7758.  
  7759.  
  7760. ΓòÉΓòÉΓòÉ 3.1. CheckMsgFilterHook ΓòÉΓòÉΓòÉ
  7761.  
  7762.  
  7763. ΓòÉΓòÉΓòÉ <hidden> Topics - CheckMsgFilterHook ΓòÉΓòÉΓòÉ
  7764.  
  7765. Select an item: 
  7766.  
  7767. Function Syntax 
  7768. Parameters 
  7769. Return Values 
  7770. Notes 
  7771. Glossary 
  7772.  
  7773.  
  7774. ΓòÉΓòÉΓòÉ <hidden> Parameters - CheckMsgFilterHook ΓòÉΓòÉΓòÉ
  7775.  
  7776. hab (HAB) - input 
  7777.    Anchor-block handle. 
  7778.  
  7779. pQmsg (PQMSG) - input 
  7780.    The QMSG data structure of the message currently being reviewed. 
  7781.  
  7782. usFirst (ULONG) - input 
  7783.    First message identity specified on a call to the WinGetMsg, WinPeekMsg or 
  7784.  
  7785. usLast (ULONG) - input 
  7786.    Last message identity specified on a call to the WinGetMsg, WinPeekMsg or 
  7787.  
  7788. fOptions (ULONG) - input 
  7789.    Message removal options: 
  7790.  
  7791.    PM_REMOVE 
  7792.       Message is being removed from queue 
  7793.  
  7794.    PM_NOREMOVE 
  7795.       Message is not being removed from queue. 
  7796.  
  7797.  
  7798. ΓòÉΓòÉΓòÉ <hidden> Return Values - CheckMsgFilterHook ΓòÉΓòÉΓòÉ
  7799.  
  7800. fProcessed (BOOL) - return 
  7801.    Processing indicator: 
  7802.  
  7803.    TRUE 
  7804.       The message is accepted by the filtering. Any further Check Message 
  7805.       Filter Hooks in the chain are ignored, any filtering specified by the 
  7806.       ulFirst and ulLast parameters of the WinGetMsg, WinPeekMsg or WinWaitMsg 
  7807.       functions are ignored, and processing of the message continues. 
  7808.  
  7809.       A hook that always returns TRUE effectively switches off message 
  7810.       filtering. 
  7811.  
  7812.    FALSE 
  7813.       The message is passed on to the next Check Message Filter Hook in the 
  7814.       chain. If the end of the chain has been reached, the filtering specified 
  7815.       by the ulFirst and ulLast parameters of the WinGetMsg, WinPeekMsg or 
  7816.       WinWaitMsg functions is applied. 
  7817.  
  7818.  
  7819. ΓòÉΓòÉΓòÉ <hidden> Notes - CheckMsgFilterHook ΓòÉΓòÉΓòÉ
  7820.  
  7821. This hook enables an application to apply a very specific message filtering, 
  7822. for example, based on the values of message parameters. 
  7823.  
  7824. This hook is called after window handle filtering and before message filtering. 
  7825. Window handle filtering is controlled by the hwndFilter parameter of the 
  7826. WinGetMsg or WinPeekMsg functions. Message filtering is controlled by the 
  7827. ulFirst and ulLast parameters of the WinGetMsg, WinPeekMsg or WinWaitMsg 
  7828. functions. 
  7829.  
  7830. This hook is called if the message passes window handle filtering and if 
  7831. non-null message filtering is specified. This means that, on entry to this 
  7832. hook: 
  7833.  
  7834. o The hwndFilter parameter of the WinGetMsg or WinPeekMsg function is either 
  7835.   NULLHANDLE or it specifies the window (or a parent of the window) referenced 
  7836.   in the pQmsg structure. 
  7837.  
  7838. o At least one of the usFirst and usLast parameters are nonzero. 
  7839.  
  7840. o The msg field of the pQmsg structure might or might not lie inside the range 
  7841.   specified by the usFirst and usLast parameters. 
  7842.  
  7843.  
  7844. ΓòÉΓòÉΓòÉ <hidden> Syntax - CheckMsgFilterHook ΓòÉΓòÉΓòÉ
  7845.  
  7846. /*******************************************/
  7847. /* This hook is called whenever WinGetMsg, */
  7848. /* WinWaitMsg, or WinPeekMsg are used to   */
  7849. /* filter message identities.              */
  7850. /*******************************************/
  7851.  
  7852. #define INCL_WINHOOKS   /* Or use INCL_WIN or INCL_PM */
  7853. #include <os2.h>
  7854.  
  7855. HAB    hab;         /* Anchor-block handle */
  7856. PQMSG  pQmsg;       /* The QMSG data structure of the message currently being reviewed */
  7857. ULONG  usFirst;     /* First message identity specified on a call to the WinGetMsg, WinPeekMsg or WinWaitMsg function */
  7858. ULONG  usLast;      /* Last message identity specified on a call to the WinGetMsg, WinPeekMsg or WinWaitMsg function */
  7859. ULONG  fOptions;    /* Message removal options */
  7860. BOOL   fProcessed;  /* Processing indicator */
  7861.  
  7862. fProcessed = CheckMsgFilterHook(hab, pQmsg,
  7863.                usFirst, usLast, fOptions);
  7864.  
  7865.  
  7866. ΓòÉΓòÉΓòÉ 3.2. CodePageChangedHook ΓòÉΓòÉΓòÉ
  7867.  
  7868.  
  7869. ΓòÉΓòÉΓòÉ <hidden> Topics - CodePageChangedHook ΓòÉΓòÉΓòÉ
  7870.  
  7871. Select an item: 
  7872.  
  7873. Function Syntax 
  7874. Parameters 
  7875. Notes 
  7876. Glossary 
  7877.  
  7878.  
  7879. ΓòÉΓòÉΓòÉ <hidden> Parameters - CodePageChangedHook ΓòÉΓòÉΓòÉ
  7880.  
  7881. hmq (HMQ) - input 
  7882.    Message-queue handle. The handle of the message queue that is changing its 
  7883.    code page. 
  7884.  
  7885. usOldCodePage (ULONG) - input 
  7886.    Previous code page. 
  7887.  
  7888. usNewCodePage (ULONG) - input 
  7889.    New code page. 
  7890.  
  7891.  
  7892. ΓòÉΓòÉΓòÉ <hidden> Notes - CodePageChangedHook ΓòÉΓòÉΓòÉ
  7893.  
  7894. This hook is sent to all hooks chained under HK_CODEPAGECHANGE, regardless of 
  7895. the return value. 
  7896.  
  7897. The new code page is set before this hook is called. 
  7898.  
  7899.  
  7900. ΓòÉΓòÉΓòÉ <hidden> Syntax - CodePageChangedHook ΓòÉΓòÉΓòÉ
  7901.  
  7902. /*******************************************/
  7903. /* This hook notifies that a message queue */
  7904. /* code page has been changed.             */
  7905. /*******************************************/
  7906.  
  7907. #define INCL_WINHOOKS   /* Or use INCL_WIN or INCL_PM */
  7908. #include <os2.h>
  7909.  
  7910. HMQ    hmq;            /* Message-queue handle */
  7911. ULONG  usOldCodePage;  /* Previous code page */
  7912. ULONG  usNewCodePage;  /* New code page */
  7913.  
  7914. CodePageChangedHook(hmq, usOldCodePage,
  7915.            usNewCodePage);
  7916.  
  7917.  
  7918. ΓòÉΓòÉΓòÉ 3.3. DestroyWindowHook ΓòÉΓòÉΓòÉ
  7919.  
  7920.  
  7921. ΓòÉΓòÉΓòÉ <hidden> Topics - DestroyWindowHook ΓòÉΓòÉΓòÉ
  7922.  
  7923. Select an item: 
  7924.  
  7925. Function Syntax 
  7926. Parameters 
  7927. Return Values 
  7928. Notes 
  7929. Related Messages 
  7930. Glossary 
  7931.  
  7932.  
  7933. ΓòÉΓòÉΓòÉ <hidden> Parameters - DestroyWindowHook ΓòÉΓòÉΓòÉ
  7934.  
  7935. hab (HAB) - input 
  7936.    Anchor-block handle. 
  7937.  
  7938. Hwnd (HWND) - input 
  7939.    The handle of the window being destroyed. 
  7940.  
  7941. Reserved (ULONG) - input 
  7942.    Reserved. 
  7943.  
  7944.  
  7945. ΓòÉΓòÉΓòÉ <hidden> Return Values - DestroyWindowHook ΓòÉΓòÉΓòÉ
  7946.  
  7947. fSuccess (BOOL) - return 
  7948.    Success indicator: 
  7949.  
  7950.    TRUE 
  7951.       Successful completion 
  7952.  
  7953.    FALSE 
  7954.       Error occurred. 
  7955.  
  7956.  
  7957. ΓòÉΓòÉΓòÉ <hidden> Notes - DestroyWindowHook ΓòÉΓòÉΓòÉ
  7958.  
  7959. This hook is sent after the WM_DESTROY message has been sent and just before 
  7960. the window becomes invalid. 
  7961.  
  7962.  
  7963. ΓòÉΓòÉΓòÉ <hidden> Syntax - DestroyWindowHook ΓòÉΓòÉΓòÉ
  7964.  
  7965. /*******************************************/
  7966. /* This hook is called whenever a window   */
  7967. /* is destroyed.                           */
  7968. /*******************************************/
  7969.  
  7970. #define INCL_WINHOOKS   /* Or use INCL_WIN or INCL_PM */
  7971. #include <os2.h>
  7972.  
  7973. HAB    hab;       /* Anchor-block handle */
  7974. HWND   Hwnd;      /* The handle of the window being destroyed */
  7975. ULONG  Reserved;  /* Reserved */
  7976. BOOL   fSuccess;  /* Success indicator */
  7977.  
  7978. fSuccess = DestroyWindowHook(hab, Hwnd,
  7979.              Reserved);
  7980.  
  7981.  
  7982. ΓòÉΓòÉΓòÉ <hidden> Related Messages - DestroyWindowHook ΓòÉΓòÉΓòÉ
  7983.  
  7984. o WM_DESTROY 
  7985.  
  7986.  
  7987. ΓòÉΓòÉΓòÉ 3.4. FindWordHook ΓòÉΓòÉΓòÉ
  7988.  
  7989.  
  7990. ΓòÉΓòÉΓòÉ <hidden> Topics - FindWordHook ΓòÉΓòÉΓòÉ
  7991.  
  7992. Select an item: 
  7993.  
  7994. Function Syntax 
  7995. Parameters 
  7996. Return Values 
  7997. Notes 
  7998. Glossary 
  7999.  
  8000.  
  8001. ΓòÉΓòÉΓòÉ <hidden> Parameters - FindWordHook ΓòÉΓòÉΓòÉ
  8002.  
  8003. usCodepage (ULONG) - input 
  8004.    Codepage to use. This parameter contains the codepage identifier of the 
  8005.    string to be formatted. 
  8006.  
  8007. pText (PSZ) - input 
  8008.    Text to break. This parameter contains a pointer to the actual string. 
  8009.  
  8010. cb (ULONG) - input 
  8011.    Maximum text size. This parameter contains a value specifying the number of 
  8012.    bytes in the string. 
  8013.  
  8014. ich (ULONG) - input 
  8015.    Break near here. This parameter contains the index of the character in the 
  8016.    string that intersects the right edge of the drawing rectangle. 
  8017.  
  8018. pichStart (PULONG) - output 
  8019.    Where break began. This parameter contains the index of the starting 
  8020.    character of the intersecting word. 
  8021.  
  8022. pichEnd (PULONG) - output 
  8023.    Where break ended. This parameter contains the index of the ending character 
  8024.    of the intersecting word. 
  8025.  
  8026. pichNext (PULONG) - output 
  8027.    Where next word begins. This parameter contains the index of the starting 
  8028.    character of the next word in the string. 
  8029.  
  8030.  
  8031. ΓòÉΓòÉΓòÉ <hidden> Return Values - FindWordHook ΓòÉΓòÉΓòÉ
  8032.  
  8033. fSuccess (BOOL) - return 
  8034.    Success indicator: 
  8035.  
  8036.    TRUE 
  8037.       If the find-word hook function returns TRUE, WinDrawText will only draw 
  8038.       the string up to, but not including, the specified word. 
  8039.  
  8040.    FALSE 
  8041.       If the find-word hook function returns FALSE, WinDrawText formats the 
  8042.       string in the default manner. 
  8043.  
  8044.  
  8045. ΓòÉΓòÉΓòÉ <hidden> Notes - FindWordHook ΓòÉΓòÉΓòÉ
  8046.  
  8047. The system calls this hook from within the WinDrawText function, if the 
  8048. DT_WORDBREAK flag is set.  It lets the application have control of where the 
  8049. function WinDrawText should break for a string that is too long. 
  8050.  
  8051.  
  8052. ΓòÉΓòÉΓòÉ <hidden> Syntax - FindWordHook ΓòÉΓòÉΓòÉ
  8053.  
  8054. /*******************************************/
  8055. /* This hook allows an application to      */
  8056. /* control where the WinDrawText function  */
  8057. /* breaks a character string that is too   */
  8058. /* long for the drawing rectangle.         */
  8059. /*******************************************/
  8060.  
  8061. #define INCL_WINHOOKS   /* Or use INCL_WIN or INCL_PM */
  8062. #include <os2.h>
  8063.  
  8064. ULONG   usCodepage;   /* Codepage to use */
  8065. PSZ     pText;        /* Text to break */
  8066. ULONG   cb;           /* Maximum text size */
  8067. ULONG   ich;          /* Break near here */
  8068. PULONG  pichStart;    /* Where break began */
  8069. PULONG  pichEnd;      /* Where break ended */
  8070. PULONG  pichNext;     /* Where next word begins */
  8071. BOOL    fSuccess;     /* Success indicator */
  8072.  
  8073. fSuccess = FindWordHook(usCodepage, pText,
  8074.              cb, ich, pichStart, pichEnd,
  8075.              pichNext);
  8076.  
  8077.  
  8078. ΓòÉΓòÉΓòÉ 3.5. FlushBufHook ΓòÉΓòÉΓòÉ
  8079.  
  8080.  
  8081. ΓòÉΓòÉΓòÉ <hidden> Topics - FlushBufHook ΓòÉΓòÉΓòÉ
  8082.  
  8083. Select an item: 
  8084.  
  8085. Function Syntax 
  8086. Parameters 
  8087. Return Values 
  8088. Notes 
  8089. Related Functions 
  8090. Glossary 
  8091.  
  8092.  
  8093. ΓòÉΓòÉΓòÉ <hidden> Parameters - FlushBufHook ΓòÉΓòÉΓòÉ
  8094.  
  8095. hab (HAB) - input 
  8096.    Application anchor block. 
  8097.  
  8098.  
  8099. ΓòÉΓòÉΓòÉ <hidden> Return Values - FlushBufHook ΓòÉΓòÉΓòÉ
  8100.  
  8101. fReturn (BOOL) - return 
  8102.    Return code. 
  8103.  
  8104.    TRUE 
  8105.       Successful. 
  8106.  
  8107.    FALSE 
  8108.       An error occurred. 
  8109.  
  8110.  
  8111. ΓòÉΓòÉΓòÉ <hidden> Notes - FlushBufHook ΓòÉΓòÉΓòÉ
  8112.  
  8113. This hook is called to notify applications that the system is rebooting due to 
  8114. a CTRL-ALT-DEL sequence being entered. It enables applications to write 
  8115. existing information to the hardfile immediately, avoiding loss of data before 
  8116. the system reboots. 
  8117.  
  8118. Note:  Do not use any of the Win or Gpi functions inside the hook routine.  At 
  8119.        the point in time that the hook routine is executing, these sub-systems 
  8120.        may not be fully available because they might be partially shutdown. 
  8121.  
  8122.  
  8123. ΓòÉΓòÉΓòÉ <hidden> Syntax - FlushBufHook ΓòÉΓòÉΓòÉ
  8124.  
  8125. /*********************************************/
  8126. /* This function is specific to version 2.1, */
  8127. /* or higher, of the OS/2 operating system.  */
  8128. /*                                           */
  8129. /* This hook allows applications to save     */
  8130. /* data before the system reboots.           */
  8131. /*********************************************/
  8132.  
  8133. #define INCL_WINHOOKS   /* Or use INCL_WIN or INCL_PM */
  8134. #include <os2.h>
  8135.  
  8136. HAB   hab;     /* Application anchor block */
  8137. BOOL  fReturn; /* Return code */
  8138.  
  8139. fReturn = FlushBufHook(hab);
  8140.  
  8141.  
  8142. ΓòÉΓòÉΓòÉ <hidden> Related Functions - FlushBufHook ΓòÉΓòÉΓòÉ
  8143.  
  8144. Related Functions 
  8145.  
  8146. o WinSetHook 
  8147.  
  8148.  
  8149. ΓòÉΓòÉΓòÉ 3.6. HelpHook ΓòÉΓòÉΓòÉ
  8150.  
  8151.  
  8152. ΓòÉΓòÉΓòÉ <hidden> Topics - HelpHook ΓòÉΓòÉΓòÉ
  8153.  
  8154. Select an item: 
  8155.  
  8156. Function Syntax 
  8157. Parameters 
  8158. Return Values 
  8159. Notes 
  8160. Related Messages 
  8161. Glossary 
  8162.  
  8163.  
  8164. ΓòÉΓòÉΓòÉ <hidden> Parameters - HelpHook ΓòÉΓòÉΓòÉ
  8165.  
  8166. hab (HAB) - input 
  8167.    Anchor-block handle. 
  8168.  
  8169. usMode (ULONG) - input 
  8170.    Help mode. This has one of the following values, indicating the mode from 
  8171.    which help has been requested: 
  8172.  
  8173.    HLPM_FRAME 
  8174.       Standard (standard window) 
  8175.  
  8176.    HLPM_WINDOW 
  8177.       Standard (standard window) 
  8178.  
  8179.    HLPM_MENU 
  8180.       Menu mode 
  8181.  
  8182. idTopic (ULONG) - input 
  8183.    Topic identifier. 
  8184.  
  8185.    o In menu mode this is a pull-down window identity 
  8186.    o In message-box mode this is the message-box identity 
  8187.    o In standard mode this is a window identity. 
  8188.  
  8189. idSubtopic (ULONG) - input 
  8190.    Subtopic identifier. 
  8191.  
  8192.    o In menu mode this is a command identity 
  8193.    o In message-box mode this is a control identity 
  8194.    o In standard mode this is the identity of the window with the focus (-1 if 
  8195.      none). 
  8196.  
  8197. prcPosition (PRECTL) - input 
  8198.    Rectangle. This indicates the screen area (in screen coordinates) from where 
  8199.    the help was requested. It is provided to enable the help library to avoid 
  8200.    covering that area. 
  8201.  
  8202.    o In menu mode it is the bounding rectangle of the selected item, or o the 
  8203.      top level menu if value of the idSubtopic parameter is -1. 
  8204.    o In message-box mode it is the bounding rectangle of the button. 
  8205.    o In standard mode it is the bounding rectangle of the window with the 
  8206.      focus, or of the window sent the message if the value of the idSubtopic 
  8207.      parameter is -1. 
  8208.  
  8209.    Note:  The data type WRECT can also be used, if supported by the language. 
  8210.  
  8211.  
  8212. ΓòÉΓòÉΓòÉ <hidden> Return Values - HelpHook ΓòÉΓòÉΓòÉ
  8213.  
  8214. f (BOOL) - return 
  8215.    Indicator as to whether next hook in the chain is called. The message is 
  8216.    always passed to the application. 
  8217.  
  8218.    TRUE 
  8219.       The next hook in the chain is not called. 
  8220.  
  8221.    FALSE 
  8222.       The next hook in the chain is called. 
  8223.  
  8224.  
  8225. ΓòÉΓòÉΓòÉ <hidden> Notes - HelpHook ΓòÉΓòÉΓòÉ
  8226.  
  8227. This hook can be called directly by an application or in the default-processing 
  8228. associated with windows, menus, and message boxes. 
  8229.  
  8230. Help-processing is done in two stages. The first stage is the creation of the 
  8231. WM_HELP message. This is done: 
  8232.  
  8233. o From a WM_CHAR message by ACCELERATOR table translation, when the HELP 
  8234.   accelerator option is specified. 
  8235.  
  8236. o From an action-bar selection, when the MIS_HELP style is specified on the 
  8237.   action-bar button. 
  8238.  
  8239. o From a dialog-box pushbutton, when the BS_HELP style is specified on the 
  8240.   pushbutton. 
  8241.  
  8242. o From a message box, when the MB_HELP style is specified on the message box. 
  8243.  
  8244. The WM_HELP message is sent to the active window, but will be seen by a modal 
  8245. loop if one is active. 
  8246.  
  8247. The second stage of processing of help is the processing of the WM_HELP 
  8248. message. 
  8249.  
  8250. The frame window procedure sees the WM_HELP message because the frame is 
  8251. usually the active window. It processes the WM_HELP message as follows: 
  8252.  
  8253. o If the window with the focus is the FID_CLIENT frame control, it passes 
  8254.   WM_HELP to the FID_CLIENT window. 
  8255.  
  8256. o If the parent of the window with the focus is the FID_CLIENT frame control, 
  8257.   it calls the help hook, specifying: 
  8258.  
  8259.    usMode = HLPM_WINDOW 
  8260.    idTopic = frame-window id 
  8261.    idSubtopic = focus-window id. 
  8262.  
  8263. o If the parent of the focus window is not the FID_CLIENT frame control (for 
  8264.   example, it may be the frame itself, or a second-level dialog control), it 
  8265.   calls the hook, specifying: 
  8266.  
  8267.    usMode = HLPM_WINDOW 
  8268.    idTopic = focus-window parent id 
  8269.    idSubtopic = focus-window id. 
  8270.  
  8271. The message box window procedure sees the WM_HELP message, because it 
  8272. subclasses the frame window. It processes the WM_HELP message by calling the 
  8273. help hook, specifying: 
  8274.  
  8275. usMode = HLPM_MESSAGE 
  8276. idTopic = message id 
  8277. idSubtopic = control id. 
  8278.  
  8279. The menu window procedure sees the WM_HELP message because it runs a modal 
  8280. loop. It processes the WM_HELP message by calling the help hook, specifying: 
  8281.  
  8282. usMode = HLPM_MENU 
  8283. idTopic = menu id of pulldown 
  8284. idSubtopic = menu id of item. 
  8285.  
  8286. The WinDefWindowProc function sees the WM_HELP message for a FID_CLIENT window 
  8287. if the client does not handle it itself. It calls the help hook, specifying: 
  8288.  
  8289. usMode = HLPM_WINDOW 
  8290. idTopic = active-window id 
  8291. idSubtopic = focus-window id. 
  8292. An application sees the WM_HELP message in its dialog procedure. The 
  8293. application can ignore the WM_HELP message, in which case the frame-window 
  8294. procedure action occurs (as described above) or it can simulate a call to the 
  8295. help hook itself, using: 
  8296.  
  8297. usMode = HLPM_APPLICATION 
  8298. idTopic = any value 
  8299. idSubtopic = any value. 
  8300.  
  8301. The input focus is never given to any of the standard frame controls, so help 
  8302. for these cannot be obtained. 
  8303.  
  8304.  
  8305. ΓòÉΓòÉΓòÉ <hidden> Syntax - HelpHook ΓòÉΓòÉΓòÉ
  8306.  
  8307. /*******************************************/
  8308. /* This hook processes help requests.      */
  8309. /*******************************************/
  8310.  
  8311. #define INCL_WINHOOKS   /* Or use INCL_WIN or INCL_PM */
  8312. #include <os2.h>
  8313.  
  8314. HAB     hab;           /* Anchor-block handle */
  8315. ULONG   usMode;        /* Help mode */
  8316. ULONG   idTopic;       /* Topic identifier */
  8317. ULONG   idSubtopic;    /* Subtopic identifier */
  8318. PRECTL  prcPosition;   /* Rectangle */
  8319. BOOL    f;             /* Indicator as to whether next hook in the chain is called */
  8320.  
  8321. f = HelpHook(hab, usMode, idTopic,
  8322.       idSubtopic, prcPosition);
  8323.  
  8324.  
  8325. ΓòÉΓòÉΓòÉ <hidden> Related Messages - HelpHook ΓòÉΓòÉΓòÉ
  8326.  
  8327. o WM_CHAR 
  8328. o WM_HELP 
  8329.  
  8330.  
  8331. ΓòÉΓòÉΓòÉ 3.7. InputHook ΓòÉΓòÉΓòÉ
  8332.  
  8333.  
  8334. ΓòÉΓòÉΓòÉ <hidden> Topics - InputHook ΓòÉΓòÉΓòÉ
  8335.  
  8336. Select an item: 
  8337.  
  8338. Function Syntax 
  8339. Parameters 
  8340. Return Values 
  8341. Notes 
  8342. Glossary 
  8343.  
  8344.  
  8345. ΓòÉΓòÉΓòÉ <hidden> Parameters - InputHook ΓòÉΓòÉΓòÉ
  8346.  
  8347. hab (HAB) - input 
  8348.    Anchor-block handle. 
  8349.  
  8350. pQmsg (PQMSG) - input 
  8351.    A QMSG data structure. 
  8352.  
  8353. fs (ULONG) - input 
  8354.    Message removal options: 
  8355.  
  8356.    PM_REMOVE 
  8357.       Message is being removed from queue 
  8358.  
  8359.    PM_NOREMOVE 
  8360.       Message is not being removed from queue. 
  8361.  
  8362.  
  8363. ΓòÉΓòÉΓòÉ <hidden> Return Values - InputHook ΓòÉΓòÉΓòÉ
  8364.  
  8365. fProcessed (BOOL) - return 
  8366.    Processed indicator: 
  8367.  
  8368.    TRUE 
  8369.       The message is not passed on to the next hook in the chain or to the 
  8370.       application 
  8371.  
  8372.    FALSE 
  8373.       The message is passed on to the next hook in the chain or to the 
  8374.       application. 
  8375.  
  8376.  
  8377. ΓòÉΓòÉΓòÉ <hidden> Notes - InputHook ΓòÉΓòÉΓòÉ
  8378.  
  8379. This hook is called when messages are removed from an application queue, before 
  8380. being returned by WinGetMsg or WinPeekMsg. It is called from within these 
  8381. functions just before resuming the application with the message that is 
  8382. returned. There are no restrictions on calls that may be made at this time. 
  8383.  
  8384.  
  8385. ΓòÉΓòÉΓòÉ <hidden> Syntax - InputHook ΓòÉΓòÉΓòÉ
  8386.  
  8387. /*******************************************/
  8388. /* This hook filters messages from the     */
  8389. /* input queue.                            */
  8390. /*******************************************/
  8391.  
  8392. #define INCL_WINHOOKS   /* Or use INCL_WIN or INCL_PM */
  8393. #include <os2.h>
  8394.  
  8395. HAB    hab;         /* Anchor-block handle */
  8396. PQMSG  pQmsg;       /* A QMSG data structure */
  8397. ULONG  fs;          /* Message removal options */
  8398. BOOL   fProcessed;  /* Processed indicator */
  8399.  
  8400. fProcessed = InputHook(hab, pQmsg, fs);
  8401.  
  8402.  
  8403. ΓòÉΓòÉΓòÉ 3.8. JournalPlaybackHook ΓòÉΓòÉΓòÉ
  8404.  
  8405.  
  8406. ΓòÉΓòÉΓòÉ <hidden> Topics - JournalPlaybackHook ΓòÉΓòÉΓòÉ
  8407.  
  8408. Select an item: 
  8409.  
  8410. Function Syntax 
  8411. Parameters 
  8412. Return Values 
  8413. Notes 
  8414. Glossary 
  8415.  
  8416.  
  8417. ΓòÉΓòÉΓòÉ <hidden> Parameters - JournalPlaybackHook ΓòÉΓòÉΓòÉ
  8418.  
  8419. hab (HAB) - input 
  8420.    Anchor-block handle. 
  8421.  
  8422. fSkip (BOOL) - input 
  8423.    Indicator as to whether the next message should be played back: 
  8424.  
  8425.    TRUE 
  8426.       The journal playback hook skips to the next message. The pQmsg parameter 
  8427.       is NULL in this case. The next hook in the chain is not called. 
  8428.  
  8429.    FALSE 
  8430.       The journal playback hook returns the next available message. The same 
  8431.       message is returned each time, until it is skipped with a call where this 
  8432.       parameter is TRUE. 
  8433.  
  8434. pQmsg (PQMSG) - input 
  8435.    Data structure where the message to be played back is returned. When this 
  8436.    hook is called, the time field of the QMSG structure is initialized to the 
  8437.    current time. This can be used to determine whether the next message is 
  8438.    ready or not. This value must be used for any delta calculations performed 
  8439.    by the hook procedure, rather than the result of WinGetCurrentTime 
  8440.  
  8441.  
  8442. ΓòÉΓòÉΓòÉ <hidden> Return Values - JournalPlaybackHook ΓòÉΓòÉΓòÉ
  8443.  
  8444. ulTime (ULONG) - return 
  8445.    Waiting time. The time to wait (in milliseconds) before processing the 
  8446.    current message. 
  8447.  
  8448.  
  8449. ΓòÉΓòÉΓòÉ <hidden> Notes - JournalPlaybackHook ΓòÉΓòÉΓòÉ
  8450.  
  8451. This hook is called whenever a message is required to be played back. 
  8452.  
  8453.  
  8454. ΓòÉΓòÉΓòÉ <hidden> Syntax - JournalPlaybackHook ΓòÉΓòÉΓòÉ
  8455.  
  8456. /*******************************************/
  8457. /* This hook plays back recorded messages. */
  8458. /*******************************************/
  8459.  
  8460. #define INCL_WINHOOKS   /* Or use INCL_WIN or INCL_PM */
  8461. #include <os2.h>
  8462.  
  8463. HAB    hab;     /* Anchor-block handle */
  8464. BOOL   fSkip;   /* Indicator as to whether the next message should be played back */
  8465. PQMSG  pQmsg;   /* Data structure where the message to be played back is returned */
  8466. ULONG  ulTime;  /* Waiting time */
  8467.  
  8468. ulTime = JournalPlaybackHook(hab, fSkip,
  8469.            pQmsg);
  8470.  
  8471.  
  8472. ΓòÉΓòÉΓòÉ 3.9. JournalRecordHook ΓòÉΓòÉΓòÉ
  8473.  
  8474.  
  8475. ΓòÉΓòÉΓòÉ <hidden> Topics - JournalRecordHook ΓòÉΓòÉΓòÉ
  8476.  
  8477. Select an item: 
  8478.  
  8479. Function Syntax 
  8480. Parameters 
  8481. Notes 
  8482. Related Messages 
  8483. Glossary 
  8484.  
  8485.  
  8486. ΓòÉΓòÉΓòÉ <hidden> Parameters - JournalRecordHook ΓòÉΓòÉΓòÉ
  8487.  
  8488. hab (HAB) - input 
  8489.    Anchor-block handle. 
  8490.  
  8491. pQmsg (PQMSG) - input 
  8492.    Data structure that contains the message to be recorded. The hwnd field of 
  8493.    the QMSG structure is also set when the hook is called. 
  8494.  
  8495.  
  8496. ΓòÉΓòÉΓòÉ <hidden> Notes - JournalRecordHook ΓòÉΓòÉΓòÉ
  8497.  
  8498. This hook is called after raw input is translated to WM_CHAR or 
  8499. WM_BUTTON1DBLCLK messages. 
  8500.  
  8501. The next hook in the chain is always called, and the message is always passed 
  8502. to the application. 
  8503.  
  8504. JournalPlaybackHook hook does not receive any input played back by this hook. 
  8505. This prevents feedback situations where input is played back a number of times. 
  8506.  
  8507.  
  8508. ΓòÉΓòÉΓòÉ <hidden> Syntax - JournalRecordHook ΓòÉΓòÉΓòÉ
  8509.  
  8510. /*******************************************/
  8511. /* This hook records user-input messages.  */
  8512. /*******************************************/
  8513.  
  8514. #define INCL_WINHOOKS   /* Or use INCL_WIN or INCL_PM */
  8515. #include <os2.h>
  8516.  
  8517. HAB    hab;    /* Anchor-block handle */
  8518. PQMSG  pQmsg;  /* Data structure that contains the message to be recorded */
  8519.  
  8520. JournalRecordHook(hab, pQmsg);
  8521.  
  8522.  
  8523. ΓòÉΓòÉΓòÉ <hidden> Related Messages - JournalRecordHook ΓòÉΓòÉΓòÉ
  8524.  
  8525. o WM_CHAR 
  8526. o WM_BUTTON1DBLCLK 
  8527.  
  8528.  
  8529. ΓòÉΓòÉΓòÉ 3.10. LoaderHook ΓòÉΓòÉΓòÉ
  8530.  
  8531.  
  8532. ΓòÉΓòÉΓòÉ <hidden> Topics - LoaderHook ΓòÉΓòÉΓòÉ
  8533.  
  8534. Select an item: 
  8535.  
  8536. Function Syntax 
  8537. Parameters 
  8538. Return Values 
  8539. Notes 
  8540. Glossary 
  8541.  
  8542.  
  8543. ΓòÉΓòÉΓòÉ <hidden> Parameters - LoaderHook ΓòÉΓòÉΓòÉ
  8544.  
  8545. hab (HAB) - input 
  8546.    Anchor-block handle. 
  8547.  
  8548. idContext (LONG) - input 
  8549.    Origin of call to hook. 
  8550.  
  8551.    LHK_DELETEPROC 
  8552.       WinDeleteProcedure 
  8553.  
  8554.    LHK_DELETELIB 
  8555.       WinDeleteLibrary 
  8556.  
  8557.    LHK_LOADPROC 
  8558.       WinLoadProcedure 
  8559.  
  8560.    LHK_LOADLIB 
  8561.       WinLoadLibrary 
  8562.  
  8563. pszLibname (PSZ) - input 
  8564.    Library name. This is the same as the library name in the pszLibname 
  8565.    parameter of the WinLoadLibrary function. 
  8566.  
  8567. hlib (PHLIB) - input/output 
  8568.    Pointer to a library handle. This is the same as the library handle in the 
  8569.    hlibLibhandle parameter of the WinLoadProcedure function or the 
  8570.    hlibLibhandle parameter of the WinDeleteLibrary function. 
  8571.  
  8572.    If the idContext parameter is set to LHK_LOADLIB, then this hook must set 
  8573.    the value of this parameter to the handle of the loaded library or to 
  8574.    NULLHANDLE if the load fails. 
  8575.  
  8576. pszProcname (PSZ) - input 
  8577.    Procedure name. This is the same as the procedure name in the pszProcname 
  8578.    parameter of the WinLoadProcedure function. 
  8579.  
  8580. wndProc (PFNWP) - input 
  8581.    Window procedure identifier. This is the same as the library name in the 
  8582.    pwndproc parameter of the WinDeleteProcedure function. 
  8583.  
  8584.    If the idContext parameter is set to LHK_LOADPROC, then this hook must set 
  8585.    the value of this parameter to the handle of the loaded procedure or to NULL 
  8586.    if the load fails. 
  8587.  
  8588. pfSuccess (PBOOL) - input/output 
  8589.    Success indicator: 
  8590.  
  8591.    TRUE 
  8592.       Library or procedure loaded or deleted successfully. 
  8593.  
  8594.    FALSE 
  8595.       Library or procedure not loaded or deleted successfully. 
  8596.  
  8597.  
  8598. ΓòÉΓòÉΓòÉ <hidden> Return Values - LoaderHook ΓòÉΓòÉΓòÉ
  8599.  
  8600. fProcessed (BOOL) - return 
  8601.    Processing indicator: 
  8602.  
  8603.    TRUE 
  8604.       Do not call next hook in chain 
  8605.  
  8606.    FALSE 
  8607.       Call next hook in chain. 
  8608.  
  8609.  
  8610. ΓòÉΓòÉΓòÉ <hidden> Notes - LoaderHook ΓòÉΓòÉΓòÉ
  8611.  
  8612. If the hook attempts a load or deletion which is unsuccessful, then the hook 
  8613. must establish the relevant error information. 
  8614.  
  8615.  
  8616. ΓòÉΓòÉΓòÉ <hidden> Syntax - LoaderHook ΓòÉΓòÉΓòÉ
  8617.  
  8618. /*******************************************/
  8619. /* This hook allows the library and        */
  8620. /* procedure loading and deleting calls to */
  8621. /* be intercepted.                         */
  8622. /*******************************************/
  8623.  
  8624. #define INCL_WINHOOKS   /* Or use INCL_WIN or INCL_PM */
  8625. #include <os2.h>
  8626.  
  8627. HAB    hab;          /* Anchor-block handle */
  8628. LONG   idContext;    /* Origin of call to hook */
  8629. PSZ    pszLibname;   /* Library name */
  8630. PHLIB  hlib;         /* Pointer to a library handle */
  8631. PSZ    pszProcname;  /* Procedure name */
  8632. PFNWP  wndProc;      /* Window procedure identifier */
  8633. PBOOL  pfSuccess;    /* Success indicator */
  8634. BOOL   fProcessed;   /* Processing indicator */
  8635.  
  8636. fProcessed = LoaderHook(hab, idContext,
  8637.                pszLibname, hlib,
  8638.                pszProcname, wndProc,
  8639.                pfSuccess);
  8640.  
  8641.  
  8642. ΓòÉΓòÉΓòÉ 3.11. LockupHook ΓòÉΓòÉΓòÉ
  8643.  
  8644.  
  8645. ΓòÉΓòÉΓòÉ <hidden> Topics - LockupHook ΓòÉΓòÉΓòÉ
  8646.  
  8647. Select an item: 
  8648.  
  8649. Function Syntax 
  8650. Parameters 
  8651. Notes 
  8652. Related Functions 
  8653. Glossary 
  8654.  
  8655.  
  8656. ΓòÉΓòÉΓòÉ <hidden> Parameters - LockupHook ΓòÉΓòÉΓòÉ
  8657.  
  8658. hab (HAB) - input 
  8659.    The application anchor block. 
  8660.  
  8661. hwndLockupFrame (HWND) - input 
  8662.    The frame window of the lockup panel. 
  8663.  
  8664.  
  8665. ΓòÉΓòÉΓòÉ <hidden> Notes - LockupHook ΓòÉΓòÉΓòÉ
  8666.  
  8667. The hwndLockupFrame parameter contains the frame window handle of the lockup 
  8668. dialog. All HK_LOCKUP hooks registered with the system are called when the 
  8669. system locks itself up. All HK_LOCKUP hooks must be system hooks, not message 
  8670. queue hooks. 
  8671.  
  8672. Application programs that create other lockup password input windows by hooking 
  8673. the HK_LOCKUP system hook can use WinUnlockSystem to force the system to unlock 
  8674. when another form of input is detected other than mouse or keyboard. For 
  8675. example, a pen gesture or some voice input or signature recognition. 
  8676.  
  8677.  
  8678. ΓòÉΓòÉΓòÉ <hidden> Syntax - LockupHook ΓòÉΓòÉΓòÉ
  8679.  
  8680. /*********************************************/
  8681. /* This function is specific to version 2.1, */
  8682. /* or higher, of the OS/2 operating system.  */
  8683. /*                                           */
  8684. /* This hook is called when the system locks */
  8685. /* itself up.                                */
  8686. /*********************************************/
  8687.  
  8688. #define INCL_WINMESSAGEMGR
  8689. #include <os2.h>
  8690.  
  8691. HAB   hab;
  8692. HWND  hwndLockupFrame;
  8693.  
  8694. LockupHook(hab, hwndLockupFrame);
  8695.  
  8696.  
  8697. ΓòÉΓòÉΓòÉ <hidden> Related Functions - LockupHook ΓòÉΓòÉΓòÉ
  8698.  
  8699. Related Functions 
  8700.  
  8701. o WinLockupSystem 
  8702. o WinUnlockSystem 
  8703.  
  8704.  
  8705. ΓòÉΓòÉΓòÉ 3.12. MsgControlHook ΓòÉΓòÉΓòÉ
  8706.  
  8707.  
  8708. ΓòÉΓòÉΓòÉ <hidden> Topics - MsgControlHook ΓòÉΓòÉΓòÉ
  8709.  
  8710. Select an item: 
  8711.  
  8712. Function Syntax 
  8713. Parameters 
  8714. Return Values 
  8715. Notes 
  8716. Glossary 
  8717.  
  8718.  
  8719. ΓòÉΓòÉΓòÉ <hidden> Parameters - MsgControlHook ΓòÉΓòÉΓòÉ
  8720.  
  8721. hab (HAB) - input 
  8722.    Anchor-block handle. 
  8723.  
  8724. idContext (LONG) - input 
  8725.    Origin of call to hook. 
  8726.  
  8727.    MCHK_CLASSMSGINTEREST 
  8728.       WinSetClassMsgInterest 
  8729.  
  8730.    MCHK_MSGINTEREST 
  8731.       WinSetMsgInterest 
  8732.  
  8733.    MCHK_MSGMODE 
  8734.       WinSetMsgMode 
  8735.  
  8736.    MCHK_SYNCHRONISATION 
  8737.       WinSetSynchroMode 
  8738.  
  8739. hwnd (HWND) - input 
  8740.    Window handle. This is the same as the window handle in the hwnd parameter 
  8741.    of the WinSetMsgInterest function. 
  8742.  
  8743. pszClassName (PSZ) - input 
  8744.    Window class name. This is the same as the window class name in the 
  8745.    pszClassName parameter of the WinSetClassMsgInterest function. 
  8746.  
  8747. usMsgClass (ULONG) - input 
  8748.    Message class. This is the same as the message class in the ulMsgClass 
  8749.    parameter of the WinSetMsgInterest and the WinSetClassMsgInterest functions. 
  8750.  
  8751. idControl (LONG) - input 
  8752.    Control setting. The setting varies with the value of the idContext 
  8753.    parameter. 
  8754.  
  8755.    For MCHK_CLASSMSGINTEREST, it can be SMI_INTEREST, or SMI_NOINTEREST, or 
  8756.    SMI_AUTODISPATCH. 
  8757.  
  8758.    For MCHK_MSGINTEREST, it can be SMI_INTEREST, or SMI_NOINTEREST, or 
  8759.    SMI_RESET, or SMI_AUTODISPATCH. 
  8760.  
  8761.    For MCHK_MSGMODE, it can be SMD_DELAYED or SMD_IMMEDIATE. 
  8762.  
  8763.    For MCHK_SYNCHRONISATION, it can be SSM_SYNCHRONOUS, or SSM_ASYNCHRONOUS, or 
  8764.    SSM_MIXED. 
  8765.  
  8766. fSuccess (PBOOL) - input/output 
  8767.    Success indicator: 
  8768.  
  8769.    TRUE 
  8770.       Mode or interest successfully set. 
  8771.  
  8772.    FALSE 
  8773.       Mode or interest not successfully set. 
  8774.  
  8775.  
  8776. ΓòÉΓòÉΓòÉ <hidden> Return Values - MsgControlHook ΓòÉΓòÉΓòÉ
  8777.  
  8778. fProcessed (BOOL) - return 
  8779.    Processing indicator: 
  8780.  
  8781.    TRUE 
  8782.       Do not call next hook in chain 
  8783.  
  8784.    FALSE 
  8785.       Call next hook in chain. 
  8786.  
  8787.  
  8788. ΓòÉΓòÉΓòÉ <hidden> Notes - MsgControlHook ΓòÉΓòÉΓòÉ
  8789.  
  8790. If the hook is unable to alter the message control state, then the hook must 
  8791. establish the relevant error information. 
  8792.  
  8793.  
  8794. ΓòÉΓòÉΓòÉ <hidden> Syntax - MsgControlHook ΓòÉΓòÉΓòÉ
  8795.  
  8796. /*******************************************/
  8797. /* This hook allows the call which         */
  8798. /* determine the flow of messages to be    */
  8799. /* intercepted.                            */
  8800. /*******************************************/
  8801.  
  8802. #define INCL_WINHOOKS   /* Or use INCL_WIN or INCL_PM */
  8803. #include <os2.h>
  8804.  
  8805. HAB    hab;           /* Anchor-block handle */
  8806. LONG   idContext;     /* Origin of call to hook */
  8807. HWND   hwnd;          /* Window handle */
  8808. PSZ    pszClassName;  /* Window class name */
  8809. ULONG  usMsgClass;    /* Message class */
  8810. LONG   idControl;     /* Control setting */
  8811. PBOOL  fSuccess;      /* Success indicator */
  8812. BOOL   fProcessed;    /* Processing indicator */
  8813.  
  8814. fProcessed = MsgControlHook(hab, idContext,
  8815.                hwnd, pszClassName,
  8816.                usMsgClass, idControl,
  8817.                fSuccess);
  8818.  
  8819.  
  8820. ΓòÉΓòÉΓòÉ 3.13. MsgFilterHook ΓòÉΓòÉΓòÉ
  8821.  
  8822.  
  8823. ΓòÉΓòÉΓòÉ <hidden> Topics - MsgFilterHook ΓòÉΓòÉΓòÉ
  8824.  
  8825. Select an item: 
  8826.  
  8827. Function Syntax 
  8828. Parameters 
  8829. Return Values 
  8830. Notes 
  8831. Related Messages 
  8832. Glossary 
  8833.  
  8834.  
  8835. ΓòÉΓòÉΓòÉ <hidden> Parameters - MsgFilterHook ΓòÉΓòÉΓòÉ
  8836.  
  8837. hab (HAB) - input 
  8838.    Anchor-block handle. 
  8839.  
  8840. pQmsg (PQMSG) - input 
  8841.    A queue message data structure. 
  8842.  
  8843. msgf (ULONG) - input 
  8844.    Context in which the hook has been called: 
  8845.  
  8846.    MSGF_DIALOGBOX 
  8847.       Dialog-box mode loop. 
  8848.  
  8849.    MSGF_TRACK 
  8850.       Window-movement and size tracking. When this hook is used the TRACKINFO 
  8851.       structure specified the ptiTrackinfo parameter of the WinTrackRect 
  8852.       function is updated to give the current state before the hook is called. 
  8853.       Only the rclTrack and the fs parameters are updated. 
  8854.  
  8855.    MSGF_DRAG 
  8856.       Direct manipulation mode loop. 
  8857.  
  8858.    MSGF_DDEPOSTMSG 
  8859.       DDE post message mode loop. 
  8860.  
  8861.  
  8862. ΓòÉΓòÉΓòÉ <hidden> Return Values - MsgFilterHook ΓòÉΓòÉΓòÉ
  8863.  
  8864. fProcessed (BOOL) - return 
  8865.    Processed indicator: 
  8866.  
  8867.    TRUE 
  8868.       The message is not passed on to the next hook in the chain or to the 
  8869.       application 
  8870.  
  8871.    FALSE 
  8872.       The message is passed on to the next hook in the chain or to the 
  8873.       application. 
  8874.  
  8875.  
  8876. ΓòÉΓòÉΓòÉ <hidden> Notes - MsgFilterHook ΓòÉΓòÉΓòÉ
  8877.  
  8878. This hook is called inside any of the system-mode loops, for instance, during 
  8879. size-tracking or move-tracking, or while a dialog box or menu is displayed. 
  8880.  
  8881. The WM_QUIT message is passed to this hook, if it occurs during a mode loop. 
  8882.  
  8883.  
  8884. ΓòÉΓòÉΓòÉ <hidden> Syntax - MsgFilterHook ΓòÉΓòÉΓòÉ
  8885.  
  8886. /*******************************************/
  8887. /* This hook filters messages from inside  */
  8888. /* a mode loop.                            */
  8889. /*******************************************/
  8890.  
  8891. #define INCL_WINHOOKS   /* Or use INCL_WIN or INCL_PM */
  8892. #include <os2.h>
  8893.  
  8894. HAB    hab;         /* Anchor-block handle */
  8895. PQMSG  pQmsg;       /* A queue message data structure */
  8896. ULONG  msgf;        /* Context in which the hook has been called */
  8897. BOOL   fProcessed;  /* Processed indicator */
  8898.  
  8899. fProcessed = MsgFilterHook(hab, pQmsg, msgf);
  8900.  
  8901.  
  8902. ΓòÉΓòÉΓòÉ <hidden> Related Messages - MsgFilterHook ΓòÉΓòÉΓòÉ
  8903.  
  8904. o WM_QUIT 
  8905.  
  8906.  
  8907. ΓòÉΓòÉΓòÉ 3.14. MsgInputHook ΓòÉΓòÉΓòÉ
  8908.  
  8909.  
  8910. ΓòÉΓòÉΓòÉ <hidden> Topics - MsgInputHook ΓòÉΓòÉΓòÉ
  8911.  
  8912. Select an item: 
  8913.  
  8914. Function Syntax 
  8915. Parameters 
  8916. Return Values 
  8917. Notes 
  8918. Glossary 
  8919.  
  8920.  
  8921. ΓòÉΓòÉΓòÉ <hidden> Parameters - MsgInputHook ΓòÉΓòÉΓòÉ
  8922.  
  8923. hab (HAB) - input 
  8924.    Anchor-block handle. 
  8925.  
  8926. pQmsg (PQMSG) - input/output 
  8927.    A pointer to a queue message data structure to be filled in with the 
  8928.    simulated mouse or keyboard event. 
  8929.  
  8930. fSkip (BOOL) - input 
  8931.  
  8932.    TRUE 
  8933.       The hook should advance to the next message. 
  8934.  
  8935.       No message is passed in when fSkip is set to TRUE. The pQmsg parameter is 
  8936.       NULL in the case. 
  8937.  
  8938.       When the hook is called with fSkip set to TRUE and there are no further 
  8939.       messages to pass in, the MsgInputHook hook must be released using 
  8940.       WinReleaseHook. 
  8941.  
  8942.    FALSE 
  8943.       The current message should be returned. 
  8944.  
  8945.       As long as the hook procedure is called with fSkip set to FALSE, the hook 
  8946.       must continue to return the same message. 
  8947.  
  8948. pfNoRecord (PBOOL) - output 
  8949.  
  8950.    TRUE 
  8951.       The message will not be recorded in the JournalRecordHook hook. 
  8952.  
  8953.       Unless journal recording is specifically needed by the application, this 
  8954.       parameter should always be set to TRUE. 
  8955.  
  8956.    FALSE 
  8957.       The message will be recorded in the JournalRecordHook hook. 
  8958.  
  8959.  
  8960. ΓòÉΓòÉΓòÉ <hidden> Return Values - MsgInputHook ΓòÉΓòÉΓòÉ
  8961.  
  8962. fSuccess (BOOL) - return 
  8963.  
  8964.    TRUE 
  8965.       The QMSG structure contains the current message to be passed in for 
  8966.       handling. 
  8967.  
  8968.    FALSE 
  8969.       The QMSG structure was not filled in. There are no further messages to 
  8970.       pass in. 
  8971.  
  8972.  
  8973. ΓòÉΓòÉΓòÉ <hidden> Notes - MsgInputHook ΓòÉΓòÉΓòÉ
  8974.  
  8975. This hook is intended for simulated user input and only mouse and keyboard 
  8976. messages should be passed in.  All other messages will be discarded.  Mouse and 
  8977. keyboard messages injected into this hook will have the same effect as if they 
  8978. were generated by the mouse or keyboard device driver.  The messages are routed 
  8979. in the same manner as normal user input. 
  8980.  
  8981. The pfNoRecord parameter defaults to TRUE, implying that messages received from 
  8982. the MsgInputHook hook will not be recorded in the JournalRecordHook hook. 
  8983. Injected messages should not be recorded unless necessary. 
  8984.  
  8985. When all messages have been passed in the application must remove the 
  8986. MsgInputHook hook using WinReleaseHook. 
  8987.  
  8988.  
  8989. ΓòÉΓòÉΓòÉ <hidden> Syntax - MsgInputHook ΓòÉΓòÉΓòÉ
  8990.  
  8991. /**********************************************/
  8992. /* This function is specific to version 2.1,  */
  8993. /* or higher, of the OS/2 operating system.   */
  8994. /*                                            */
  8995. /* This hook allows applications to inject    */
  8996. /* one or more events into the system input   */
  8997. /* queue.  Similar to the JournalPlaybackHook */
  8998. /* hook, it enables applications to simulate  */
  8999. /* user input.                                */
  9000. /**********************************************/
  9001.  
  9002. #define INCL_WINHOOKS   /* Or use INCL_WIN or INCL_PM */
  9003. #include <os2.h>
  9004.  
  9005. HAB    hab;         /* Anchor-block handle */
  9006. PQMSG  pQmsg;
  9007. BOOL   fSkip;
  9008. PBOOL  pfNoRecord;
  9009. BOOL   fSuccess;
  9010.  
  9011. fSuccess = MsgInputHook(hab, pQmsg, fSkip,
  9012.              pfNoRecord);
  9013.  
  9014.  
  9015. ΓòÉΓòÉΓòÉ 3.15. SendMsgHook ΓòÉΓòÉΓòÉ
  9016.  
  9017.  
  9018. ΓòÉΓòÉΓòÉ <hidden> Topics - SendMsgHook ΓòÉΓòÉΓòÉ
  9019.  
  9020. Select an item: 
  9021.  
  9022. Function Syntax 
  9023. Parameters 
  9024. Notes 
  9025. Glossary 
  9026.  
  9027.  
  9028. ΓòÉΓòÉΓòÉ <hidden> Parameters - SendMsgHook ΓòÉΓòÉΓòÉ
  9029.  
  9030. hab (HAB) - input 
  9031.    Anchor-block handle. 
  9032.  
  9033. psmh (PSMHSTRUCT) - input 
  9034.    Pointer to a send message hook structure. This a structure contains the 
  9035.    parameters to the WinSendMsg function. 
  9036.  
  9037. fInterTask (BOOL) - input 
  9038.    Intertask indicator: 
  9039.  
  9040.    TRUE 
  9041.       The message is sent between tasks (intertask) 
  9042.  
  9043.    FALSE 
  9044.       The message is sent within a task (intratask). 
  9045.  
  9046.  
  9047. ΓòÉΓòÉΓòÉ <hidden> Notes - SendMsgHook ΓòÉΓòÉΓòÉ
  9048.  
  9049. This hook may be called whenever a window procedure is called via the 
  9050. WinSendMsg function. 
  9051.  
  9052. It is called in the context of the sender, whereby if the sender has a queue 
  9053. hook installed it is called, but if the receiver has a queue hook installed it 
  9054. is not called. 
  9055.  
  9056. The next hook in the chain is always called. 
  9057.  
  9058.  
  9059. ΓòÉΓòÉΓòÉ <hidden> Syntax - SendMsgHook ΓòÉΓòÉΓòÉ
  9060.  
  9061. /*******************************************/
  9062. /* This hook filters messages sent by the  */
  9063. /* WinSendMsg function.                    */
  9064. /*******************************************/
  9065.  
  9066. #define INCL_WINHOOKS   /* Or use INCL_WIN or INCL_PM */
  9067. #include <os2.h>
  9068.  
  9069. HAB         hab;              /* Anchor-block handle */
  9070. PSMHSTRUCT  psmh;             /* Pointer to a send message hook structure */
  9071. BOOL        fInterTask;       /* Intertask indicator */
  9072.  
  9073. SendMsgHook(hab, psmh, fInterTask);
  9074.  
  9075.  
  9076. ΓòÉΓòÉΓòÉ 3.16. DialogProc ΓòÉΓòÉΓòÉ
  9077.  
  9078.  
  9079. ΓòÉΓòÉΓòÉ <hidden> Topics - DialogProc ΓòÉΓòÉΓòÉ
  9080.  
  9081. Select an item: 
  9082.  
  9083. Function Syntax 
  9084. Parameters 
  9085. Return Values 
  9086. Notes 
  9087. Related Messages 
  9088. Glossary 
  9089.  
  9090.  
  9091. ΓòÉΓòÉΓòÉ <hidden> Parameters - DialogProc ΓòÉΓòÉΓòÉ
  9092.  
  9093. hwnd (HWND) - input 
  9094.    Handle of the window to which the message applies. 
  9095.  
  9096. usmsg (USHORT) - input 
  9097.    Message identity. 
  9098.  
  9099. mpParam1 (MPARAM) - input 
  9100.    Message parameter 1. 
  9101.  
  9102. mpParam2 (MPARAM) - input 
  9103.    Message parameter 2. 
  9104.  
  9105.  
  9106. ΓòÉΓòÉΓòÉ <hidden> Return Values - DialogProc ΓòÉΓòÉΓòÉ
  9107.  
  9108. mresReply (MRESULT) - return 
  9109.    Message-return data. 
  9110.  
  9111.  
  9112. ΓòÉΓòÉΓòÉ <hidden> Notes - DialogProc ΓòÉΓòÉΓòÉ
  9113.  
  9114. This procedure is the same as any other window procedure, except that it can 
  9115. receive predefined window messages specific to dialog box windows. 
  9116.  
  9117. Note:  It does not receive the WM_CREATE message, but the same information is 
  9118.        carried by the WM_INITDLG message, that is generated during the creation 
  9119.        of a dialog-box window. 
  9120.  
  9121. hwnd is always the window handle of the dialog-box window. 
  9122.  
  9123. The dialog procedure typically processes only some of the messages passed to 
  9124. it.  Any messages that it does not process must be passed to WinDefFileDlgProc 
  9125. if the dialog box is the standard file selection dialog, WinDefFontDlgProc if 
  9126. the dialog box is the standard font selection dialog box, or for all other 
  9127. dialog boxes, WinDefDlgProc (not WinDefWindowProc), because these perform the 
  9128. standard dialog-box processing for those messages. 
  9129.  
  9130.  
  9131. ΓòÉΓòÉΓòÉ <hidden> Syntax - DialogProc ΓòÉΓòÉΓòÉ
  9132.  
  9133. /*******************************************/
  9134. /* This is a window procedure that         */
  9135. /* automatically subclasses each instance  */
  9136. /* of a dialog box.                        */
  9137. /*******************************************/
  9138.  
  9139. #define INCL_WINDIALOGS   /* Or use INCL_WIN or INCL_PM. Also in COMMON section */
  9140. #include <os2.h>
  9141.  
  9142. HWND     hwnd;         /* Handle of the window to which the message applies */
  9143. USHORT   usmsg;        /* Message identity */
  9144. MPARAM   mpParam1;     /* Message parameter 1 */
  9145. MPARAM   mpParam2;     /* Message parameter 2 */
  9146. MRESULT  mresReply;    /* Message-return data */
  9147.  
  9148. mresReply = DialogProc(hwnd, usmsg,
  9149.               mpParam1, mpParam2);
  9150.  
  9151.  
  9152. ΓòÉΓòÉΓòÉ <hidden> Related Messages - DialogProc ΓòÉΓòÉΓòÉ
  9153.  
  9154. o WM_CREATE 
  9155. o WM_INITDLG 
  9156.  
  9157.  
  9158. ΓòÉΓòÉΓòÉ 3.17. ThunkProc ΓòÉΓòÉΓòÉ
  9159.  
  9160.  
  9161. ΓòÉΓòÉΓòÉ <hidden> Topics - ThunkProc ΓòÉΓòÉΓòÉ
  9162.  
  9163. Select an item: 
  9164.  
  9165. Function Syntax 
  9166. Parameters 
  9167. Return Values 
  9168. Notes 
  9169. Glossary 
  9170.  
  9171.  
  9172. ΓòÉΓòÉΓòÉ <hidden> Parameters - ThunkProc ΓòÉΓòÉΓòÉ
  9173.  
  9174. hwnd (HWND) - input 
  9175.    Window handle. 
  9176.  
  9177. usmsg (USHORT) - input 
  9178.    Message identity. This is an application-defined message. The value is 
  9179.    greater than or equal to WM_USER. 
  9180.  
  9181. mpParam1 (MPARAM) - input 
  9182.    Message parameter 1. 
  9183.  
  9184. mpParam2 (MPARAM) - input 
  9185.    Message parameter 2. 
  9186.  
  9187. pWndProc (PFNWP) - input 
  9188.    Window-procedure identifier. 
  9189.  
  9190.  
  9191. ΓòÉΓòÉΓòÉ <hidden> Return Values - ThunkProc ΓòÉΓòÉΓòÉ
  9192.  
  9193. mresReply (MRESULT) - return 
  9194.    Message-return data. 
  9195.  
  9196.  
  9197. ΓòÉΓòÉΓòÉ <hidden> Notes - ThunkProc ΓòÉΓòÉΓòÉ
  9198.  
  9199. Pointer conversion is normally performed automatically by the operating system. 
  9200. An application needs to provide its own pointer-conversion procedures only for 
  9201. application-defined messages which may be passed from 16-bit code to 32-bit 
  9202. code. 
  9203.  
  9204. A pointer-conversion procedure is associated with a window by the 
  9205. WinSetWindowThunkProc and WinSetClassThunkProc functions. 
  9206.  
  9207. The logic of the pointer-conversion procedure is as follows: 
  9208.  
  9209.  1. Convert each message parameter, if necessary.  This may include converting 
  9210.     any data structures to which the parameter points. 
  9211.  
  9212.  2. Call the window procedure referenced by the pWndProc parameter, supplying 
  9213.     as arguments hwnd, usmsg, mpParam1 and mpParam2. 
  9214.  
  9215.  3. Collect the return value and, if necessary, convert it. 
  9216.  
  9217.     Note that structures to which the return value might point cannot be 
  9218.     converted. 
  9219.  
  9220.  4. Convert any structures referenced by message parameters which might have 
  9221.     been modified by the window procedure. Note that the pointer-conversion 
  9222.     procedure should ensure that the original memory is still available before 
  9223.     converting the structures. 
  9224.  
  9225. A pointer-conversion procedure should process only those messages that it 
  9226. recognizes. On receiving unrecognized messages, it should set usmsg to 0. 
  9227.  
  9228.  
  9229. ΓòÉΓòÉΓòÉ <hidden> Syntax - ThunkProc ΓòÉΓòÉΓòÉ
  9230.  
  9231. /*******************************************/
  9232. /* This procedure provides pointer         */
  9233. /* conversion for application-defined      */
  9234. /* messages.                               */
  9235. /*******************************************/
  9236.  
  9237.  
  9238. #include <os2.h>
  9239.  
  9240. HWND     hwnd;         /* Window handle */
  9241. USHORT   usmsg;        /* Message identity */
  9242. MPARAM   mpParam1;     /* Message parameter 1 */
  9243. MPARAM   mpParam2;     /* Message parameter 2 */
  9244. PFNWP    pWndProc;     /* Window-procedure identifier */
  9245. MRESULT  mresReply;    /* Message-return data */
  9246.  
  9247. mresReply = ThunkProc(hwnd, usmsg, mpParam1,
  9248.               mpParam2, pWndProc);
  9249.  
  9250.  
  9251. ΓòÉΓòÉΓòÉ 3.18. WndProc ΓòÉΓòÉΓòÉ
  9252.  
  9253.  
  9254. ΓòÉΓòÉΓòÉ <hidden> Topics - WndProc ΓòÉΓòÉΓòÉ
  9255.  
  9256. Select an item: 
  9257.  
  9258. Function Syntax 
  9259. Parameters 
  9260. Return Values 
  9261. Notes 
  9262. Glossary 
  9263.  
  9264.  
  9265. ΓòÉΓòÉΓòÉ <hidden> Parameters - WndProc ΓòÉΓòÉΓòÉ
  9266.  
  9267. hwnd (HWND) - input 
  9268.    Window handle. 
  9269.  
  9270. msg (ULONG) - input 
  9271.    Message identity. 
  9272.  
  9273. mp1 (MPARAM) - input 
  9274.    Message parameter 1. 
  9275.  
  9276. mp2 (MPARAM) - input 
  9277.    Message parameter 2. 
  9278.  
  9279.  
  9280. ΓòÉΓòÉΓòÉ <hidden> Return Values - WndProc ΓòÉΓòÉΓòÉ
  9281.  
  9282. mresReply (MRESULT) - return 
  9283.    Message-return data. 
  9284.  
  9285.  
  9286. ΓòÉΓòÉΓòÉ <hidden> Notes - WndProc ΓòÉΓòÉΓòÉ
  9287.  
  9288. This procedure is associated with a window by the pfnWndProc of the 
  9289. WinRegisterClass function. 
  9290.  
  9291. The window procedure typically processes only some of the messages passed to 
  9292. it.  Those messages it does not process must be passed on to the 
  9293. WinDefWindowProc function, which performs the standard window processing for 
  9294. those messages. 
  9295.  
  9296.  
  9297. ΓòÉΓòÉΓòÉ <hidden> Syntax - WndProc ΓòÉΓòÉΓòÉ
  9298.  
  9299. /*******************************************/
  9300. /* This defines the window procedure       */
  9301. /* provided by an application.             */
  9302. /*******************************************/
  9303.  
  9304. #define INCL_WINMESSAGEMGR   /* Or use INCL_WIN or INCL_PM. Also in COMMON section */
  9305. #include <os2.h>
  9306.  
  9307. HWND     hwnd;         /* Window handle */
  9308. ULONG    msg;          /* Message identity */
  9309. MPARAM   mp1;          /* Message parameter 1 */
  9310. MPARAM   mp2;          /* Message parameter 2 */
  9311. MRESULT  mresReply;    /* Message-return data */
  9312.  
  9313. mresReply = WndProc(hwnd, msg, mp1, mp2);
  9314.