Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Side by Side Diff: Source/core/html/canvas/CanvasRenderingContext2D.h

Issue 661053003: Make beginLayer() and CanvasRenderingContext2D use SkXfermode::Mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase to ToT Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/html/canvas/CanvasRenderingContext2D.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/canvas/CanvasRenderingContext2D.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698