| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008-2009 Torch Mobile, Inc. | 3 * Copyright (C) 2008-2009 Torch Mobile, Inc. |
| 4 * Copyright (C) 2013 Google Inc. All rights reserved. | 4 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 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 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 void fillRect(const FloatRect&, | 170 void fillRect(const FloatRect&, |
| 171 const Color&, | 171 const Color&, |
| 172 SkBlendMode = SkBlendMode::kSrcOver); | 172 SkBlendMode = SkBlendMode::kSrcOver); |
| 173 void fillRoundedRect(const FloatRoundedRect&, const Color&); | 173 void fillRoundedRect(const FloatRoundedRect&, const Color&); |
| 174 void fillDRRect(const FloatRoundedRect&, | 174 void fillDRRect(const FloatRoundedRect&, |
| 175 const FloatRoundedRect&, | 175 const FloatRoundedRect&, |
| 176 const Color&); | 176 const Color&); |
| 177 | 177 |
| 178 void strokeRect(const FloatRect&, float lineWidth); | 178 void strokeRect(const FloatRect&, float lineWidth); |
| 179 | 179 |
| 180 void drawRecord(const PaintRecord*); | 180 void drawRecord(sk_sp<const PaintRecord>); |
| 181 void compositeRecord(sk_sp<PaintRecord>, | 181 void compositeRecord(sk_sp<PaintRecord>, |
| 182 const FloatRect& dest, | 182 const FloatRect& dest, |
| 183 const FloatRect& src, | 183 const FloatRect& src, |
| 184 SkBlendMode); | 184 SkBlendMode); |
| 185 | 185 |
| 186 void drawImage(Image*, | 186 void drawImage(Image*, |
| 187 const FloatRect& destRect, | 187 const FloatRect& destRect, |
| 188 const FloatRect* srcRect = nullptr, | 188 const FloatRect* srcRect = nullptr, |
| 189 SkBlendMode = SkBlendMode::kSrcOver, | 189 SkBlendMode = SkBlendMode::kSrcOver, |
| 190 RespectImageOrientationEnum = DoNotRespectImageOrientation); | 190 RespectImageOrientationEnum = DoNotRespectImageOrientation); |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 | 442 |
| 443 float m_deviceScaleFactor; | 443 float m_deviceScaleFactor; |
| 444 | 444 |
| 445 unsigned m_printing : 1; | 445 unsigned m_printing : 1; |
| 446 unsigned m_hasMetaData : 1; | 446 unsigned m_hasMetaData : 1; |
| 447 }; | 447 }; |
| 448 | 448 |
| 449 } // namespace blink | 449 } // namespace blink |
| 450 | 450 |
| 451 #endif // GraphicsContext_h | 451 #endif // GraphicsContext_h |
| OLD | NEW |