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

1 2 3

  /external/webkit/Source/WebKit/chromium/src/
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/
FontEfl.cpp 38 void Font::drawComplexText(GraphicsContext*, const TextRun&, const FloatPoint&, int from, int to) const
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
64 int Font::offsetForPositionForComplexText(const TextRun&, float, bool) const
70 FloatRect Font::selectionRectForComplexText(const TextRun&, const FloatPoint&, int, int, int) const
  /external/webkit/Source/WebKit/chromium/public/
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/
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&, int extraCharsAvailable, int& charsConsumed, String& glyphName) const
    [all...]
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;
TextRun.h 34 class TextRun {
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)
65 TextRun(const String& s, bool allowTabs = false, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, bool rtl = false, bool directionalOverride = false)
  /external/webkit/Source/WebCore/platform/graphics/chromium/
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>& normalizedRun, OwnArrayPtr<UChar>& normalizedBuffer)
    [all...]
UniscribeHelperTextRun.h 39 class TextRun;
46 UniscribeHelperTextRun(const TextRun&, const Font&);
51 // ("TryToPreloadFont") if the caller does not have a TextRun/Font.
  /external/webkit/Source/WebCore/rendering/svg/
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);
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));
SVGTextMetrics.h 29 class TextRun;
69 SVGTextMetrics(RenderSVGInlineText*, const TextRun&, unsigned position, unsigned textLength);
  /external/webkit/Source/WebCore/platform/graphics/haiku/
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
118 int Font::offsetForPositionForComplexText(const TextRun&, float, bool) const
  /external/webkit/Source/WebCore/platform/graphics/mac/
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
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/
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
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/
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/
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/WebCore/rendering/
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);
RenderEmbeddedObject.h 71 bool getReplacementTextGeometry(int tx, int ty, FloatRect& contentRect, Path&, FloatRect& replacementTextRect, Font&, TextRun&, float& textWidth);
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()),
  /external/webkit/Source/WebKit/android/nav/
SelectText.cpp 42 #include "TextRun.h"
68 TextRunIterator(const TextRun* textRun, unsigned offset)
69 : m_textRun(textRun)
94 const TextRun* m_textRun;
103 TextRun run(chars, len);
  /external/webkit/Source/WebCore/platform/graphics/wince/
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& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) cons
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/android/fonts/
FontAndroid.cpp 49 #include "TextRun.h"
298 void Font::drawEmphasisMarksForComplexText(WebCore::GraphicsContext*, WebCore::TextRun const&, WTF::AtomicString const&, WebCore::FloatPoint const&, int, int) const
305 FloatRect Font::selectionRectForComplexText(const TextRun& run,
323 void Font::drawComplexText(GraphicsContext* gc, TextRun const& run,
341 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>*, GlyphOverflow*) const
353 int Font::offsetForPositionForComplexText(const TextRun& run, float x,
407 // TextRunWalker walks a TextRun and presents each script run in sequence. A
408 // TextRun is a sequence of code-points with the same embedding level (i.e. they
423 TextRunWalker(const TextRun&, int, int, const Font*);
427 // setPadding sets a number of pixels to be distributed across the TextRun
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/qt/
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& run, float position, bool includePartialGlyphs) cons
    [all...]

Completed in 669 milliseconds

1 2 3