| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 , m_actualBoundingBoxLeft(0) | 82 , m_actualBoundingBoxLeft(0) |
| 83 , m_actualBoundingBoxRight(0) | 83 , m_actualBoundingBoxRight(0) |
| 84 , m_fontBoundingBoxAscent(0) | 84 , m_fontBoundingBoxAscent(0) |
| 85 , m_fontBoundingBoxDescent(0) | 85 , m_fontBoundingBoxDescent(0) |
| 86 , m_actualBoundingBoxAscent(0) | 86 , m_actualBoundingBoxAscent(0) |
| 87 , m_actualBoundingBoxDescent(0) | 87 , m_actualBoundingBoxDescent(0) |
| 88 , m_emHeightAscent(0) | 88 , m_emHeightAscent(0) |
| 89 , m_emHeightDescent(0) | 89 , m_emHeightDescent(0) |
| 90 , m_hangingBaseline(0) | 90 , m_hangingBaseline(0) |
| 91 , m_alphabeticBaseline(0) | 91 , m_alphabeticBaseline(0) |
| 92 , m_ideographicBaseline(0) | 92 , m_ideographicBaseline(0) { } |
| 93 { | |
| 94 ScriptWrappable::init(this); | |
| 95 } | |
| 96 | 93 |
| 97 // x-direction | 94 // x-direction |
| 98 float m_width; | 95 float m_width; |
| 99 float m_actualBoundingBoxLeft; | 96 float m_actualBoundingBoxLeft; |
| 100 float m_actualBoundingBoxRight; | 97 float m_actualBoundingBoxRight; |
| 101 | 98 |
| 102 // y-direction | 99 // y-direction |
| 103 float m_fontBoundingBoxAscent; | 100 float m_fontBoundingBoxAscent; |
| 104 float m_fontBoundingBoxDescent; | 101 float m_fontBoundingBoxDescent; |
| 105 float m_actualBoundingBoxAscent; | 102 float m_actualBoundingBoxAscent; |
| 106 float m_actualBoundingBoxDescent; | 103 float m_actualBoundingBoxDescent; |
| 107 float m_emHeightAscent; | 104 float m_emHeightAscent; |
| 108 float m_emHeightDescent; | 105 float m_emHeightDescent; |
| 109 float m_hangingBaseline; | 106 float m_hangingBaseline; |
| 110 float m_alphabeticBaseline; | 107 float m_alphabeticBaseline; |
| 111 float m_ideographicBaseline; | 108 float m_ideographicBaseline; |
| 112 }; | 109 }; |
| 113 | 110 |
| 114 } // namespace blink | 111 } // namespace blink |
| 115 | 112 |
| 116 #endif // TextMetrics_h | 113 #endif // TextMetrics_h |
| OLD | NEW |