このページでは

C

<platforminterface/gradient.h> - Gradient handling

グラデーション処理の便利な関数を提供します。詳細...

Header: #include <platforminterface/gradient.h>

関数

(since Qt Quick Ultralite (Platform) 2.7) void generateGradientColorTable(const Qul::PlatformInterface::GradientStops &gradientStops, float opacity, Qul::PlatformInterface::Rgba32 *colorTable, int size, bool premultipliedAlpha)

詳細説明

クラス

関数ドキュメント

[since Qt Quick Ultralite (Platform) 2.7] void generateGradientColorTable(const Qul::PlatformInterface::GradientStops &gradientStops, float opacity, Qul::PlatformInterface::Rgba32 *colorTable, int size, bool premultipliedAlpha)

グラデーションストップからグラデーションカラーテーブルを生成します。

与えられたgradientStops と不透明値opacity に基づいてグラデーションカラーテーブルを生成します。

colorTable パラ メ タは色テーブルを指 し 示 し 、size は色テーブルが持つべき項目の数を指定します。

premultipliedAlpha パラメータは、出力データにアルファ値を事前乗算するかどうかを指定します。

この関数はQt Quick Ultralite (Platform) 2.7 で導入されました。

特定の Qt ライセンスの下で利用可能です。
詳細をご覧ください。