MF_SUBTITLE_SEGMENT Structure

Subtitle segment.

Syntax

typedef struct _MF_SUBTITLE_SEGMENT {
    UINT32 nDataLen;
    UINT32 fieldValidMask;
    UINT32 x;
    UINT32 y;
    UINT32 xExtent;
    UINT32 yExtent;
    UINT32 backgroundColor;
    UINT32 color;
    UINT32 fontSize;
    UINT32 fontWeight;
    UINT32 lineHeight;
    UINT32 outlineColor;
    UINT32 outlineThikness;
    UINT32 outlineBlurRadius;
    WCHAR fontFamily[FONTFAMILYSIZE];
    BYTE fontStretch;
    BYTE fontStyle;
    BYTE textDirection;
    BYTE textAlignment;
    BYTE textOverflow;
    BYTE textDecoration;
    BYTE displayAlign;
    BYTE wordWrap;
    BYTE writingMode;
    WCHAR serviceId[8];
    BYTE *pData;
} MF_SUBTITLE_SEGMENT;  

Members

nDataLen
The data length.

fieldValidMask
Field for valid mask.

x
The X coordinate.

y
The Y coordinate.

xExtent
The X extent.

yExtent
The Y extent.

backgroundColor
The background color.

color
The text color.

fontSize
The font size.

fontWeight
The font weight (darkness).

lineHeight
The line height.

outlineColor
The color of the outline.

outlineThikness
The thickness of the outline.

outlineBlurRadius
The outline blur radius.

fontFamily
The font family.

fontStretch
The amount by which to stretch the font.

fontStyle
The font style.

textDirection
The text direction.

textAlignment
The text alignment.

textOverflow
Text overflow.

textDecoration
Text decoration.

displayAlign
Display alignment.

wordWrap
Word wrap.

writingMode
Writing mode.

serviceId
The service ID.

pData
A pointer to the data to display.

Requirements

Header: Declared in mfapi.h.