Search found 7 matches: bmwidth

Return to advanced search

Re: Split image

... use it to 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, ...
by Antonio Linares
Wed Dec 09, 2015 6:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Split image
Replies: 4
Views: 835

Problemas al crear la libreria TWBROWSE

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

Error al compilar TWBROWSE xHarbour build 1.2.1 y FWH 11.01

... ) { wRow = rct->top + ( ( wHeight - bm.bmHeight ) / 2 ) ; wHeight = bm.bmHeight ; } else { wRow = rct->top ; } if ( wWidth > bm.bmWidth ) { wCol = rct->left + ( ( wWidth - bm.bmWidth ) / 2 ) ; wWidth = bm.bmWidth ; } else { wCol = rct->left ; } rct->bottom++; ExtTextOut( ...
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: 2934

Funcion PrepareInfoHeader

... dcDes; BITMAP bm; HBITMAP 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 ...
by softruz
Thu May 19, 2011 11:25 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funcion PrepareInfoHeader
Replies: 7
Views: 1200

... ); bf.BlendOp = 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: 2052

MUY URGENTEEEEEEEE C++

... { if (lpbm1->bmBitsPixel != lpbm2->bmBitsPixel) 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; } /*********************************************************************\ ...
by A&C
Sat Jun 30, 2007 11:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: MUY URGENTEEEEEEEE C++
Replies: 2
Views: 1000

... 2 ), sizeof( 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 ...
by manuramos
Fri Nov 24, 2006 3:40 pm
 
Forum: FiveWin para CA-Clipper
Topic: PalBmpDraw()
Replies: 4
Views: 1465

Return to advanced search