GouraudStripV
GouraudStripV Y1, Rgb1, Y2, Rgb2, Xpos
 
Parameters:

    Y1 = The Starting Y coordinate of the strip
    Rgb1 = The RGB colour at the start of the strip
    Y2 = The ending Y coordinate of the strip
    Rgb2 = Then RGB colour at the end of the strip
    Xpos = The X coordinate of the strip
Returns: NONE
 

      GouraudStripV draws a vertical gouraud shaded strip to the current surface.



FACTS:


      * None



Mini Tutorial:


      This example draws simply some gouraud shaded strips to the screen.

  
; Draw 100 gouraud strips to the screen
  For lp =0 To 100
     GouraudStripV 100,RGB(255,0,0),200+lp,RGB(100,200,10),50+lp
  Next
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  




 
Related Info: GouraudQuad | GouraudStripH | GouraudTri | ShadeBox :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com