;*DDK*************************************************************************/
;
; COPYRIGHT    Copyright (C) 1995 IBM Corporation
;
;    The following IBM OS/2 WARP source code is provided to you solely for
;    the purpose of assisting you in your development of OS/2 WARP device
;    drivers. You may use this code in accordance with the IBM License
;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
;    Copyright statement may not be removed.;
;*****************************************************************************/
        page    ,132
;/*****************************************************************************
;*
;* SOURCE FILE NAME = plylocal.inc
;*
;* DESCRIPTIVE NAME = Local variables for polyline routines. 
;*
;*
;* VERSION      V2.0
;*
;* DATE         03/31/87
;*
;* DESCRIPTION  
;*
;* FUNCTIONS    NONE
;*              
;*
;* NOTES        NONE
;*
;* STRUCTURES   NONE
;*
;* EXTERNAL REFERENCES
;*
;*              NONE
;*
;* EXTERNAL FUNCTIONS
;*
;*              NONE
;*
;* CHANGE ACTIVITY =
;*   DATE      FLAG        APAR   CHANGE DESCRIPTION
;*   --------  ----------  -----  --------------------------------------
;*   mm/dd/yy  @Vr.mpppxx  xxxxx  xxxxxxx
;*   03/31/87                     Ken Settle wrote
;*****************************************************************************/

;/*
;** DrawLinesInPath variables
;*/

        localW  returnvalue

;/*
;** PolyLine variables
;*/

        localW  wStyleCounter
        localW  Flags
        localW  Count
        localW  Points
        localW  npddc

;/*
;** common variables
;*/

        localW  wStyleMask                        ; the style mask and its reverse
        localW  npfnUnSetup
        localB  CurLineColor
        localW  DrawModeIndex
        localW  cPlanes
        localW  cbNextPlane
        localW  wBitmapROP
        localW  wStyleStepHorz
        localW  wStyleStepVert
        localW  wStyleStepDiag
        localW  wStyleStepHorzTmp
        localW  wStyleStepVertTmp
        localW  offNextLine

;/*
;** workhorse init input
;*/

        localW  cbScanSize
        localW  cbHugeScanWrap
        localW  cySurface                         ; surface height
        localW  cScansPerSegment                  ; zero if non-huge
        localD  pSurfaceStart
        localW  anpfnRunRoutines
        localB  LineStyle                         ; LINETYPE_XXX - 1
        localW  npfnPassSetup
        localW  cPasses

;/*
;** workhorse per line input
;/*

        localV  lsg,%(SIZE LINESEGMENT)
        localW  wStyleStepRun
        localW  wStyleStepSide
        localB  bActiveStyleCounter
        localB  bActiveStyleMask

;/*
;** calculated by workhorse
;*/

        localW  yA
        localW  cScans                            ; not counting the last one!
        localW  cA                                ; undefined if cScans is zero
        localW  cB
        localW  cm
        localW  npfnRunRoutine
        localW  iWhichDDA
        localW  wError
        localW  wFracS
        localB  bRotBitMask                       ; rotating-bit mask, current bit
        localW  cbScanAddressDelta                ; (+/-) cbScanSize
        localW  cbSideStepAddressDelta
        localW  cbHugeScanDelta                   ; (+/-) cbHugeScanWrap
        localW  selHugeDelta                      ; (+/-) DOSHUGEINCR
        localW  wScan                             ; (only for huge)
        localD  pSurfaceAddress

;/*
;** destroyed by DDA loop
;*/

        localW  cTmpScans                         ; not counting the last one!
        localW  wTmpError
        localW  wTmpScan                          ; (only for huge)
        localB  bTmpRotBitMask                    ; rotating-bit mask, current bit
        localB  bTmpActiveStyleCounter
        localB  bTmpActiveStyleMask
        localW  cTmpPasses
        localB  TmpCurLineColor
