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

Side by Side Diff: Source/platform/graphics/GraphicsContext.h

Issue 258293002: Remove unused GraphicsContext::drawEllipse() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/platform/graphics/GraphicsContext.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) 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 // Sets up the paint for the current stroke style. 224 // Sets up the paint for the current stroke style.
225 void setupPaintForStroking(SkPaint*) const; 225 void setupPaintForStroking(SkPaint*) const;
226 226
227 // These draw methods will do both stroking and filling. 227 // These draw methods will do both stroking and filling.
228 // FIXME: ...except drawRect(), which fills properly but always strokes 228 // FIXME: ...except drawRect(), which fills properly but always strokes
229 // using a 1-pixel stroke inset from the rect borders (of the correct 229 // using a 1-pixel stroke inset from the rect borders (of the correct
230 // stroke color). 230 // stroke color).
231 void drawRect(const IntRect&); 231 void drawRect(const IntRect&);
232 void drawLine(const IntPoint&, const IntPoint&); 232 void drawLine(const IntPoint&, const IntPoint&);
233 void drawEllipse(const IntRect&);
234 void drawConvexPolygon(size_t numPoints, const FloatPoint*, bool shouldAntia lias = false); 233 void drawConvexPolygon(size_t numPoints, const FloatPoint*, bool shouldAntia lias = false);
235 234
236 void fillPath(const Path&); 235 void fillPath(const Path&);
237 void strokePath(const Path&); 236 void strokePath(const Path&);
238 237
239 void fillEllipse(const FloatRect&); 238 void fillEllipse(const FloatRect&);
240 void strokeEllipse(const FloatRect&); 239 void strokeEllipse(const FloatRect&);
241 240
242 void fillRect(const FloatRect&); 241 void fillRect(const FloatRect&);
243 void fillRect(const FloatRect&, const Color&); 242 void fillRect(const FloatRect&, const Color&);
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 bool m_updatingControlTints : 1; 513 bool m_updatingControlTints : 1;
515 bool m_accelerated : 1; 514 bool m_accelerated : 1;
516 bool m_isCertainlyOpaque : 1; 515 bool m_isCertainlyOpaque : 1;
517 bool m_printing : 1; 516 bool m_printing : 1;
518 bool m_antialiasHairlineImages : 1; 517 bool m_antialiasHairlineImages : 1;
519 }; 518 };
520 519
521 } // namespace WebCore 520 } // namespace WebCore
522 521
523 #endif // GraphicsContext_h 522 #endif // GraphicsContext_h
OLDNEW
« no previous file with comments | « no previous file | Source/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698