Fluent-Qt

Référence API

WindowBackdropMaterial

Moteur de rendu logiciel pour les dégradés d'arrière-plan de fenêtre opaques Normal, Mica et Acrylic.

fluent::windowing::WindowBackdropMaterialOptions

Options pour les effets d'arrière-plan de fenêtre Fluent en rendu logiciel ; dessine toujours une couche de base opaque en premier.

Champs

qreal devicePixelRatio = 0.0

Ratio de pixels du périphérique pour la tuile de grain en cache ; les valeurs <= 0 utilisent le DPR de la cible du peintre.

Méthodes

fluent::windowing::WindowBackdropMaterial

Méthodes

static void paint(QPainter& painter, const QRectF& rect, const WindowBackdropMaterialOptions& options)

Effectue le rendu du dégradé d'arrière-plan Normal, Mica ou Acrylic dans rect.

static void paintNormal(QPainter& painter, const QRectF& rect, const WindowBackdropMaterialOptions& options)

Effectue le rendu de l'arrière-plan de fenêtre opaque Solid/Normal dans rect.

static void paintMica(QPainter& painter, const QRectF& rect, const WindowBackdropMaterialOptions& options)

Effectue le rendu du dégradé d'arrière-plan Mica logiciel avec de subtils champs de couleur.

static void paintAcrylic(QPainter& painter, const QRectF& rect, const WindowBackdropMaterialOptions& options)

Effectue le rendu du dégradé d'arrière-plan Acrylic logiciel avec luminosité, teinte et grain.

static QColor opaqueBaseColor(const WindowBackdropMaterialOptions& options)

Retourne la couleur de base garantie opaque pour l'effet d'arrière-plan sélectionné, hors dégradés et grain.