| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 Google Inc. All rights reserved. | 2 * Copyright (c) 2011 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 } | 165 } |
| 166 if (font->platformData().orientation() == Vertical) | 166 if (font->platformData().orientation() == Vertical) |
| 167 gc->restore(); | 167 gc->restore(); |
| 168 } | 168 } |
| 169 | 169 |
| 170 void Font::drawTextBlob(GraphicsContext*, const SkTextBlob*, const SkPoint&) con
st | 170 void Font::drawTextBlob(GraphicsContext*, const SkTextBlob*, const SkPoint&) con
st |
| 171 { | 171 { |
| 172 // FIXME: Add text blob support to FontMac. | 172 // FIXME: Add text blob support to FontMac. |
| 173 } | 173 } |
| 174 | 174 |
| 175 PassTextBlobPtr Font::buildTextBlob(const GlyphBuffer& glyphBuffer, float initia
lAdvance, const FloatRect& bounds) const | 175 PassTextBlobPtr Font::buildTextBlob(const GlyphBuffer& glyphBuffer, float initia
lAdvance, const FloatRect& bounds, float& advance) const |
| 176 { | 176 { |
| 177 // FIXME: Add text blob support to FontMac. | 177 // FIXME: Add text blob support to FontMac. |
| 178 return nullptr; | 178 return nullptr; |
| 179 } | 179 } |
| 180 | 180 |
| 181 } // namespace blink | 181 } // namespace blink |
| OLD | NEW |