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

Side by Side Diff: src/core/SkBBoxHierarchyRecord.h

Issue 203203004: Consolidate SkCanvas matrix virtuals. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Updated per review. Created 6 years, 9 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 | « include/utils/SkProxyCanvas.h ('k') | src/core/SkBBoxHierarchyRecord.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 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef SkRTreeCanvas_DEFINED 9 #ifndef SkRTreeCanvas_DEFINED
10 #define SkRTreeCanvas_DEFINED 10 #define SkRTreeCanvas_DEFINED
(...skipping 13 matching lines...) Expand all
24 virtual void handleBBox(const SkRect& bounds) SK_OVERRIDE; 24 virtual void handleBBox(const SkRect& bounds) SK_OVERRIDE;
25 25
26 // Implementation of the SkBBoxHierarchyClient interface 26 // Implementation of the SkBBoxHierarchyClient interface
27 virtual bool shouldRewind(void* data) SK_OVERRIDE; 27 virtual bool shouldRewind(void* data) SK_OVERRIDE;
28 28
29 protected: 29 protected:
30 virtual void willSave(SaveFlags) SK_OVERRIDE; 30 virtual void willSave(SaveFlags) SK_OVERRIDE;
31 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE; 31 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE;
32 virtual void willRestore() SK_OVERRIDE; 32 virtual void willRestore() SK_OVERRIDE;
33 33
34 virtual void didTranslate(SkScalar, SkScalar) SK_OVERRIDE;
35 virtual void didScale(SkScalar, SkScalar) SK_OVERRIDE;
36 virtual void didRotate(SkScalar) SK_OVERRIDE;
37 virtual void didSkew(SkScalar, SkScalar) SK_OVERRIDE;
38 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; 34 virtual void didConcat(const SkMatrix&) SK_OVERRIDE;
39 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; 35 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE;
40 36
41 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE; 37 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE;
42 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE RRIDE; 38 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE RRIDE;
43 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE; 39 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE;
44 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; 40 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE;
45 41
46 private: 42 private:
47 typedef SkBBoxRecord INHERITED; 43 typedef SkBBoxRecord INHERITED;
48 }; 44 };
49 45
50 #endif 46 #endif
OLDNEW
« no previous file with comments | « include/utils/SkProxyCanvas.h ('k') | src/core/SkBBoxHierarchyRecord.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698