KHTML
Go to the documentation of this file.
30 #include <wtf/Assertions.h>
34 static const char*
const compositeOperatorNames[] = {
50 const int numCompositeOperatorNames =
sizeof(compositeOperatorNames) /
sizeof(compositeOperatorNames[0]);
52 bool parseCompositeOperator(
const DOM::DOMString& s, CompositeOperator& op)
54 for (
int i = 0; i < numCompositeOperatorNames; i++)
55 if (s == compositeOperatorNames[i]) {
56 op =
static_cast<CompositeOperator
>(i);
65 ASSERT(op < numCompositeOperatorNames);
66 return compositeOperatorNames[op];
90 const char*
const names[3] = {
"butt",
"round",
"square" };
115 const char*
const names[3] = {
"miter",
"round",
"bevel" };
This class implements the basic string we use in the DOM.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:20 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.