fsMapViewSetSize
This function can be used to set the texture resolution for the given MapView.
Syntax
bool fsMapViewSetVisibility(
FsContext ctx,
FsTextureId id,
unsigned uSizeX,
unsigned uSizeY
)
Members
Parameters | Description |
---|---|
ctx |
A value of type FsContext provided as an argument of the gauge callback. |
id |
The MapView render ID as returned by the function fsMapViewCreate . |
uSizeX |
The size of the texture along the X axis, in pixels. Must not exceed 2048px. |
uSizeY |
The size of the texture along the Y axis, in pixels. Must not exceed 2048px. |
Return Values
- Returns false if:
- no texture matches the given MapView ID
- the
ctx
is invalid - the
uSizeX
/Y
values are invalid
Otherwise it will return true.
Remarks
N/A
See Also