コード例 #1
0
PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableSVGPaint::addWith(const AnimatableValue* value) const
{
    const AnimatableSVGPaint* svgPaint = toAnimatableSVGPaint(value);
    if (paintType() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR || svgPaint->paintType() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR) {
        ASSERT(uri().isNull());
        return AnimatableSVGPaint::create(SVGPaint::SVG_PAINTTYPE_RGBCOLOR, m_color.addWith(svgPaint->m_color), String());
    }
    return defaultAddWith(this, value);
}
コード例 #2
0
PassRefPtr<AnimatableValue> AnimatableImage::addWith(const AnimatableValue* value) const
{
    // FIXME: Correct procedure is defined here: http://dev.w3.org/fxtf/web-animations/#the--image--type
    return defaultAddWith(this, value);
}
コード例 #3
0
ファイル: AnimatableSVGLength.cpp プロジェクト: Igalia/blink
PassRefPtr<AnimatableValue> AnimatableSVGLength::addWith(const AnimatableValue* value) const
{
    ASSERT_WITH_MESSAGE(false, "Web Animations not yet implemented: AnimatableSVGLength::addWith()");
    return defaultAddWith(this, value);
}