IPictureMixer2
From MediaLooks Knowledge Base
GUID: {0BF3D0F6-E212-4872-A09B-7C71A4D5BF81}
The IPictureMixer2 interface of the MediaLooks Text & Graphics Overlay Filter is used to control text and graphics overlay features.
The following table lists the members exposed by the IPictureMixer2 interface.
Interface methods
| Name | Description |
| Filter properties related methods | |
| SetColorSpace | Sets the input colorspace. |
| GetColorSpace | Gets the colorspace, which was previously set by the SetColorSpace method. |
| UseExtraBuffer2 | Switches on or off the extra buffering mode. |
| IsUseExtraBuffer2 | Gets the extra buffering mode state. |
| SetOutputRect | Scales the input video to the rectangle size, specified in the parameter. |
| GetOutputRect | Gets the output rectangular area and the backcolor. |
| Methods for adding and removing overlay items | |
| AddImage2 | Adds an image object to the overlay from a 24 or 32 bits BMP file. |
| AddImageFromMemory2 | Adds an image object to the overlay from memory. |
| AddOutlinedText | Adds a text, time or date string, printed with the specified font, fore/back ground colors, outlined with the specified width and color. |
| AddOutlinedTextVB | Adds a text, time or date string, printed with the specified font face and size, as well as the parameters, used in the AddOutlinedText method. |
| AddRoundRect | Adds a rounded rectangle to the overlay. |
| RemoveItem2 | Removes the specified item from the overlay. |
| RemoveAllItems | Removes all items from the overlay. |
| Information and order related methods | |
| GetItemCount2 | Gets the number of overlayed items. |
| GetItemInfo2 | Gets the cookie, name and type for an item at a zero-based index. |
| GetItemSize | Gets the item size. |
| GetItemProps | Gets the item properties. |
| SetItemProps | Sets the item properties. |
| ChangeItemOrder | Changes the items Z-order. |
| Methods for changing items' properties | |
| SetItemCallback | Sets the callback method for an item. |
| SwitchItems2 | Shows one item and hides another one. |
| ShowItem2 | Makes the item visible/unvisible. |
| IsItemShow2 | Gets whether the item is visible or unvisible. |
| SetItemPos2 | Sets the item position |
| GetItemPos2 | Gets the item position |
| SetItemMovement | Sets properties for the movement of the item |
| GetItemMovement | Gets properties for the movement of the item |
| SetItemCounter | Sets properties for the item counter |
| GetItemCounter | Gets properties for the item counter |
| SetItemAlpha2 | Sets the item alpha value |
| GetItemAlpha2 | Gets the item alpha value |