On this page
fsRenderViewport
The fsRenderViewport function specifies the viewport to be used when drawing the gauge.
Syntax
void fsRenderViewport(
FsContext ctx,
float width,
float height,
float devicePixelRatio
)
Members
| Parameters | Description |
|---|---|
ctx | A value of type FsContext provided as an argument of the gauge callback. |
width | The width of the viewport. |
height | The height of the viewport. |
devicePixelRatio | The device pixel ratio. NOTE: This is not currently implemented. |
Return Values
This function does not return a value.
Remarks
N/A
Next
FsColor