Search found 24 matches: obrush2

Return to advanced search

Re: Two monitors, show different windows

Full code of my function Function MuestraFoto(cTexto) Local oBrush2 Local oWnd2 Local oMonitor2 := FW_GetMonitor( 2 ) DEFINE FONT oBold NAME 'Tahoma' SIZE 0, -320 BOLD DEFINE BRUSH oBRush2 RESOURCE "LAYER" TILED DEFINE WINDOW oWnd2 FROM oMonitor2:Row(50), ...
by Adolfo
Mon Oct 07, 2024 1:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Two monitors, show different windows
Replies: 10
Views: 474

Re: question gdiplus

oGraphics:DrawEllipse( oPen2, oBrush2 , 500, 100, 60, 60 )

Isn't it this you want to delete?
by Otto
Wed Sep 25, 2024 1:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: question gdiplus
Replies: 3
Views: 174

Re: question gdiplus

Silvio, Redraw the background only over the part where the old figure is. oGraphics:DrawEllipse( oPen2, oBrush2 , 500, 100, 60, 60 ) but for oBrush2 take the background brush. Or clear the entire drawing area. Best regards, Otto >Redraw the background only over the part ...
by Silvio.Falconi
Wed Sep 25, 2024 6:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: question gdiplus
Replies: 3
Views: 174

Re: question gdiplus

Silvio,
Redraw the background only over the part where the old figure is.
oGraphics:DrawEllipse( oPen2, oBrush2 , 500, 100, 60, 60 )
but for oBrush2 take the background brush.
Or clear the entire drawing area.

Best regards,
Otto
by Otto
Tue Sep 24, 2024 6:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: question gdiplus
Replies: 3
Views: 174

question gdiplus

... https://i.ibb.co/VW2ctsX/oo.jpg local oGraphics := Graphics():New( hDC ) local oPen := Pen():New( 255, 0, 0, 255 , 10 , .T.) local oBrush2 := Brush():NewSolidBrush( 150, 0, 255, 167 ) oPen:SetInset( ) oGraphics:DrawEllipse( oPen2, oBrush2 , 500, 100, 60, 60 ) then I want clear this ...
by Silvio.Falconi
Tue Sep 24, 2024 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: question gdiplus
Replies: 3
Views: 174

Re: How to change SAY background color on transparent DIALOG

... A little test #include "Fivewin.ch" FUNCTION MAIN() local oWnd, oDlg, oSay1, oSay2, oFont, oBrush1, oBrush2 DEFINE FONT oFont NAME "Arial" SIZE 0,-18 BOLD DEFINE BRUSH oBrush1 FILE "MARBLE.bmp" DEFINE BRUSH oBrush2 FILE "MARBLE6.bmp" ...
by ukoenig
Sun Apr 04, 2021 11:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change SAY background color on transparent DIALOG
Replies: 2
Views: 590

Re: Any tests drawing text with GDIPLUS ?

... oWnd:getdc(), aImage LOCAL oPen := Pen():New( 255, 0, 0, 255 , 10, .T.) LOCAL oBrush1 := Brush():NewSolidBrush( 255, 255, 128, 0 ) // Orange LOCAL oBrush2 := Brush():NewGradientBrush( 300, 200, 200, 200, 1,; 255, 255, 128, 0,; 255, 255, 255, 255 ) LOCAL oPath := Path():new() LOCAL oGraphics := ...
by ukoenig
Thu Sep 26, 2019 10:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Any tests drawing text with GDIPLUS ?
Replies: 7
Views: 1837

Re: Ayuda Brush Ventana y Parpadeo

Joaquin,

Prueba a usar el pintado a doble buffer:

local aInfo := ::oWnd:DispBegin()

::oWnd:SetBrush( oBrush2 )

::oWnd:DispEnd( aInfo )
by Antonio Linares
Wed Jan 14, 2015 5:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Brush Ventana y Parpadeo
Replies: 5
Views: 1114

Re: Ayuda Brush Ventana y Parpadeo

... .T. ) ) ::oBmpFondo:End() ::oWnd:setBrush( oBrush ) oBrush:end() Luego para cambiar, otra brush definida antes: ::oWnd:setBrush( oBrush2 ) Al cambiar a éste segundo, se nota el parpadeo.
by jmartial
Wed Jan 14, 2015 5:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Brush Ventana y Parpadeo
Replies: 5
Views: 1114

Re: Any infos about function < C5RoundRect > ?

... YOU VERY MUCH ! it works fine that way. Now I understand the logic. it can be a brush-combination : DEFINE BRUSH oBrush1 STYLE NULL DEFINE BRUSH oBrush2 COLOR 255 with some calculations, it will be possible, to get some nice effects. I will add four possible forms : 1. round filled ( mouseclick ...
by ukoenig
Mon Apr 14, 2014 5:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Any infos about function < C5RoundRect > ? ( solved )
Replies: 3
Views: 913

Re: Brush issue

Tim, I don't know, why the brush gets lost. Another solution could be to define the brush LOCAL : FUNCTION Main() LOCAL oBrush2 c_path := GETCURDIR() DEFINE BRUSH oBrush2 FILENAME c_path + "\Images\Stone.bmp" DEFINE WINDOW oWnd TITLE "Testing Brush ... ... DEFINE BUTTON ...
by ukoenig
Wed Jul 11, 2012 9:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Brush issue
Replies: 15
Views: 4455

Re: Brush issue

Tim, maybe test it like : DEFINE BRUSH oBrush1 COLOR 14853684 DEFINE BRUSH oBrush2 FILENAME c_path + "\Images\Stone.bmp" // You can test, if the Brush still exists. // with < oBrush2:End() > You will get a Errormessage from the Dialog !!! DEFINE ...
by ukoenig
Tue Jul 10, 2012 11:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Brush issue
Replies: 15
Views: 4455

Re: Como cerrar recursos no usados

ACTIVATE DIALOG oDlg...

oFonte:End()
oBrush2:End()

RELEASE ALL

RETURN NIL
by karinha
Fri Apr 13, 2012 12:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como cerrar recursos no usados
Replies: 12
Views: 4085

Tengo un problemita con xbrowse RESUELTO

... :?: a si esta mi codiguito :oops: DEFINE BRUSH oBrush RESOURCE "BLANCOS" DEFINE BRUSH oBrush1 FILENAME "sea2.bmp" DEFINE BRUSH oBrush2 RESOURCE "ECHO1" DEFINE BRUSH oBrush3 RESOURCE "GRAD" dbselectarea( "autos" ) dbgotop() autospoliza:=lastrec() ...
by AIDA
Fri Feb 26, 2010 7:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tengo un problemita con xbrowse RESUELTO
Replies: 2
Views: 1054

Re: New! Kinetic Scrolling support in FWH 9.08 !!! :-)

... "ribbon.ch" #include "COLORS.ch" Function main() local oWnd local oTitle1, oTitle2, oTitle3, oTitle4, oTitle5 local oBrush1, oBrush2, oBrush3, oBrush4 LOCAL oFont1, oFont2, oFont3 local oBtn DEFINE WINDOW oWnd TITLE "TTitle Class Test" @ 015,150 TITLE oTitle1 size ...
by Marco Turco
Mon Aug 24, 2009 2:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New! Kinetic Scrolling support in FWH 9.08 !!! :-)
Replies: 13
Views: 3315
Next

Return to advanced search