HomeSort by relevance Sort by last modified time
    Searched refs:CFX_BidiChar (Results 1 - 4 of 4) sorted by null

  /external/pdfium/core/fxcrt/
fx_bidi.h 17 class CFX_BidiChar {
26 CFX_BidiChar();
43 void StartNewSegment(CFX_BidiChar::Direction direction);
51 using const_iterator = std::vector<CFX_BidiChar::Segment>::const_iterator;
57 CFX_BidiChar::Direction OverallDirection() const {
70 std::unique_ptr<CFX_BidiChar> m_pBidiChar;
71 std::vector<CFX_BidiChar::Segment> m_Order;
72 CFX_BidiChar::Direction m_eOverallDirection;
fx_bidi.cpp 12 CFX_BidiChar::CFX_BidiChar()
15 bool CFX_BidiChar::AppendChar(FX_WCHAR wch) {
39 bool CFX_BidiChar::EndChar() {
44 void CFX_BidiChar::StartNewSegment(CFX_BidiChar::Direction direction) {
53 m_pBidiChar(new CFX_BidiChar),
54 m_eOverallDirection(CFX_BidiChar::LEFT) {
63 [](const CFX_BidiChar::Segment& seg) {
64 return seg.direction == CFX_BidiChar::RIGHT
    [all...]
fx_bidi_unittest.cpp 17 CFX_BidiChar bidi;
18 CFX_BidiChar::Segment info;
21 EXPECT_EQ(CFX_BidiChar::NEUTRAL, info.direction);
28 CFX_BidiChar bidi;
29 CFX_BidiChar::Segment info;
40 EXPECT_EQ(CFX_BidiChar::NEUTRAL, info.direction);
46 EXPECT_EQ(CFX_BidiChar::LEFT, info.direction);
54 CFX_BidiChar bidi;
55 CFX_BidiChar::Segment info;
74 EXPECT_EQ(CFX_BidiChar::NEUTRAL, info.direction)
    [all...]
  /external/pdfium/core/fpdftext/
cpdf_textpage.cpp 724 CFX_BidiChar::Direction eCurrentDirection = bidi.OverallDirection();
726 if (segment.direction == CFX_BidiChar::RIGHT ||
727 (segment.direction == CFX_BidiChar::NEUTRAL &&
728 eCurrentDirection == CFX_BidiChar::RIGHT)) {
729 eCurrentDirection = CFX_BidiChar::RIGHT;
733 eCurrentDirection = CFX_BidiChar::LEFT;
960 return CFX_BidiString(str).OverallDirection() == CFX_BidiChar::RIGHT;
    [all...]

Completed in 142 milliseconds