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

Side by Side Diff: src/pdf/SkPDFCanvas.h

Issue 1992283002: Add drawBitmapLattice() API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rewrite picture impls Created 4 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 | « src/gpu/batches/GrNinePatch.cpp ('k') | src/pdf/SkPDFCanvas.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 2016 Google Inc. 2 * Copyright 2016 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 #ifndef SkPDFCanvas_DEFINED 7 #ifndef SkPDFCanvas_DEFINED
8 #define SkPDFCanvas_DEFINED 8 #define SkPDFCanvas_DEFINED
9 9
10 #include "SkCanvas.h" 10 #include "SkCanvas.h"
(...skipping 21 matching lines...) Expand all
32 const SkRect&, 32 const SkRect&,
33 const SkPaint*, 33 const SkPaint*,
34 SkCanvas::SrcRectConstraint) override; 34 SkCanvas::SrcRectConstraint) override;
35 35
36 void onDrawBitmapRect(const SkBitmap&, 36 void onDrawBitmapRect(const SkBitmap&,
37 const SkRect*, 37 const SkRect*,
38 const SkRect&, 38 const SkRect&,
39 const SkPaint*, 39 const SkPaint*,
40 SkCanvas::SrcRectConstraint) override; 40 SkCanvas::SrcRectConstraint) override;
41 41
42 void onDrawImageLattice(const SkImage*,
43 const Lattice& lattice,
44 const SkRect& dst,
45 const SkPaint*) override;
46
42 private: 47 private:
43 typedef SkCanvas INHERITED; 48 typedef SkCanvas INHERITED;
44 }; 49 };
45 50
46 #endif // SkPDFCanvas_DEFINED 51 #endif // SkPDFCanvas_DEFINED
OLDNEW
« no previous file with comments | « src/gpu/batches/GrNinePatch.cpp ('k') | src/pdf/SkPDFCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698