HomeSort by relevance Sort by last modified time
    Searched defs:textRun (Results 1 - 8 of 8) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/paint/
ListMarkerPainter.cpp 162 TextRun textRun = constructTextRun(&m_renderListMarker, font, m_renderListMarker.text(), m_renderListMarker.style());
175 TextRunPaintInfo textRunPaintInfo(textRun);
192 textRun.setText(reversedText.toString());
200 TextRun suffixRun = constructTextRun(&m_renderListMarker, font, suffixStr, 2, m_renderListMarker.style(), m_renderListMarker.style()->direction());
206 context->drawText(font, suffixRunInfo, textOrigin + IntSize(font.width(textRun), 0));
ImagePainter.cpp 134 TextRun textRun = constructTextRun(&m_renderImage, font, m_renderImage.altText(), m_renderImage.style(), TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion, DefaultTextRunFlags | RespectDirection);
135 float textWidth = font.width(textRun);
136 TextRunPaintInfo textRunPaintInfo(textRun);
139 if (textRun.direction() == RTL) {
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
EllipsisBox.cpp 33 #include "platform/text/TextRun.h"
64 TextRun textRun = constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion);
65 TextPainter textPainter(context, font, textRun, textOrigin, boxRect, isHorizontal());
106 return enclosingIntRect(font.selectionRectForText(constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion), IntPoint(logicalLeft(), logicalTop() + root().selectionTopAdjustedForPrecedingBlock()), root().selectionHeightAdjustedForPrecedingBlock()));
129 context->drawHighlightForText(font, constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion), localOrigin, h, c);
RenderFileUploadControl.cpp 38 #include "platform/text/TextRun.h"
109 TextRun textRun = constructTextRun(this, font, displayedFilename, style(), TextRun::AllowTrailingExpansion, RespectDirection | RespectDirectionOverride);
119 float textWidth = font.width(textRun);
133 TextRunPaintInfo textRunPaintInfo(textRun);
157 float minDefaultLabelWidth = defaultWidthNumChars * font.width(constructTextRun(renderer, font, characterAsString, style(), TextRun::AllowTrailingExpansion));
160 float defaultLabelWidth = font.width(constructTextRun(renderer, font, label, style(), TextRun::AllowTrailingExpansion));
RenderTextControl.cpp 233 TextRun textRun = constructTextRun(this, font, str, style(), TextRun::AllowTrailingExpansion);
234 return font.width(textRun);
InlineTextBox.cpp 223 TextRun textRun = constructTextRun(styleToUse, font, respectHyphen ? &charactersWithHyphen : 0);
228 r = enclosingIntRect(font.selectionRectForText(textRun, startingPoint, selHeight, sPos, ePos));
491 TextRun textRun = constructTextRun(styleToUse, font, string, maximumLength, hasHyphen() ? &charactersWithHyphen : 0);
493 length = textRun.length();
502 selectionEnd = textRun.length();
510 TextPainter textPainter(context, font, textRun, textOrigin, boxRect, isHorizontal());
621 TextRun textRun = constructTextRun(style, font, string, renderer().textLength() - m_start, respectHyphen ? &charac (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/
DragImage.cpp 44 #include "platform/text/TextRun.h"
138 TextRun labelRun(label.impl());
139 TextRun urlRun(urlString.impl());
181 TextRun textRun(urlString);
182 buffer->context()->drawText(urlFont, TextRunPaintInfo(textRun), textPos);
189 TextRun textRun = textRunWithDirectionality(label, hasStrongDirectionality);
191 if (hasStrongDirectionality && textRun.direction() == RTL) {
192 float textWidth = labelFont.width(textRun);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGInlineTextBox.cpp 97 TextRun textRun = constructTextRun(style, fragment);
104 textRun.setHorizontalGlyphStretch(narrowPrecisionToFloat(fragmentTransform.xScale()));
106 return fragment.characterOffset - start() + textRenderer.scaledFont().offsetForPosition(textRun, position * scalingFactor, includePartialGlyphs);
393 TextRun SVGInlineTextBox::constructTextRun(RenderStyle* style, const SVGTextFragment& fragment) const
403 TextRun run(static_cast<const LChar*>(0) // characters, will be set below if non-zero.
407 , TextRun::AllowTrailingExpansion
424 // Propagate the maximum length of the characters buffer to the TextRun, even when we're only processing a substring.
562 TextRun& textRun, const SVGTextFragment& fragment, int startPosition, int endPosition
    [all...]

Completed in 326 milliseconds