
4.00 - "Aphrodite's Child - Four Horsemen" - 11th of February 2020 - Build: 43006
Functions Reference


GetVideoHWNDFunctioncall:
HWND hwnd = ultraschall.GetVideoHWND()
Description: |
returns the HWND of the Video window, if the window is opened.
returns nil if the Video Window is closed
|
Returnvalues: | | |
HWND hwnd | the window-handler of the Video Window |

VID_VideoUIStateCoords2PixelsFunctioncall:
integer x_coordinate, integer y_coordinate = ultraschall.VID_VideoUIStateCoords2Pixels(number uistate_x, number uistate_y, integer videowindow_width, integer videowindow_height)
Description: |
converts the ui_state-coordinates of the Video-Processor into pixel-coordinates within the Video Window
You should add x and y-position of the Video-Processor-window, to get the actual screen-coordinates.
returns nil in case of an error
|
Returnvalues: | | |
integer x_coordinate | the converted x-coordinate |
integer y_coordinate | the converted y-coordinate |
Parameters: | | |
number uistate_x | the x-coordinate, that the function ui_get_state within the videoprocessor returns |
number uistate_y | the y-coordinate, that the function ui_get_state within the videoprocessor returns |
integer videowindow_width | the current width of the Video Window |
integer videowindow_height | the current height of the Video Window |

VID_Pixels2VideoUIStateCoordsFunctioncall:
number uistate_x, number uistate_y = ultraschall.VID_Pixels2VideoUIStateCoords(integer x, integer y, integer videowindow_width, integer videowindow_height)
Description: |
converts the ui_state-coordinates of the Video-Processor into pixel-coordinates within the Video Window
You should add x and y-position of the Video-Processor-window, to get the actual screen-coordinates.
returns nil in case of an error
|
Returnvalues: | | |
number x_coordinate | the converted x-coordinate, that reflects the values within the video-processor function ui_get_state |
number y_coordinate | the converted y-coordinate, that reflects the values within the video-processor function ui_get_state |
Parameters: | | |
integer x | the x-coordinate within the Video-Window |
integer y | the y-coordinate within the Video-Window |
integer videowindow_width | the current width of the Video Window |
integer videowindow_height | the current height of the Video Window |
Automatically generated by Ultraschall-API 4.00 - 1110 functions and -1106 Api-variables available |