Synced
IUiBackend.SetViewport
Section titled “IUiBackend.SetViewport”
- Changes one UI context’s pixel dimensions and density.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.UI
Declaration
Section titled “Declaration”void Inno.UI.IUiBackend.SetViewport(Inno.UI.UiContextHandle context, int width, int height, float density)Parameters
Section titled “Parameters”Parameter context: The context that owns the requested document or state.
Parameter width: New viewport width in physical pixels.
Parameter height: New viewport height in physical pixels.
Parameter density: Physical pixels per logical layout pixel.