IMVMask
The IMVMask interface contains methods and properties to configure the MV Mask DirectShow filter.
.
Methods:
| Angle | Angle of the object to be drawn. |
| Filled | Specifies whether the object is to be filled. |
| Height | Height of the object to be drawn. |
| Thickness | Line thickness for drawing. |
| Type | Type of object to be drawn. |
| WhiteMask | Use a white mask instead of a black one. |
| Width | Width of the object to be drawn. |
| xCenter | Horizontal center of the object to be drawn. |
| yCenter | Vertical center of the object to be drawn. |
Header file: IMVMask.h
Interface definition language file: IMVMask.idl
Typelib: MVMask
Interface ID: IID_IMVMask
Declaration: Property Get/Put Angle As LongAngle of the object to be drawn.
C Prototype:HRESULT put_Angle(LONG newVal);
HRESULT get_Angle(LONG *pVal);
Declaration: Property Get/Put Filled As BooleanSpecifies whether the object is to be filled.
C Prototype:HRESULT put_Filled(VARIANT_BOOL newVal);
HRESULT get_Filled(VARIANT_BOOL *pVal);
Declaration: Property Get/Put Height As LongHeight of the object to be drawn.
C Prototype:HRESULT put_Height(LONG newVal);
HRESULT get_Height(LONG *pVal);
Declaration: Property Get/Put Thickness As LongLine thickness for drawing.
C Prototype:HRESULT put_Thickness(LONG newVal);
HRESULT get_Thickness(LONG *pVal);
Declaration: Property Get/Put Type As LongType of object to be drawn.
C Prototype:
Type Value
Description MV_DRAW_ELLIPSE 0
Use an ellipse as mask. MV_DRAW_RECTANGLE 1
Use an rectangle as mask. HRESULT put_Type(LONG newVal);
HRESULT get_Type(LONG *pVal);
Declaration: Property Get/Put WhiteMask As BooleanUse a white mask instead of a black one.
C Prototype:HRESULT put_WhiteMask(VARIANT_BOOL newVal);
HRESULT get_WhiteMask(VARIANT_BOOL *pVal);
Declaration: Property Get/Put Width As LongWidth of the object to be drawn.
C Prototype:HRESULT put_Width(LONG newVal);
HRESULT get_Width(LONG *pVal);
Declaration: Property Get/Put xCenter As LongHorizontal center of the object to be drawn.
C Prototype:HRESULT put_xCenter(LONG newVal);
HRESULT get_xCenter(LONG *pVal);
Declaration: Property Get/Put yCenter As LongVertical center of the object to be drawn.
C Prototype:HRESULT put_yCenter(LONG newVal);
HRESULT get_yCenter(LONG *pVal);