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

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

Issue 14972014: Remove an overloaded strokeRect in <canvas> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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
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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 void fill(const String& winding = "nonzero"); 142 void fill(const String& winding = "nonzero");
143 void stroke(); 143 void stroke();
144 void clip(const String& winding = "nonzero"); 144 void clip(const String& winding = "nonzero");
145 145
146 bool isPointInPath(const float x, const float y, const String& winding = "no nzero"); 146 bool isPointInPath(const float x, const float y, const String& winding = "no nzero");
147 bool isPointInStroke(const float x, const float y); 147 bool isPointInStroke(const float x, const float y);
148 148
149 void clearRect(float x, float y, float width, float height); 149 void clearRect(float x, float y, float width, float height);
150 void fillRect(float x, float y, float width, float height); 150 void fillRect(float x, float y, float width, float height);
151 void strokeRect(float x, float y, float width, float height); 151 void strokeRect(float x, float y, float width, float height);
152 void strokeRect(float x, float y, float width, float height, float lineWidth );
153 152
154 void setShadow(float width, float height, float blur); 153 void setShadow(float width, float height, float blur);
155 void setShadow(float width, float height, float blur, const String& color); 154 void setShadow(float width, float height, float blur, const String& color);
156 void setShadow(float width, float height, float blur, float grayLevel); 155 void setShadow(float width, float height, float blur, float grayLevel);
157 void setShadow(float width, float height, float blur, const String& color, f loat alpha); 156 void setShadow(float width, float height, float blur, const String& color, f loat alpha);
158 void setShadow(float width, float height, float blur, float grayLevel, float alpha); 157 void setShadow(float width, float height, float blur, float grayLevel, float alpha);
159 void setShadow(float width, float height, float blur, float r, float g, floa t b, float a); 158 void setShadow(float width, float height, float blur, float r, float g, floa t b, float a);
160 void setShadow(float width, float height, float blur, float c, float m, floa t y, float k, float a); 159 void setShadow(float width, float height, float blur, float c, float m, floa t y, float k, float a);
161 160
162 void clearShadow(); 161 void clearShadow();
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 326
328 Vector<State, 1> m_stateStack; 327 Vector<State, 1> m_stateStack;
329 unsigned m_unrealizedSaveCount; 328 unsigned m_unrealizedSaveCount;
330 bool m_usesCSSCompatibilityParseMode; 329 bool m_usesCSSCompatibilityParseMode;
331 bool m_hasAlpha; 330 bool m_hasAlpha;
332 }; 331 };
333 332
334 } // namespace WebCore 333 } // namespace WebCore
335 334
336 #endif 335 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698