Home | History | Annotate | Download | only in rendering

Lines Matching refs:InlineFlowBox

21 #include "InlineFlowBox.h"
50 InlineFlowBox::~InlineFlowBox()
59 int InlineFlowBox::getFlowSpacingLogicalWidth()
64 totWidth += static_cast<InlineFlowBox*>(curr)->getFlowSpacingLogicalWidth();
69 IntRect InlineFlowBox::roundedFrameRect() const
81 void InlineFlowBox::addToLine(InlineBox* child)
104 if (static_cast<InlineFlowBox*>(child)->hasTextDescendants())
130 InlineFlowBox* childFlowBox = static_cast<InlineFlowBox*>(child);
158 if (knownToHaveNoOverflow() && child->isInlineFlowBox() && !static_cast<InlineFlowBox*>(child)->knownToHaveNoOverflow())
165 void InlineFlowBox::removeChild(InlineBox* child)
188 void InlineFlowBox::deleteLine(RenderArena* arena)
210 void InlineFlowBox::removeLineBoxFromRenderObject()
215 void InlineFlowBox::extractLine()
223 void InlineFlowBox::extractLineBoxFromRenderObject()
228 void InlineFlowBox::attachLine()
236 void InlineFlowBox::attachLineBoxToRenderObject()
241 void InlineFlowBox::adjustPosition(float dx, float dy)
250 RenderLineBoxList* InlineFlowBox::rendererLineBoxes() const
289 void InlineFlowBox::determineSpacingForFlowBoxes(bool lastLine, bool isLogicallyLastRunWrapped, RenderObject* logicallyLastRunRenderer)
336 InlineFlowBox* currFlow = static_cast<InlineFlowBox*>(currChild);
342 float InlineFlowBox::placeBoxesInInlineDirection(float logicalLeft, bool& needsWordSpacing, GlyphOverflowAndFallbackFontsMap& textBoxDataMap)
380 InlineFlowBox* flow = static_cast<InlineFlowBox*>(curr);
413 bool InlineFlowBox::requiresIdeographicBaseline(const GlyphOverflowAndFallbackFontsMap& textBoxDataMap) const
427 if (static_cast<InlineFlowBox*>(curr)->requiresIdeographicBaseline(textBoxDataMap))
451 void InlineFlowBox::adjustMaxAscentAndDescent(int& maxAscent, int& maxDescent, int maxPositionTop, int maxPositionBottom)
474 static_cast<InlineFlowBox*>(curr)->adjustMaxAscentAndDescent(maxAscent, maxDescent, maxPositionTop, maxPositionBottom);
478 void InlineFlowBox::computeLogicalBoxHeights(RootInlineBox* rootBox, int& maxPositionTop, int& maxPositionBottom,
526 InlineFlowBox* inlineFlowBox = curr->isInlineFlowBox() ? static_cast<InlineFlowBox*>(curr) : 0;
547 } else if (!inlineFlowBox || strictMode || inlineFlowBox->hasTextChildren() || (inlineFlowBox->descendantsHaveSameLineHeightAndBaseline() && inlineFlowBox->hasTextDescendants())
548 || inlineFlowBox->boxModelObject()->hasInlineDirectionBordersOrPadding()) {
568 if (inlineFlowBox)
569 inlineFlowBox->computeLogicalBoxHeights(rootBox, maxPositionTop, maxPositionBottom, maxAscent, maxDescent,
575 void InlineFlowBox::placeBoxesInBlockDirection(int top, int maxHeight, int maxAscent, bool strictMode, int& lineTop, int& lineBottom, bool& setLineTop,
600 InlineFlowBox* inlineFlowBox = curr->isInlineFlowBox() ? static_cast<InlineFlowBox*>(curr) : 0;
607 if (!strictMode && inlineFlowBox && !inlineFlowBox->hasTextChildren() && !curr->boxModelObject()->hasInlineDirectionBordersOrPadding()
608 && !(inlineFlowBox->descendantsHaveSameLineHeightAndBaseline() && inlineFlowBox->hasTextDescendants()))
682 if (inlineFlowBox)
683 inlineFlowBox->placeBoxesInBlockDirection(top, maxHeight, maxAscent, strictMode, lineTop, lineBottom, setLineTop,
706 void InlineFlowBox::flipLinesInBlockDirection(int lineTop, int lineBottom)
716 static_cast<InlineFlowBox*>(curr)->flipLinesInBlockDirection(lineTop, lineBottom);
722 inline void InlineFlowBox::addBoxShadowVisualOverflow(IntRect& logicalVisualOverflow)
745 inline void InlineFlowBox::addTextBoxVisualOverflow(InlineTextBox* textBox, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, IntRect& logicalVisualOverflow)
805 inline void InlineFlowBox::addReplacedChildOverflow(const InlineBox* inlineBox, IntRect& logicalLayoutOverflow, IntRect& logicalVisualOverflow)
826 void InlineFlowBox::computeOverflow(int lineTop, int lineBottom, GlyphOverflowAndFallbackFontsMap& textBoxDataMap)
854 InlineFlowBox* flow = static_cast<InlineFlowBox*>(curr);
868 void InlineFlowBox::setLayoutOverflow(const IntRect& rect, int lineTop, int lineBottom)
880 void InlineFlowBox::setVisualOverflow(const IntRect& rect, int lineTop, int lineBottom)
892 void InlineFlowBox::setOverflowFromLogicalRects(const IntRect& logicalLayoutOverflow, const IntRect& logicalVisualOverflow, int lineTop, int lineBottom)
901 bool InlineFlowBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& result, int x, int y, int tx, int ty, int lineTop, int lineBottom)
949 void InlineFlowBox::paint(PaintInfo& paintInfo, int tx, int ty, int lineTop, int lineBottom)
1019 void InlineFlowBox::paintFillLayers(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, int _tx, int _ty, int w, int h, CompositeOperator op)
1027 void InlineFlowBox::paintFillLayer(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, int tx, int ty, int w, int h, CompositeOperator op)
1043 for (InlineFlowBox* curr = prevLineBox(); curr; curr = curr->prevLineBox())
1046 for (InlineFlowBox* curr = this; curr; curr = curr->nextLineBox())
1049 for (InlineFlowBox* curr = nextLineBox(); curr; curr = curr->nextLineBox())
1052 for (InlineFlowBox* curr = this; curr; curr = curr->prevLineBox())
1066 void InlineFlowBox::paintBoxShadow(GraphicsContext* context, RenderStyle* s, ShadowStyle shadowStyle, int tx, int ty, int w, int h)
1077 void InlineFlowBox::paintBoxDecorations(PaintInfo& paintInfo, int tx, int ty)
1141 for (InlineFlowBox* curr = prevLineBox(); curr; curr = curr->prevLineBox())
1144 for (InlineFlowBox* curr = this; curr; curr = curr->nextLineBox())
1159 void InlineFlowBox::paintMask(PaintInfo& paintInfo, int tx, int ty)
1221 for (InlineFlowBox* curr = prevLineBox(); curr; curr = curr->prevLineBox())
1224 for (InlineFlowBox* curr = this; curr; curr = curr->nextLineBox())
1240 InlineBox* InlineFlowBox::firstLeafChild() const
1244 leaf = child->isLeaf() ? child : static_cast<InlineFlowBox*>(child)->firstLeafChild();
1248 InlineBox* InlineFlowBox::lastLeafChild() const
1252 leaf = child->isLeaf() ? child : static_cast<InlineFlowBox*>(child)->lastLeafChild();
1256 RenderObject::SelectionState InlineFlowBox::selectionState()
1261 bool InlineFlowBox::canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth)
1270 float InlineFlowBox::placeEllipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, bool& foundBox)
1300 void InlineFlowBox::clearTruncation()
1306 int InlineFlowBox::computeOverAnnotationAdjustment(int allowedPosition) const
1314 result = max(result, static_cast<InlineFlowBox*>(curr)->computeOverAnnotationAdjustment(allowedPosition));
1354 int InlineFlowBox::computeUnderAnnotationAdjustment(int allowedPosition) const
1362 result = max(result, static_cast<InlineFlowBox*>(curr)->computeUnderAnnotationAdjustment(allowedPosition));
1380 void InlineFlowBox::collectLeafBoxesInLogicalOrder(Vector<InlineBox*>& leafBoxesInLogicalOrder, CustomInlineBoxRangeReverse customReverseImplementation, void* userData) const
1435 void InlineFlowBox::checkConsistency() const