New Function CircleGradient() in FWH 9.09

Post Reply
User avatar
Daniel Garcia-Gil
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita
Contact:

New Function CircleGradient() in FWH 9.09

Post by Daniel Garcia-Gil »

New function CircleGradinet Draw a circular gradient or return a HBITMAP/HBRUSH with a circular gradient inside a rectangle

Code: Select all | Expand


 CircleGradient( hDC, { 0, 0, 400, 400 } , nRGB( 212, 219, 237 ), nRGB( 132, 179, 249 ) )
 

Image

Code: Select all | Expand

hBitmap = CircleGradient( 0, { 0, 0, 400, 400 } , nRGB( 212, 219, 237 ), nRGB( 132, 179, 249 ), 190, 190, 2 )

Image

Code: Select all | Expand

 hBrush = CircleGradient( 0, { 0, 0, 400, 400 } , nRGB( 212, 219, 237 ), nRGB( 132, 179, 249 ), -190, -190 , 3 )

Image

more info: http://wiki.fivetechsoft.com/doku.php?id=fivewin_function_circlegradient
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
Post Reply