HomeSort by relevance Sort by last modified time
    Searched refs:TextRun (Results 26 - 50 of 65) sorted by null

12 3

  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
FontComplexTextMac.cpp 35 #include "platform/text/TextRun.h"
48 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h,
71 float Font::getGlyphsAndAdvancesForComplexText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const
130 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
147 int Font::offsetForPositionForComplexText(const TextRun& run, float x, bool includePartialGlyphs) const
ComplexTextController.cpp 32 #include "platform/text/TextRun.h"
42 static bool isNeeded(const TextRun& run, const Font& font)
47 TextLayout(const TextRun& run, unsigned textLength, const Font& font, float xPos)
66 static TextRun constructTextRun(const TextRun& textRun, unsigned textLength, const Font& font, float xPos)
68 TextRun run = textRun;
76 // ComplexTextController has only references to its Font and TextRun so they must be kept alive here.
78 TextRun m_run
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/text/
BidiResolverTest.cpp 49 TextRun run(value);
58 TextDirection determineParagraphDirectionality(const TextRun& textRun, bool* hasStrongDirectionality = 0)
62 resolver.setPositionIgnoringNestedIsolates(TextRunIterator(&textRun, 0));
77 TextRun run(data);
178 TextRun textRun(input.data(), input.size());
181 textRun.setDirection(determineParagraphDirectionality(textRun));
184 textRun.setDirection(LTR)
    [all...]
StringTruncator.cpp 34 #include "platform/text/TextRun.h"
97 TextRun run(string);
105 TextRun run(characters, length);
  /external/chromium_org/ui/gfx/
render_text_mac.cc 168 const TextRun& run = runs_[i];
179 RenderTextMac::TextRun::TextRun()
191 RenderTextMac::TextRun::~TextRun() {
275 runs_.push_back(TextRun());
276 TextRun* run = &runs_.back();
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
WidthCache.h 29 #include "platform/text/TextRun.h"
122 float* add(const TextRun& run, float entry, bool hasKerningOrLigatures, bool hasWordSpacingOrLetterSpacing, GlyphOverflow* glyphOverflow)
154 float* addSlowCase(const TextRun& run, float entry)
Font.cpp 29 #include "platform/text/TextRun.h"
205 float Font::width(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
234 float Font::width(const TextRun& run, int& charsConsumed, String& glyphName) const
237 if (TextRun::RenderingContext* renderingContext = run.renderingContext())
248 PassOwnPtr<TextLayout> Font::createLayoutForMacComplexText(const TextRun&, unsigned, float, bool) const
266 FloatRect Font::selectionRectForText(const TextRun& run, const FloatPoint& point, int h, int from, int to) const
281 int Font::offsetForPosition(const TextRun& run, float x, bool includePartialGlyphs) const
345 Font::CodePath Font::codePath(const TextRun& run) const
FontFastPath.cpp 34 #include "platform/text/TextRun.h"
397 float Font::getGlyphsAndAdvancesForSimpleText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const
461 TextRun::RenderingContext* renderingContext = runInfo.run.renderingContext();
536 float Font::floatWidthForSimpleText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
552 FloatRect Font::selectionRectForSimpleText(const TextRun& run, const FloatPoint& point, int h, int from, int to) const
578 int Font::offsetForPositionForSimpleText(const TextRun& run, float x, bool includePartialGlyphs) const
WidthIterator.cpp 37 WidthIterator::WidthIterator(const Font* font, const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, bool accountForGlyphBounds, bool forTextEmphasis)
76 if (TextRun::RenderingContext* renderingContext = m_run.renderingContext())
  /external/chromium_org/third_party/WebKit/Source/web/
WebFontImpl.cpp 40 #include "platform/text/TextRun.h"
96 TextRun textRun(run);
97 TextRunPaintInfo runInfo(textRun);
99 runInfo.to = to == -1 ? textRun.length() : to;
PopupListBox.cpp 55 #include "platform/text/TextRun.h"
487 TextRun textRun(itemText, 0, 0, TextRun::AllowTrailingExpansion, style.textDirection(), style.hasTextDirectionOverride());
491 textX += maxWidth - itemFont.width(textRun);
495 TextRunPaintInfo textRunPaintInfo(textRun);
527 TextRun labelTextRun(itemLabel, 0, 0, TextRun::AllowTrailingExpansion, style.textDirection(), style.hasTextDirectionOverride());
849 width = itemFont.width(TextRun(text));
853 width += itemFont.width(TextRun(label))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderEmbeddedObject.cpp 43 #include "platform/text/TextRun.h"
143 TextRun run("");
164 bool RenderEmbeddedObject::getReplacementTextGeometry(const LayoutPoint& accumulatedOffset, FloatRect& contentRect, Path& path, FloatRect& replacementTextRect, Font& font, TextRun& run, float& textWidth) const
180 run = TextRun(m_unavailablePluginReplacementText);
RenderCombineText.cpp 99 TextRun run = RenderBlockFlow::constructTextRun(this, originalFont(), this, style());
InlineTextBox.cpp 213 TextRun textRun = constructTextRun(styleToUse, font, respectHyphen ? &charactersWithHyphen : 0);
215 endPos = textRun.length();
220 r = enclosingIntRect(font.selectionRectForText(textRun, startingPoint, selHeight, sPos, ePos));
392 const RenderObject* renderer, const Font& font, const TextRun& textRun,
415 TextRunPaintInfo textRunPaintInfo(textRun);
667 TextRun textRun = constructTextRun(styleToUse, font, string, maximumLength, hasHyphen() ? &charactersWithHyphen : 0);
669 length = textRun.length()
    [all...]
RenderTextControl.cpp 228 TextRun textRun = constructTextRun(this, font, str, style(), TextRun::AllowTrailingExpansion);
229 textRun.disableRoundingHacks();
230 return font.width(textRun);
RenderBlockFlow.cpp     [all...]
RenderListBox.cpp 137 TextRun textRun = constructTextRun(this, itemFont, text, style(), TextRun::AllowTrailingExpansion);
138 textRun.disableRoundingHacks();
139 float textWidth = itemFont.width(textRun);
372 static LayoutSize itemOffsetForAlignment(TextRun textRun, RenderStyle* itemStyle, Font itemFont, LayoutRect itemBoudingBox)
382 float textWidth = itemFont.width(textRun);
385 float textWidth = itemFont.width(textRun);
427 TextRun textRun(itemText, 0, 0, TextRun::AllowTrailingExpansion, itemStyle->direction(), isOverride(itemSt (…)
    [all...]
RenderImage.cpp 363 TextRun textRun = RenderBlockFlow::constructTextRun(this, font, m_altText, style(), TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion, DefaultTextRunFlags | RespectDirection);
364 LayoutUnit textWidth = font.width(textRun);
365 TextRunPaintInfo textRunPaintInfo(textRun);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
FontHarfBuzz.cpp 193 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* /* fallbackFonts */, GlyphOverflow* /* glyphOverflow */) const
202 int Font::offsetForPositionForComplexText(const TextRun& run, float xFloat,
211 // Return the rectangle for selecting the given range of code-points in the TextRun.
212 FloatRect Font::selectionRectForComplexText(const TextRun& run,
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
FontWin.cpp 157 FloatRect Font::selectionRectForComplexText(const TextRun& run,
199 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* /* fallbackFonts */, GlyphOverflow* /* glyphOverflow */) const
205 int Font::offsetForPositionForComplexText(const TextRun& run, float xFloat,
UniscribeHelperTextRun.cpp 37 #include "platform/text/TextRun.h"
41 UniscribeHelperTextRun::UniscribeHelperTextRun(const TextRun& run,
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGInlineTextBox.cpp 96 TextRun textRun = constructTextRun(style, fragment);
103 textRun.setHorizontalGlyphStretch(narrowPrecisionToFloat(fragmentTransform.xScale()));
105 return fragment.characterOffset - start() + textRenderer->scaledFont().offsetForPosition(textRun, position * scalingFactor, includePartialGlyphs);
412 bool SVGInlineTextBox::prepareGraphicsContextForTextPainting(GraphicsContext*& context, float scalingFactor, TextRun& textRun, RenderStyle* style)
420 TextRun::RenderingContext* renderingContext = textRun.renderingContext();
428 void SVGInlineTextBox::restoreGraphicsContextAfterTextPainting(GraphicsContext*& context, TextRun& textRun)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFontData.cpp 36 #include "platform/text/TextRun.h"
136 const TextRun& run = iterator.run();
163 if (TextRun::RenderingContext* renderingContext = run.renderingContext())
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
CanvasRenderingContext2D.cpp 64 #include "platform/text/TextRun.h"
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
VTTCue.cpp 503 VTTTextRunIterator(const TextRun* textRun, unsigned offset) : TextRunIterator(textRun, offset) { }
517 TextRun run(value);
    [all...]

Completed in 692 milliseconds

12 3