ParsecClientSetDimensions
ParsecStatusParsecClientSetDimensions(Parsec *ps,uint8_tstream,uint32_twidth,uint32_theight,floatscale)
Set client window dimensions and screen scale.
The window size and screen scale are used internally to translate mouse coordinates and set the viewport during rendering (if RenderFrame
wrappers are used).
Parameters
Direction | Name | Description |
---|---|---|
in | ps | Parsec instance returned by ParsecInit . |
in | stream | Video stream index. Must be less than NUM_VSTREAMS . |
in | width | The window width in screen coordinates. |
in | height | The window height in screen coordinates. |
in | scale | The screen scale used to translate device screen coordinates into pixels. |
Returns
PARSEC_OK
on success or PARSEC_NOT_RUNNING
if the client is not connected.