MFVideoNormalizedRect structure (mfmediaengine.h)
Defines a normalized rectangle, which is used to specify sub-rectangles in a video rectangle. When a rectangle N is normalized relative to some other rectangle R, it means the following:
- The coordinate (0.0, 0.0) on N is mapped to the upper-left corner of R.
- The coordinate (1.0, 1.0) on N is mapped to the lower-right corner of R.
Syntax
typedef struct MFVideoNormalizedRect {
float left;
float top;
float right;
float bottom;
} MFVideoNormalizedRect;
Members
left
X-coordinate of the upper-left corner of the rectangle.
top
Y-coordinate of the upper-left corner of the rectangle.
right
X-coordinate of the lower-right corner of the rectangle.
bottom
Y-coordinate of the lower-right corner of the rectangle.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Header | mfmediaengine.h (include Mfcaptureengine.h, Mfmediaengine.h) |