Home
last modified time | relevance | path

Searched refs:pBIH (Results 1 – 8 of 8) sorted by relevance

/AOO41X/main/vcl/os2/source/gdi/
H A Dsalbmp.cxx85 PBITMAPINFOHEADER2 pBIH = (PBITMAPINFOHEADER2) mhDIB; in Create() local
87 maSize = Size( pBIH->cx, pBIH->cy ); in Create()
88 mnBitCount = pBIH->cBitCount; in Create()
323 PBITMAPINFOHEADER2 pBIH = (PBITMAPINFOHEADER2) hDIB; in ImplGetDIBColorCount() local
325 if( pBIH->cBitCount <= 8 ) in ImplGetDIBColorCount()
327 if( pBIH->cclrUsed ) in ImplGetDIBColorCount()
328 nColors = (USHORT) pBIH->cclrUsed; in ImplGetDIBColorCount()
330 nColors = 1 << pBIH->cBitCount; in ImplGetDIBColorCount()
356 PBITMAPINFOHEADER2 pBIH = (PBITMAPINFOHEADER2) pBI; in ImplCreateDIB() local
358 pBIH->cbFix = sizeof( BITMAPINFOHEADER2 ); in ImplCreateDIB()
[all …]
H A Dsalgdi2.cxx303 BITMAPINFOHEADER2* pBIH = (BITMAPINFOHEADER2*) pBI; in ImplDrawBitmap() local
304 const long nHeight = pBIH->cy; in ImplDrawBitmap()
319 if( ( pBIH->cBitCount == 1 ) && !hSubst ) in ImplDrawBitmap()
332 pBIH = (BITMAPINFOHEADER2*) pBI; in ImplDrawBitmap()
343 if( pBIH->cBitCount == 8 && pBIH->ulCompression == BCA_UNCOMP ) in ImplDrawBitmap()
345 const long nWidth = pBIH->cx; in ImplDrawBitmap()
346 const long nHeight = pBIH->cy; in ImplDrawBitmap()
364 PM_BYTE* pBitsSrc = (PM_BYTE*) pBIH + nInfoSize; in ImplDrawBitmap()
386 …const long nImageSize = ( pBIH->cbImage ? pBIH->cbImage : ( pBIH->cy * AlignedWidth4Bytes( pBIH->c… in ImplDrawBitmap()
/AOO41X/main/vcl/win/source/gdi/
H A Dsalbmp.cxx541 PBITMAPINFOHEADER pBIH = (PBITMAPINFOHEADER) GlobalLock( mhDIB ); in Create() local
543 maSize = Size( pBIH->biWidth, pBIH->biHeight ); in Create()
544 mnBitCount = pBIH->biBitCount; in Create()
638 PBITMAPINFOHEADER pBIH = (PBITMAPINFOHEADER) pBI; in Create() local
645 if( pBIH->biBitCount == 1 ) in Create()
647 hNewDDB = CreateBitmap( pBIH->biWidth, pBIH->biHeight, 1, 1, NULL ); in Create()
650 SetDIBits( hDC, hNewDDB, 0, pBIH->biHeight, pBits, pBI, DIB_RGB_COLORS ); in Create()
733 PBITMAPINFOHEADER pBIH = (PBITMAPINFOHEADER) pBI; in ImplGetDIBColorCount() local
735 if ( pBIH->biSize != sizeof( BITMAPCOREHEADER ) ) in ImplGetDIBColorCount()
737 if( pBIH->biBitCount <= 8 ) in ImplGetDIBColorCount()
[all …]
H A Dsalgdi.cxx217 BITMAPINFOHEADER* pBIH = (BITMAPINFOHEADER*) pSalData->mpDitherDIB; in ImplInitSalGDI() local
219 pBIH->biSize = sizeof( BITMAPINFOHEADER ); in ImplInitSalGDI()
220 pBIH->biWidth = 8; in ImplInitSalGDI()
221 pBIH->biHeight = 8; in ImplInitSalGDI()
222 pBIH->biPlanes = 1; in ImplInitSalGDI()
223 pBIH->biBitCount = 24; in ImplInitSalGDI()
291 BITMAPINFOHEADER* pBIH = (BITMAPINFOHEADER*) pSalData->mpDitherDIB; in ImplInitSalGDI() local
294 pBIH->biSize = sizeof( BITMAPINFOHEADER ); in ImplInitSalGDI()
295 pBIH->biWidth = 8; in ImplInitSalGDI()
296 pBIH->biHeight = 8; in ImplInitSalGDI()
[all …]
H A Dsalgdi2.cxx367 PBITMAPINFOHEADER pBIH = (PBITMAPINFOHEADER) pBI; in ImplDrawBitmap() local
375 … (int)rPosAry.mnSrcX, (int)(pBIH->biHeight - rPosAry.mnSrcHeight - rPosAry.mnSrcY), in ImplDrawBitmap()
/AOO41X/main/extensions/source/scanner/
H A Dscanwin.cxx439 BITMAPINFOHEADER* pBIH = (BITMAPINFOHEADER*) GlobalLock( (HGLOBAL) hDIB ); in ImplXfer() local
442 pBIH->biXPelsPerMeter = FRound( fFactor * nXRes ); in ImplXfer()
443 pBIH->biYPelsPerMeter = FRound( fFactor * nYRes ); in ImplXfer()
905 BITMAPINFOHEADER* pBIH = (BITMAPINFOHEADER*) GlobalLock( hDIB ); in getSize() local
907 if( pBIH ) in getSize()
909 aRet.Width = pBIH->biWidth; in getSize()
910 aRet.Height = pBIH->biHeight; in getSize()
933 BITMAPINFOHEADER* pBIH = (BITMAPINFOHEADER*) GlobalLock( hDIB ); in SEQ() local
935 if( pBIH ) in SEQ()
939 switch( pBIH->biBitCount ) in SEQ()
[all …]
/AOO41X/main/canvas/source/directx/
H A Ddx_vcltools.cxx90 const BITMAPINFOHEADER* pBIH = (BITMAPINFOHEADER*)pBI; in drawDIBits() local
92 calcDIBColorCount( *pBIH ) * sizeof( RGBQUAD ); in drawDIBits()
/AOO41X/main/vcl/win/source/window/
H A Dsalframe.cxx4994 PBITMAPINFOHEADER pBIH = (PBITMAPINFOHEADER) pBI; in ImplDrawItem() local
4998 … HBITMAP hBmp = CreateDIBitmap( pDI->hDC, pBIH, CBM_INIT, pBits, pBI, DIB_RGB_COLORS ); in ImplDrawItem()