| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv
ed. |
| 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 RefPtrWillBeMember<CanvasStyle> m_strokeStyle; | 251 RefPtrWillBeMember<CanvasStyle> m_strokeStyle; |
| 252 RefPtrWillBeMember<CanvasStyle> m_fillStyle; | 252 RefPtrWillBeMember<CanvasStyle> m_fillStyle; |
| 253 float m_lineWidth; | 253 float m_lineWidth; |
| 254 LineCap m_lineCap; | 254 LineCap m_lineCap; |
| 255 LineJoin m_lineJoin; | 255 LineJoin m_lineJoin; |
| 256 float m_miterLimit; | 256 float m_miterLimit; |
| 257 FloatSize m_shadowOffset; | 257 FloatSize m_shadowOffset; |
| 258 float m_shadowBlur; | 258 float m_shadowBlur; |
| 259 RGBA32 m_shadowColor; | 259 RGBA32 m_shadowColor; |
| 260 float m_globalAlpha; | 260 float m_globalAlpha; |
| 261 CompositeOperator m_globalComposite; | 261 SkXfermode::Mode m_globalComposite; |
| 262 WebBlendMode m_globalBlend; | |
| 263 AffineTransform m_transform; | 262 AffineTransform m_transform; |
| 264 bool m_invertibleCTM; | 263 bool m_invertibleCTM; |
| 265 Vector<float> m_lineDash; | 264 Vector<float> m_lineDash; |
| 266 float m_lineDashOffset; | 265 float m_lineDashOffset; |
| 267 bool m_imageSmoothingEnabled; | 266 bool m_imageSmoothingEnabled; |
| 268 | 267 |
| 269 // Text state. | 268 // Text state. |
| 270 TextAlign m_textAlign; | 269 TextAlign m_textAlign; |
| 271 TextBaseline m_textBaseline; | 270 TextBaseline m_textBaseline; |
| 272 Direction m_direction; | 271 Direction m_direction; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 Timer<CanvasRenderingContext2D> m_dispatchContextLostEventTimer; | 359 Timer<CanvasRenderingContext2D> m_dispatchContextLostEventTimer; |
| 361 Timer<CanvasRenderingContext2D> m_dispatchContextRestoredEventTimer; | 360 Timer<CanvasRenderingContext2D> m_dispatchContextRestoredEventTimer; |
| 362 Timer<CanvasRenderingContext2D> m_tryRestoreContextEventTimer; | 361 Timer<CanvasRenderingContext2D> m_tryRestoreContextEventTimer; |
| 363 }; | 362 }; |
| 364 | 363 |
| 365 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, con
text->is2d(), context.is2d()); | 364 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, con
text->is2d(), context.is2d()); |
| 366 | 365 |
| 367 } // namespace blink | 366 } // namespace blink |
| 368 | 367 |
| 369 #endif // CanvasRenderingContext2D_h | 368 #endif // CanvasRenderingContext2D_h |
| OLD | NEW |