webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Typedefs | Enumerations | Functions | Variables
WebCore::SimpleLineLayout Namespace Reference

Classes

class  FlowContents
 
class  FragmentForwardIterator
 
class  Layout
 
class  LineResolver
 
class  LineState
 
struct  PaginatedLine
 
struct  Run
 
class  RunResolver
 
struct  SimpleLineStrut
 
class  TextFragmentIterator
 

Typedefs

typedef uint64_t AvoidanceReason
 
typedef uint64_t AvoidanceReasonFlags
 
using PaginatedLines = Vector< PaginatedLine, 20 >
 

Enumerations

enum  AvoidanceReason_ : uint64_t {
  FlowIsInsideRegion = 1LLU << 0, FlowHasHorizonalWritingMode = 1LLU << 1, FlowHasOutline = 1LLU << 2, FlowIsRuby = 1LLU << 3,
  FlowIsPaginated = 1LLU << 4, FlowHasTextOverflow = 1LLU << 5, FlowIsDepricatedFlexBox = 1LLU << 6, FlowParentIsPlaceholderElement = 1LLU << 7,
  FlowParentIsTextAreaWithWrapping = 1LLU << 8, FlowHasNonSupportedChild = 1LLU << 9, FlowHasUnsupportedFloat = 1LLU << 10, FlowHasUnsupportedUnderlineDecoration = 1LLU << 11,
  FlowHasJustifiedNonLatinText = 1LLU << 12, FlowHasOverflowNotVisible = 1LLU << 13, FlowHasWebKitNBSPMode = 1LLU << 14, FlowIsNotLTR = 1LLU << 15,
  FlowHasLineBoxContainProperty = 1LLU << 16, FlowIsNotTopToBottom = 1LLU << 17, FlowHasLineBreak = 1LLU << 18, FlowHasNonNormalUnicodeBiDi = 1LLU << 19,
  FlowHasRTLOrdering = 1LLU << 20, FlowHasLineAlignEdges = 1LLU << 21, FlowHasLineSnap = 1LLU << 22, FlowHasTextEmphasisFillOrMark = 1LLU << 23,
  FlowHasTextShadow = 1LLU << 24, FlowHasPseudoFirstLine = 1LLU << 25, FlowHasPseudoFirstLetter = 1LLU << 26, FlowHasTextCombine = 1LLU << 27,
  FlowHasTextFillBox = 1LLU << 28, FlowHasBorderFitLines = 1LLU << 29, FlowHasNonAutoLineBreak = 1LLU << 30, FlowHasNonAutoTrailingWord = 1LLU << 31,
  FlowHasSVGFont = 1LLU << 32, FlowTextIsEmpty = 1LLU << 33, FlowTextHasSoftHyphen = 1LLU << 34, FlowTextHasDirectionCharacter = 1LLU << 35,
  FlowIsMissingPrimaryFont = 1LLU << 36, FlowPrimaryFontIsInsufficient = 1LLU << 37, FlowTextIsCombineText = 1LLU << 38, FlowTextIsRenderCounter = 1LLU << 39,
  FlowTextIsRenderQuote = 1LLU << 40, FlowTextIsTextFragment = 1LLU << 41, FlowTextIsSVGInlineText = 1LLU << 42, FlowHasComplexFontCodePath = 1LLU << 43,
  FeatureIsDisabled = 1LLU << 44, FlowHasNoParent = 1LLU << 45, FlowHasNoChild = 1LLU << 46, FlowChildIsSelected = 1LLU << 47,
  FlowHasHangingPunctuation = 1LLU << 48, FlowFontHasOverflowGlyph = 1LLU << 49, FlowTextHasSurrogatePair = 1LLU << 50, EndOfReasons = 1LLU << 51,
  FlowIsInsideRegion = 1LLU << 0, FlowHasHorizonalWritingMode = 1LLU << 1, FlowHasOutline = 1LLU << 2, FlowIsRuby = 1LLU << 3,
  FlowIsPaginated = 1LLU << 4, FlowHasTextOverflow = 1LLU << 5, FlowIsDepricatedFlexBox = 1LLU << 6, FlowParentIsPlaceholderElement = 1LLU << 7,
  FlowParentIsTextAreaWithWrapping = 1LLU << 8, FlowHasNonSupportedChild = 1LLU << 9, FlowHasUnsupportedFloat = 1LLU << 10, FlowHasUnsupportedUnderlineDecoration = 1LLU << 11,
  FlowHasJustifiedNonLatinText = 1LLU << 12, FlowHasOverflowNotVisible = 1LLU << 13, FlowHasWebKitNBSPMode = 1LLU << 14, FlowIsNotLTR = 1LLU << 15,
  FlowHasLineBoxContainProperty = 1LLU << 16, FlowIsNotTopToBottom = 1LLU << 17, FlowHasLineBreak = 1LLU << 18, FlowHasNonNormalUnicodeBiDi = 1LLU << 19,
  FlowHasRTLOrdering = 1LLU << 20, FlowHasLineAlignEdges = 1LLU << 21, FlowHasLineSnap = 1LLU << 22, FlowHasTextEmphasisFillOrMark = 1LLU << 23,
  FlowHasTextShadow = 1LLU << 24, FlowHasPseudoFirstLine = 1LLU << 25, FlowHasPseudoFirstLetter = 1LLU << 26, FlowHasTextCombine = 1LLU << 27,
  FlowHasTextFillBox = 1LLU << 28, FlowHasBorderFitLines = 1LLU << 29, FlowHasNonAutoLineBreak = 1LLU << 30, FlowHasNonAutoTrailingWord = 1LLU << 31,
  FlowHasSVGFont = 1LLU << 32, FlowTextIsEmpty = 1LLU << 33, FlowTextHasSoftHyphen = 1LLU << 34, FlowTextHasDirectionCharacter = 1LLU << 35,
  FlowIsMissingPrimaryFont = 1LLU << 36, FlowPrimaryFontIsInsufficient = 1LLU << 37, FlowTextIsCombineText = 1LLU << 38, FlowTextIsRenderCounter = 1LLU << 39,
  FlowTextIsRenderQuote = 1LLU << 40, FlowTextIsTextFragment = 1LLU << 41, FlowTextIsSVGInlineText = 1LLU << 42, FlowHasComplexFontCodePath = 1LLU << 43,
  FeatureIsDisabled = 1LLU << 44, FlowHasNoParent = 1LLU << 45, FlowHasNoChild = 1LLU << 46, FlowChildIsSelected = 1LLU << 47,
  FlowHasHangingPunctuation = 1LLU << 48, FlowFontHasOverflowGlyph = 1LLU << 49, FlowTextHasSurrogatePair = 1LLU << 50, EndOfReasons = 1LLU << 51
}
 
enum  IncludeReasons { IncludeReasons::First, IncludeReasons::All, IncludeReasons::First, IncludeReasons::All }
 
enum  PreWrapLineBreakRule { Preserve, Ignore }
 
enum  AvoidanceReason_ : uint64_t {
  FlowIsInsideRegion = 1LLU << 0, FlowHasHorizonalWritingMode = 1LLU << 1, FlowHasOutline = 1LLU << 2, FlowIsRuby = 1LLU << 3,
  FlowIsPaginated = 1LLU << 4, FlowHasTextOverflow = 1LLU << 5, FlowIsDepricatedFlexBox = 1LLU << 6, FlowParentIsPlaceholderElement = 1LLU << 7,
  FlowParentIsTextAreaWithWrapping = 1LLU << 8, FlowHasNonSupportedChild = 1LLU << 9, FlowHasUnsupportedFloat = 1LLU << 10, FlowHasUnsupportedUnderlineDecoration = 1LLU << 11,
  FlowHasJustifiedNonLatinText = 1LLU << 12, FlowHasOverflowNotVisible = 1LLU << 13, FlowHasWebKitNBSPMode = 1LLU << 14, FlowIsNotLTR = 1LLU << 15,
  FlowHasLineBoxContainProperty = 1LLU << 16, FlowIsNotTopToBottom = 1LLU << 17, FlowHasLineBreak = 1LLU << 18, FlowHasNonNormalUnicodeBiDi = 1LLU << 19,
  FlowHasRTLOrdering = 1LLU << 20, FlowHasLineAlignEdges = 1LLU << 21, FlowHasLineSnap = 1LLU << 22, FlowHasTextEmphasisFillOrMark = 1LLU << 23,
  FlowHasTextShadow = 1LLU << 24, FlowHasPseudoFirstLine = 1LLU << 25, FlowHasPseudoFirstLetter = 1LLU << 26, FlowHasTextCombine = 1LLU << 27,
  FlowHasTextFillBox = 1LLU << 28, FlowHasBorderFitLines = 1LLU << 29, FlowHasNonAutoLineBreak = 1LLU << 30, FlowHasNonAutoTrailingWord = 1LLU << 31,
  FlowHasSVGFont = 1LLU << 32, FlowTextIsEmpty = 1LLU << 33, FlowTextHasSoftHyphen = 1LLU << 34, FlowTextHasDirectionCharacter = 1LLU << 35,
  FlowIsMissingPrimaryFont = 1LLU << 36, FlowPrimaryFontIsInsufficient = 1LLU << 37, FlowTextIsCombineText = 1LLU << 38, FlowTextIsRenderCounter = 1LLU << 39,
  FlowTextIsRenderQuote = 1LLU << 40, FlowTextIsTextFragment = 1LLU << 41, FlowTextIsSVGInlineText = 1LLU << 42, FlowHasComplexFontCodePath = 1LLU << 43,
  FeatureIsDisabled = 1LLU << 44, FlowHasNoParent = 1LLU << 45, FlowHasNoChild = 1LLU << 46, FlowChildIsSelected = 1LLU << 47,
  FlowHasHangingPunctuation = 1LLU << 48, FlowFontHasOverflowGlyph = 1LLU << 49, FlowTextHasSurrogatePair = 1LLU << 50, EndOfReasons = 1LLU << 51,
  FlowIsInsideRegion = 1LLU << 0, FlowHasHorizonalWritingMode = 1LLU << 1, FlowHasOutline = 1LLU << 2, FlowIsRuby = 1LLU << 3,
  FlowIsPaginated = 1LLU << 4, FlowHasTextOverflow = 1LLU << 5, FlowIsDepricatedFlexBox = 1LLU << 6, FlowParentIsPlaceholderElement = 1LLU << 7,
  FlowParentIsTextAreaWithWrapping = 1LLU << 8, FlowHasNonSupportedChild = 1LLU << 9, FlowHasUnsupportedFloat = 1LLU << 10, FlowHasUnsupportedUnderlineDecoration = 1LLU << 11,
  FlowHasJustifiedNonLatinText = 1LLU << 12, FlowHasOverflowNotVisible = 1LLU << 13, FlowHasWebKitNBSPMode = 1LLU << 14, FlowIsNotLTR = 1LLU << 15,
  FlowHasLineBoxContainProperty = 1LLU << 16, FlowIsNotTopToBottom = 1LLU << 17, FlowHasLineBreak = 1LLU << 18, FlowHasNonNormalUnicodeBiDi = 1LLU << 19,
  FlowHasRTLOrdering = 1LLU << 20, FlowHasLineAlignEdges = 1LLU << 21, FlowHasLineSnap = 1LLU << 22, FlowHasTextEmphasisFillOrMark = 1LLU << 23,
  FlowHasTextShadow = 1LLU << 24, FlowHasPseudoFirstLine = 1LLU << 25, FlowHasPseudoFirstLetter = 1LLU << 26, FlowHasTextCombine = 1LLU << 27,
  FlowHasTextFillBox = 1LLU << 28, FlowHasBorderFitLines = 1LLU << 29, FlowHasNonAutoLineBreak = 1LLU << 30, FlowHasNonAutoTrailingWord = 1LLU << 31,
  FlowHasSVGFont = 1LLU << 32, FlowTextIsEmpty = 1LLU << 33, FlowTextHasSoftHyphen = 1LLU << 34, FlowTextHasDirectionCharacter = 1LLU << 35,
  FlowIsMissingPrimaryFont = 1LLU << 36, FlowPrimaryFontIsInsufficient = 1LLU << 37, FlowTextIsCombineText = 1LLU << 38, FlowTextIsRenderCounter = 1LLU << 39,
  FlowTextIsRenderQuote = 1LLU << 40, FlowTextIsTextFragment = 1LLU << 41, FlowTextIsSVGInlineText = 1LLU << 42, FlowHasComplexFontCodePath = 1LLU << 43,
  FeatureIsDisabled = 1LLU << 44, FlowHasNoParent = 1LLU << 45, FlowHasNoChild = 1LLU << 46, FlowChildIsSelected = 1LLU << 47,
  FlowHasHangingPunctuation = 1LLU << 48, FlowFontHasOverflowGlyph = 1LLU << 49, FlowTextHasSurrogatePair = 1LLU << 50, EndOfReasons = 1LLU << 51
}
 
enum  IncludeReasons { IncludeReasons::First, IncludeReasons::All, IncludeReasons::First, IncludeReasons::All }
 

Functions

bool canUseFor (const RenderBlockFlow &)
 
AvoidanceReasonFlags canUseForWithReason (const RenderBlockFlow &, IncludeReasons)
 
std::unique_ptr< Layoutcreate (RenderBlockFlow &)
 
void printSimpleLineLayoutCoverage ()
 
void printSimpleLineLayoutBlockList ()
 
void toggleSimpleLineLayout ()
 
template<typename CharacterType >
AvoidanceReasonFlags canUseForCharacter (CharacterType, bool textIsJustified, IncludeReasons)
 
template<>
AvoidanceReasonFlags canUseForCharacter (UChar character, bool textIsJustified, IncludeReasons includeReasons)
 
template<>
AvoidanceReasonFlags canUseForCharacter (LChar, bool, IncludeReasons)
 
void paintFlow (const RenderBlockFlow &flow, const Layout &layout, PaintInfo &paintInfo, const LayoutPoint &paintOffset)
 
bool hitTestFlow (const RenderBlockFlow &flow, const Layout &layout, const HitTestRequest &request, HitTestResult &result, const HitTestLocation &locationInContainer, const LayoutPoint &accumulatedOffset, HitTestAction hitTestAction)
 
void collectFlowOverflow (RenderBlockFlow &flow, const Layout &layout)
 
IntRect computeBoundingBox (const RenderObject &renderer, const Layout &layout)
 
IntPoint computeFirstRunLocation (const RenderObject &renderer, const Layout &layout)
 
Vector< IntRectcollectAbsoluteRects (const RenderObject &renderer, const Layout &layout, const LayoutPoint &accumulatedOffset)
 
Vector< FloatQuadcollectAbsoluteQuads (const RenderObject &renderer, const Layout &layout, bool *wasFixed)
 
unsigned textOffsetForPoint (const LayoutPoint &point, const RenderText &renderer, const Layout &layout)
 
Vector< FloatQuadcollectAbsoluteQuadsForRange (const RenderObject &renderer, unsigned start, unsigned end, const Layout &layout, bool *wasFixed)
 
LayoutUnit computeFlowHeight (const RenderBlockFlow &, const Layout &)
 
LayoutUnit computeFlowFirstLineBaseline (const RenderBlockFlow &, const Layout &)
 
LayoutUnit computeFlowLastLineBaseline (const RenderBlockFlow &, const Layout &)
 
bool isTextRendered (const RenderText &, const Layout &)
 
bool containsCaretOffset (const RenderObject &, const Layout &, unsigned)
 
unsigned findCaretMinimumOffset (const RenderObject &, const Layout &)
 
unsigned findCaretMaximumOffset (const RenderObject &, const Layout &)
 
LayoutUnit lineHeightFromFlow (const RenderBlockFlow &)
 
LayoutUnit baselineFromFlow (const RenderBlockFlow &)
 
unsigned findCaretMinimumOffset (const RenderText &, const Layout &layout)
 
unsigned findCaretMaximumOffset (const RenderText &renderer, const Layout &layout)
 
bool containsCaretOffset (const RenderText &, const Layout &layout, unsigned offset)
 
void adjustLinePositionsForPagination (SimpleLineLayout::Layout &simpleLines, RenderBlockFlow &flow)
 
RunResolver runResolver (const RenderBlockFlow &, const Layout &)
 
LineResolver lineResolver (const RenderBlockFlow &, const Layout &)
 

Variables

const unsigned NoReason = 0
 

Typedef Documentation

◆ AvoidanceReason

◆ AvoidanceReasonFlags

◆ PaginatedLines

Enumeration Type Documentation

◆ AvoidanceReason_ [1/2]

Enumerator
FlowIsInsideRegion 
FlowHasHorizonalWritingMode 
FlowHasOutline 
FlowIsRuby 
FlowIsPaginated 
FlowHasTextOverflow 
FlowIsDepricatedFlexBox 
FlowParentIsPlaceholderElement 
FlowParentIsTextAreaWithWrapping 
FlowHasNonSupportedChild 
FlowHasUnsupportedFloat 
FlowHasUnsupportedUnderlineDecoration 
FlowHasJustifiedNonLatinText 
FlowHasOverflowNotVisible 
FlowHasWebKitNBSPMode 
FlowIsNotLTR 
FlowHasLineBoxContainProperty 
FlowIsNotTopToBottom 
FlowHasLineBreak 
FlowHasNonNormalUnicodeBiDi 
FlowHasRTLOrdering 
FlowHasLineAlignEdges 
FlowHasLineSnap 
FlowHasTextEmphasisFillOrMark 
FlowHasTextShadow 
FlowHasPseudoFirstLine 
FlowHasPseudoFirstLetter 
FlowHasTextCombine 
FlowHasTextFillBox 
FlowHasBorderFitLines 
FlowHasNonAutoLineBreak 
FlowHasNonAutoTrailingWord 
FlowHasSVGFont 
FlowTextIsEmpty 
FlowTextHasSoftHyphen 
FlowTextHasDirectionCharacter 
FlowIsMissingPrimaryFont 
FlowPrimaryFontIsInsufficient 
FlowTextIsCombineText 
FlowTextIsRenderCounter 
FlowTextIsRenderQuote 
FlowTextIsTextFragment 
FlowTextIsSVGInlineText 
FlowHasComplexFontCodePath 
FeatureIsDisabled 
FlowHasNoParent 
FlowHasNoChild 
FlowChildIsSelected 
FlowHasHangingPunctuation 
FlowFontHasOverflowGlyph 
FlowTextHasSurrogatePair 
EndOfReasons 
FlowIsInsideRegion 
FlowHasHorizonalWritingMode 
FlowHasOutline 
FlowIsRuby 
FlowIsPaginated 
FlowHasTextOverflow 
FlowIsDepricatedFlexBox 
FlowParentIsPlaceholderElement 
FlowParentIsTextAreaWithWrapping 
FlowHasNonSupportedChild 
FlowHasUnsupportedFloat 
FlowHasUnsupportedUnderlineDecoration 
FlowHasJustifiedNonLatinText 
FlowHasOverflowNotVisible 
FlowHasWebKitNBSPMode 
FlowIsNotLTR 
FlowHasLineBoxContainProperty 
FlowIsNotTopToBottom 
FlowHasLineBreak 
FlowHasNonNormalUnicodeBiDi 
FlowHasRTLOrdering 
FlowHasLineAlignEdges 
FlowHasLineSnap 
FlowHasTextEmphasisFillOrMark 
FlowHasTextShadow 
FlowHasPseudoFirstLine 
FlowHasPseudoFirstLetter 
FlowHasTextCombine 
FlowHasTextFillBox 
FlowHasBorderFitLines 
FlowHasNonAutoLineBreak 
FlowHasNonAutoTrailingWord 
FlowHasSVGFont 
FlowTextIsEmpty 
FlowTextHasSoftHyphen 
FlowTextHasDirectionCharacter 
FlowIsMissingPrimaryFont 
FlowPrimaryFontIsInsufficient 
FlowTextIsCombineText 
FlowTextIsRenderCounter 
FlowTextIsRenderQuote 
FlowTextIsTextFragment 
FlowTextIsSVGInlineText 
FlowHasComplexFontCodePath 
FeatureIsDisabled 
FlowHasNoParent 
FlowHasNoChild 
FlowChildIsSelected 
FlowHasHangingPunctuation 
FlowFontHasOverflowGlyph 
FlowTextHasSurrogatePair 
EndOfReasons 

◆ AvoidanceReason_ [2/2]

Enumerator
FlowIsInsideRegion 
FlowHasHorizonalWritingMode 
FlowHasOutline 
FlowIsRuby 
FlowIsPaginated 
FlowHasTextOverflow 
FlowIsDepricatedFlexBox 
FlowParentIsPlaceholderElement 
FlowParentIsTextAreaWithWrapping 
FlowHasNonSupportedChild 
FlowHasUnsupportedFloat 
FlowHasUnsupportedUnderlineDecoration 
FlowHasJustifiedNonLatinText 
FlowHasOverflowNotVisible 
FlowHasWebKitNBSPMode 
FlowIsNotLTR 
FlowHasLineBoxContainProperty 
FlowIsNotTopToBottom 
FlowHasLineBreak 
FlowHasNonNormalUnicodeBiDi 
FlowHasRTLOrdering 
FlowHasLineAlignEdges 
FlowHasLineSnap 
FlowHasTextEmphasisFillOrMark 
FlowHasTextShadow 
FlowHasPseudoFirstLine 
FlowHasPseudoFirstLetter 
FlowHasTextCombine 
FlowHasTextFillBox 
FlowHasBorderFitLines 
FlowHasNonAutoLineBreak 
FlowHasNonAutoTrailingWord 
FlowHasSVGFont 
FlowTextIsEmpty 
FlowTextHasSoftHyphen 
FlowTextHasDirectionCharacter 
FlowIsMissingPrimaryFont 
FlowPrimaryFontIsInsufficient 
FlowTextIsCombineText 
FlowTextIsRenderCounter 
FlowTextIsRenderQuote 
FlowTextIsTextFragment 
FlowTextIsSVGInlineText 
FlowHasComplexFontCodePath 
FeatureIsDisabled 
FlowHasNoParent 
FlowHasNoChild 
FlowChildIsSelected 
FlowHasHangingPunctuation 
FlowFontHasOverflowGlyph 
FlowTextHasSurrogatePair 
EndOfReasons 
FlowIsInsideRegion 
FlowHasHorizonalWritingMode 
FlowHasOutline 
FlowIsRuby 
FlowIsPaginated 
FlowHasTextOverflow 
FlowIsDepricatedFlexBox 
FlowParentIsPlaceholderElement 
FlowParentIsTextAreaWithWrapping 
FlowHasNonSupportedChild 
FlowHasUnsupportedFloat 
FlowHasUnsupportedUnderlineDecoration 
FlowHasJustifiedNonLatinText 
FlowHasOverflowNotVisible 
FlowHasWebKitNBSPMode 
FlowIsNotLTR 
FlowHasLineBoxContainProperty 
FlowIsNotTopToBottom 
FlowHasLineBreak 
FlowHasNonNormalUnicodeBiDi 
FlowHasRTLOrdering 
FlowHasLineAlignEdges 
FlowHasLineSnap 
FlowHasTextEmphasisFillOrMark 
FlowHasTextShadow 
FlowHasPseudoFirstLine 
FlowHasPseudoFirstLetter 
FlowHasTextCombine 
FlowHasTextFillBox 
FlowHasBorderFitLines 
FlowHasNonAutoLineBreak 
FlowHasNonAutoTrailingWord 
FlowHasSVGFont 
FlowTextIsEmpty 
FlowTextHasSoftHyphen 
FlowTextHasDirectionCharacter 
FlowIsMissingPrimaryFont 
FlowPrimaryFontIsInsufficient 
FlowTextIsCombineText 
FlowTextIsRenderCounter 
FlowTextIsRenderQuote 
FlowTextIsTextFragment 
FlowTextIsSVGInlineText 
FlowHasComplexFontCodePath 
FeatureIsDisabled 
FlowHasNoParent 
FlowHasNoChild 
FlowChildIsSelected 
FlowHasHangingPunctuation 
FlowFontHasOverflowGlyph 
FlowTextHasSurrogatePair 
EndOfReasons 

◆ IncludeReasons [1/2]

Enumerator
First 
All 
First 
All 

◆ IncludeReasons [2/2]

Enumerator
First 
All 
First 
All 

◆ PreWrapLineBreakRule

Enumerator
Preserve 
Ignore 

Function Documentation

◆ adjustLinePositionsForPagination()

void WebCore::SimpleLineLayout::adjustLinePositionsForPagination ( SimpleLineLayout::Layout simpleLines,
RenderBlockFlow flow 
)

◆ baselineFromFlow()

LayoutUnit WebCore::SimpleLineLayout::baselineFromFlow ( const RenderBlockFlow flow)
inline

◆ canUseFor()

bool WebCore::SimpleLineLayout::canUseFor ( const RenderBlockFlow )

◆ canUseForCharacter() [1/3]

template<typename CharacterType >
AvoidanceReasonFlags WebCore::SimpleLineLayout::canUseForCharacter ( CharacterType  ,
bool  textIsJustified,
IncludeReasons   
)

◆ canUseForCharacter() [2/3]

template<>
AvoidanceReasonFlags WebCore::SimpleLineLayout::canUseForCharacter ( UChar  character,
bool  textIsJustified,
IncludeReasons  includeReasons 
)

◆ canUseForCharacter() [3/3]

template<>
AvoidanceReasonFlags WebCore::SimpleLineLayout::canUseForCharacter ( LChar  ,
bool  ,
IncludeReasons   
)

◆ canUseForWithReason()

AvoidanceReasonFlags WebCore::SimpleLineLayout::canUseForWithReason ( const RenderBlockFlow ,
IncludeReasons   
)

◆ collectAbsoluteQuads()

Vector< FloatQuad > WebCore::SimpleLineLayout::collectAbsoluteQuads ( const RenderObject renderer,
const Layout layout,
bool *  wasFixed 
)

◆ collectAbsoluteQuadsForRange()

Vector< FloatQuad > WebCore::SimpleLineLayout::collectAbsoluteQuadsForRange ( const RenderObject renderer,
unsigned  start,
unsigned  end,
const Layout layout,
bool *  wasFixed 
)

◆ collectAbsoluteRects()

Vector< IntRect > WebCore::SimpleLineLayout::collectAbsoluteRects ( const RenderObject renderer,
const Layout layout,
const LayoutPoint accumulatedOffset 
)

◆ collectFlowOverflow()

void WebCore::SimpleLineLayout::collectFlowOverflow ( RenderBlockFlow flow,
const Layout layout 
)

◆ computeBoundingBox()

IntRect WebCore::SimpleLineLayout::computeBoundingBox ( const RenderObject renderer,
const Layout layout 
)

◆ computeFirstRunLocation()

IntPoint WebCore::SimpleLineLayout::computeFirstRunLocation ( const RenderObject renderer,
const Layout layout 
)

◆ computeFlowFirstLineBaseline()

LayoutUnit WebCore::SimpleLineLayout::computeFlowFirstLineBaseline ( const RenderBlockFlow flow,
const Layout layout 
)
inline

◆ computeFlowHeight()

LayoutUnit WebCore::SimpleLineLayout::computeFlowHeight ( const RenderBlockFlow flow,
const Layout layout 
)
inline

◆ computeFlowLastLineBaseline()

LayoutUnit WebCore::SimpleLineLayout::computeFlowLastLineBaseline ( const RenderBlockFlow flow,
const Layout layout 
)
inline

◆ containsCaretOffset() [1/2]

bool WebCore::SimpleLineLayout::containsCaretOffset ( const RenderObject ,
const Layout ,
unsigned   
)

◆ containsCaretOffset() [2/2]

bool WebCore::SimpleLineLayout::containsCaretOffset ( const RenderText ,
const Layout layout,
unsigned  offset 
)
inline

◆ create()

std::unique_ptr< Layout > WebCore::SimpleLineLayout::create ( RenderBlockFlow )

◆ findCaretMaximumOffset() [1/2]

unsigned WebCore::SimpleLineLayout::findCaretMaximumOffset ( const RenderObject ,
const Layout  
)

◆ findCaretMaximumOffset() [2/2]

unsigned WebCore::SimpleLineLayout::findCaretMaximumOffset ( const RenderText renderer,
const Layout layout 
)
inline

◆ findCaretMinimumOffset() [1/2]

unsigned WebCore::SimpleLineLayout::findCaretMinimumOffset ( const RenderObject ,
const Layout  
)

◆ findCaretMinimumOffset() [2/2]

unsigned WebCore::SimpleLineLayout::findCaretMinimumOffset ( const RenderText ,
const Layout layout 
)
inline

◆ hitTestFlow()

bool WebCore::SimpleLineLayout::hitTestFlow ( const RenderBlockFlow flow,
const Layout layout,
const HitTestRequest request,
HitTestResult result,
const HitTestLocation locationInContainer,
const LayoutPoint accumulatedOffset,
HitTestAction  hitTestAction 
)

◆ isTextRendered()

bool WebCore::SimpleLineLayout::isTextRendered ( const RenderText ,
const Layout layout 
)
inline

◆ lineHeightFromFlow()

LayoutUnit WebCore::SimpleLineLayout::lineHeightFromFlow ( const RenderBlockFlow flow)
inline

◆ lineResolver()

LineResolver WebCore::SimpleLineLayout::lineResolver ( const RenderBlockFlow flow,
const Layout layout 
)
inline

◆ paintFlow()

void WebCore::SimpleLineLayout::paintFlow ( const RenderBlockFlow flow,
const Layout layout,
PaintInfo paintInfo,
const LayoutPoint paintOffset 
)

◆ printSimpleLineLayoutBlockList()

void WebCore::SimpleLineLayout::printSimpleLineLayoutBlockList ( )

◆ printSimpleLineLayoutCoverage()

void WebCore::SimpleLineLayout::printSimpleLineLayoutCoverage ( )

◆ runResolver()

RunResolver WebCore::SimpleLineLayout::runResolver ( const RenderBlockFlow flow,
const Layout layout 
)
inline

◆ textOffsetForPoint()

unsigned WebCore::SimpleLineLayout::textOffsetForPoint ( const LayoutPoint point,
const RenderText renderer,
const Layout layout 
)

◆ toggleSimpleLineLayout()

void WebCore::SimpleLineLayout::toggleSimpleLineLayout ( )

Variable Documentation

◆ NoReason

const unsigned WebCore::SimpleLineLayout::NoReason = 0