LCOV - code coverage report
Current view: top level - dom/svg - SVGTextPositioningElement.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 4 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim: set ts=8 sts=2 et sw=2 tw=80: */
       3             : /* This Source Code Form is subject to the terms of the Mozilla Public
       4             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       5             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       6             : 
       7             : #ifndef mozilla_dom_SVGTextPositioningElement_h
       8             : #define mozilla_dom_SVGTextPositioningElement_h
       9             : 
      10             : #include "mozilla/dom/SVGTextContentElement.h"
      11             : #include "SVGAnimatedLengthList.h"
      12             : #include "SVGAnimatedNumberList.h"
      13             : 
      14             : namespace mozilla {
      15             : class SVGAnimatedLengthList;
      16             : class DOMSVGAnimatedLengthList;
      17             : class DOMSVGAnimatedNumberList;
      18             : 
      19             : namespace dom {
      20             : typedef SVGTextContentElement SVGTextPositioningElementBase;
      21             : 
      22           0 : class SVGTextPositioningElement : public SVGTextPositioningElementBase
      23             : {
      24             : public:
      25             :   // WebIDL
      26             :   already_AddRefed<DOMSVGAnimatedLengthList> X();
      27             :   already_AddRefed<DOMSVGAnimatedLengthList> Y();
      28             :   already_AddRefed<DOMSVGAnimatedLengthList> Dx();
      29             :   already_AddRefed<DOMSVGAnimatedLengthList> Dy();
      30             :   already_AddRefed<DOMSVGAnimatedNumberList> Rotate();
      31             : 
      32             : protected:
      33             : 
      34           0 :   explicit SVGTextPositioningElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo)
      35           0 :     : SVGTextPositioningElementBase(aNodeInfo)
      36           0 :   {}
      37             : 
      38             :   virtual LengthListAttributesInfo GetLengthListInfo() override;
      39             :   virtual NumberListAttributesInfo GetNumberListInfo() override;
      40             : 
      41             :   enum { ATTR_X, ATTR_Y, ATTR_DX, ATTR_DY };
      42             :   SVGAnimatedLengthList mLengthListAttributes[4];
      43             :   static LengthListInfo sLengthListInfo[4];
      44             : 
      45             :   enum { ROTATE };
      46             :   SVGAnimatedNumberList mNumberListAttributes[1];
      47             :   static NumberListInfo sNumberListInfo[1];
      48             : };
      49             : 
      50             : } // namespace dom
      51             : } // namespace mozilla
      52             : 
      53             : #endif // mozilla_dom_SVGTextPositioningElement_h

Generated by: LCOV version 1.13