Partager via


CD2DRectF::CD2DRectF

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.
);

Parameters

  • rect
    source rectangle

  • fLeft
    source left coordinate

  • fTop
    source top coordinate

  • fRight
    source right coordinate

  • fBottom
    source bottom coordinate

Requirements

Header: afxrendertarget.h

See Also

Reference

CD2DRectF Class