Fluent-Qt

API reference

WindowBackdropMaterial

Paints deterministic, opaque Fluent window-material fallbacks.

fluent::windowing::WindowBackdropMaterialOptions

Parameters for the app-painted Fluent window backdrop.

Methods

Fields

qreal devicePixelRatio = 0.0

Device-pixel ratio used by the cached grain texture. Values less than or equal to zero are resolved from the painter's target device.

fluent::windowing::WindowBackdropMaterial

Methods

static QColor opaqueBaseColor(const WindowBackdropMaterialOptions& options)

Returns the guaranteed-opaque base color for the selected material.