MFC
Class CRgn
CObject
|
+--CGdiObject
|
+--CRgn
in AFXWIN.H
- class CRgn
- extends CGdiObject
|
Method Summary |
int |
CombineRgn( CRgn* pRgn1, CRgn* pRgn2, int nCombineMode )
|
int |
CopyRgn( CRgn* pRgnSrc )
|
BOOL |
CreateEllipticRgn( int x1, int y1, int x2, int y2 )
|
BOOL |
CreateEllipticRgnIndirect( LPCRECT lpRect )
|
BOOL |
CreateFromData( const XFORM* lpXForm, int nCount, const RGNDATA* pRgnData )
|
BOOL |
CreateFromPath( CDC* pDC )
|
BOOL |
CreatePolygonRgn( LPPOINT lpPoints, int nCount, int nMode )
|
BOOL |
CreatePolyPolygonRgn( LPPOINT lpPoints, LPINT lpPolyCounts, int nCount, int nPolyFillMode )
|
BOOL |
CreateRectRgn( int x1, int y1, int x2, int y2 )
|
BOOL |
CreateRectRgnIndirect( LPCRECT lpRect )
|
BOOL |
CreateRoundRectRgn( int x1, int y1, int x2, int y2, int x3, int y3 )
|
BOOL |
EqualRgn( CRgn* pRgn ) const
|
static CRgn* PASCAL |
FromHandle( HRGN hRgn )
|
int |
GetRegionData( LPRGNDATA lpRgnData, int nCount ) const
|
int |
GetRgnBox( LPRECT lpRect ) const
|
operator |
HRGN() const
|
int |
OffsetRgn( int x, int y )
|
int |
OffsetRgn( POINT point )
|
BOOL |
PtInRegion( int x, int y ) const
|
BOOL |
PtInRegion( POINT point ) const
|
BOOL |
RectInRegion( LPCRECT lpRect ) const
|
void |
SetRectRgn( LPCRECT lpRect )
|
void |
SetRectRgn( int x1, int y1, int x2, int y2 )
|
| Methods inherited from class CGdiObject |
HGDIOBJ, GetSafeHandle, FromHandle, DeleteTempMap, Attach, Detach, DeleteObject, GetObject, GetObjectType, CreateStockObject, UnrealizeObject, operator==, operator!= |
CRgn
public CRgn();
~CRgn
public virtual ~CRgn();
CombineRgn
public int CombineRgn( CRgn* pRgn1, CRgn* pRgn2, int nCombineMode );
CopyRgn
public int CopyRgn( CRgn* pRgnSrc );
CreateEllipticRgn
public BOOL CreateEllipticRgn( int x1, int y1, int x2, int y2 );
CreateEllipticRgnIndirect
public BOOL CreateEllipticRgnIndirect( LPCRECT lpRect );
CreateFromData
public BOOL CreateFromData( const XFORM* lpXForm, int nCount, const RGNDATA* pRgnData );
CreateFromPath
public BOOL CreateFromPath( CDC* pDC );
CreatePolygonRgn
public BOOL CreatePolygonRgn( LPPOINT lpPoints, int nCount, int nMode );
CreatePolyPolygonRgn
public BOOL CreatePolyPolygonRgn( LPPOINT lpPoints, LPINT lpPolyCounts, int nCount, int nPolyFillMode );
CreateRectRgn
public BOOL CreateRectRgn( int x1, int y1, int x2, int y2 );
CreateRectRgnIndirect
public BOOL CreateRectRgnIndirect( LPCRECT lpRect );
CreateRoundRectRgn
public BOOL CreateRoundRectRgn( int x1, int y1, int x2, int y2, int x3, int y3 );
EqualRgn
public BOOL EqualRgn( CRgn* pRgn ) const;
FromHandle
public static CRgn* PASCAL FromHandle( HRGN hRgn );
GetRegionData
public int GetRegionData( LPRGNDATA lpRgnData, int nCount ) const;
GetRgnBox
public int GetRgnBox( LPRECT lpRect ) const;
HRGN
public operator HRGN() const;
OffsetRgn
public int OffsetRgn( int x, int y );
OffsetRgn
public int OffsetRgn( POINT point );
PtInRegion
public BOOL PtInRegion( int x, int y ) const;
PtInRegion
public BOOL PtInRegion( POINT point ) const;
RectInRegion
public BOOL RectInRegion( LPCRECT lpRect ) const;
SetRectRgn
public void SetRectRgn( LPCRECT lpRect );
SetRectRgn
public void SetRectRgn( int x1, int y1, int x2, int y2 );