Searched defs:rtl (Results 1 - 12 of 12) sorted by relevance

/external/webkit/WebCore/platform/graphics/
H A DWidthIterator.cpp77 bool rtl = m_run.rtl(); local
116 const GlyphData& glyphData = m_font->glyphDataForCharacter(c, rtl);
145 const GlyphData& uppercaseGlyphData = m_font->glyphDataForCharacter(toUpper(c), rtl);
205 glyphBuffer->add(glyph, fontData, (rtl ? oldWidth + lastRoundingWidth : width));
H A DTextRun.h36 TextRun(const UChar* c, int len, bool allowTabs = false, int xpos = 0, int padding = 0, bool rtl = false, bool directionalOverride = false,
43 , m_rtl(rtl)
55 TextRun(const String& s, bool allowTabs = false, int xpos = 0, int padding = 0, bool rtl = false, bool directionalOverride = false,
62 , m_rtl(rtl)
85 bool rtl() const { return m_rtl; } function in class:WebCore::TextRun
/external/webkit/WebCore/platform/graphics/wince/
H A DFontWince.cpp88 , parentTextRun.rtl()
226 if (run.rtl())
254 if (run.rtl()) {
285 static float cursorToX(const Font* font, const TextRunComponents& components, int width, bool rtl, int cursor) argument
295 if (rtl)
300 if (rtl)
320 float x1 = cursorToX(this, components, w, run.rtl(), from);
321 float x2 = cursorToX(this, components, w, run.rtl(), to);
/external/webkit/WebCore/wml/
H A DWMLTableElement.cpp226 bool rtl = false; local
229 rtl = style->direction() == RTL;
232 rowElement->setAttribute(HTMLNames::alignAttr, rtl ? "right" : "left");
/external/webkit/WebCore/platform/graphics/mac/
H A DComplexTextControllerATSUI.cpp157 Boolean rtl = !ltr; local
212 ATSUAttributeValuePtr values[] = { &lineLayoutOptions, &rtl, &overrideSpecifier };
/external/icu4c/test/cintltst/
H A Dcustrtrn.c1376 int32_t rtl; local
1397 cp = u_strFromWCS(rts, rtcap, &rtl, wcs, wl, &err);
1402 if(wl != rtl){
1403 log_err("u_strFromWCS: wcs = %S, wl = %d,rts = %s, rtl = %d!\n", wcs, wl, u_austrcpy(astr, rts), rtl);
/external/webkit/WebCore/platform/graphics/chromium/
H A DFontLinux.cpp167 , m_iterateBackwards(m_run.rtl())
186 m_item.item.bidiLevel = m_run.rtl();
214 bool rtl() const function in class:WebCore::TextRunWalker
216 return m_run.rtl();
247 setGlyphXPositions(rtl());
534 if (walker.rtl()) {
566 if (walker.rtl()) {
590 if (walker.rtl())
620 if (!walker.rtl())
637 int base = walker.rtl()
[all...]
/external/webkit/WebCore/svg/
H A DSVGFont.cpp109 static Vector<SVGGlyphIdentifier::ArabicForm> charactersWithArabicForm(const String& input, bool rtl) argument
128 if (rtl) {
246 Vector<SVGGlyphIdentifier::ArabicForm> chars(charactersWithArabicForm(text, run.rtl()));
491 float xStartOffset = floatWidthOfSubStringUsingSVGFont(this, run, 0, run.rtl() ? to : 0, run.rtl() ? run.length() : from, charsConsumed, glyphName);
520 const SVGGlyphIdentifier& identifier = data.glyphIdentifiers[run.rtl() ? numGlyphs - i - 1 : i];
566 fallbackCharacterRun.setText(&data.fallbackCharacters[run.rtl() ? data.fallbackCharacters.size() - fallbackCharacterIndex - 1 : fallbackCharacterIndex], 1);
585 return FloatRect(point.x() + floatWidthOfSubStringUsingSVGFont(this, run, 0, run.rtl() ? to : 0, run.rtl() ? run.length() : from, charsConsumed, glyphName),
/external/webkit/WebCore/platform/chromium/
H A DPopupMenuChromium.cpp850 bool rtl = false; local
852 rtl = style.textDirection() == RTL;
855 rtl = itemText.defaultWritingDirection() == WTF::Unicode::RightToLeft;
856 TextRun textRun(str, length, false, 0, 0, rtl);
/external/webkit/WebCore/rendering/
H A DRenderTableCell.cpp191 bool rtl = table()->style()->direction() == RTL;
197 if ((left && !rtl) || (right && rtl)) {
203 if ((left && rtl) || (right && !rtl)) {
318 CollapsedBorderValue RenderTableCell::collapsedLeftBorder(bool rtl) const
322 if (!rtl)
334 RenderTableCell* prevCell = rtl ? tableElt->cellAfter(this) : tableElt->cellBefore(this);
336 result = rtl ? compareBorders(result, CollapsedBorderValue(&prevCell->style()->borderRight(), BCELL)) : compareBorders(CollapsedBorderValue(&prevCell->style()->borderRight(), BCELL), result);
354 RenderTableCol* colElt = tableElt->colElement(col() + (rtl
733 bool rtl = table()->style()->direction() == RTL; local
[all...]
H A DRenderTableSection.cpp904 int RenderTableSection::calcOuterBorderLeft(bool rtl) const
918 int leftmostColumn = rtl ? totalCols - 1 : 0;
951 int RenderTableSection::calcOuterBorderRight(bool rtl) const
965 int rightmostColumn = rtl ? 0 : totalCols - 1;
1000 bool rtl = table()->style()->direction() == RTL; local
1003 m_outerBorderLeft = calcOuterBorderLeft(rtl);
1004 m_outerBorderRight = calcOuterBorderRight(rtl);
/external/webkit/WebCore/html/canvas/
H A DCanvasRenderingContext2D.cpp1464 bool rtl = canvas()->computedStyle() ? canvas()->computedStyle()->direction() == RTL : false; local
1469 TextRun textRun(string, length, 0, 0, 0, rtl, override, false, false);
1491 float width = font.width(TextRun(text, false, 0, 0, rtl, override));
1495 align = rtl ? RightTextAlign : LeftTextAlign;
1497 align = rtl ? LeftTextAlign : RightTextAlign;

Completed in 153 milliseconds