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
ParametersDescription
ctxA value of type FsContext provided as an argument of the gauge callback.
widthThe width of the viewport.
heightThe 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