Lines Matching defs:to
16 * contributors may be used to endorse or promote products derived from
291 // Sum up advances that belong to a character.
327 // For RTL, we need to return the right side boundary of the character.
421 // setPadding sets a number of pixels to be distributed across the TextRun.
422 // WebKit uses this to justify text.
430 // If we have padding to distribute, then we try to give an equal
431 // amount to each space. The last space gets the smaller amount, if
447 void HarfBuzzShaper::setDrawRange(int from, int to)
450 ASSERT_WITH_SECURITY_IMPLICATION(to <= m_run.length());
452 m_toIndex = to;
864 // Add a space as pre-context to the buffer. This prevents showing dotted-circle
911 // HarfBuzz returns the shaping result in visual order. We need not to flip for RTL.
938 // In RTL, spacing should be added to left side of glyphs.
1002 // grapheme clusters in order to find positions for emphasis mark drawing.
1107 FloatRect HarfBuzzShaper::selectionRect(const FloatPoint& point, int height, int from, int to)
1127 if (!foundToX && to >= 0 && to < numCharacters) {
1128 toX = m_harfBuzzRuns[i]->xPositionForOffset(to) + currentX;
1131 to -= numCharacters;