KHTML
Go to the documentation of this file.
24 #if ENABLE(SVG) && ENABLE(SVG_FILTERS)
26 #include "SVGRenderTreeAsText.h"
32 static TextStream&
operator<<(TextStream& ts,
const FloatPoint3D& p)
34 ts <<
"x=" << p.x() <<
" y=" << p.y() <<
" z=" << p.z();
38 TextStream& SVGPointLightSource::externalRepresentation(TextStream& ts)
const
40 ts <<
"[type=POINT-LIGHT] ";
41 ts <<
"[position=\"" << position() <<
"\"]";
45 TextStream& SVGSpotLightSource::externalRepresentation(TextStream& ts)
const
47 ts <<
"[type=SPOT-LIGHT] ";
48 ts <<
"[position=\"" << position() <<
"\"]";
49 ts <<
"[direction=\"" << direction() <<
"\"]";
50 ts <<
"[specularExponent=\"" << specularExponent() <<
"\"]";
51 ts <<
"[limitingConeAngle=\"" << limitingConeAngle() <<
"\"]";
55 TextStream& SVGDistantLightSource::externalRepresentation(TextStream& ts)
const
57 ts <<
"[type=DISTANT-LIGHT] ";
58 ts <<
"[azimuth=\"" << azimuth() <<
"\"]";
59 ts <<
"[elevation=\"" << elevation() <<
"\"]";
65 #endif // ENABLE(SVG) && ENABLE(SVG_FILTERS)
QDebug operator<<(QDebug s, KDebugStreamFunction f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.