New Function CircleGradient() in FWH 9.09

New Function CircleGradient() in FWH 9.09

Postby Daniel Garcia-Gil » Mon Sep 21, 2009 10:05 pm

New function CircleGradinet Draw a circular gradient or return a HBITMAP/HBRUSH with a circular gradient inside a rectangle
Code: Select all  Expand view

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

Image

Code: Select all  Expand view
hBitmap = CircleGradient( 0, { 0, 0, 400, 400 } , nRGB( 212, 219, 237 ), nRGB( 132, 179, 249 ), 190, 190, 2 )

Image

Code: Select all  Expand view
 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
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 82 guests