D2D1RECTF
D2D1_RECT_F, commonly referred to as D2D1_RECT_F or in documentation as D2D1_RECT_F, is a structure used by the Direct2D API to define an axis-aligned rectangle with floating-point coordinates. It provides a floating-point alternative to the integer rectangle types in Windows, and its coordinates are expressed in device-independent pixels (DIPs) relative to a render target.
The structure contains four members: left, top, right, and bottom, all of type FLOAT. The rectangle is
D2D1_RECT_F is commonly used to describe drawing extents, clipping regions, and hit-testing bounds within Direct2D operations.
In practice, D2D1_RECT_F complements the integer D2D1_RECT_L type and is widely used with methods that take a
See also: D2D1_RECT_L, D2D1::RectF, ID2D1RenderTarget methods that accept D2D1_RECT_F.