Search found 40 matches: nblue

Return to advanced search

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: 1445

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: 1445

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: 1445

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: 1377

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: 837

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: 5718

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: 693

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: 1540

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: 1325

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: 655

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: 1307

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: 747

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: 2146

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
Sun Jan 24, 2016 8:42 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2016 (FWH 16.01)
Replies: 3
Views: 2146

Re: How to keep a appl. on top of the dialog on resize ?

... 1.1" .. .. DEFINE TIMER oTimer OF oWnd ; INTERVAL 70 ACTION ( nRGB := GetColor(), ; nRed := nRGBRed( nRGB ), ; nGreen := nRGBGreen( nRGB ), ; nBlue := nRGBBlue( nRGB ), ; cRGB := "nRGB( " + ALLTRIM(STR(nRed)) + ", " + ; ALLTRIM(STR(nGreen)) + ", " + ; ALLTRIM(STR(nBlue)) ...
by ukoenig
Sat Aug 01, 2015 7:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to keep a appl. on top of the dlg on resize ? (solved)
Replies: 5
Views: 2423
Next

Return to advanced search