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

Side by Side Diff: src/utils/android/SkAndroidSDKCanvas.h

Issue 1263243003: fix tests for android framework build (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | src/utils/android/SkAndroidSDKCanvas.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 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * 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
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkAndroidSDKCanvas_DEFINED 8 #ifndef SkAndroidSDKCanvas_DEFINED
9 #define SkAndroidSDKCanvas_DEFINED 9 #define SkAndroidSDKCanvas_DEFINED
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat h, 65 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat h,
66 const SkMatrix* matrix, const SkPaint& paint) override ; 66 const SkMatrix* matrix, const SkPaint& paint) override ;
67 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, 67 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
68 const SkPaint& paint) override; 68 const SkPaint& paint) override;
69 69
70 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], 70 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
71 const SkPoint texCoords[4], SkXfermode* xmode, 71 const SkPoint texCoords[4], SkXfermode* xmode,
72 const SkPaint& paint) override; 72 const SkPaint& paint) override;
73 73
74 void onDrawImage(const SkImage*, SkScalar, SkScalar, const SkPaint*) overrid e; 74 void onDrawImage(const SkImage*, SkScalar, SkScalar, const SkPaint*) overrid e;
75 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkP aint*) 75 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkP aint*,
76 override; 76 SrcRectConstraint) override;
77 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*); 77 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*);
78 78
79 // PASS THROUGH 79 // PASS THROUGH
80 80
81 void onDrawDrawable(SkDrawable*, const SkMatrix*) override; 81 void onDrawDrawable(SkDrawable*, const SkMatrix*) override;
82 SkISize getBaseLayerSize() const override; 82 SkISize getBaseLayerSize() const override;
83 bool getClipBounds(SkRect*) const override; 83 bool getClipBounds(SkRect*) const override;
84 bool getClipDeviceBounds(SkIRect*) const override; 84 bool getClipDeviceBounds(SkIRect*) const override;
85 bool isClipEmpty() const override; 85 bool isClipEmpty() const override;
86 bool isClipRect() const override; 86 bool isClipRect() const override;
(...skipping 11 matching lines...) Expand all
98 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; 98 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override;
99 void onClipRegion(const SkRegion&, SkRegion::Op) override; 99 void onClipRegion(const SkRegion&, SkRegion::Op) override;
100 void onDiscard() override; 100 void onDiscard() override;
101 101
102 protected: 102 protected:
103 SkCanvas* fProxyTarget; 103 SkCanvas* fProxyTarget;
104 }; 104 };
105 105
106 #endif // SkAndroidSDKCanvas_DEFINED 106 #endif // SkAndroidSDKCanvas_DEFINED
107 107
OLDNEW
« no previous file with comments | « no previous file | src/utils/android/SkAndroidSDKCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698