6#include "QskBoxHints.h"
7#include "QskRgbValue.h"
9QskBoxHints::QskBoxHints()
13QskBoxHints::QskBoxHints(
18 , borderMetrics( borderMetrics )
19 , borderColors( borderColors )
20 , gradient( gradient )
21 , shadowMetrics( shadowMetrics )
22 , shadowColor( shadowColor )
26QskBoxHints QskBoxHints::toAbsolute(
const QSizeF& size )
const noexcept
29 borderMetrics.toAbsolute( size ), borderColors, gradient,
30 shadowMetrics.toAbsolute( size ), shadowColor );
37 shape.interpolated( to.shape, value ),
38 borderMetrics.interpolated( to.borderMetrics, value ),
39 borderColors.interpolated( to.borderColors, value ),
40 gradient.interpolated( to.gradient, value ),
41 shadowMetrics.interpolated( to.shadowMetrics, value ),
42 QskRgb::interpolated( shadowColor, to.shadowColor, value ) );
45#ifndef QT_NO_DEBUG_STREAM
49QDebug operator<<( QDebug debug,
const QskBoxHints& hints )
51 debug << hints.shape << hints.borderMetrics
52 << hints.borderColors << hints.gradient << hints.shadowMetrics
60#include "moc_QskBoxHints.cpp"