| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * Copyright (C) 2013 Xidorn Quan (quanxunzhen@gmail.com) | 4 * Copyright (C) 2013 Xidorn Quan (quanxunzhen@gmail.com) |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 | 251 |
| 252 String FloatQuad::toString() const | 252 String FloatQuad::toString() const |
| 253 { | 253 { |
| 254 return String::format("%s; %s; %s; %s", | 254 return String::format("%s; %s; %s; %s", |
| 255 m_p1.toString().ascii().data(), | 255 m_p1.toString().ascii().data(), |
| 256 m_p2.toString().ascii().data(), | 256 m_p2.toString().ascii().data(), |
| 257 m_p3.toString().ascii().data(), | 257 m_p3.toString().ascii().data(), |
| 258 m_p4.toString().ascii().data()); | 258 m_p4.toString().ascii().data()); |
| 259 } | 259 } |
| 260 | 260 |
| 261 std::ostream& operator<<(std::ostream& ostream, const FloatQuad& quad) |
| 262 { |
| 263 return ostream << quad.toString(); |
| 264 } |
| 265 |
| 261 } // namespace blink | 266 } // namespace blink |
| OLD | NEW |