| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #include "../../include/fxcrt/fx_ext.h" | 7 #include "../../include/fxcrt/fx_ext.h" |
| 8 #include "fx_arabic.h" | 8 #include "fx_arabic.h" |
| 9 extern const FX_DWORD gs_FX_TextLayout_CodeProperties[65536]; | 9 extern const FX_DWORD gs_FX_TextLayout_CodeProperties[65536]; |
| 10 IFX_BidiChar* IFX_BidiChar::Create() | 10 IFX_BidiChar* IFX_BidiChar::Create() |
| 11 { | 11 { |
| 12 return FX_NEW CFX_BidiChar; | 12 return new CFX_BidiChar; |
| 13 } | 13 } |
| 14 CFX_BidiChar::CFX_BidiChar() | 14 CFX_BidiChar::CFX_BidiChar() |
| 15 : m_bSeparateNeutral(TRUE) | 15 : m_bSeparateNeutral(TRUE) |
| 16 , m_iCurStart(0) | 16 , m_iCurStart(0) |
| 17 , m_iCurCount(0) | 17 , m_iCurCount(0) |
| 18 , m_iCurBidi(0) | 18 , m_iCurBidi(0) |
| 19 , m_iLastBidi(0) | 19 , m_iLastBidi(0) |
| 20 , m_iLastStart(0) | 20 , m_iLastStart(0) |
| 21 , m_iLastCount(0) | 21 , m_iLastCount(0) |
| 22 { | 22 { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 } | 77 } |
| 78 void CFX_BidiChar::Reset() | 78 void CFX_BidiChar::Reset() |
| 79 { | 79 { |
| 80 m_iCurStart = 0; | 80 m_iCurStart = 0; |
| 81 m_iCurCount = 0; | 81 m_iCurCount = 0; |
| 82 m_iCurBidi = 0; | 82 m_iCurBidi = 0; |
| 83 m_iLastBidi = 0; | 83 m_iLastBidi = 0; |
| 84 m_iLastStart = 0; | 84 m_iLastStart = 0; |
| 85 m_iLastCount = 0; | 85 m_iLastCount = 0; |
| 86 } | 86 } |
| OLD | NEW |