• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KHTML

SVGFontData.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org>
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Library General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Library General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Library General Public License
00015  * along with this library; see the file COPYING.LIB.  If not, write to
00016  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017  * Boston, MA 02110-1301, USA.
00018  *
00019  */
00020 
00021 #ifndef SVGFontData_h
00022 #define SVGFontData_h
00023 
00024 #if ENABLE(SVG_FONTS)
00025 // FIXME khtml #include "SVGFontFaceElement.h"
00026 
00027 namespace WebCore {
00028 
00029 class SVGFontData {
00030 public:
00031     SVGFontData(/*FIXME khtml SVGFontFaceElement**/);
00032     virtual ~SVGFontData();
00033 
00034     // FIXME khtml SVGFontFaceElement* svgFontFaceElement() const { return m_svgFontFaceElement.get(); }
00035 
00036     float horizontalOriginX() const { return m_horizontalOriginX; }
00037     float horizontalOriginY() const { return m_horizontalOriginY; }
00038     float horizontalAdvanceX() const { return m_horizontalAdvanceX; }
00039 
00040     float verticalOriginX() const { return m_verticalOriginX; }
00041     float verticalOriginY() const { return m_verticalOriginY; }
00042     float verticalAdvanceY() const { return m_verticalAdvanceY; }
00043 
00044 private:
00045     //FIXME khtml RefPtr<SVGFontFaceElement> m_svgFontFaceElement;
00046 
00047     float m_horizontalOriginX;
00048     float m_horizontalOriginY;
00049     float m_horizontalAdvanceX;
00050 
00051     float m_verticalOriginX;
00052     float m_verticalOriginY;
00053     float m_verticalAdvanceY;
00054 };
00055 
00056 } // namespace WebCore
00057 
00058 #endif
00059 #endif // SVGFontData_h

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal