CRgn::CreateFromData

BOOL CreateFromData( const XFORM* lpXForm, int nCount, const RGNDATA* pRgnData );

Return Value

Nonzero if the function is successful; otherwise 0.

Parameters

lpXForm

Points to an XFORM data structure that defines the transformation to be performed on the region. If this pointer is NULL, the identity transformation is used.

nCount

Specifies the number of bytes pointed to by pRgnData.

pRgnData

Points to a RGNDATA data structure that contains the region data.

Remarks

Creates a region from the given region and transformation data. An application can retrieve data for a region by calling the CRgn::GetRegionData function.

CRgn OverviewClass MembersHierarchy Chart

See Also   CRgn::GetRegionData, ::ExtCreateRegion