Search found 24 matches: floodfill

Return to advanced search

Re: testMap

... := oDlg:GetDc() Local nLivello:= oBrw:oTreeItem:nLevel IF nLivello = 3 nRow := provve->posx nCol := provve->posy oCartina:bPainted = { |hDC| FLOODFILL( hDC,nRow,nCol,12632256) } Else Endif oDlg:UPDATE() oDlg:refresh() DeleteDC( hDC ) oDlg:ReleaseDC() Return nil But it put the color to everything ...
by Silvio.Falconi
Tue Mar 26, 2013 9:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: testMap
Replies: 6
Views: 1658

testMap

... this zone ? 2. How I can save the x,y to savethem on dbf and make the fill when I click on this record sample Espana x,y ->>>> RED floodfill on bitmap Italy x,y -----> BLue Germany x,y ----> Yellow
by Silvio.Falconi
Tue Mar 26, 2013 6:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: testMap
Replies: 6
Views: 1658

Re: refill a bitmap

sorry But I found the function FloodFill

I think it can be done calculating the coors the bitmaps

FloodFill(hCDC, x,y , CLR_BLACK, nColor)

but I not Know How Found the coors of the bitmap
by MdaSolution
Sun Jan 17, 2010 10:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: refill a bitmap
Replies: 2
Views: 517

Re: Gradient on TPanel?

tpanel has an error on paint method. Antonio erased the line where call the function floodfill because when we use different tpanel there is an error on hbrush variable. If you want the same effect of tpanel you must create a dialog with Nor 4 style and insert at ...
by Silvio
Mon Aug 31, 2009 11:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Gradient on TPanel?
Replies: 5
Views: 712

Jeff,

Try drawing a box then use floodFill(). Use the same color pen for both.

Maybe you will have to redraw the gridlines and graph afterward.

James
by James Bott
Sat Mar 17, 2007 4:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: change color of part of a screen
Replies: 6
Views: 1416

Jeff,

If you don't use a dooted red line (use a continuous one) then you can use FloodFill()
by Antonio Linares
Sat Mar 17, 2007 6:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change color of part of a screen
Replies: 6
Views: 1416

Carles,

Prueba a usar FloodFill() ó su equivalente en 32 bits ExtFloodFill()
by Antonio Linares
Tue Feb 27, 2007 12:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: RoundRect()
Replies: 3
Views: 930

Floodfill and rectang

... COLOR CLR_HBLUE DEFINE BRUSH oPen2 COLOR CLR_HRED MY FUNC IS CALLED FLOODY(NTOP,NLEFT,NBOTTOM,NRIGHT,NCOLOR,NUMBER) bUT i NOT kNOW HOW FLOODFILL A RECTANG i TRY WITH : LOCAL oBrush, hOld hBru := CreateSolidBrush( nColor ) hOld := SelectObject( ::hDC, hBru ...
by Silvio
Wed Jan 25, 2006 12:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Floodfill and rectang
Replies: 0
Views: 406

Re: 2 questions: @ x, y bitmap and draw rectangle

1) Use NOBORDER clause.

2) Try FloodFill( nRow, nCol, nRGBColor ) method.

EMG
by Enrico Maria Giordano
Tue Nov 22, 2005 10:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: 2 questions: @ x, y bitmap and draw rectangle
Replies: 2
Views: 1080
Previous

Return to advanced search