Home | History | Annotate | Download | only in win32

Lines Matching refs:pSource

33 FX_BOOL CGdiPrinterDriver::SetDIBits(const CFX_DIBSource* pSource, FX_DWORD color, const FX_RECT* pSrcRect, int left, int top, int blend_type,

36 if (pSource->IsAlphaMask()) {
38 return StretchDIBits(pSource, color, left - pSrcRect->left, top - pSrcRect->top, pSource->GetWidth(), pSource->GetHeight(),
41 ASSERT(pSource != NULL && !pSource->IsAlphaMask() && pSrcRect != NULL);
43 if (pSource->HasAlpha()) {
46 CFX_DIBExtractor temp(pSource);
53 FX_BOOL CGdiPrinterDriver::StretchDIBits(const CFX_DIBSource* pSource, FX_DWORD color, int dest_left, int dest_top,
57 if (pSource->IsAlphaMask()) {
59 if (pSource->GetBPP() != 1 || alpha != 255 || !m_bSupportROP) {
63 CFX_DIBitmap* pFlipped = pSource->FlipImage(dest_width < 0, dest_height < 0);
77 CFX_DIBExtractor temp(pSource);
84 ASSERT(pSource != NULL);
85 if (pSource->HasAlpha()) {
89 CFX_DIBitmap* pFlipped = pSource->FlipImage(dest_width < 0, dest_height < 0);
103 CFX_DIBExtractor temp(pSource);
200 FX_BOOL CGdiPrinterDriver::StartDIBits(const CFX_DIBSource* pSource, int bitmap_alpha, FX_DWORD color,
204 if (bitmap_alpha < 255 || pSource->HasAlpha() || (pSource->IsAlphaMask() && (pSource->GetBPP() != 1 || !m_bSupportROP))) {
212 return StretchDIBits(pSource, color, bFlipX ? full_rect.right : full_rect.left, bFlipY ? full_rect.bottom : full_rect.top,
217 CFX_DIBitmap* pTransformed = pSource->SwapXY(pMatrix->c > 0, pMatrix->b < 0);
226 if (pSource->GetBPP() == 1) {
227 CFX_DIBitmap* pTransformed = Transform1bppBitmap(pSource, pMatrix);