Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>hp_ltpat()<u></b></u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
HP_LTPAT()
   Specifies the length of a line pattern set.

   Syntax
         nPatternLength = HP_LTPAT(nPatternNo,nPattern [,nPatternLength])

   Arguments
         nPatternNo     FLIPPER pattern number.
         nPattern       HPGL pattern number.
         OPTIONAL PARAMETERS
         nPatternLength Length of the pattern for an HPGL device.
                        +-----------------------+
                        |     HPGL Patterns     |
                        ------------------------|
                        |Pattern|HPGL   |Pattern|
                        |Number |Pattern|Length |
                        |-------+-------+-------|
                        |   0   |   0   | SOLID |
                        |   1   |   1   |  1.0  |
                        |   2   |   2   |  2.0  |
                        |   3   |   3   |  2.0  |
                        |   4   |   1   |  0.5  |
                        |   5   |   4   |  1.0  |
                        |   6   |   5   |  1.0  |
                        |   7   |   6   |  1.0  |
                        |   8   |   2   |  1.0  |
                        |   9   |   3   |  1.0  |
                        |  10   |   1   |  2.0  |
                        +-----------------------+

   Returns
         nPatternLength Returns the current pattern length.

   Description
         On some higher resolution HPGL devices the line patterns do not show
         up because they are so close together. HP_LNPAT() is used to set a
         pattern number and increase the length of the various line patterns
         on HPGL devices.

         nPattern is the first parameter of the LT function in HPGL. It is one
         of the internal HPGL line patterns.

         nPatternLength specifies the length of one complete line pattern set
         with the LT function of the HPGL language. It is expressed as a
         percentage of the distance between the scaling points P1 and P2.

See Also: HP_LNSTYLE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson