webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | List of all members
WebCore::RenderTextLineBoxes Class Reference

#include <RenderTextLineBoxes.h>

Public Types

enum  OffsetType { CaretOffset, CharacterOffset, CaretOffset, CharacterOffset }
 
enum  ClippingOption { NoClipping, ClipToEllipsis, NoClipping, ClipToEllipsis }
 
enum  OffsetType { CaretOffset, CharacterOffset, CaretOffset, CharacterOffset }
 
enum  ClippingOption { NoClipping, ClipToEllipsis, NoClipping, ClipToEllipsis }
 

Public Member Functions

 RenderTextLineBoxes ()
 
InlineTextBoxfirst () const
 
InlineTextBoxlast () const
 
InlineTextBoxcreateAndAppendLineBox (RenderText &)
 
void extract (InlineTextBox &)
 
void attach (InlineTextBox &)
 
void remove (InlineTextBox &)
 
void removeAllFromParent (RenderText &)
 
void deleteAll ()
 
void dirtyAll ()
 
bool dirtyRange (RenderText &, unsigned start, unsigned end, int lengthDelta)
 
InlineTextBoxfindNext (int offset, int &position) const
 
bool hasRenderedText () const
 
int caretMinOffset () const
 
int caretMaxOffset (const RenderText &) const
 
bool containsOffset (const RenderText &, unsigned, OffsetType) const
 
unsigned countCharacterOffsetsUntil (unsigned) const
 
VisiblePosition positionForPoint (const RenderText &, const LayoutPoint &) const
 
void setSelectionState (RenderText &, RenderObject::SelectionState)
 
LayoutRect selectionRectForRange (unsigned start, unsigned end)
 
void collectSelectionRectsForRange (unsigned start, unsigned end, Vector< LayoutRect > &rects)
 
IntRect boundingBox (const RenderText &) const
 
IntPoint firstRunLocation () const
 
LayoutRect visualOverflowBoundingBox (const RenderText &) const
 
Vector< IntRectabsoluteRects (const LayoutPoint &accumulatedOffset) const
 
Vector< IntRectabsoluteRectsForRange (const RenderText &, unsigned start, unsigned end, bool useSelectionHeight, bool *wasFixed) const
 
Vector< FloatQuadabsoluteQuads (const RenderText &, bool *wasFixed, ClippingOption) const
 
Vector< FloatQuadabsoluteQuadsForRange (const RenderText &, unsigned start, unsigned end, bool useSelectionHeight, bool *wasFixed) const
 
 ~RenderTextLineBoxes ()
 
void invalidateParentChildLists ()
 
 RenderTextLineBoxes ()
 
InlineTextBoxfirst () const
 
InlineTextBoxlast () const
 
InlineTextBoxcreateAndAppendLineBox (RenderText &)
 
void extract (InlineTextBox &)
 
void attach (InlineTextBox &)
 
void remove (InlineTextBox &)
 
void removeAllFromParent (RenderText &)
 
void deleteAll ()
 
void dirtyAll ()
 
bool dirtyRange (RenderText &, unsigned start, unsigned end, int lengthDelta)
 
InlineTextBoxfindNext (int offset, int &position) const
 
bool hasRenderedText () const
 
int caretMinOffset () const
 
int caretMaxOffset (const RenderText &) const
 
bool containsOffset (const RenderText &, unsigned, OffsetType) const
 
unsigned countCharacterOffsetsUntil (unsigned) const
 
VisiblePosition positionForPoint (const RenderText &, const LayoutPoint &) const
 
void setSelectionState (RenderText &, RenderObject::SelectionState)
 
LayoutRect selectionRectForRange (unsigned start, unsigned end)
 
void collectSelectionRectsForRange (unsigned start, unsigned end, Vector< LayoutRect > &rects)
 
IntRect boundingBox (const RenderText &) const
 
IntPoint firstRunLocation () const
 
LayoutRect visualOverflowBoundingBox (const RenderText &) const
 
Vector< IntRectabsoluteRects (const LayoutPoint &accumulatedOffset) const
 
Vector< IntRectabsoluteRectsForRange (const RenderText &, unsigned start, unsigned end, bool useSelectionHeight, bool *wasFixed) const
 
Vector< FloatQuadabsoluteQuads (const RenderText &, bool *wasFixed, ClippingOption) const
 
Vector< FloatQuadabsoluteQuadsForRange (const RenderText &, unsigned start, unsigned end, bool useSelectionHeight, bool *wasFixed) const
 
 ~RenderTextLineBoxes ()
 
void invalidateParentChildLists ()
 

Member Enumeration Documentation

◆ ClippingOption [1/2]

Enumerator
NoClipping 
ClipToEllipsis 
NoClipping 
ClipToEllipsis 

◆ ClippingOption [2/2]

Enumerator
NoClipping 
ClipToEllipsis 
NoClipping 
ClipToEllipsis 

◆ OffsetType [1/2]

Enumerator
CaretOffset 
CharacterOffset 
CaretOffset 
CharacterOffset 

◆ OffsetType [2/2]

Enumerator
CaretOffset 
CharacterOffset 
CaretOffset 
CharacterOffset 

Constructor & Destructor Documentation

◆ RenderTextLineBoxes() [1/2]

WebCore::RenderTextLineBoxes::RenderTextLineBoxes ( )

◆ ~RenderTextLineBoxes() [1/2]

WebCore::RenderTextLineBoxes::~RenderTextLineBoxes ( )

◆ RenderTextLineBoxes() [2/2]

WebCore::RenderTextLineBoxes::RenderTextLineBoxes ( )

◆ ~RenderTextLineBoxes() [2/2]

WebCore::RenderTextLineBoxes::~RenderTextLineBoxes ( )

Member Function Documentation

◆ absoluteQuads() [1/2]

Vector< FloatQuad > WebCore::RenderTextLineBoxes::absoluteQuads ( const RenderText renderer,
bool *  wasFixed,
ClippingOption  option 
) const

◆ absoluteQuads() [2/2]

Vector<FloatQuad> WebCore::RenderTextLineBoxes::absoluteQuads ( const RenderText ,
bool *  wasFixed,
ClippingOption   
) const

◆ absoluteQuadsForRange() [1/2]

Vector< FloatQuad > WebCore::RenderTextLineBoxes::absoluteQuadsForRange ( const RenderText renderer,
unsigned  start,
unsigned  end,
bool  useSelectionHeight,
bool *  wasFixed 
) const

◆ absoluteQuadsForRange() [2/2]

Vector<FloatQuad> WebCore::RenderTextLineBoxes::absoluteQuadsForRange ( const RenderText ,
unsigned  start,
unsigned  end,
bool  useSelectionHeight,
bool *  wasFixed 
) const

◆ absoluteRects() [1/2]

Vector< IntRect > WebCore::RenderTextLineBoxes::absoluteRects ( const LayoutPoint accumulatedOffset) const

◆ absoluteRects() [2/2]

Vector<IntRect> WebCore::RenderTextLineBoxes::absoluteRects ( const LayoutPoint accumulatedOffset) const

◆ absoluteRectsForRange() [1/2]

Vector< IntRect > WebCore::RenderTextLineBoxes::absoluteRectsForRange ( const RenderText renderer,
unsigned  start,
unsigned  end,
bool  useSelectionHeight,
bool *  wasFixed 
) const

◆ absoluteRectsForRange() [2/2]

Vector<IntRect> WebCore::RenderTextLineBoxes::absoluteRectsForRange ( const RenderText ,
unsigned  start,
unsigned  end,
bool  useSelectionHeight,
bool *  wasFixed 
) const

◆ attach() [1/2]

void WebCore::RenderTextLineBoxes::attach ( InlineTextBox )

◆ attach() [2/2]

void WebCore::RenderTextLineBoxes::attach ( InlineTextBox box)

◆ boundingBox() [1/2]

IntRect WebCore::RenderTextLineBoxes::boundingBox ( const RenderText renderer) const

◆ boundingBox() [2/2]

IntRect WebCore::RenderTextLineBoxes::boundingBox ( const RenderText ) const

◆ caretMaxOffset() [1/2]

int WebCore::RenderTextLineBoxes::caretMaxOffset ( const RenderText ) const

◆ caretMaxOffset() [2/2]

int WebCore::RenderTextLineBoxes::caretMaxOffset ( const RenderText renderer) const

◆ caretMinOffset() [1/2]

int WebCore::RenderTextLineBoxes::caretMinOffset ( ) const

◆ caretMinOffset() [2/2]

int WebCore::RenderTextLineBoxes::caretMinOffset ( ) const

◆ collectSelectionRectsForRange() [1/2]

void WebCore::RenderTextLineBoxes::collectSelectionRectsForRange ( unsigned  start,
unsigned  end,
Vector< LayoutRect > &  rects 
)

◆ collectSelectionRectsForRange() [2/2]

void WebCore::RenderTextLineBoxes::collectSelectionRectsForRange ( unsigned  start,
unsigned  end,
Vector< LayoutRect > &  rects 
)

◆ containsOffset() [1/2]

bool WebCore::RenderTextLineBoxes::containsOffset ( const RenderText ,
unsigned  ,
OffsetType   
) const

◆ containsOffset() [2/2]

bool WebCore::RenderTextLineBoxes::containsOffset ( const RenderText renderer,
unsigned  offset,
OffsetType  type 
) const

◆ countCharacterOffsetsUntil() [1/2]

unsigned WebCore::RenderTextLineBoxes::countCharacterOffsetsUntil ( unsigned  offset) const

◆ countCharacterOffsetsUntil() [2/2]

unsigned WebCore::RenderTextLineBoxes::countCharacterOffsetsUntil ( unsigned  ) const

◆ createAndAppendLineBox() [1/2]

InlineTextBox * WebCore::RenderTextLineBoxes::createAndAppendLineBox ( RenderText renderText)

◆ createAndAppendLineBox() [2/2]

InlineTextBox* WebCore::RenderTextLineBoxes::createAndAppendLineBox ( RenderText )

◆ deleteAll() [1/2]

void WebCore::RenderTextLineBoxes::deleteAll ( )

◆ deleteAll() [2/2]

void WebCore::RenderTextLineBoxes::deleteAll ( )

◆ dirtyAll() [1/2]

void WebCore::RenderTextLineBoxes::dirtyAll ( )

◆ dirtyAll() [2/2]

void WebCore::RenderTextLineBoxes::dirtyAll ( )

◆ dirtyRange() [1/2]

bool WebCore::RenderTextLineBoxes::dirtyRange ( RenderText ,
unsigned  start,
unsigned  end,
int  lengthDelta 
)

◆ dirtyRange() [2/2]

bool WebCore::RenderTextLineBoxes::dirtyRange ( RenderText renderer,
unsigned  start,
unsigned  end,
int  lengthDelta 
)

◆ extract() [1/2]

void WebCore::RenderTextLineBoxes::extract ( InlineTextBox )

◆ extract() [2/2]

void WebCore::RenderTextLineBoxes::extract ( InlineTextBox box)

◆ findNext() [1/2]

InlineTextBox* WebCore::RenderTextLineBoxes::findNext ( int  offset,
int &  position 
) const

◆ findNext() [2/2]

InlineTextBox * WebCore::RenderTextLineBoxes::findNext ( int  offset,
int &  position 
) const

◆ first() [1/2]

InlineTextBox* WebCore::RenderTextLineBoxes::first ( void  ) const
inline

◆ first() [2/2]

InlineTextBox* WebCore::RenderTextLineBoxes::first ( void  ) const
inline

◆ firstRunLocation() [1/2]

IntPoint WebCore::RenderTextLineBoxes::firstRunLocation ( ) const

◆ firstRunLocation() [2/2]

IntPoint WebCore::RenderTextLineBoxes::firstRunLocation ( ) const

◆ hasRenderedText() [1/2]

bool WebCore::RenderTextLineBoxes::hasRenderedText ( ) const

◆ hasRenderedText() [2/2]

bool WebCore::RenderTextLineBoxes::hasRenderedText ( ) const

◆ invalidateParentChildLists() [1/2]

void WebCore::RenderTextLineBoxes::invalidateParentChildLists ( )

◆ invalidateParentChildLists() [2/2]

void WebCore::RenderTextLineBoxes::invalidateParentChildLists ( )

◆ last() [1/2]

InlineTextBox* WebCore::RenderTextLineBoxes::last ( void  ) const
inline

◆ last() [2/2]

InlineTextBox* WebCore::RenderTextLineBoxes::last ( void  ) const
inline

◆ positionForPoint() [1/2]

VisiblePosition WebCore::RenderTextLineBoxes::positionForPoint ( const RenderText renderer,
const LayoutPoint point 
) const

◆ positionForPoint() [2/2]

VisiblePosition WebCore::RenderTextLineBoxes::positionForPoint ( const RenderText ,
const LayoutPoint  
) const

◆ remove() [1/2]

void WebCore::RenderTextLineBoxes::remove ( InlineTextBox box)

◆ remove() [2/2]

void WebCore::RenderTextLineBoxes::remove ( InlineTextBox )

◆ removeAllFromParent() [1/2]

void WebCore::RenderTextLineBoxes::removeAllFromParent ( RenderText renderer)

◆ removeAllFromParent() [2/2]

void WebCore::RenderTextLineBoxes::removeAllFromParent ( RenderText )

◆ selectionRectForRange() [1/2]

LayoutRect WebCore::RenderTextLineBoxes::selectionRectForRange ( unsigned  start,
unsigned  end 
)

◆ selectionRectForRange() [2/2]

LayoutRect WebCore::RenderTextLineBoxes::selectionRectForRange ( unsigned  start,
unsigned  end 
)

◆ setSelectionState() [1/2]

void WebCore::RenderTextLineBoxes::setSelectionState ( RenderText renderer,
RenderObject::SelectionState  state 
)

◆ setSelectionState() [2/2]

void WebCore::RenderTextLineBoxes::setSelectionState ( RenderText ,
RenderObject::SelectionState   
)

◆ visualOverflowBoundingBox() [1/2]

LayoutRect WebCore::RenderTextLineBoxes::visualOverflowBoundingBox ( const RenderText ) const

◆ visualOverflowBoundingBox() [2/2]

LayoutRect WebCore::RenderTextLineBoxes::visualOverflowBoundingBox ( const RenderText renderer) const

The documentation for this class was generated from the following files: