Search found 42 matches: nblue

Return to advanced search

Re: New FTDN July/Julio 2024 (FWH 24.07)

... todavía estamos haciendo pruebas con ella. * Nuevo: Nueva función nRGB2Array( nRGBColor ). Devuelve una matriz con los valores RGB { nRed, nGreen, nBlue }. * Nuevo: Nuevo método Image( [nType], [aCropRect] ) --> pImage (puntero de imagen gdi+) en la clase TWindow. nType (default 1 ): Imagen ...
by Antonio Linares
Thu Aug 08, 2024 11:50 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio 2024 (FWH 24.07)
Replies: 8
Views: 4328

New FTDN July/Julio 2024 (FWH 24.07)

... seems ok thughwe re still doing tests using it. * New: function nRGB2Array( nRGBColor ) return an array with the RGB values { nRed, nGreen, nBlue } * New: TWindow method Image( [nType], [aCropRect] ) --> pImage (gdi+ image pointer) nType (default 1 ): Image of the window's client area ...
by Antonio Linares
Mon Aug 05, 2024 4:14 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio 2024 (FWH 24.07)
Replies: 8
Views: 4328

Re: Creating table with Trichedit

Twenty seven years ago Thomas R. Marchione wrote a class for creation rtf of files // Copyright: (C) 01/28/97 1997, Thomas R. Marchione oRTF := SetRT( cOutFile ) // Use this to write an entire paragraph, with optional formatting. NEW PARAGRAPH oRTF TEXT 'OOO «Text in aligned left»'; FONTNUMBER 1 ; ...
by Silvio.Falconi
Sun Jan 28, 2024 5:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2562

Re: Creating table with Trichedit

Twenty seven years ago Thomas R. Marchione wrote a class for creation rtf of files // Copyright: (C) 01/28/97 1997, Thomas R. Marchione oRTF := SetRT( cOutFile ) // Use this to write an entire paragraph, with optional formatting. NEW PARAGRAPH oRTF TEXT 'OOO «Text in aligned left»'; FONTNUMBER 1 ; ...
by Silvio.Falconi
Sat Jan 27, 2024 9:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2562

Re: Creating table with Trichedit

Twenty seven years ago Thomas R. Marchione wrote a class for creation rtf of files // Copyright: (C) 01/28/97 1997, Thomas R. Marchione oRTF := SetRT( cOutFile ) // Use this to write an entire paragraph, with optional formatting. NEW PARAGRAPH oRTF TEXT 'OOO «Text in aligned left»'; FONTNUMBER 1 ; A...
by MMK
Sat Jan 27, 2024 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 2562

Re: Colors

... / 0x00FF ) ? hb_NumToHex( hb_bitAnd( 6736896, 0x0000 FF ) ) In FWH\include\colors.ch there is a: #translate RGB( <nRed>, <nGreen>, <nBlue> ) => ; ( <nRed> + ( <nGreen> * 256 ) + ( <nBlue> * 65536 ) )
by Antonio Linares
Mon Jun 14, 2021 7:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colors (SOLVED)
Replies: 10
Views: 1674

Re: Evaluate whether a color value is dark or light

... same some colors with only a difference of 1 colorstep From calculation nRGBColor := 0 nRed := nRGBRed( nValRGB0 ) nGreen := nRGBGreen( nValRGB0 ) nBlue := nRGBBlue( nValRGB0 ) IF 0.3*nRed + 0.6*nGreen + 0.1*nBlue < 128 nRGBColor := 16777215 // white ENDIF http://www.service-fivewin.de/IMAGES/Contrast1.jpg ...
by ukoenig
Mon Feb 15, 2021 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Evaluate whether a color value is dark or light
Replies: 9
Views: 1076

Re: New FWH 19.09

Günther, the pen-calculation-factor ( GdiPlus ) //New( nTrans, nRed, nGreen, nBlue, nSize, lRound, lAlign ) //nRed := nRGBRed( nColor ) //nGreen := nRGBGreen( nColor ) //nBlue := nRGBBlue( nColor ) oPen := Pen():New( 255, 0, 0, 255 , 8 , .T.) will show a 3 mm ...
by ukoenig
Wed Oct 23, 2019 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.09
Replies: 36
Views: 6903

Show an gdi trasparency

... type @ 10,072 BITMAP oBmp File "" size 50, 100 pixel // NOBORDER oPen := Pen():New( 255, 0, 0, 255 ) // nTransparency, nRed, nGreen, nBlue oImage1:= GDIBmp():new("sample.png" ) hDC[1]:= oBmp:GetDc() oGraphics[1] := Graphics():New( hDC[1] ) n9:= -73 oGraphics[1]:DrawImage( ...
by Silvio.Falconi
Thu Oct 17, 2019 11:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Show an gdi trasparency
Replies: 5
Views: 766

Re: Any tests drawing text with GDIPLUS ?

... 80, 125, "install", oFontLarge, 20 , oBrush1, hDC ) The 1. and 3. one works fine METHOD NewSolidBrush( nTrans, nRed, nGreen, nBlue ) :D METHOD NewTextureBrush( oGdiBmp ) :( ( wanted to be used for text ) METHOD NewGradientBrush( nTop, nLeft, nWidth, nHeight, nType,; :D nTrans1, ...
by ukoenig
Mon Sep 30, 2019 1:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Any tests drawing text with GDIPLUS ?
Replies: 7
Views: 1837

Re: Calcular color con brillo

FWH has inbuilt functions RGBTOHSL() and HSLTORGB()

Usage:
RGBTOHSL( nRGBColor )
or
RGBTOHSL( nRed, nGreen, nBlue )
or
RGBTOHSL( { nRed, nGreen, nBlue )

------> { nHue, nSatuation, nLuminence }

HSLTORGB( { h, s, l } ) --> { nRed, nGreen, nBlue, nRGB }
by nageswaragunupudi
Fri Dec 30, 2016 8:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Calcular color con brillo
Replies: 4
Views: 1397

BTNBMP 16.04 : Translucent buttons, Textured buttons, HGrad

... ARGB is a 32 bit number. Expressed in Hex: "AARRGGBB" For quick usage FWH provides nARGB() function Usage: nARGB( nAlpha, nRed, nGreen, nBlue ) or nARGB( nAlpha, nRGBColor ) Extensions to Gradient Array: A valid Gradient array is a multi-dimensional Array, each element being an array ...
by nageswaragunupudi
Mon May 16, 2016 10:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BTNBMP 16.04 : Translucent buttons, Textured buttons, HGrad
Replies: 1
Views: 682

New FTDN February 2016 (FWH 16.02)

... ) - METHOD GetRedPix( nX, nY ) - METHOD GetGreenPix( nX, nY ) - METHOD GetBluePix( nX, nY ) - METHOD ConverColortoColor( nAlphaI, nRedI, nGreenI, nBlueI, nAlphaF, nRedF, nGreenF, nBlueF ) - METHOD GetAlphaPix( nX, nY ) INLINE GdiPlusImagePixGetAlpha ( ::hbmp, nX, nY ) - METHOD SetRecolorColorMatrix( ...
by Antonio Linares
Tue Mar 01, 2016 9:15 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February 2016 (FWH 16.02)
Replies: 2
Views: 1577

GBmp GDIPLUS

... ) the background of the image is white how I can make to make it transparent ? oPen := Pen():New( 255, 0, 0, 255 ) // nTransparency, nRed, nGreen, nBlue where I must insert oPen ?
by Silvio.Falconi
Tue Feb 09, 2016 9:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GBmp GDIPLUS
Replies: 4
Views: 838

Re: New FTDN January/Enero 2016 (FWH 16.01)

... variable. Now it is ok - New: Implementation clausule NOBORDER in class TOutlook2003 and TOutlook2010 * New translate ARGB( nAlpha, nRed, nGreen, nBlue ) --> ARGB color constant Note: RGB format 0x00BBGGRR ARGB format 0xAARRGGBB * New function nARGB(...) --> nARGB constant. Syntax: 1. nARGB( ...
by Antonio Linares
Fri Jan 29, 2016 8:48 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2016 (FWH 16.01)
Replies: 3
Views: 2562
Next

Return to advanced search