Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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
 
 
                                     -♦-