/external/chromium_org/third_party/WebKit/Source/web/ |
WebTextRun.cpp | 34 #include "platform/text/TextRun.h" 38 WebTextRun::operator TextRun() const 40 return TextRun(text, 0, 0, TextRun::AllowTrailingExpansion, rtl ? RTL : LTR, directionalOverride);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
TextRunConstructor.h | 40 #include "platform/text/TextRun.h" 60 TextRun constructTextRun(RenderObject* context, const Font&, const String&, RenderStyle*, 61 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion, TextRunFlags = DefaultTextRunFlags); 62 TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned offset, unsigned length, RenderStyle*, 63 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion); 66 TextRun constructTextRun(RenderObject* context, const Font&, const String&, RenderStyle*, TextDirection [all...] |
TextRunConstructor.cpp | 42 static inline TextRun constructTextRunInternal(RenderObject* context, const Font& font, const CharacterType* characters, int length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion) 47 TextRun run(characters, length, 0, 0, expansion, direction, directionalOverride); 55 static inline TextRun constructTextRunInternal(RenderObject* context, const Font& font, const CharacterType* characters, int length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion, TextRunFlags flags) 68 TextRun run(characters, length, 0, 0, expansion, textDirection, directionalOverride); 75 TextRun constructTextRun(RenderObject* context, const Font& font, const LChar* characters, int length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion) 80 TextRun constructTextRun(RenderObject* context, const Font& font, const UChar* characters, int length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion [all...] |
RenderEmbeddedObject.h | 30 class TextRun; 61 bool getReplacementTextGeometry(const LayoutPoint& accumulatedOffset, FloatRect& contentRect, Path&, FloatRect& replacementTextRect, Font&, TextRun&, float& textWidth) const;
|
TextPainter.h | 24 class TextRun; 31 TextPainter(GraphicsContext*, const Font&, const TextRun&, const FloatPoint& textOrigin, const FloatRect& textBounds, bool horizontal); 79 const TextRun& m_run;
|
InlineTextBox.h | 29 #include "platform/text/TextRun.h" 105 // charactersWithHyphen, if provided, must not be destroyed before the TextRun. 106 TextRun constructTextRun(RenderStyle*, const Font&, StringBuilder* charactersWithHyphen = 0) const; 107 TextRun constructTextRun(RenderStyle*, const Font&, StringView, int maximumLength, StringBuilder* charactersWithHyphen = 0) const; 110 TextRun constructTextRunForInspector(RenderStyle*, const Font&) const; 189 TextRun::ExpansionBehavior expansionBehavior() const 191 return (canHaveLeadingExpansion() ? TextRun::AllowLeadingExpansion : TextRun::ForbidLeadingExpansion) 192 | (expansion() && nextLeafChild() ? TextRun::AllowTrailingExpansion : TextRun::ForbidTrailingExpansion) [all...] |
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);
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
BidiTextRun.h | 35 #include "platform/text/TextRun.h" 40 PLATFORM_EXPORT TextDirection directionForRun(TextRun&, bool& hasStrongDirectionality); 42 PLATFORM_EXPORT TextRun textRunWithDirectionality(const String& value, bool& hasStrongDirectionality);
|
BidiTextRun.cpp | 39 TextDirection directionForRun(TextRun& run, bool& hasStrongDirectionality) 49 TextRun run(value); 53 TextRun textRunWithDirectionality(const String& value, bool& hasStrongDirectionality) 55 TextRun run(value);
|
TextRun.cpp | 27 #include "platform/text/TextRun.h" 40 RefPtr<TextRun::RenderingContext> renderingContext; 43 COMPILE_ASSERT(sizeof(TextRun) == sizeof(ExpectedTextRunSize), TextRun_is_not_of_expected_size); 45 void TextRun::setText(const String& string)
|
TextRun.h | 45 class PLATFORM_EXPORT TextRun { 57 TextRun(const LChar* c, unsigned len, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true) 77 TextRun(const UChar* c, unsigned len, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true) 97 TextRun(const String& string, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true, bool normalizeSpace = false) 125 TextRun(const StringView& string, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true, bool normalizeSpace = false) 153 TextRun subRun(unsigned startOffset, unsigned length) const 157 TextRun result = *this; 216 virtual GlyphData glyphDataForCharacter(const Font&, const TextRun&, WidthIterator&, UChar32 character, bool mirror, int currentCharacter, unsigned& advanceLength) = 0; 217 virtual void drawSVGGlyphs(GraphicsContext*, const TextRun&, const SimpleFontData*, const GlyphBuffer&, int from, int to, const FloatPoint&) const = 0; 218 virtual float floatWidthUsingSVGFont(const Font&, const TextRun&, int& charsConsumed, Glyph& glyphId) const = 0 [all...] |
TextRunIterator.h | 32 #include "platform/text/TextRun.h" 44 TextRunIterator(const TextRun* textRun, unsigned offset) 45 : m_textRun(textRun) 71 const TextRun* m_textRun;
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebTextRun.h | 38 class TextRun; 58 // The resulting blink::TextRun will refer to the text in this 60 operator TextRun() const;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGTextRunRenderingContext.h | 25 #include "platform/text/TextRun.h" 32 class SVGTextRunRenderingContext FINAL : public TextRun::RenderingContext { 42 virtual GlyphData glyphDataForCharacter(const Font&, const TextRun&, WidthIterator&, UChar32 character, bool mirror, int currentCharacter, unsigned& advanceLength) OVERRIDE; 43 virtual void drawSVGGlyphs(GraphicsContext*, const TextRun&, const SimpleFontData*, const GlyphBuffer&, int from, int to, const FloatPoint&) const OVERRIDE; 44 virtual float floatWidthUsingSVGFont(const Font&, const TextRun&, int& charsConsumed, Glyph& glyphId) const OVERRIDE; 46 virtual GlyphData glyphDataForCharacter(const Font&, const TextRun&, WidthIterator&, UChar32 character, bool mirror, int currentCharacter, unsigned& advanceLength) OVERRIDE { return 0; } 47 virtual void drawSVGGlyphs(GraphicsContext*, const TextRun&, const SimpleFontData*, const GlyphBuffer&, int from, int to, const FloatPoint&) const OVERRIDE { } 48 virtual float floatWidthUsingSVGFont(const Font&, const TextRun&, int& charsConsumed, Glyph& glyphId) const OVERRIDE { return 0; }
|
SVGTextMetrics.h | 30 class TextRun; 44 static TextRun constructTextRun(RenderSVGInlineText*, unsigned position, unsigned length); 47 static TextRun constructTextRun(RenderSVGInlineText*, unsigned position, unsigned length, TextDirection); 61 SVGTextMetrics(RenderSVGInlineText*, const TextRun&);
|
SVGTextMetrics.cpp | 45 SVGTextMetrics::SVGTextMetrics(RenderSVGInlineText* textRenderer, const TextRun& run) 63 TextRun SVGTextMetrics::constructTextRun(RenderSVGInlineText* text, unsigned position, unsigned length) 69 TextRun SVGTextMetrics::constructTextRun(RenderSVGInlineText* text, unsigned position, unsigned length, TextDirection textDirection) 74 TextRun run(static_cast<const LChar*>(0) // characters, will be set below if non-zero. 78 , TextRun::AllowTrailingExpansion 95 // Propagate the maximum length of the characters buffer to the TextRun, even when we're only processing a substring.
|
SVGInlineTextBox.h | 64 TextRun constructTextRun(RenderStyle*, const SVGTextFragment&) const; 69 void paintTextWithShadows(GraphicsContext*, RenderStyle*, TextRun&, const SVGTextFragment&,
|
SVGTextRunRenderingContext.cpp | 66 static inline RenderObject* renderObjectFromRun(const TextRun& run) 68 if (TextRun::RenderingContext* renderingContext = run.renderingContext()) 73 float SVGTextRunRenderingContext::floatWidthUsingSVGFont(const Font& font, const TextRun& run, int& charsConsumed, Glyph& glyphId) const 82 void SVGTextRunRenderingContext::drawSVGGlyphs(GraphicsContext* context, const TextRun& run, const SimpleFontData* fontData, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const 153 GlyphData SVGTextRunRenderingContext::glyphDataForCharacter(const Font& font, const TextRun& run, WidthIterator& iterator, UChar32 character, bool mirror, int currentCharacter, unsigned& advanceLength) 177 if (TextRun::RenderingContext* renderingContext = run.renderingContext()) {
|
/external/chromium_org/ui/gfx/ |
render_text_win.h | 22 struct TextRun { 23 TextRun(); 24 ~TextRun(); 54 DISALLOW_COPY_AND_ASSIGN(TextRun); 97 void LayoutTextRun(internal::TextRun* run); 101 HRESULT ShapeTextRunWithFont(internal::TextRun* run, const Font& font); 104 int CountCharsWithMissingGlyphs(internal::TextRun* run) const; 114 SelectionModel FirstSelectionModelInsideRun(const internal::TextRun* run); 115 SelectionModel LastSelectionModelInsideRun(const internal::TextRun* run); 127 ScopedVector<internal::TextRun> runs_ [all...] |
render_text_mac.h | 53 struct TextRun { 67 TextRun(); 68 ~TextRun(); 92 std::vector<TextRun> runs_;
|
render_text_win.cc | 80 Range CharRangeToGlyphRange(const internal::TextRun& run, 108 // TextRun::logical_clusters might help. 113 const internal::TextRun& run, 174 const ScopedVector<internal::TextRun>& runs) { 181 internal::TextRun* run = runs[segment->run]; 292 TextRun::TextRun() 305 TextRun::~TextRun() { 311 int GetGlyphXBoundary(const internal::TextRun* run [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
WidthIterator.h | 28 #include "platform/text/TextRun.h" 38 class TextRun; 44 WidthIterator(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool accountForGlyphBounds = false, bool forTextEmphasis = false); 54 const TextRun& run() const { return m_run; } 63 const TextRun& m_run;
|
Font.h | 58 class TextRun; 106 float width(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const; 107 float width(const TextRun&, int& charsConsumed, Glyph& glyphId) const; 109 int offsetForPosition(const TextRun&, float position, bool includePartialGlyphs) const; 110 FloatRect selectionRectForText(const TextRun&, const FloatPoint&, int h, int from = 0, int to = -1, bool accountForGlyphBounds = false) const; 136 CodePath codePath(const TextRun&) const; 151 float floatWidthForSimpleText(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, IntRectExtent* glyphBounds = 0) const; 152 int offsetForPositionForSimpleText(const TextRun&, float position, bool includePartialGlyphs) const; 153 FloatRect selectionRectForSimpleText(const TextRun&, const FloatPoint&, int h, int from, int to, bool accountForGlyphBounds) const; 161 float floatWidthForComplexText(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts, IntRectExtent* glyphBounds) const [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
ComplexTextController.h | 47 class TextRun; 55 ComplexTextController(const Font*, const TextRun&, bool mayUseNaturalWritingDirection = false, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool forTextEmphasis = false); 141 const TextRun& m_run;
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
HarfBuzzShaper.h | 37 #include "platform/text/TextRun.h" 59 HarfBuzzShaper(const Font*, const TextRun&, ForTextEmphasisOrNot = NotForTextEmphasis, HashSet<const SimpleFontData*>* fallbackFonts = 0); 124 // setPadding sets a number of pixels to be distributed across the TextRun. 141 const TextRun& m_run;
|