/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
TextRunIterator.h | 32 #include "core/platform/graphics/TextRun.h" 44 TextRunIterator(const TextRun* textRun, unsigned offset) 45 : m_textRun(textRun) 70 const TextRun* m_textRun;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebFontImpl.cpp | 41 #include "core/platform/graphics/TextRun.h" 97 TextRun textRun(run); 98 TextRunPaintInfo runInfo(textRun); 100 runInfo.to = to == -1 ? textRun.length() : to;
|
PopupListBox.cpp | 54 #include "core/platform/graphics/TextRun.h" 482 TextRun textRun(itemText, 0, 0, TextRun::AllowTrailingExpansion, style.textDirection(), style.hasTextDirectionOverride()); 486 textX += maxWidth - itemFont.width(textRun); 490 TextRunPaintInfo textRunPaintInfo(textRun); 522 TextRun labelTextRun(itemLabel, 0, 0, TextRun::AllowTrailingExpansion, style.textDirection(), style.hasTextDirectionOverride()); 841 width = itemFont.width(TextRun(text)); 845 width += itemFont.width(TextRun(label)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGInlineTextBox.cpp | 95 TextRun textRun = constructTextRun(style, fragment); 102 textRun.setHorizontalGlyphStretch(narrowPrecisionToFloat(fragmentTransform.xScale())); 104 return fragment.characterOffset - start() + textRenderer->scaledFont().offsetForPosition(textRun, position * scalingFactor, includePartialGlyphs); 398 bool SVGInlineTextBox::prepareGraphicsContextForTextPainting(GraphicsContext*& context, float scalingFactor, TextRun& textRun, RenderStyle* style) 406 TextRun::RenderingContext* renderingContext = textRun.renderingContext(); 414 void SVGInlineTextBox::restoreGraphicsContextAfterTextPainting(GraphicsContext*& context, TextRun& textRun) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
DragImage.cpp | 43 #include "core/platform/graphics/TextRun.h" 142 TextRun labelRun(label.impl()); 143 TextRun urlRun(urlString.impl()); 184 TextRun textRun(urlString); 185 buffer->context()->drawText(urlFont, TextRunPaintInfo(textRun), textPos); 192 TextRun textRun(label); 193 buffer->context()->drawText(urlFont, TextRunPaintInfo(textRun), textPos);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderFileUploadControl.cpp | 32 #include "core/platform/graphics/TextRun.h" 113 TextRun textRun = constructTextRun(this, font, displayedFilename, style(), TextRun::AllowTrailingExpansion, RespectDirection | RespectDirectionOverride); 114 textRun.disableRoundingHacks(); 125 float textWidth = font.width(textRun); 139 TextRunPaintInfo textRunPaintInfo(textRun); 164 float minDefaultLabelWidth = defaultWidthNumChars * font.width(constructTextRun(renderer, font, characterAsString, style(), TextRun::AllowTrailingExpansion)); 167 float defaultLabelWidth = font.width(constructTextRun(renderer, font, label, style(), TextRun::AllowTrailingExpansion));
|
RenderTextControl.cpp | 217 TextRun textRun = constructTextRun(this, font, str, style(), TextRun::AllowTrailingExpansion); 218 textRun.disableRoundingHacks(); 219 return font.width(textRun);
|
RenderListBox.cpp | 137 TextRun textRun = constructTextRun(this, itemFont, text, style(), TextRun::AllowTrailingExpansion); 138 textRun.disableRoundingHacks(); 139 float textWidth = itemFont.width(textRun); 365 static LayoutSize itemOffsetForAlignment(TextRun textRun, RenderStyle* itemStyle, Font itemFont, LayoutRect itemBoudingBox) 375 float textWidth = itemFont.width(textRun); 378 float textWidth = itemFont.width(textRun); 420 TextRun textRun(itemText, 0, 0, TextRun::AllowTrailingExpansion, itemStyle->direction(), isOverride(itemSt (…) [all...] |
InlineTextBox.cpp | 209 TextRun textRun = constructTextRun(styleToUse, font, respectHyphen ? &charactersWithHyphen : 0); 211 endPos = textRun.length(); 216 r = enclosingIntRect(font.selectionRectForText(textRun, startingPoint, selHeight, sPos, ePos)); 388 const RenderObject* renderer, const Font& font, const TextRun& textRun, 412 TextRunPaintInfo textRunPaintInfo(textRun); 683 TextRun textRun = constructTextRun(styleToUse, font, string, maximumLength, hasHyphen() ? &charactersWithHyphen : 0); 685 length = textRun.length() [all...] |
EllipsisBox.cpp | 26 #include "core/platform/graphics/TextRun.h" 77 TextRun textRun = RenderBlock::constructTextRun(renderer(), font, m_str, style, TextRun::AllowTrailingExpansion); 78 TextRunPaintInfo textRunPaintInfo(textRun); 128 return enclosingIntRect(font.selectionRectForText(RenderBlock::constructTextRun(renderer(), font, m_str, style, TextRun::AllowTrailingExpansion), IntPoint(x(), y() + root()->selectionTopAdjustedForPrecedingBlock()), root()->selectionHeightAdjustedForPrecedingBlock())); 150 context->drawHighlightForText(font, RenderBlock::constructTextRun(renderer(), font, m_str, style, TextRun::AllowTrailingExpansion), roundedIntPoint(LayoutPoint(x() + paintOffset.x(), y() + paintOffset.y() + top)), h, c);
|
RenderImage.cpp | 346 TextRun textRun = RenderBlock::constructTextRun(this, font, text, style()); 347 LayoutUnit textWidth = font.width(textRun); 348 TextRunPaintInfo textRunPaintInfo(textRun);
|
RenderListMarker.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasRenderingContext2D.cpp | 62 #include "core/platform/graphics/TextRun.h" [all...] |