KHTML
Go to the documentation of this file.
23 #ifndef SVGTextContentElement_h
24 #define SVGTextContentElement_h
35 class SVGTextContentElement :
public SVGStyledElement,
38 public SVGExternalResourcesRequired {
40 enum SVGLengthAdjustType {
41 LENGTHADJUST_UNKNOWN = 0,
42 LENGTHADJUST_SPACING = 1,
43 LENGTHADJUST_SPACINGANDGLYPHS = 2
46 SVGTextContentElement(
const QualifiedName&, Document*);
47 virtual ~SVGTextContentElement();
49 virtual bool isValid()
const {
return SVGTests::isValid(); }
50 virtual bool isTextContent()
const {
return true; }
52 long getNumberOfChars()
const;
53 float getComputedTextLength()
const;
54 float getSubStringLength(
long charnum,
long nchars, ExceptionCode&)
const;
55 FloatPoint getStartPositionOfChar(
long charnum, ExceptionCode&)
const;
56 FloatPoint getEndPositionOfChar(
long charnum, ExceptionCode&)
const;
57 FloatRect getExtentOfChar(
long charnum, ExceptionCode&)
const;
58 float getRotationOfChar(
long charnum, ExceptionCode&)
const;
59 long getCharNumAtPosition(
const FloatPoint&)
const;
60 void selectSubString(
long charnum,
long nchars, ExceptionCode&)
const;
62 virtual void parseMappedAttribute(MappedAttribute*);
64 bool isKnownAttribute(
const QualifiedName&);
67 ANIMATED_PROPERTY_FORWARD_DECLARATIONS(SVGExternalResourcesRequired,
bool, ExternalResourcesRequired, externalResourcesRequired)
69 ANIMATED_PROPERTY_DECLARATIONS(SVGTextContentElement, SVGLength, SVGLength, TextLength, textLength)
70 ANIMATED_PROPERTY_DECLARATIONS(SVGTextContentElement,
int,
int, LengthAdjust, lengthAdjust)
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.