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>fdraw()</b> g_exam23 http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FDRAW()                                                             G_EXAM23
   Draws complex figures from a format string.

   Syntax
         FDRAW(cFormatString)

   Arguments
         cFormatString   String with drawing commands.
        +------------------------------------------------------------------+
        |Table 10.1. FDRAW() Movement Commands:                            |
        |Brackets [] indicate a parameter and should not be included in the|
        |format string.                                                    |
        -------------------------------------------------------------------|
        |U[n]     |Up                                                      |
        |D[n]     |Down                                                    |
        |L[n]     |Left                                                    |
        |R[n]     |Right                                                   |
        |E[n]     |Diagonally up and to the right                          |
        |F[n]     |Diagonally down and to the right                        |
        |G[n]     |Diagonally down and to the left                         |
        |H[n]     |Diagonally up and to the left                           |
        |M[X,Y]   |Moves to an absolute screen position                    |
        |M[+X,+Y] |Moves to a relative screen position                     |
        -------------------------------------------------------------------|
        |Prefix to Movement Commands:                                      |
        -------------------------------------------------------------------|
        |B        |Move, but do not plot points                            |
        |N        |Move, but return to the origional position when finished|
        |P        |Line pattern (integer value)                            |
        |K        |XOR figure, placing the line again will erase it        |
        -------------------------------------------------------------------|
        |Other Commands:                                                   |
        -------------------------------------------------------------------|
        |C[n]     |Sets the color to the palette number                    |
        |S[n]     |Sets the scale factor to n, where 4 is the default      |
        +------------------------------------------------------------------+

   Returns
         None

   Description
         FDRAW() draws complex figures from a format string. The commands can
         be specified in any order from left to right, so commands that
         influence other commands need be in the correct order.

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