SplitCam plugins
1.0.0
Get your own video or still image source as an integral part of SplitCam user interface
|
Required event handlers. More...
Functions | |
const GUID | splitcam::plugin::getEventsInterfaceId () |
void | splitcam::plugin::onLoad () |
void | splitcam::plugin::onUnload () |
void | splitcam::plugin::onCanvasSize (size_t width, size_t height) |
void | splitcam::plugin::onPosition (const wchar_t *srcId, int x, int y, size_t width, size_t height) |
Required event handlers.
const GUID splitcam::plugin::getEventsInterfaceId | ( | ) |
SplitCam calls this function to get the events interface identifier. The interface identifier defines the function set supported by the current plugin module.
void splitcam::plugin::onCanvasSize | ( | size_t | width, |
size_t | height | ||
) |
SplitCam calls this function to notify the plugin of the canvas size change initiated by the program user.
width | New canvas width in pixels |
height | New canvas height in pixels |
void splitcam::plugin::onLoad | ( | ) |
SplitCam calls this function as soon as the plugin module is loaded.
This function call will be followed by init() function call if this plugin is recognized and the function sets are verified by SplitCam.
void splitcam::plugin::onPosition | ( | const wchar_t * | srcId, |
int | x, | ||
int | y, | ||
size_t | width, | ||
size_t | height | ||
) |
SplitCam calls this function every time the plugin layer size or position is changed.
srcId | Source instance identifier |
x | New layer horizontal position in pixels relative to canvas (may be negative) |
x | New layer vertical position in pixels relative to canvas (may be negative) |
width | New layer width in pixels |
height | New layer height in pixels |
void splitcam::plugin::onUnload | ( | ) |
SplitCam calls this function to notify the plugin that the module is about to be unloaded.
This function call always follows the release() function call.