CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 1999
    Location
    US, Florida
    Posts
    817

    By saying vertical gradient I meant as gradient from left to right..not from top to bottom or from b

    Thank You


  2. #2
    Join Date
    Jun 1999
    Location
    virginia
    Posts
    16

    Re: By saying vertical gradient I meant as gradient from left to right..not from top to bottom or fr

    True the program is top to bottom or bottom to top but you can use the same logic that John Rogers used. He broke the screen down to 63 rectangles using the rectangle size as 1/63 of the screen height and the screen width. All you have to do is change the rectangle to 1/63 of the screen width and all the screen height. Fill in this rectangle with the color and add the step size to the current rectangle left.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured