Search found 7 matches: bmheight

Return to advanced search

Re: Split image

... split your bitmap into several ones: Change this line parameters to specify the origin and the dimensions: BitBlt( hdcDest, 0, 0, bmp.bmWidth, bmp.bmHeight, hdcSrc, 0, 0, SRCCOPY); HBITMAP DuplicateBitmap( HBITMAP hbmpSrc ){   HBITMAP hbmpOldSrc, hbmpOldDest, hbmpNew;  ...
by Antonio Linares
Wed Dec 09, 2015 6:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Split image
Replies: 4
Views: 847

Problemas al crear la libreria TWBROWSE

... - rct->left ; wHeight = rct->bottom - rct->top ; GetObject( hBmp, sizeof( BITMAP ), ( LPSTR ) &bm ); if ( wHeight > bm.bmHeight ) { wRow = rct->top + ( ( wHeight - bm.bmHeight ) / 2 ) ; wHeight = bm.bmHeight ; } else { wRow = rct->top ; } if ( wWidth > bm.bmWidth ...
by ander7319
Fri Jan 04, 2013 9:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas al crear la libreria TWBROWSE
Replies: 6
Views: 3137

Error al compilar TWBROWSE xHarbour build 1.2.1 y FWH 11.01

... - rct->left ; wHeight = rct->bottom - rct->top ; GetObject( hBmp, sizeof( BITMAP ), ( LPSTR ) &bm ); if ( wHeight > bm.bmHeight ) { wRow = rct->top + ( ( wHeight - bm.bmHeight ) / 2 ) ; wHeight = bm.bmHeight ; } else { wRow = rct->top ; } if ( wWidth > bm.bmWidth ...
by alex_cyr
Sat Jul 09, 2011 2:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error al compilar TWBROWSE xHarbour build 1.2.1 y FWH 11.01
Replies: 7
Views: 2938

Funcion PrepareInfoHeader

... hbmDes, hbmOldDes; INT j,i; GetObject( hbm, sizeof( BITMAP ), &bm ); // source bmiS = PrepareInfoHeader( ( WORD ) bm.bmWidth, ( WORD ) bm.bmHeight ); dwSizeScr = ( ( bm.bmWidth * bmiS.biBitCount + 31 ) / 32 ) * 4 * bm.bmHeight; hDibSrc = GlobalAlloc( GHND, dwSizeScr + sizeof( BITMAPINFOHEADER ...
by softruz
Thu May 19, 2011 11:25 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funcion PrepareInfoHeader
Replies: 7
Views: 1200

... = AC_SRC_OVER; bf.BlendFlags = 0; bf.SourceConstantAlpha = 255; bf.AlphaFormat = AC_SRC_ALPHA; pAlphaBlend( hDC, iRow, iCol, bm.bmWidth, bm.bmHeight, hDcMem, 0, 0, bm.bmWidth, bm.bmHeight, bf ); SelectObject( hDcMem, hBmpOld ); DeleteDC( hDcMem ); } HB_FUNC( DRAWALPHA ) { DrawAlphaBlend( ...
by toninhofwi
Sun Feb 03, 2008 6:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hires
Replies: 8
Views: 2063

MUY URGENTEEEEEEEE C++

... return FALSE; if (lpbm1->bmPlanes != lpbm2->bmPlanes) return FALSE; if (lpbm1->bmWidth != lpbm2->bmWidth) return FALSE; if (lpbm1->bmHeight != lpbm2->bmHeight) return FALSE; return TRUE; } /*********************************************************************\ * * * BOOL BlendImages(HBITMAP, ...
by A&C
Sat Jun 30, 2007 11:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: MUY URGENTEEEEEEEE C++
Replies: 2
Views: 1001

... BITMAP ), ( LPSTR ) &bmp ) ; StretchBlt( hdc, rct.top, rct.left, rct.right-rct.left+1, rct.bottom-rct.top+1, hDcTemp, 0, 0, bmp.bmWidth, bmp.bmHeight, raster ) ; DeleteObject( SelectObject(hDcTemp, hOld) ) ; DeleteDC(hDcTemp) ; } Sin embargo, es curioso que el código FW no funciona en XP ...
by manuramos
Fri Nov 24, 2006 3:40 pm
 
Forum: FiveWin para CA-Clipper
Topic: PalBmpDraw()
Replies: 4
Views: 1470

Return to advanced search