Lines Matching refs:mpBmpBuffer
63 BitmapBuffer* mpBmpBuffer; member in SalPrinterBmp
89 mpBmpBuffer (pBuffer) in SalPrinterBmp()
91 DBG_ASSERT (mpBmpBuffer, "SalPrinterBmp::SalPrinterBmp () can't acquire Bitmap"); in SalPrinterBmp()
94 if( BMP_SCANLINE_ADJUSTMENT( mpBmpBuffer->mnFormat ) == BMP_FORMAT_TOP_DOWN ) in SalPrinterBmp()
96 mpScanAccess = mpBmpBuffer->mpBits; in SalPrinterBmp()
97 mnScanOffset = mpBmpBuffer->mnScanlineSize; in SalPrinterBmp()
101 mpScanAccess = mpBmpBuffer->mpBits in SalPrinterBmp()
102 + (mpBmpBuffer->mnHeight - 1) * mpBmpBuffer->mnScanlineSize; in SalPrinterBmp()
103 mnScanOffset = - mpBmpBuffer->mnScanlineSize; in SalPrinterBmp()
107 switch( BMP_SCANLINE_FORMAT( mpBmpBuffer->mnFormat ) ) in SalPrinterBmp()
155 return mpBmpBuffer->mnWidth; in GetWidth()
161 return mpBmpBuffer->mnHeight; in GetHeight()
169 switch (mpBmpBuffer->mnBitCount) in GetDepth()
199 return ColorOf (mpBmpBuffer->maPalette[rColor.GetIndex()]); in ColorOf()
210 return GrayOf (mpBmpBuffer->maPalette[rColor.GetIndex()]); in GrayOf()
220 return mpBmpBuffer->maPalette.GetEntryCount (); in GetPaletteEntryCount()
226 return ColorOf (mpBmpBuffer->maPalette[nIdx]); in GetPaletteColor()
233 BitmapColor aColor = mpFncGetPixel (pScan, nColumn, mpBmpBuffer->maColorMask); in GetPixelRGB()
242 BitmapColor aColor = mpFncGetPixel (pScan, nColumn, mpBmpBuffer->maColorMask); in GetPixelGray()
251 BitmapColor aColor = mpFncGetPixel (pScan, nColumn, mpBmpBuffer->maColorMask); in GetPixelIdx()