OLD | NEW |
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 10 matching lines...) Expand all Loading... |
21 /** This will take a ref of h */ | 21 /** This will take a ref of h */ |
22 SkBBoxHierarchyRecord(const SkISize& size, uint32_t recordFlags, SkBBoxHiera
rchy* h); | 22 SkBBoxHierarchyRecord(const SkISize& size, uint32_t recordFlags, SkBBoxHiera
rchy* h); |
23 virtual ~SkBBoxHierarchyRecord() { }; | 23 virtual ~SkBBoxHierarchyRecord() { }; |
24 | 24 |
25 virtual void handleBBox(const SkRect& bounds) SK_OVERRIDE; | 25 virtual void handleBBox(const SkRect& bounds) SK_OVERRIDE; |
26 | 26 |
27 // Implementation of the SkBBoxHierarchyClient interface | 27 // Implementation of the SkBBoxHierarchyClient interface |
28 virtual bool shouldRewind(void* data) SK_OVERRIDE; | 28 virtual bool shouldRewind(void* data) SK_OVERRIDE; |
29 | 29 |
30 protected: | 30 protected: |
31 virtual void willSave(SaveFlags) SK_OVERRIDE; | 31 virtual void willSave() SK_OVERRIDE; |
32 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF
lags) SK_OVERRIDE; | 32 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF
lags) SK_OVERRIDE; |
33 virtual void willRestore() SK_OVERRIDE; | 33 virtual void willRestore() SK_OVERRIDE; |
34 | 34 |
35 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; | 35 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; |
36 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; | 36 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; |
37 | 37 |
38 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 38 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
39 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; | 39 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; |
40 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 40 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
41 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; | 41 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; |
42 | 42 |
43 private: | 43 private: |
44 typedef SkBBoxRecord INHERITED; | 44 typedef SkBBoxRecord INHERITED; |
45 }; | 45 }; |
46 | 46 |
47 #endif | 47 #endif |
OLD | NEW |