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::OffsetClipRgn
CDC                                         Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int OffsetClipRgn( int x, int y );
  int OffsetClipRgn( SIZE size );
 
  Parameter   Description
 
  <x>         Specifies the number of logical units to move left or
              right.
 
  <y>         Specifies the number of logical units to move up or down.
 
  <size>      Specifies the amount to offset.
 
  Remarks
 
  Moves the clipping region of the given device by the specified offsets.
  The function moves the region <x> units along the x-axis and <y> units
  along the y-axis.
 
  Return Value
 
  The new region's type. It can be any one of the following values:
 
  Value           Meaning
 
  COMPLEXREGION   Clipping region has overlapping borders.
 
  ERROR           Device context is not valid.
 
  NULLREGION      Clipping region is empty.
 
  SIMPLEREGION    Clipping region has no overlapping borders.
 
  See Also
 
  ::OffsetClipRgn
 
 
                                     -♦-