Пример #1
0
void Gradient::setGradientSpaceTransform(const AffineTransform& gradientSpaceTransformation)
{
    if (m_gradientSpaceTransformation == gradientSpaceTransformation)
        return;

    m_gradientSpaceTransformation = gradientSpaceTransformation;
    setPlatformGradientSpaceTransform(gradientSpaceTransformation);

    invalidateHash();
}
Пример #2
0
void Gradient::setGradientSpaceTransform(const TransformationMatrix& gradientSpaceTransformation)
{ 
    m_gradientSpaceTransformation = gradientSpaceTransformation;
    setPlatformGradientSpaceTransform(gradientSpaceTransformation);
}
Пример #3
0
void Gradient::setGradientSpaceTransform(const AffineTransform& gradientSpaceTransformation)
{ 
    m_gradientSpaceTransformation = gradientSpaceTransformation;
    setPlatformGradientSpaceTransform(gradientSpaceTransformation);
}