GouraudStripH
GouraudStripH X1, Rgb1, X2, Rgb2, Ypos
 
Parameters:

    X1 = The Starting X coordinate of the strip
    Rgb1 = The RGB colour at the start of the strip
    X2 = The ending X coordinate of the strip
    Rgb2 = Then RGB colour at the end of the strip
    Ypos = The Y coordinate of the strip
Returns: NONE
 

      GouraudStripH draws a horizontal gouraud shaded strip to the current surface.



FACTS:


      * none



Mini Tutorial:


      This example draws some gouraud shaded strips to the screen.

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




 
Related Info: GouraudQuad | GouraudStripV | GouraudTri | ShadeBox :
 


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