| title | CD2DRectF Class | Microsoft Docs | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||
| ms.reviewer | ||||||||||||||
| ms.suite | ||||||||||||||
| ms.technology |
|
|||||||||||||
| ms.tgt_pltfrm | ||||||||||||||
| ms.topic | reference | |||||||||||||
| f1_keywords |
|
|||||||||||||
| dev_langs |
|
|||||||||||||
| helpviewer_keywords |
|
|||||||||||||
| ms.assetid | 87c12d87-9d18-4a19-ba14-0f51d6b6835a | |||||||||||||
| caps.latest.revision | 18 | |||||||||||||
| author | mikeblome | |||||||||||||
| ms.author | mblome | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
A wrapper for D2D1_RECT_F.
class CD2DRectF : public D2D1_RECT_F;
| Name | Description |
|---|---|
| CD2DRectF::CD2DRectF | Overloaded. Constructs a CD2DRectF object from D2D1_RECT_F object. |
| Name | Description |
|---|---|
| CD2DRectF::IsNull | Returns a boolean value that indicates whether an expression contains no valid data ( null). |
| Name | Description |
|---|---|
| CD2DRectF::operator CRect | Converts CD2DRectF to CRect object. |
D2D1_RECT_F
CD2DRectF
Header: afxrendertarget.h
Constructs a CD2DRectF object from CRect object.
CD2DRectF(const CRect& rect);
CD2DRectF(const D2D1_RECT_F& rect);
CD2DRectF(const D2D1_RECT_F* rect);
CD2DRectF(
FLOAT fLeft = 0.,
FLOAT fTop = 0.,
FLOAT fRight = 0.,
FLOAT fBottom = 0.);
rect
source rectangle
fLeft
source left coordinate
fTop
source top coordinate
fRight
source right coordinate
fBottom
source bottom coordinate
Returns a Boolean value that indicates whether an expression contains no valid data (Null).
BOOL IsNull() const;
TRUE if rectangle's top, left, bottom, and right values are all equal to 0; otherwise FALSE.
Converts CD2DRectF to CRect object.
operator CRect();
Current value of D2D rectangle.