Home | History | Annotate | Download | only in fonts

Lines Matching refs:TextRun

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.
433 // TextRun has been reached.
438 // each word break in the TextRun.
506 static const TextRun& getNormalizedTextRun(const TextRun& originalRun,
507 OwnPtr<TextRun>& normalizedRun, OwnArrayPtr<UChar>& normalizedBuffer);
524 OwnPtr<TextRun> m_normalizedRun;
526 const TextRun& m_run;
538 TextRunWalker::TextRunWalker(const TextRun& run, int startingX, int startingY, const Font* font)
589 // setPadding sets a number of pixels to be distributed across the TextRun.
630 // TextRun has been reached.
635 // also render the script runs themselves backwards. So given a TextRun:
911 const TextRun& TextRunWalker::getNormalizedTextRun(const TextRun& originalRun,
912 OwnPtr<TextRun>& normalizedRun, OwnArrayPtr<UChar>& normalizedBuffer)
960 normalizedRun = adoptPtr(new TextRun(originalRun));
965 FloatRect Font::selectionRectForComplexText(const TextRun& run,
1034 void Font::drawComplexText(GraphicsContext* gc, TextRun const& run,
1076 float Font::floatWidthForComplexText(const TextRun& run,
1106 int Font::offsetForPositionForComplexText(const TextRun& run, float x,
1116 // order to subtract. This is different from the length of the TextRun