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

KHTML

WebCore::TextRun

WebCore::TextRun Class Reference

#include <Font.h>

List of all members.


Public Member Functions

bool allowTabs () const
bool applyRunRounding () const
bool applyWordRounding () const
const UChar * characters () const
const UChar * data (int i) const
bool directionalOverride () const
void disableRoundingHacks ()
void disableSpacing ()
int length () const
bool ltr () const
UChar operator[] (int i) const
int padding () const
bool rtl () const
void setDirectionalOverride (bool override)
void setRTL (bool b)
void setText (const UChar *c, int len)
bool spacingDisabled () const
 TextRun (const String &s, bool allowTabs=false, int xpos=0, int padding=0, bool rtl=false, bool directionalOverride=false, bool applyRunRounding=true, bool applyWordRounding=true)
 TextRun (const UChar *c, int len, bool allowTabs=false, int xpos=0, int padding=0, bool rtl=false, bool directionalOverride=false, bool applyRunRounding=true, bool applyWordRounding=true)
int xPos () const

Detailed Description

Definition at line 56 of file Font.h.


Constructor & Destructor Documentation

WebCore::TextRun::TextRun ( const UChar *  c,
int  len,
bool  allowTabs = false,
int  xpos = 0,
int  padding = 0,
bool  rtl = false,
bool  directionalOverride = false,
bool  applyRunRounding = true,
bool  applyWordRounding = true 
) [inline]

Definition at line 58 of file Font.h.

WebCore::TextRun::TextRun ( const String &  s,
bool  allowTabs = false,
int  xpos = 0,
int  padding = 0,
bool  rtl = false,
bool  directionalOverride = false,
bool  applyRunRounding = true,
bool  applyWordRounding = true 
) [inline]

Definition at line 77 of file Font.h.


Member Function Documentation

bool WebCore::TextRun::allowTabs (  )  const [inline]

Definition at line 104 of file Font.h.

bool WebCore::TextRun::applyRunRounding (  )  const [inline]

Definition at line 110 of file Font.h.

bool WebCore::TextRun::applyWordRounding (  )  const [inline]

Definition at line 111 of file Font.h.

const UChar* WebCore::TextRun::characters (  )  const [inline]

Definition at line 99 of file Font.h.

const UChar* WebCore::TextRun::data ( int  i  )  const [inline]

Definition at line 97 of file Font.h.

bool WebCore::TextRun::directionalOverride (  )  const [inline]

Definition at line 109 of file Font.h.

void WebCore::TextRun::disableRoundingHacks (  )  [inline]

Definition at line 115 of file Font.h.

void WebCore::TextRun::disableSpacing (  )  [inline]

Definition at line 114 of file Font.h.

int WebCore::TextRun::length (  )  const [inline]

Definition at line 100 of file Font.h.

bool WebCore::TextRun::ltr (  )  const [inline]

Definition at line 108 of file Font.h.

UChar WebCore::TextRun::operator[] ( int  i  )  const [inline]

Definition at line 96 of file Font.h.

int WebCore::TextRun::padding (  )  const [inline]

Definition at line 106 of file Font.h.

bool WebCore::TextRun::rtl (  )  const [inline]

Definition at line 107 of file Font.h.

void WebCore::TextRun::setDirectionalOverride ( bool  override  )  [inline]

Definition at line 117 of file Font.h.

void WebCore::TextRun::setRTL ( bool  b  )  [inline]

Definition at line 116 of file Font.h.

void WebCore::TextRun::setText ( const UChar *  c,
int  len 
) [inline]

Definition at line 102 of file Font.h.

bool WebCore::TextRun::spacingDisabled (  )  const [inline]

Definition at line 112 of file Font.h.

int WebCore::TextRun::xPos (  )  const [inline]

Definition at line 105 of file Font.h.


The documentation for this class was generated from the following file:
  • Font.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
  • 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