KHTML
SVGPathSegLinetoHorizontal.cpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #include "config.h"
00024 #include "wtf/Platform.h"
00025
00026 #if ENABLE(SVG)
00027 #include "SVGPathSegLinetoHorizontal.h"
00028
00029 #include "SVGStyledElement.h"
00030
00031 namespace WebCore {
00032
00033 SVGPathSegLinetoHorizontalAbs::SVGPathSegLinetoHorizontalAbs(float x)
00034 : SVGPathSeg()
00035 , m_x(x)
00036 {
00037 }
00038
00039 SVGPathSegLinetoHorizontalAbs::~SVGPathSegLinetoHorizontalAbs()
00040 {
00041 }
00042
00043 void SVGPathSegLinetoHorizontalAbs::setX(float x)
00044 {
00045 m_x = x;
00046 }
00047
00048 float SVGPathSegLinetoHorizontalAbs::x() const
00049 {
00050 return m_x;
00051 }
00052
00053
00054
00055 SVGPathSegLinetoHorizontalRel::SVGPathSegLinetoHorizontalRel(float x)
00056 : SVGPathSeg()
00057 , m_x(x)
00058 {
00059 }
00060
00061 SVGPathSegLinetoHorizontalRel::~SVGPathSegLinetoHorizontalRel()
00062 {
00063 }
00064
00065 void SVGPathSegLinetoHorizontalRel::setX(float x)
00066 {
00067 m_x = x;
00068 }
00069
00070 float SVGPathSegLinetoHorizontalRel::x() const
00071 {
00072 return m_x;
00073 }
00074
00075 }
00076
00077 #endif // ENABLE(SVG)
00078
00079