Search found 88 matches: drawbitmap

Return to advanced search

Re: DrawBitmap

... ::ReadImage(::acBitmaps[ n ] ) ) then give me the right list https://i.postimg.cc/YqSGdXsp/testr.png on method paint I have DrawBitmap( ::hDC, ::aBitmaps[ max( ::nActual , 1 ) ], nRow, nCol, ::nWBmp, ::nHBmp, SRCCOPY ) because before the class run with only bmp file how I ...
by Silvio.Falconi
Mon Jan 06, 2020 6:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DrawBitmap
Replies: 4
Views: 769

Re: DrawBitmap

Code: Select all  Expand view
aBmp := FW_ReadImage( ..... )
DrawBitmap( hDC, aBmp[ 1 ], nRow, nCol )
PalBmpFree( aBmp )
by nageswaragunupudi
Mon Jan 06, 2020 2:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DrawBitmap
Replies: 4
Views: 769

DrawBitmap

on oldest class I have DrawBitmap
But it show only Bitmap files
I load the files with new ReadImage() so I have also the size
I wish use also png files how I can converte it ?
I must use bitblt ?
by Silvio.Falconi
Mon Jan 06, 2020 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DrawBitmap
Replies: 4
Views: 769

Re: change background file PNG inside .pgm

hi,
how can I to zoom bmp file by DrawBitmap function ?

thanks
by damianodec
Tue Jan 29, 2019 4:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: change background file PNG inside .pgm
Replies: 9
Views: 1714

Re: Ayuda cpm hbzebra.lib

... = 1.5 else oCode:nHeightCode = 3 oCode:nWidthCode = 1 endif oCode:SetType( nCode ) oCode:SetCode( cCode ) oCode:SetFlags( nFlags ) oCode:Build() * DrawBitmap( hDC, oCode:hCodeBar, 0, 0 ) && aqui lo pinta en la pantalla DrawBitmap( oCode:hCodeBar,10, 10 ) && aqui lo mando a un archivo ...
by Busmatic_wpb
Thu Sep 07, 2017 1:16 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda cpm hbzebra.lib
Replies: 12
Views: 2651

Re: Ayuda DLL

Antonio, aquí la segunda parte: Error: Unresolved external '_HB_FUN_DRAWTHEMED' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_GETDLGBASEUNITS' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_CDLG2CHR' referenced from P...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6358

Tsbrowse 9.0 Harbour FWH17.02 y Bc 7

... 74: Call of nonfunction in function HB_FUN_TSDRAWCELL Warning W8065 C:\TSBROW~1\SOURCE\FUNCTION\TSBFUNCS.C 182: Call to function 'DrawBitmap' with no prototype in function HB_FUN_TSDRAWCELL Warning W8065 C:\TSBROW~1\SOURCE\FUNCTION\TSBFUNCS.C 190: Call to function 'DrawBitmap' ...
by devtuxtla
Mon Mar 20, 2017 5:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tsbrowse 9.0 Harbour FWH17.02 y Bc 7
Replies: 8
Views: 1763

Tsbrowse 9.0 Harbour FWH17.02 y Bc 7

... 74: Call of nonfunction in function HB_FUN_TSDRAWCELL Warning W8065 C:\TSBROW~1\SOURCE\FUNCTION\TSBFUNCS.C 182: Call to function 'DrawBitmap' with no prototype in function HB_FUN_TSDRAWCELL Warning W8065 C:\TSBROW~1\SOURCE\FUNCTION\TSBFUNCS.C 190: Call to function 'DrawBitmap' ...
by devtuxtla
Mon Mar 20, 2017 5:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsbrowse 9.0 Harbour FWH17.02 y Bc 7
Replies: 0
Views: 466

Re: insertando un tooltip

... ventana a la que deberías asignarle el tooltip y el dblclick: oWnd:cTooltip = "Mi tooltip" ACTIVATE WINDOW oWnd MAXIMIZED ; ON PAINT ( DrawBitmap( hDC, hbmp, 0, 0 ) ) ; ON DBLCLICK MsgInfo( "DblClick" )
by Antonio Linares
Thu Dec 10, 2015 8:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: insertando un tooltip
Replies: 2
Views: 486

Re: Bitmap + binary

... source code somehow makes the palette works fine (though it is not used as it is zero!). Maybe if we apply the source code of PalBmpDraw() into DrawBitmap() then we can fix DrawBitmap() for palettes.
by Antonio Linares
Wed Sep 11, 2013 6:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap + binary
Replies: 19
Views: 3663

Re: Bitmap + binary

Enrico, It seems as your bitmap uses a palette that PalBmpDraw() activates (though strangely hPalette is supplied as zero to PalBmpDraw()) and DrawBitmap() does not activate it. In other words, for some bitmaps DrawBitmap() will be fine and for others that use a palette, PalBmpDraw() is required ...
by nageswaragunupudi
Wed Sep 11, 2013 3:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap + binary
Replies: 19
Views: 3663

Re: Bitmap + binary

... Enrico, It seems as your bitmap uses a palette that PalBmpDraw() activates (though strangely hPalette is supplied as zero to PalBmpDraw()) and DrawBitmap() does not activate it. In other words, for some bitmaps DrawBitmap() will be fine and for others that use a palette, PalBmpDraw() is required ...
by Enrico Maria Giordano
Tue Sep 10, 2013 11:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap + binary
Replies: 19
Views: 3663

Re: Bitmap + binary

Enrico,

It seems as your bitmap uses a palette that PalBmpDraw() activates (though strangely hPalette is supplied as zero to PalBmpDraw()) and DrawBitmap() does not activate it.

In other words, for some bitmaps DrawBitmap() will be fine and for others that use a palette, PalBmpDraw() is required :-)
by Antonio Linares
Tue Sep 10, 2013 10:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap + binary
Replies: 19
Views: 3663

Re: Bitmap + binary

Antonio,

Enrico Maria Giordano wrote:I'm going to replace PalBmpDraw() with DrawBitmap(). :-)


FYI, I tried DrawBitmap() but the result quality is much worse than PalBmpDraw(). I reverted back to PalBmpDraw().

EMG
by Enrico Maria Giordano
Tue Sep 10, 2013 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap + binary
Replies: 19
Views: 3663

Re: Bitmap + binary

... Windows": ftp://ftp.charlespetzold.com/ProgWin95/CHAP19/SHOWBIT.C Thank you! :-) I'm going to replace PalBmpDraw() with DrawBitmap(). :-) EMG
by Enrico Maria Giordano
Thu Aug 15, 2013 9:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap + binary
Replies: 19
Views: 3663
PreviousNext

Return to advanced search