KHTML
Go to the documentation of this file.
21 #ifndef SVGFontElement_h
22 #define SVGFontElement_h
33 class SVGMissingGlyphElement;
34 class SVGFontElement :
public SVGStyledElement
35 ,
public SVGExternalResourcesRequired {
37 SVGFontElement(
const QualifiedName&, Document*);
38 virtual ~SVGFontElement();
40 virtual bool rendererIsNeeded(RenderStyle*) {
return false; }
41 virtual const SVGElement* contextElement()
const {
return this; }
43 void invalidateGlyphCache();
45 void getGlyphIdentifiersForString(
const String&, Vector<SVGGlyphIdentifier>&)
const;
47 bool getHorizontalKerningPairForStringsAndGlyphs(
const String& u1,
const String& g1,
const String& u2,
const String& g2, SVGHorizontalKerningPair& kerningPair)
const;
49 SVGMissingGlyphElement* firstMissingGlyphElement()
const;
54 void ensureGlyphCache()
const;
56 typedef Vector<SVGHorizontalKerningPair> KerningPairVector;
58 mutable KerningPairVector m_kerningPairs;
59 mutable SVGGlyphMap m_glyphMap;
60 mutable bool m_isGlyphCacheValid;
65 #endif // ENABLE(SVG_FONTS)
DOM::QualifiedName textTag
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:22 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.