Lines Matching refs:BYTE
103 static BYTE aOrdDither8Bit[8][8] =
117 static BYTE aOrdDither16Bit[8][8] =
210 pSalData->mpDitherDIB = (BYTE*) GlobalLock( pSalData->mhDitherDIB ); in ImplInitSalGDI()
212 pSalData->mpDitherLow = new BYTE[ 256 ]; in ImplInitSalGDI()
213 pSalData->mpDitherHigh = new BYTE[ 256 ]; in ImplInitSalGDI()
229 pSalData->mpDitherLow[ n ] = (BYTE) ( n & 248 ); in ImplInitSalGDI()
232 pSalData->mpDitherHigh[ n ] = (BYTE) Min( pSalData->mpDitherLow[ n ] + 8L, 255L ); in ImplInitSalGDI()
237 BYTE nRed, nGreen, nBlue; in ImplInitSalGDI()
238 BYTE nR, nG, nB; in ImplInitSalGDI()
284 pSalData->mpDitherDIB = (BYTE*) GlobalLock( pSalData->mhDitherDIB ); in ImplInitSalGDI()
286 pSalData->mpDitherLow = new BYTE[ 256 ]; in ImplInitSalGDI()
287 pSalData->mpDitherHigh = new BYTE[ 256 ]; in ImplInitSalGDI()
307 pSalData->mpDitherLow[ n ] = (BYTE) ( n / 51L ); in ImplInitSalGDI()
310 pSalData->mpDitherHigh[ n ] = (BYTE)Min( pSalData->mpDitherLow[ n ] + 1, 5 ); in ImplInitSalGDI()
396 static int ImplIsPaletteEntry( BYTE nRed, BYTE nGreen, BYTE nBlue ) in ImplIsPaletteEntry()
627 const BYTE* const* pFlgAry, in ImplPreparePolyDraw()
629 BYTE* pWinFlagAry ) in ImplPreparePolyDraw()
635 const BYTE* pCurrFlag = *pFlgAry++; in ImplPreparePolyDraw()
653 BYTE P4( pCurrFlag[ 2 ] ); in ImplPreparePolyDraw()
694 void ImplRenderPath( HDC hdc, sal_uLong nPoints, const SalPoint* pPtAry, const BYTE* pFlgAry ) in ImplRenderPath()
951 … mpStdClipRgnData = (RGNDATA*)new BYTE[sizeof(RGNDATA)-1+(SAL_CLIPRECT_COUNT*sizeof(RECT))]; in setClipRegion()
955 mpClipRgnData = (RGNDATA*)new BYTE[sizeof(RGNDATA)-1+nRectBufSize]; in setClipRegion()
1193 BYTE nRed = SALCOLOR_RED( nSalColor ); in SetFillColor()
1194 BYTE nGreen = SALCOLOR_GREEN( nSalColor ); in SetFillColor()
1195 BYTE nBlue = SALCOLOR_BLUE( nSalColor ); in SetFillColor()
1224 BYTE* pTmp = pSalData->mpDitherDIBData; in SetFillColor()
1226 BYTE* pDitherLow = pSalData->mpDitherLow; in SetFillColor()
1227 BYTE* pDitherHigh = pSalData->mpDitherHigh; in SetFillColor()
1251 BYTE* pTmp = pSalData->mpDitherDIBData; in SetFillColor()
1253 BYTE* pDitherLow = pSalData->mpDitherLow; in SetFillColor()
1254 BYTE* pDitherHigh = pSalData->mpDitherHigh; in SetFillColor()
1527 sal_Bool WinSalGraphics::drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const BYTE… in drawPolyLineBezier()
1544 sal_Bool WinSalGraphics::drawPolygonBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const BYTE*… in drawPolygonBezier()
1552 BYTE aStackAry2[SAL_POLY_STACKBUF]; in drawPolygonBezier()
1554 BYTE* pWinFlagAry; in drawPolygonBezier()
1558 pWinFlagAry = new BYTE[ nPoints ]; in drawPolygonBezier()
1596 … const SalPoint* const* pPtAry, const BYTE* const* pFlgAry ) in drawPolyPolygonBezier()
1609 BYTE aStackAry2[SAL_POLY_STACKBUF]; in drawPolyPolygonBezier()
1611 BYTE* pWinFlagAry; in drawPolyPolygonBezier()
1615 pWinFlagAry = new BYTE[ nTotalPoints ]; in drawPolyPolygonBezier()
1656 static BYTE* ImplSearchEntry( BYTE* pSource, BYTE* pDest, sal_uLong nComp, sal_uLong nSize ) in ImplSearchEntry()
1673 static sal_Bool ImplGetBoundingBox( double* nNumb, BYTE* pSource, sal_uLong nSize ) in ImplGetBoundingBox()
1676 BYTE* pDest = ImplSearchEntry( pSource, (BYTE*)"%%BoundingBox:", nSize, 14 ); in ImplGetBoundingBox()
1695 BYTE nByte = *pDest; in ImplGetBoundingBox()
1747 if ( ImplGetBoundingBox( nBoundingBox, (BYTE*)pPtr, nSize ) ) in drawEPS()
1865 memcpy( (void*)(aBuf.getStr() + 2), (BYTE*)pPtr + nSize - nToDo, nDoNow ); in drawEPS()