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

Side by Side Diff: src/gpu/GrPath.h

Issue 19449002: Replace all instances of GrRect with SkRect. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 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 | « src/gpu/GrOvalRenderer.cpp ('k') | src/gpu/GrPathUtils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1
2 /* 1 /*
3 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
4 * 3 *
5 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 7
9 #ifndef GrPath_DEFINED 8 #ifndef GrPath_DEFINED
10 #define GrPath_DEFINED 9 #define GrPath_DEFINED
11 10
12 #include "GrResource.h" 11 #include "GrResource.h"
13 #include "GrRect.h" 12 #include "SkRect.h"
14 13
15 class GrPath : public GrResource { 14 class GrPath : public GrResource {
16 public: 15 public:
17 SK_DECLARE_INST_COUNT(GrPath); 16 SK_DECLARE_INST_COUNT(GrPath);
18 17
19 GrPath(GrGpu* gpu, bool isWrapped) : INHERITED(gpu, isWrapped) {} 18 GrPath(GrGpu* gpu, bool isWrapped) : INHERITED(gpu, isWrapped) {}
20 19
21 const GrRect& getBounds() const { return fBounds; } 20 const SkRect& getBounds() const { return fBounds; }
22 21
23 protected: 22 protected:
24 GrRect fBounds; 23 SkRect fBounds;
25 24
26 private: 25 private:
27 typedef GrResource INHERITED; 26 typedef GrResource INHERITED;
28 }; 27 };
29 28
30 #endif 29 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrOvalRenderer.cpp ('k') | src/gpu/GrPathUtils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698