Search found 32 matches: stretchblt

Return to advanced search

Re: Compilar con hmbk2 es complicado, pero...

... IMAGELIST_CREATE(), IMAGELIST_DESTROY(), INTRECT(), PATHTOREGION(), PTINRECT(), ROUNDRECT(), SETBRUSHORG(), SETMENUITEMBITMAPS(), SETSTRETCHBLTMODE(), SETWINDOWRGN(), STRETCHBLT(), VALIDATERECT() ------------------------------------------------- Este es el archivo hpb que he creado ...
by Antonio Linares
Thu Dec 19, 2024 8:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilar con hmbk2 es complicado, pero...
Replies: 89
Views: 10348

Re: Compilar con hmbk2 es complicado, pero...

... IMAGELIST_CREATE(), IMAGELIST_DESTROY(), INTRECT(), PATHTOREGION(), PTINRECT(), ROUNDRECT(), SETBRUSHORG(), SETMENUITEMBITMAPS(), SETSTRETCHBLTMODE(), SETWINDOWRGN(), STRETCHBLT(), VALIDATERECT() ------------------------------------------------- Este es el archivo hpb que he creado ...
by ocarjul
Fri Nov 22, 2024 9:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilar con hmbk2 es complicado, pero...
Replies: 89
Views: 10348

Re: paste one DC on second DC

hi,
Natter wrote:Jimmy, I compiled your example. References to bt_bmp_adjust_rect and HMG_parnl are not recognized

replace HMG_parnl() with hb_parnll()

you will find HB_FUNC( STRETCHBLT ) in Fivewin \source\winapi\bmpdraw.c
by Jimmy
Thu Jun 06, 2024 10:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: paste one DC on second DC
Replies: 5
Views: 484

Re: paste one DC on second DC

you can use StretchBlt API function https://learn.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-stretchblt BOS Taurus of HMG have this : //*****************************************************************************************************************************//* ...
by Jimmy
Wed Jun 05, 2024 2:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: paste one DC on second DC
Replies: 5
Views: 484

PAINTSTRUCT ps

... bm.bmWidth * rect.bottom / bm.bmHeight;         else            rect.bottom = (int) bm.bmHeight * rect.right / bm.bmWidth;          StretchBlt(hDC, rect.left, rect.top, rect.right, rect.bottom, memDC, 0, 0, bm.bmWidth, bm.bmHeight, SRCCOPY);       }       if (nMode ...
by Jimmy
Wed Dec 18, 2019 4:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PAINTSTRUCT ps
Replies: 3
Views: 485

Re: A problem with GETCURSORPOS() and widescreen-monitor ?

... nLeft + nWidth+1, nTop-1 ) LINETO( hDC, nLeft + nWidth+1, nTop+nHeight+1 ) LINETO( hDC, nLeft -1, nTop+nHeight+1 ) LINETO( hDC, nLeft-1, nTop-1) STRETCHBLT( hDC, nLeft, nTop, nWidth, nHeight, hDeskTop, ; a[2] * 1.25 -(nWidth/(nZoom*2)), a[1] * 1.25 -(nHeight/(2*nZoom)), ; nWidth/nZoom, nHeight/nZoom, ...
by ukoenig
Sat Nov 18, 2017 7:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem with GETCURSORPOS() and widescreen-monitor ?
Replies: 24
Views: 6004

Re: A problem with GETCURSORPOS() and widescreen-monitor ?

... nColor := GetPixel( hDeskTop, a[2], a[1] ) local hDC := oWnd:GetDC() local nTop := 0 local nLeft := 0 local nWidth := 200 local nHeight := 200 StretchBlt( hDC, nLeft, nTop, nWidth, nHeight, hDeskTop, a[2]-(nWidth/(nZoom*2)), a[1]-(nHeight/(2*nZoom)), nWidth/nZoom, nHeight/nZoom, 13369376 ) ...
by ukoenig
Mon Nov 13, 2017 12:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem with GETCURSORPOS() and widescreen-monitor ?
Replies: 24
Views: 6004

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

Canal5 Calendar

... was wondering if anyone saw anything about the .c source that may cause a problem. #include <hbapi.h> #include <windows.h> BOOL WINAPI StretchBlt(HDC, int, int, int, int, HDC, int, int, int, int, DWORD); HB_FUNC( COMPATDC ) // ( hDC ) { hb_retnl( ( LONG ) CreateCompatibleDC( ( HDC ) ...
by Randal
Mon Feb 13, 2017 6:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Canal5 Calendar
Replies: 15
Views: 6311

Re: TImage zoom

... if oImg:Cargo!=0.and.nDelta<0 oImg:Refresh() Vrt_Dlg() endif hDC:=GetDC(oImg:hWnd) cnt:=oImg:Cargo+=iif(nDelta<0, -1, 1) StretchBlt( hDC, 0, 0, nWidth, nHeight, ; hDC, ; 30*cnt, 30*cnt, ; nWidth-(30*cnt*2), ; nHeight-(30*cnt*2), 13369376 ) oImg:ReleaseDC() endif RETURN ...
by Natter
Fri Apr 08, 2016 4:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TImage zoom
Replies: 14
Views: 2968

Re: TImage zoom

I did zoom to TImage using StretchBlt(), but unzoom does not work
by Natter
Wed Apr 06, 2016 8:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TImage zoom
Replies: 14
Views: 2968

Re: Error compiling with latest Xharbour commercial

Hello Antonio. Some errors went away. Now I have another one, from the same source. Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"c:\fwh\lib" -LIBPATH:"C:\xHB\lib" -LIBPATH:"C:\xHB\c_lib" -LIBPATH:"C:\...
by Massimo Linossi
Sat Jul 11, 2015 4:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error compiling with latest Xharbour commercial
Replies: 7
Views: 2395

Re: Ampliar Imagen por zona de seleccion

... image will be zoomed and fill all container area. The sample you can not catch and move the image only select a area to zoom the function doing StretchBlt all magic you can calculate percent of nWidth and nHeight and set the new value in function StretchBlt
by Daniel Garcia-Gil
Wed Nov 13, 2013 1:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ampliar Imagen por zona de seleccion
Replies: 4
Views: 1107

Re: ejemplo c5Tooltip

... octavo parámetro como hPen y además los parámetros de coordenadas estan cambiados. Hay que revisar los PRGs de Paco en donde se use. * la función StretchBlt() estaba ya en FWH en bmpdraw.c. Los parámetros son los mismos. * Se elimina la función WideToAnsi() pues ya existía en FWH. * Se elimina ...
by Antonio Linares
Fri Sep 13, 2013 7:03 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ejemplo c5Tooltip
Replies: 60
Views: 27340

Re: Escalar BMP capturado con WndBitmap

Holas,

encontre esta funcion StretchBlt creo que podria ser de ayuda, si tienen otra opcion me gustaria saberla

saludos

Marcelo
by Marcelo Via Giglio
Mon Dec 14, 2009 8:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Escalar BMP capturado con WndBitmap
Replies: 17
Views: 4018
Next

Return to advanced search