/external/webkit/Source/WebKit/chromium/src/ |
H A D | WebTextRun.cpp | 34 #include "TextRun.h" 40 WebTextRun::operator WebCore::TextRun() const 42 return TextRun(text, false, 0, 0, TextRun::AllowTrailingExpansion, rtl, directionalOverride);
|
/external/webkit/Source/WebCore/platform/graphics/efl/ |
H A D | FontEfl.cpp | 38 void Font::drawComplexText(GraphicsContext*, const TextRun&, const FloatPoint&, int from, int to) const argument 43 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */, const AtomicString& /* mark */, const FloatPoint& /* point */, int /* from */, int /* to */) const 58 float Font::floatWidthForComplexText(const TextRun&, HashSet<const SimpleFontData*>*, GlyphOverflow*) const argument 64 int Font::offsetForPositionForComplexText(const TextRun&, float, bool) const argument 70 FloatRect Font::selectionRectForComplexText(const TextRun&, const FloatPoint&, int, int, int) const argument
|
/external/webkit/Source/WebKit/chromium/public/ |
H A D | WebTextRun.h | 37 namespace WebCore { class TextRun; } 60 // The resulting WebCore::TextRun will refer to the text in this 62 operator WebCore::TextRun() const;
|
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | Font.h | 54 class TextRun; 97 void drawText(GraphicsContext*, const TextRun&, const FloatPoint&, int from = 0, int to = -1) const; 98 void drawEmphasisMarks(GraphicsContext*, const TextRun&, const AtomicString& mark, const FloatPoint&, int from = 0, int to = -1) const; 100 float width(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const; 101 float width(const TextRun&, int extraCharsAvailable, int& charsConsumed, String& glyphName) const; 103 int offsetForPosition(const TextRun&, float position, bool includePartialGlyphs) const; 104 FloatRect selectionRectForText(const TextRun&, const FloatPoint&, int h, int from = 0, int to = -1) const; 161 void drawTextUsingSVGFont(GraphicsContext*, const TextRun&, const FloatPoint&, int from, int to) const; 162 float floatWidthUsingSVGFont(const TextRun&) const; 163 float floatWidthUsingSVGFont(const TextRun [all...] |
H A D | WidthIterator.h | 33 class TextRun; 36 WidthIterator(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool accountForGlyphBounds = false, bool forTextEmphasis = false); 48 const TextRun& m_run;
|
H A D | TextRun.h | 34 class TextRun { class in namespace:WebCore 45 TextRun(const UChar* c, int len, bool allowTabs = false, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, bool rtl = false, bool directionalOverride = false) function in class:WebCore::TextRun 65 TextRun(const String& s, bool allowTabs = false, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, bool rtl = false, bool directionalOverride = false) function in class:WebCore::TextRun
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | ComplexTextControllerLinux.h | 36 #include "TextRun.h" 48 // ComplexTextController walks a TextRun and presents each script run in sequence. A 49 // TextRun is a sequence of code-points with the same embedding level (i.e. they 63 ComplexTextController(const TextRun&, unsigned, const Font*); 68 // setPadding sets a number of pixels to be distributed across the TextRun. 73 // TextRun has been reached. 78 // each word break in the TextRun. 131 static const TextRun& getNormalizedTextRun(const TextRun& originalRun, OwnPtr<TextRun> [all...] |
H A D | UniscribeHelperTextRun.h | 39 class TextRun; 46 UniscribeHelperTextRun(const TextRun&, const Font&); 51 // ("TryToPreloadFont") if the caller does not have a TextRun/Font.
|
H A D | FontChromiumWin.cpp | 302 const TextRun&, 314 const TextRun& m_run; 322 const TextRun& run, 461 FloatRect Font::selectionRectForComplexText(const TextRun& run, 481 const TextRun& run, 531 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */, const AtomicString& /* mark */, const FloatPoint& /* point */, int /* from */, int /* to */) const 536 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* /* fallbackFonts */, GlyphOverflow* /* glyphOverflow */) const 542 int Font::offsetForPositionForComplexText(const TextRun& run, float xFloat,
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
H A D | FontHaiku.cpp | 95 void Font::drawComplexText(GraphicsContext* ctx, const TextRun& run, const FloatPoint& point, 101 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */, const AtomicString& /* mark */, const FloatPoint& /* point */, int /* from */, int /* to */) const 106 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const 112 FloatRect Font::selectionRectForComplexText(const TextRun&, const FloatPoint&, int, int, int) const argument 118 int Font::offsetForPositionForComplexText(const TextRun&, float, bool) const argument
|
/external/webkit/Source/WebCore/rendering/svg/ |
H A D | SVGTextMetrics.cpp | 26 #include "TextRun.h" 37 SVGTextMetrics::SVGTextMetrics(RenderSVGInlineText* textRenderer, const TextRun& run, unsigned position, unsigned textLength) 75 static TextRun constructTextRun(RenderSVGInlineText* text, const UChar* characters, unsigned position, unsigned length) 80 TextRun run(characters + position 85 , TextRun::AllowTrailingExpansion 101 TextRun run(constructTextRun(text, text->characters(), position, length));
|
H A D | SVGTextMetrics.h | 29 class TextRun; 69 SVGTextMetrics(RenderSVGInlineText*, const TextRun&, unsigned position, unsigned textLength);
|
H A D | SVGInlineTextBox.h | 67 TextRun constructTextRun(RenderStyle*, const SVGTextFragment&) const; 72 bool prepareGraphicsContextForTextPainting(GraphicsContext*&, float scalingFactor, TextRun&, RenderStyle*); 73 void restoreGraphicsContextAfterTextPainting(GraphicsContext*&, TextRun&); 77 void paintTextWithShadows(GraphicsContext*, RenderStyle*, TextRun&, const SVGTextFragment&, int startPosition, int endPosition);
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
H A D | FontComplexTextMac.cpp | 34 #include "TextRun.h" 41 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h, 59 float Font::getGlyphsAndAdvancesForComplexText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const 83 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from, int to) const 99 void Font::drawEmphasisMarksForComplexText(GraphicsContext* context, const TextRun& run, const AtomicString& mark, const FloatPoint& point, int from, int to) const 110 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const 122 int Font::offsetForPositionForComplexText(const TextRun& run, float x, bool includePartialGlyphs) const
|
H A D | ComplexTextController.h | 41 class TextRun; 50 ComplexTextController(const Font*, const TextRun&, bool mayUseNaturalWritingDirection = false, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool forTextEmphasis = false); 153 const TextRun& m_run;
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | FontWin.cpp | 35 #include "TextRun.h" 53 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h, 72 float Font::getGlyphsAndAdvancesForComplexText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const 97 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, 114 void Font::drawEmphasisMarksForComplexText(GraphicsContext* context, const TextRun& run, const AtomicString& mark, const FloatPoint& point, int from, int to) const 125 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const 138 int Font::offsetForPositionForComplexText(const TextRun& run, float xFloat, bool includePartialGlyphs) const
|
H A D | UniscribeController.h | 38 UniscribeController(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0); 64 const TextRun& m_run;
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
H A D | FontWx.cpp | 35 #include "TextRun.h" 83 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h, int from, int to) const 111 float Font::getGlyphsAndAdvancesForComplexText(const TextRun& /* run */, int /* from */, int /* to */, GlyphBuffer& /* glyphBuffer */, ForTextEmphasisOrNot /* forTextEmphasis */) const 119 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from, int to) const 157 void Font::drawEmphasisMarksForComplexText(GraphicsContext* context, const TextRun& run, const AtomicString& mark, const FloatPoint& point, int from, int to) const 168 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow*) const 184 int Font::offsetForPositionForComplexText(const TextRun& run, float x, bool includePartialGlyphs) const
|
/external/webkit/Source/WebCore/platform/win/ |
H A D | WebCoreTextRenderer.cpp | 32 #include "TextRun.h" 39 static bool isOneLeftToRightRun(const TextRun& run) 51 TextRun run(text.characters(), text.length()); 64 TextRun beforeRun(text.characters(), underlinedIndex); 69 TextRun underlinedRun(text.characters() + underlinedIndex, 1);
|
/external/webkit/Source/WebKit/android/nav/ |
H A D | SelectText.cpp | 42 #include "TextRun.h" 68 TextRunIterator(const TextRun* textRun, unsigned offset) 94 const TextRun* m_textRun; 103 TextRun run(chars, len);
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
H A D | FontWinCE.cpp | 41 #include "TextRun.h" 74 TextRunComponent(const UChar *start, int length, const TextRun& parentTextRun, const Font &font, int offset); 81 TextRun m_textRun; 87 TextRunComponent::TextRunComponent(const UChar *start, int length, const TextRun& parentTextRun, const Font &font, int o) 89 , parentTextRun.allowsTrailingExpansion() ? TextRun::AllowTrailingExpansion : TextRun::ForbidTrailingExpansion 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 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */, const AtomicString& /* mark */, const FloatPoint& /* point */, int /* from */, int /* to */) const 243 float Font::floatWidthForComplexText(const TextRun [all...] |
/external/webkit/Source/WebCore/rendering/ |
H A D | EllipsisBox.cpp | 28 #include "TextRun.h" 56 context->drawText(style->font(), TextRun(str.characters(), str.length(), false, 0, 0, TextRun::AllowTrailingExpansion, false, style->visuallyOrdered()), IntPoint(m_x + tx, m_y + ty + style->fontMetrics().ascent())); 77 return enclosingIntRect(f.selectionRectForText(TextRun(m_str.characters(), m_str.length(), false, 0, 0, TextRun::AllowTrailingExpansion, false, style->visuallyOrdered()), 97 context->drawHighlightForText(font, TextRun(m_str.characters(), m_str.length(), false, 0, 0, TextRun::AllowTrailingExpansion, false, style->visuallyOrdered()),
|
H A D | InlineTextBox.h | 28 #include "TextRun.h" 174 TextRun::ExpansionBehavior expansionBehavior() const 176 return (canHaveLeadingExpansion() ? TextRun::AllowLeadingExpansion : TextRun::ForbidLeadingExpansion) 177 | (m_expansion && nextLeafChild() ? TextRun::AllowTrailingExpansion : TextRun::ForbidTrailingExpansion);
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
H A D | FontAndroid.cpp | 47 #include "TextRun.h" 267 void Font::drawEmphasisMarksForComplexText(WebCore::GraphicsContext*, WebCore::TextRun const&, WTF::AtomicString const&, WebCore::FloatPoint const&, int, int) const 274 FloatRect Font::selectionRectForComplexText(const TextRun& run, 292 void Font::drawComplexText(GraphicsContext* gc, TextRun const& run, 310 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>*, GlyphOverflow*) const 322 int Font::offsetForPositionForComplexText(const TextRun& run, float x, 376 // TextRunWalker walks a TextRun and presents each script run in sequence. A 377 // TextRun is a sequence of code-points with the same embedding level (i.e. they 392 TextRunWalker(const TextRun&, int, int, const Font*); 396 // setPadding sets a number of pixels to be distributed across the TextRun [all...] |
/external/webkit/Source/WebCore/platform/graphics/qt/ |
H A D | FontQt.cpp | 34 #include "TextRun.h" 61 static QTextLine setupLayout(QTextLayout* layout, const TextRun& style) 76 static void drawTextCommon(GraphicsContext* ctx, const TextRun& run, const FloatPoint& point, int from, int to, const QFont& font, bool isComplexText) 238 void Font::drawSimpleText(GraphicsContext* ctx, const TextRun& run, const FloatPoint& point, int from, int to) const 243 void Font::drawComplexText(GraphicsContext* ctx, const TextRun& run, const FloatPoint& point, int from, int to) const 266 void Font::drawEmphasisMarksForSimpleText(GraphicsContext* /* context */, const TextRun& /* run */, const AtomicString& /* mark */, const FloatPoint& /* point */, int /* from */, int /* to */) const 271 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */, const AtomicString& /* mark */, const FloatPoint& /* point */, int /* from */, int /* to */) const 276 float Font::floatWidthForSimpleText(const TextRun& run, GlyphBuffer* glyphBuffer, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const 296 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>*, GlyphOverflow*) const 318 int Font::offsetForPositionForSimpleText(const TextRun [all...] |