D2D1SIZEF
D2D1_SIZE_F is a data structure used in the Direct2D API to represent a two-dimensional size with floating-point components. It is defined in the Direct2D header files and is commonly used to pass width and height values in rendering-related calls. The structure contains two members: width and height, both of type FLOAT, which is typically a 32-bit floating-point type.
In practice, D2D1_SIZE_F stores sizes in device-independent pixels (DIPs), though the exact mapping to physical pixels
Initialization and usage examples: in C, a D2D1_SIZE_F variable can be initialized with an aggregate initializer,
Relation to related types: D2D1_SIZE_F is the floating-point counterpart to D2D1_SIZE_U, which uses unsigned integers for
Typical contexts for use include describing the size of resources, layouts, bitmaps, gradients, or other rendering
See also: D2D1_RECT_F, D2D1_POINT_2F, D2D1_SIZE_U, and the helper namespace D2D1::SizeF.