このページでは

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 ライセンスで利用可能です。
詳細はこちらをご覧ください。