HomeSort by relevance Sort by last modified time
    Searched refs:TextRun (Results 1 - 25 of 49) sorted by null

1 2

  /external/webkit/WebCore/platform/graphics/
WidthIterator.h 33 class TextRun;
36 WidthIterator(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0);
43 const TextRun& m_run;
Font.h 29 #include "TextRun.h"
82 void drawText(GraphicsContext*, const TextRun&, const FloatPoint&, int from = 0, int to = -1) const;
84 int width(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts = 0) const { return lroundf(floatWidth(run, fallbackFonts)); }
85 float floatWidth(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0) const;
86 float floatWidth(const TextRun& run, int extraCharsAvailable, int& charsConsumed, String& glyphName) const;
88 int offsetForPosition(const TextRun&, int position, bool includePartialGlyphs) const;
89 FloatRect selectionRectForText(const TextRun&, const IntPoint&, int h, int from = 0, int to = -1) const;
142 void drawTextUsingSVGFont(GraphicsContext*, const TextRun&, const FloatPoint&, int from, int to) const;
143 float floatWidthUsingSVGFont(const TextRun&) const;
144 float floatWidthUsingSVGFont(const TextRun&, int extraCharsAvailable, int& charsConsumed, String& glyphName) const
    [all...]
TextRun.h 34 class TextRun {
36 TextRun(const UChar* c, int len, bool allowTabs = false, int xpos = 0, int padding = 0, bool rtl = false, bool directionalOverride = false,
55 TextRun(const String& s, bool allowTabs = false, int xpos = 0, int padding = 0, bool rtl = false, bool directionalOverride = false,
Font.cpp 162 void Font::drawText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from, int to) const
185 float Font::floatWidth(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts) const
204 float Font::floatWidth(const TextRun& run, int extraCharsAvailable, int& charsConsumed, String& glyphName) const
224 FloatRect Font::selectionRectForText(const TextRun& run, const IntPoint& point, int h, int from, int to) const
241 int Font::offsetForPosition(const TextRun& run, int x, bool includePartialGlyphs) const
FontFastPath.cpp 193 bool Font::canUseGlyphCache(const TextRun& run) const
255 void Font::drawSimpleText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from, int to) const
290 void Font::drawGlyphBuffer(GraphicsContext* context, const GlyphBuffer& glyphBuffer, const TextRun&, const FloatPoint& point) const
317 float Font::floatWidthForSimpleText(const TextRun& run, GlyphBuffer* glyphBuffer, HashSet<const SimpleFontData*>* fallbackFonts) const
324 FloatRect Font::selectionRectForSimpleText(const TextRun& run, const IntPoint& point, int h, int from, int to) const
342 int Font::offsetForPositionForSimpleText(const TextRun& run, int x, bool includePartialGlyphs) const
GraphicsContext.cpp 46 TextRunIterator(const TextRun* textRun, unsigned offset)
47 : m_textRun(textRun)
72 const TextRun* m_textRun;
332 void GraphicsContext::drawText(const Font& font, const TextRun& run, const IntPoint& point, int from, int to)
341 void GraphicsContext::drawBidiText(const Font& font, const TextRun& run, const FloatPoint& point)
361 TextRun subrun = run;
377 void GraphicsContext::drawHighlightForText(const Font& font, const TextRun& run, const IntPoint& point, int h, const Color& backgroundColor, ColorSpace colorSpace, int from, int to)
  /external/webkit/WebCore/platform/graphics/chromium/
UniscribeHelperTextRun.h 39 class TextRun;
46 UniscribeHelperTextRun(const TextRun&, const Font&);
51 // ("TryToPreloadFont") if the caller does not have a TextRun/Font.
FontLinux.cpp 146 // TextRunWalker walks a TextRun and presents each script run in sequence. A
147 // TextRun is a sequence of code-points with the same embedding level (i.e. they
162 TextRunWalker(const TextRun& run, unsigned startingX, const Font* font)
226 // TextRun has been reached.
231 // also render the script runs themselves backwards. So given a TextRun:
313 const TextRun& getTextRun(const TextRun& originalRun)
337 const TextRun& getNormalizedTextRun(const TextRun& originalRun)
354 m_normalizedRun.set(new TextRun(originalRun))
    [all...]
FontChromiumWin.cpp 299 const TextRun&,
311 const TextRun& m_run;
319 const TextRun& run,
436 FloatRect Font::selectionRectForComplexText(const TextRun& run,
456 const TextRun& run,
506 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* /* fallbackFonts */) const
512 int Font::offsetForPositionForComplexText(const TextRun& run, int x,
UniscribeHelperTextRun.cpp 40 UniscribeHelperTextRun::UniscribeHelperTextRun(const TextRun& run,
  /external/webkit/WebCore/platform/android/
FileChooserAndroid.cpp 41 while (font.width(TextRun(output.impl())) > width && output.length() > 4)
  /external/webkit/WebCore/platform/graphics/win/
UniscribeController.h 41 UniscribeController(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0);
62 const TextRun& m_run;
FontWin.cpp 44 FloatRect Font::selectionRectForComplexText(const TextRun& run, const IntPoint& point, int h,
63 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point,
92 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts) const
99 int Font::offsetForPositionForComplexText(const TextRun& run, int x, bool includePartialGlyphs) const
  /external/webkit/WebCore/platform/graphics/haiku/
FontHaiku.cpp 90 void Font::drawComplexText(GraphicsContext* ctx, const TextRun& run, const FloatPoint& point,
97 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts) const
103 FloatRect Font::selectionRectForComplexText(const TextRun&, const IntPoint&, int, int, int) const
109 int Font::offsetForPositionForComplexText(const TextRun&, int, bool) const
  /external/webkit/WebCore/platform/graphics/mac/
FontComplexTextMac.cpp 38 FloatRect Font::selectionRectForComplexText(const TextRun& run, const IntPoint& point, int h,
56 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point,
86 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts) const
92 int Font::offsetForPositionForComplexText(const TextRun& run, int x, bool includePartialGlyphs) const
ComplexTextController.h 40 class TextRun;
49 ComplexTextController(const Font*, const TextRun&, bool mayUseNaturalWritingDirection = false, HashSet<const SimpleFontData*>* fallbackFonts = 0);
151 const TextRun& m_run;
  /external/webkit/WebCore/platform/graphics/wx/
FontWx.cpp 68 FloatRect Font::selectionRectForComplexText(const TextRun& run, const IntPoint& point, int h, int from, int to) const
91 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from, int to) const
124 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts) const
136 int Font::offsetForPositionForComplexText(const TextRun& run, int x, bool includePartialGlyphs) const
  /external/webkit/WebCore/platform/win/
WebCoreTextRenderer.cpp 38 static bool isOneLeftToRightRun(const TextRun& run)
50 TextRun run(text.characters(), text.length());
63 TextRun beforeRun(text.characters(), underlinedIndex);
68 TextRun underlinedRun(text.characters() + underlinedIndex, 1);
  /external/webkit/WebCore/platform/graphics/qt/
FontQt.cpp 54 static QTextLine setupLayout(QTextLayout* layout, const TextRun& style)
69 void Font::drawComplexText(GraphicsContext* ctx, const TextRun& run, const FloatPoint& point, int from, int to) const
172 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>*) const
190 int Font::offsetForPositionForComplexText(const TextRun& run, int position, bool) const
200 FloatRect Font::selectionRectForComplexText(const TextRun& run, const IntPoint& pt, int h, int from, int to) const
  /external/webkit/WebCore/rendering/
EllipsisBox.cpp 54 context->drawText(style->font(), TextRun(str.characters(), str.length(), false, 0, 0, false, style->visuallyOrdered()), IntPoint(m_x + tx, m_y + ty + style->font().ascent()));
75 return enclosingIntRect(f.selectionRectForText(TextRun(m_str.characters(), m_str.length(), false, 0, 0, false, style->visuallyOrdered()),
95 context->drawHighlightForText(font, TextRun(m_str.characters(), m_str.length(), false, 0, 0, false, style->visuallyOrdered()),
SVGRootInlineBox.h 98 TextRun svgTextRunForInlineTextBox(const UChar*, int len, RenderStyle* style, const InlineTextBox* textBox, float xPos);
  /external/webkit/WebCore/svg/
SVGFont.cpp 229 typedef void (*SVGTextRunWalkerMissingGlyphCallback)(const TextRun&, SVGTextRunData&);
241 void walk(const TextRun& run, bool isVerticalText, const String& language, int from, int to)
307 TextRun subRun(run);
353 static void floatWidthMissingGlyphCallback(const TextRun& run, SVGTextRunWalkerMeasuredLengthData& data)
378 static float floatWidthOfSubStringUsingSVGFont(const Font* font, const TextRun& run, int extraCharsAvailable, int from, int to, int& charsConsumed, String& glyphName)
425 float Font::floatWidthUsingSVGFont(const TextRun& run) const
432 float Font::floatWidthUsingSVGFont(const TextRun& run, int extraCharsAvailable, int& charsConsumed, String& glyphName) const
452 static void drawTextMissingGlyphCallback(const TextRun& run, SVGTextRunWalkerDrawTextData& data)
459 void Font::drawTextUsingSVGFont(GraphicsContext* context, const TextRun& run,
565 TextRun fallbackCharacterRun(run)
    [all...]
  /external/webkit/WebCore/platform/graphics/wince/
FontWince.cpp 73 TextRunComponent(const UChar *start, int length, const TextRun& parentTextRun, const Font &font, int offset);
80 TextRun m_textRun;
86 TextRunComponent::TextRunComponent(const UChar *start, int length, const TextRun& parentTextRun, const Font &font, int o)
110 static int generateComponents(TextRunComponents* components, const Font &font, const TextRun &run)
208 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point,
238 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts) const
245 int Font::offsetForPositionForComplexText(const TextRun& run, int position, bool includePartialGlyphs) const
311 FloatRect Font::selectionRectForComplexText(const TextRun& run, const IntPoint& pt,
  /external/webkit/WebCore/platform/graphics/android/
FontAndroid.cpp 178 FloatRect Font::selectionRectForComplexText(const TextRun& run,
196 void Font::drawComplexText(GraphicsContext* gc, TextRun const& run,
214 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>*) const
226 int Font::offsetForPositionForComplexText(const TextRun& run, int x,
  /external/webkit/WebCore/platform/graphics/gtk/
FontGtk.cpp 138 static void setPangoAttributes(const Font* font, const TextRun& run, PangoLayout* layout)
184 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from, int to) const
277 static PangoLayout* getDefaultPangoLayout(const TextRun& run)
291 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* /* fallbackFonts */) const
311 int Font::offsetForPositionForComplexText(const TextRun& run, int x, bool includePartialGlyphs) const
331 FloatRect Font::selectionRectForComplexText(const TextRun& run, const IntPoint& point, int h, int from, int to) const

Completed in 1037 milliseconds

1 2