KHTML
SVGPathSegLinetoVertical.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 "SVGPathSegLinetoVertical.h"
00028
00029 #include "SVGStyledElement.h"
00030
00031 namespace WebCore {
00032
00033 SVGPathSegLinetoVerticalAbs::SVGPathSegLinetoVerticalAbs(float y)
00034 : SVGPathSeg()
00035 , m_y(y)
00036 {
00037 }
00038
00039 SVGPathSegLinetoVerticalAbs::~SVGPathSegLinetoVerticalAbs()
00040 {
00041 }
00042
00043 void SVGPathSegLinetoVerticalAbs::setY(float y)
00044 {
00045 m_y = y;
00046 }
00047
00048 float SVGPathSegLinetoVerticalAbs::y() const
00049 {
00050 return m_y;
00051 }
00052
00053
00054
00055
00056 SVGPathSegLinetoVerticalRel::SVGPathSegLinetoVerticalRel(float y)
00057 : SVGPathSeg()
00058 , m_y(y)
00059 {
00060 }
00061
00062 SVGPathSegLinetoVerticalRel::~SVGPathSegLinetoVerticalRel()
00063 {
00064 }
00065
00066 void SVGPathSegLinetoVerticalRel::setY(float y)
00067 {
00068 m_y = y;
00069 }
00070
00071 float SVGPathSegLinetoVerticalRel::y() const
00072 {
00073 return m_y;
00074 }
00075
00076 }
00077
00078 #endif // ENABLE(SVG)
00079
00080