Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_point()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_POINT()


Syntax:        L_POINT(<expN1>,<expN2>,<expN3>)


Purpose:       To draw a graphics point on the screen.


Arguments:     <expN1> is the vertical co-ordinate of the point.

               <expN2> is the horizontal co-ordinate of the point.

               <expN3> is the color code number representing the
               required color.


Returns:       Nothing.


Usage:         Useful for adding graphics to output.


Examples:      Sample code draws a sinusoidal curve

               x = 100
               y = 0
               pointcolor = 3

               L_GMODE(18)

               DO WHILE y < 300
                  L_POINT(x, y, pointcolor)
                  y = y + 1
                  x = 100 + 20 * (L_SIN((y/45) * L_PI()))
               ENDDO


Language:      C

See Also: L_GMODE() L_BOX() L_BOXFIL() L_CIRCLE() L_CIRCLF()

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