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

KHTML

WebCore::FontDescription

WebCore::FontDescription Class Reference

#include <FontDescription.h>

List of all members.


Public Types

enum  GenericFamilyType {
  NoFamily, StandardFamily, SerifFamily, SansSerifFamily,
  MonospaceFamily, CursiveFamily, FantasyFamily
}

Public Member Functions

FontWeight bolderWeight () const
int computedPixelSize () const
float computedSize () const
const FontFamily & family () const
FontFamily & firstFamily ()
 FontDescription ()
GenericFamilyType genericFamily () const
bool isAbsoluteSize () const
bool italic () const
int keywordSize () const
FontWeight lighterWeight () const
bool operator!= (const FontDescription &other) const
bool operator== (const FontDescription &) const
FontRenderingMode renderingMode () const
void setComputedSize (float s)
void setFamily (const FontFamily &family)
void setGenericFamily (GenericFamilyType genericFamily)
void setIsAbsoluteSize (bool s)
void setItalic (bool i)
void setKeywordSize (int s)
void setRenderingMode (FontRenderingMode mode)
void setSmallCaps (bool c)
void setSpecifiedSize (float s)
void setUsePrinterFont (bool p)
void setWeight (FontWeight w)
bool smallCaps () const
float specifiedSize () const
bool usePrinterFont () const
FontWeight weight () const

Detailed Description

Definition at line 47 of file FontDescription.h.


Member Enumeration Documentation

enum WebCore::FontDescription::GenericFamilyType

Enumerator:
NoFamily 
StandardFamily 
SerifFamily 
SansSerifFamily 
MonospaceFamily 
CursiveFamily 
FantasyFamily 

Definition at line 49 of file FontDescription.h.


Constructor & Destructor Documentation

WebCore::FontDescription::FontDescription (  )  [inline]

Definition at line 52 of file FontDescription.h.


Member Function Documentation

FontWeight WebCore::FontDescription::bolderWeight ( void   )  const

Definition at line 64 of file FontDescription.cpp.

int WebCore::FontDescription::computedPixelSize (  )  const [inline]

Definition at line 74 of file FontDescription.h.

float WebCore::FontDescription::computedSize (  )  const [inline]

Definition at line 72 of file FontDescription.h.

const FontFamily& WebCore::FontDescription::family (  )  const [inline]

Definition at line 69 of file FontDescription.h.

FontFamily& WebCore::FontDescription::firstFamily (  )  [inline]

Definition at line 70 of file FontDescription.h.

GenericFamilyType WebCore::FontDescription::genericFamily (  )  const [inline]

Definition at line 80 of file FontDescription.h.

bool WebCore::FontDescription::isAbsoluteSize (  )  const [inline]

Definition at line 76 of file FontDescription.h.

bool WebCore::FontDescription::italic (  )  const [inline]

Definition at line 73 of file FontDescription.h.

int WebCore::FontDescription::keywordSize (  )  const [inline]

Definition at line 83 of file FontDescription.h.

FontWeight WebCore::FontDescription::lighterWeight ( void   )  const

Definition at line 34 of file FontDescription.cpp.

bool WebCore::FontDescription::operator!= ( const FontDescription &  other  )  const [inline]

Definition at line 67 of file FontDescription.h.

bool WebCore::FontDescription::operator== ( const FontDescription &  other  )  const [inline]

Definition at line 119 of file FontDescription.h.

FontRenderingMode WebCore::FontDescription::renderingMode (  )  const [inline]

Definition at line 82 of file FontDescription.h.

void WebCore::FontDescription::setComputedSize ( float  s  )  [inline]

Definition at line 86 of file FontDescription.h.

void WebCore::FontDescription::setFamily ( const FontFamily &  family  )  [inline]

Definition at line 85 of file FontDescription.h.

void WebCore::FontDescription::setGenericFamily ( GenericFamilyType  genericFamily  )  [inline]

Definition at line 92 of file FontDescription.h.

void WebCore::FontDescription::setIsAbsoluteSize ( bool  s  )  [inline]

Definition at line 90 of file FontDescription.h.

void WebCore::FontDescription::setItalic ( bool  i  )  [inline]

Definition at line 88 of file FontDescription.h.

void WebCore::FontDescription::setKeywordSize ( int  s  )  [inline]

Definition at line 95 of file FontDescription.h.

void WebCore::FontDescription::setRenderingMode ( FontRenderingMode  mode  )  [inline]

Definition at line 94 of file FontDescription.h.

void WebCore::FontDescription::setSmallCaps ( bool  c  )  [inline]

Definition at line 89 of file FontDescription.h.

void WebCore::FontDescription::setSpecifiedSize ( float  s  )  [inline]

Definition at line 87 of file FontDescription.h.

void WebCore::FontDescription::setUsePrinterFont ( bool  p  )  [inline]

Definition at line 93 of file FontDescription.h.

void WebCore::FontDescription::setWeight ( FontWeight  w  )  [inline]

Definition at line 91 of file FontDescription.h.

bool WebCore::FontDescription::smallCaps (  )  const [inline]

Definition at line 75 of file FontDescription.h.

float WebCore::FontDescription::specifiedSize (  )  const [inline]

Definition at line 71 of file FontDescription.h.

bool WebCore::FontDescription::usePrinterFont (  )  const [inline]

Definition at line 81 of file FontDescription.h.

FontWeight WebCore::FontDescription::weight (  )  const [inline]

Definition at line 77 of file FontDescription.h.


The documentation for this class was generated from the following files:
  • FontDescription.h
  • FontDescription.cpp

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
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
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