Search found 423 matches: obrush

Return to advanced search

Any tests drawing text with GDIPLUS ?

Hello, I tested drawing text with GDIPLUS with Methods oGraphics:DrawText( nTop, nLeft, cText, cFont, nFont, oBrush ) oGraphics:DrawTextLFont( nTop, nLeft, cText, oFont, nH, oBrush, hDC, lB, lIt, lUnd, lStr, nOri, nEsc ) NO text displayed :( There aren't any tests or informations ...
by ukoenig
Sat Sep 14, 2019 8:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Any tests drawing text with GDIPLUS ?
Replies: 7
Views: 1557

Re: A METRO image-background without FREEIMAGE ?

... ) oMetro:DrawImage( aImage, aRect, nil, 1 ) a working solution // metro image-background ( FREEIMAGE needed ) DEFINE IMAGE oImage FILENAME cImage oBrush := TBrush():new( ,,,, ResizeBmp( oImage:hBitmap, aRect[4], aRect[3], .T. ) ) // 1 = stretch, 2 : fitoutside, 3:fitinside oImage:End() oMetro:SetBrush( ...
by nageswaragunupudi
Mon Sep 09, 2019 4:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A METRO image-background without FREEIMAGE ?
Replies: 5
Views: 972

A METRO image-background without FREEIMAGE ?

... ) oMetro:DrawImage( aImage, aRect, nil, 1 ) a working solution // metro image-background ( FREEIMAGE needed ) DEFINE IMAGE oImage FILENAME cImage oBrush := TBrush():new( ,,,, ResizeBmp( oImage:hBitmap, aRect[4], aRect[3], .T. ) ) // 1 = stretch, 2 : fitoutside, 3:fitinside oImage:End() oMetro:SetBrush( ...
by ukoenig
Sat Sep 07, 2019 3:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A METRO image-background without FREEIMAGE ?
Replies: 5
Views: 972

Re: Multiple Dimension Array in Combobox

...        ENDDO        oListini:close()     Select (nArea)   return alist_temp DEFINE DIALOG oDlg RESOURCE "Combos" BRUSH oBrush TRANSPARENT REDEFINE COMBOBOX oCbx1 VAR cItem1 ITEMS ArrTranspose( aListini )[ 2] // I wish show trim(oListini:id) ID 100 OF oDlg; ON CHANGE ...
by Silvio.Falconi
Wed Aug 28, 2019 7:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple Dimension Array in Combobox
Replies: 24
Views: 4082

Re: METRO with visible taskbar ?

... 0 TO ScreenHeight() + 20, ScreenWidth() PIXEL ; STYLE nOr( WS_POPUP ); COLOR CLR_WHITE, CLR_GREEN oMetro := MakeMetroPanel( oMWnd ) DEFINE BRUSH oBrush FILE c_Path1 + "earth.bmp" RESIZE oMetro:SetBrush( oBrush ) oBrush:End() oMetro:bRClicked := { |r,c,f,o| msginfo( 'HWND' + NUMTOHEX( ...
by MarioG
Wed Jul 24, 2019 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: METRO with visible taskbar ?
Replies: 5
Views: 1380

Re: dialog resizable

Uwe, on Window I tried with DEFINE WINDOW ::oWnd BRUSH obrush STYLE WS_POPUP and the user must click on a button to exit from ::oWnd but I cannot show the caption and menu pulldown ( no good) on DIALOG it is different because I need to have DEFINE DIALOG ...
by Silvio.Falconi
Wed Jul 03, 2019 9:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: dialog resizable
Replies: 7
Views: 792

Re: TPrinter: Recommended way to print zebra line effect

You can.
In the above example, set the oBrush to the brush you want depending on whatever condition you specify.
by nageswaragunupudi
Tue Apr 30, 2019 9:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TPrinter: Recommended way to print zebra line effect
Replies: 3
Views: 535

Re: How to use GDIPLUS -> NewGradientBrush ?

... make-file from above ? to test texture-brushes and rounded images. http://www.pflegeplus.com/IMAGES/testround1.jpg that works ! oBrush := Brush():NewSolidBrush( 255, 255, 128, 0 ) // Orange needed obrush must be a GDI-texture- or imagebrush to fill a rounded area oGraphics := ...
by ukoenig
Tue Apr 09, 2019 9:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to use GDIPLUS -> NewGradientBrush ?
Replies: 11
Views: 1827

How to use GDIPLUS -> NewGradientBrush ?

... // nTrans2, nRed2, nGreen2, nBlue2 ) CLASS Brush // nType : 1_> horizontal 2-> vertical 3->diagonal derecha 4-> diagonal izq LOCAL oBrush := Brush():NewGradientBrush( 0, 0, 200, 200, 1,; // just the area / size :?: 255, 131, 193, 193,; 255, 255, 255, 255 ) tested as well the same ...
by ukoenig
Sat Apr 06, 2019 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to use GDIPLUS -> NewGradientBrush ?
Replies: 11
Views: 1827

Re: Missing form in GDIPLUS ?

Yes
oPath:FillPath( oGraphics, oBrush )
by cnavarro
Sat Mar 23, 2019 4:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Missing form in GDIPLUS ?
Replies: 5
Views: 884

Re: Missing form in GDIPLUS ?

FOUND !!!

oPath := Path():new()
oPath:AddRoundRect( 500, 400, 80, 100, 30 )
oGraphics:DrawPath( oPen, oPath )

oPath := Path():new()
oPath:AddRoundRect( 630, 400, 80, 100, 30 )
oGraphics:FillPath( oBrush, oPath)

regards
Uwe :D
by ukoenig
Sat Mar 23, 2019 4:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Missing form in GDIPLUS ?
Replies: 5
Views: 884

Missing form in GDIPLUS ?

Testing GDIPLUS I noticed a missing brush like used in oGraphics:DrawRect( oPen, oBrush , 400, 400, 70, 60 ) // oPen, [oBrush], nLeft, nTop, nWidth, nHight oGraphics:DrawEllipse( oPen, oBrush , 500, 100, 60, 60 ) // oPen, [oBrush], nLeft, nTop, nWidth, nHight http://www.pflegeplus.com/IMAGES/Border5.jpg ...
by ukoenig
Sat Mar 23, 2019 3:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Missing form in GDIPLUS ?
Replies: 5
Views: 884

Buttonbar linea inferior

... una barra de botones, https://i.ibb.co/QM5fNDg/buttonbar2.jpg Este es mi codigo: function Main() local oWnd, oBar, oMsgBar, oBtn, oBrush, oFont DEFINE BRUSH oBrush COLOR RGB(255,255,255) DEFINE FONT oFont NAME "TAHOMA" SIZE 0,-14 DEFINE WINDOW oWnd BRUSH oBrush TITLE ...
by Jorge_T
Tue Jan 22, 2019 9:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Buttonbar linea inferior
Replies: 3
Views: 548

Grupo de Botones

... usuario. aca dejo parte del codigo: Define Dialog oDlgMainMenu resource "oDlgMainMenu" title 'Registro de Datos de la Empresa' BRUSH oBrush TRANSPARENT oDlgMainMenu:lHelpIcon:=.f. Redefine GROUP oGrpSuperUser ID 1 OF oDlgMainMenu TRANSPARENT /////////////////////////// Menu Super ...
by JoseAlvarez
Fri Oct 12, 2018 1:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Grupo de Botones
Replies: 4
Views: 1060

Re: an image on btnbmp and other

... nil  https://imagizer.imageshack.com/v2/xq90/922/ugaSiZ.png nClrBack in FW_SayText(...) can be 1) Color value 2) Alpha Color 3) oBrush or hBrush In case of (2) and (3), entire rectangle is filled with the color/brush. In case of (1) the text is painted using nClrText/nClrBack ...
by nageswaragunupudi
Wed May 23, 2018 10:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: an image on btnbmp and other
Replies: 21
Views: 3938
PreviousNext

Return to advanced search