[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME   
        SetDrMd -- Set drawing mode for a rastport

   SYNOPSIS
        SetDrMd( rp, mode )
                 a1  d0:8

        void SetDrMd( struct rastport *, ubyte );

   FUNCTION
        Set the drawing mode for lines, fills and text.
        Get the bit definitions from rastport.h

   INPUTS
        rp - pointer to rastport structure.
        mode - 0-255, some combinations may not make much sense.

   RESULT
        The mode set is dependent on the bits selected.
        Changes minterms to reflect new drawing mode.
        Sets line drawer to restart pattern.

   BUGS

   SEE ALSO
        setapen() setbpen() graphics/rastport.h