From 81ab199308feb3e3e60839f11fd465a54ac10a7d Mon Sep 17 00:00:00 2001 From: Travis CI <> Date: Fri, 19 Apr 2019 16:08:42 +0000 Subject: [PATCH] docs(travis): Update protocol.md - 92938d2 [skip ci] --- docs/generated/comments.json | 52 ++++++++++++++++++++++++++++++++++-- docs/generated/protocol.md | 8 ++++++ 2 files changed, 58 insertions(+), 2 deletions(-) diff --git a/docs/generated/comments.json b/docs/generated/comments.json index 748c862b..a471c0ea 100644 --- a/docs/generated/comments.json +++ b/docs/generated/comments.json @@ -18,7 +18,11 @@ "{String} `bounds.type` Type of bounding box. Can be \"OBS_BOUNDS_STRETCH\", \"OBS_BOUNDS_SCALE_INNER\", \"OBS_BOUNDS_SCALE_OUTER\", \"OBS_BOUNDS_SCALE_TO_WIDTH\", \"OBS_BOUNDS_SCALE_TO_HEIGHT\", \"OBS_BOUNDS_MAX_ONLY\" or \"OBS_BOUNDS_NONE\".", "{int} `bounds.alignment` Alignment of the bounding box.", "{double} `bounds.x` Width of the bounding box.", - "{double} `bounds.y` Height of the bounding box." + "{double} `bounds.y` Height of the bounding box.", + "{int} `sourceWidth` Base width (without scaling) of the source", + "{int} `sourceHeight` Base source (without scaling) of the source", + "{double} `width` Scene item width (base source width multiplied by the horizontal scaling factor)", + "{double} `height` Scene item height (base source height multiplied by the vertical scaling factor)" ], "properties": [ { @@ -95,6 +99,26 @@ "type": "double", "name": "bounds.y", "description": "Height of the bounding box." + }, + { + "type": "int", + "name": "sourceWidth", + "description": "Base width (without scaling) of the source" + }, + { + "type": "int", + "name": "sourceHeight", + "description": "Base source (without scaling) of the source" + }, + { + "type": "double", + "name": "width", + "description": "Scene item width (base source width multiplied by the horizontal scaling factor)" + }, + { + "type": "double", + "name": "height", + "description": "Scene item height (base source height multiplied by the vertical scaling factor)" } ], "typedefs": [ @@ -2489,7 +2513,11 @@ "{String} `bounds.type` Type of bounding box. Can be \"OBS_BOUNDS_STRETCH\", \"OBS_BOUNDS_SCALE_INNER\", \"OBS_BOUNDS_SCALE_OUTER\", \"OBS_BOUNDS_SCALE_TO_WIDTH\", \"OBS_BOUNDS_SCALE_TO_HEIGHT\", \"OBS_BOUNDS_MAX_ONLY\" or \"OBS_BOUNDS_NONE\".", "{int} `bounds.alignment` Alignment of the bounding box.", "{double} `bounds.x` Width of the bounding box.", - "{double} `bounds.y` Height of the bounding box." + "{double} `bounds.y` Height of the bounding box.", + "{int} `sourceWidth` Base width (without scaling) of the source", + "{int} `sourceHeight` Base source (without scaling) of the source", + "{double} `width` Scene item width (base source width multiplied by the horizontal scaling factor)", + "{double} `height` Scene item height (base source height multiplied by the vertical scaling factor)" ], "api": "requests", "name": "GetSceneItemProperties", @@ -2575,6 +2603,26 @@ "type": "double", "name": "bounds.y", "description": "Height of the bounding box." + }, + { + "type": "int", + "name": "sourceWidth", + "description": "Base width (without scaling) of the source" + }, + { + "type": "int", + "name": "sourceHeight", + "description": "Base source (without scaling) of the source" + }, + { + "type": "double", + "name": "width", + "description": "Scene item width (base source width multiplied by the horizontal scaling factor)" + }, + { + "type": "double", + "name": "height", + "description": "Scene item height (base source height multiplied by the vertical scaling factor)" } ], "params": [ diff --git a/docs/generated/protocol.md b/docs/generated/protocol.md index bf2bae8a..7f0b878f 100644 --- a/docs/generated/protocol.md +++ b/docs/generated/protocol.md @@ -204,6 +204,10 @@ These are complex types, such as `Source` and `Scene`, which are used as argumen | `bounds.alignment` | _int_ | Alignment of the bounding box. | | `bounds.x` | _double_ | Width of the bounding box. | | `bounds.y` | _double_ | Height of the bounding box. | +| `sourceWidth` | _int_ | Base width (without scaling) of the source | +| `sourceHeight` | _int_ | Base source (without scaling) of the source | +| `width` | _double_ | Scene item width (base source width multiplied by the horizontal scaling factor) | +| `height` | _double_ | Scene item height (base source height multiplied by the vertical scaling factor) | ## Scene | Name | Type | Description | | ---- | :---: | ------------| @@ -1228,6 +1232,10 @@ Gets the scene specific properties of the specified source item. | `bounds.alignment` | _int_ | Alignment of the bounding box. | | `bounds.x` | _double_ | Width of the bounding box. | | `bounds.y` | _double_ | Height of the bounding box. | +| `sourceWidth` | _int_ | Base width (without scaling) of the source | +| `sourceHeight` | _int_ | Base source (without scaling) of the source | +| `width` | _double_ | Scene item width (base source width multiplied by the horizontal scaling factor) | +| `height` | _double_ | Scene item height (base source height multiplied by the vertical scaling factor) | ---