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

Side by Side Diff: experimental/PdfViewer/SkNulCanvas.h

Issue 1240573008: Updated PDFViewer drawImageRect() overrides (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | experimental/PdfViewer/SkTrackDevice.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 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 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 SkNulCanvas_DEFINED 8 #ifndef SkNulCanvas_DEFINED
9 #define SkNulCanvas_DEFINED 9 #define SkNulCanvas_DEFINED
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 const SkPaint& paint) override {} 75 const SkPaint& paint) override {}
76 void onDrawRect(const SkRect& rect, const SkPaint& paint) override {} 76 void onDrawRect(const SkRect& rect, const SkPaint& paint) override {}
77 void onDrawOval(const SkRect& oval, const SkPaint&) override {} 77 void onDrawOval(const SkRect& oval, const SkPaint&) override {}
78 void onDrawRRect(const SkRRect& rrect, const SkPaint& paint) override {} 78 void onDrawRRect(const SkRRect& rrect, const SkPaint& paint) override {}
79 void onDrawPath(const SkPath& path, const SkPaint& paint) override {} 79 void onDrawPath(const SkPath& path, const SkPaint& paint) override {}
80 void onDrawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, 80 void onDrawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top,
81 const SkPaint* paint = NULL) override {} 81 const SkPaint* paint = NULL) override {}
82 void onDrawBitmapRect(const SkBitmap& bitmap, const SkRect* src, 82 void onDrawBitmapRect(const SkBitmap& bitmap, const SkRect* src,
83 const SkRect& dst, 83 const SkRect& dst,
84 const SkPaint* paint, 84 const SkPaint* paint,
85 DrawBitmapRectFlags flags) override {} 85 SK_VIRTUAL_CONSTRAINT_TYPE) override {}
86 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override {} 86 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override {}
87 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, 87 void onDrawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkP aint*
88 const SkPaint*) override{} 88 SRC_RECT_CONSTRAINT_PARAM(constraint)) override {}
89 void onDrawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, 89 void onDrawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
90 const SkRect& dst, const SkPaint* paint = NULL) overri de {} 90 const SkRect& dst, const SkPaint* paint = NULL) overri de {}
91 void onDrawSprite(const SkBitmap& bitmap, int left, int top, 91 void onDrawSprite(const SkBitmap& bitmap, int left, int top,
92 const SkPaint* paint = NULL) override {} 92 const SkPaint* paint = NULL) override {}
93 void onDrawVertices(VertexMode vmode, int vertexCount, 93 void onDrawVertices(VertexMode vmode, int vertexCount,
94 const SkPoint vertices[], const SkPoint texs[], 94 const SkPoint vertices[], const SkPoint texs[],
95 const SkColor colors[], SkXfermode* xmode, 95 const SkColor colors[], SkXfermode* xmode,
96 const uint16_t indices[], int indexCount, 96 const uint16_t indices[], int indexCount,
97 const SkPaint& paint) override {} 97 const SkPaint& paint) override {}
98 98
99 99
100 private: 100 private:
101 typedef SkCanvas INHERITED; 101 typedef SkCanvas INHERITED;
102 }; 102 };
103 103
104 #endif // SkNulCanvas_DEFINED 104 #endif // SkNulCanvas_DEFINED
OLDNEW
« no previous file with comments | « no previous file | experimental/PdfViewer/SkTrackDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698