Lines Matching refs:pSource
36 FX_BOOL CGdiPrinterDriver::SetDIBits(const CFX_DIBSource* pSource,
44 if (pSource->IsAlphaMask()) {
47 return StretchDIBits(pSource, color, left - pSrcRect->left,
48 top - pSrcRect->top, pSource->GetWidth(),
49 pSource->GetHeight(), &clip_rect, 0, alpha_flag,
52 ASSERT(pSource && !pSource->IsAlphaMask() && pSrcRect);
54 if (pSource->HasAlpha()) {
57 CFX_DIBExtractor temp(pSource);
64 FX_BOOL CGdiPrinterDriver::StretchDIBits(const CFX_DIBSource* pSource,
75 if (pSource->IsAlphaMask()) {
79 if (pSource->GetBPP() != 1 || alpha != 255 || !m_bSupportROP) {
84 pSource->FlipImage(dest_width < 0, dest_height < 0);
100 CFX_DIBExtractor temp(pSource);
109 if (pSource->HasAlpha()) {
114 pSource->FlipImage(dest_width < 0, dest_height < 0);
130 CFX_DIBExtractor temp(pSource);
224 FX_BOOL CGdiPrinterDriver::StartDIBits(const CFX_DIBSource* pSource,
233 if (bitmap_alpha < 255 || pSource->HasAlpha() ||
234 (pSource->IsAlphaMask() && (pSource->GetBPP() != 1 || !m_bSupportROP))) {
243 return StretchDIBits(pSource, color,
252 pSource->SwapXY(pMatrix->c > 0, pMatrix->b < 0);
262 if (pSource->GetBPP() == 1) {
263 CFX_DIBitmap* pTransformed = Transform1bppBitmap(pSource, pMatrix);