다음을 통해 공유


CD2DRoundedRect Class

 

The latest version of this topic can be found at CD2DRoundedRect Class.

A wrapper for D2D1_ROUNDED_RECT.

Syntax

class CD2DRoundedRect : public D2D1_ROUNDED_RECT;  

Members

Public Constructors

Name Description
CD2DRoundedRect::CD2DRoundedRect Overloaded. Constructs a CD2DRoundedRect object from D2D1_ROUNDED_RECT object.

Inheritance Hierarchy

D2D1_ROUNDED_RECT

CD2DRoundedRect

Requirements

Header: afxrendertarget.h

CD2DRoundedRect::CD2DRoundedRect

Constructs a CD2DRoundedRect object from CD2DRectF object.

CD2DRoundedRect(
    const CD2DRectF& rectIn,  
    const CD2DSizeF& sizeRadius);  
  
CD2DRoundedRect(const D2D1_ROUNDED_RECT& rectIn);  
CD2DRoundedRect(const D2D1_ROUNDED_RECT* rectIn);
```  
  
### Parameters  
 `rectIn`  
 source rectangle  
  
 `sizeRadius`  
 radius size  
  
## See Also  
 [Classes](../Topic/MFC%20Classes.md)