Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Updates the viewport state and applies the resulting invariants.

API: engine
Project: Inno.UI.Runtime

public void Inno.UI.Runtime.UiRuntime.SetViewport(Inno.UI.UiContextHandle context, int width, int height, float density = 1)

Parameter context: The context that supplies state and services for this operation.

Parameter width: The width in logical units or pixels required by this operation.

Parameter height: The height in logical units or pixels required by this operation.

Parameter density: The density consumed by set viewport; ownership remains with the caller unless explicitly stated otherwise.