Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CDC::GetStretchBltMode
CDC                                         Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int GetStretchBltMode() const;
 
  Remarks
 
  Retrieves the current bitmap-stretching mode. The bitmap-stretching mode
  defines how information is removed from bitmaps that are stretched or
  compressed by using StretchBlt.
 
  The BLACKONWHITE and WHITEONBLACK modes are typically used to preserve
  foreground pixels in monochrome bitmaps.
 
  The COLORONCOLOR mode is typically used to preserve color in color
  bitmaps.
 
  Return Value
 
  The current bitmap-stretching mode. It can be WHITEONBLACK,
  BLACKONWHITE, or COLORONCOLOR.
 
  See Also
 
  CDC::StretchBlt, CDC::SetStretchBltMode, ::GetStretchBltMode
 
 
                                     -♦-