gfx/skia/trunk/src/svg/SkSVGMask.cpp

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/skia/trunk/src/svg/SkSVGMask.cpp	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +
     1.5 +/*
     1.6 + * Copyright 2006 The Android Open Source Project
     1.7 + *
     1.8 + * Use of this source code is governed by a BSD-style license that can be
     1.9 + * found in the LICENSE file.
    1.10 + */
    1.11 +
    1.12 +
    1.13 +#include "SkSVGMask.h"
    1.14 +#include "SkSVGParser.h"
    1.15 +
    1.16 +const SkSVGAttribute SkSVGMask::gAttributes[] = {
    1.17 +    SVG_ATTRIBUTE(height),
    1.18 +    SVG_ATTRIBUTE(maskUnits),
    1.19 +    SVG_ATTRIBUTE(width),
    1.20 +    SVG_ATTRIBUTE(x),
    1.21 +    SVG_ATTRIBUTE(y)
    1.22 +};
    1.23 +
    1.24 +DEFINE_SVG_INFO(Mask)
    1.25 +
    1.26 +bool SkSVGMask::isDef() {
    1.27 +    return false;
    1.28 +}
    1.29 +
    1.30 +bool SkSVGMask::isNotDef() {
    1.31 +    return false;
    1.32 +}
    1.33 +
    1.34 +void SkSVGMask::translate(SkSVGParser& parser, bool defState) {
    1.35 +    INHERITED::translate(parser, defState);
    1.36 +}

mercurial