//-------------------------------------------------------------- // Sets the dimensions for the local display. // The offsets are used to determine what part of the Master Dimensions to render. // For example, if you have two screens, each 100x100, and the master dimensions are 200x100 // then you would set // client 0: setLocalDimensions(0, 0, 100, 100); // client 1: setLocalDimensions(100, 0, 100, 100); // for a 10 pixel overlap you would do: // client 0: setLocalDimensions(0, 0, 110, 100); // client 1: setLocalDimensions(90, 0, 110, 100); //-------------------------------------------------------------- void mpeClientTCP::setLocalDimensions(int _xOffset, int _yOffset, int _lWidth, int _lHeight) { setOffsets(_xOffset, _yOffset); setLocalDimensions(_lWidth, _lHeight); }
//-------------------------------------------------------------- // Sets the dimensions for the local display. // The offsets are used to determine what part of the Master Dimensions to render. // For example, if you have two screens, each 100x100, and the master dimensions are 200x100 // then you would set // client 0: setLocalDimensions(0, 0, 100, 100); // client 1: setLocalDimensions(100, 0, 100, 100); // for a 10 pixel overlap you would do: // client 0: setLocalDimensions(0, 0, 110, 100); // client 1: setLocalDimensions(90, 0, 110, 100); //-------------------------------------------------------------- void ofxMPEClient::setLocalDimensions(int _xOffset, int _yOffset, int _lWidth, int _lHeight) { setOffsets(_xOffset, _yOffset); setLocalDimensions(_lWidth, _lHeight); }