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

Side by Side Diff: include/pdf/SkPDFDevice.h

Issue 48623006: Add ability to ninepatch blurred rounded rectangle (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Address nit (static function name) Created 7 years, 1 month 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/core/SkMaskFilter.h ('k') | src/core/SkBitmapDevice.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 2011 Google Inc. 3 * Copyright 2011 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 9
10 #ifndef SkPDFDevice_DEFINED 10 #ifndef SkPDFDevice_DEFINED
(...skipping 15 matching lines...) Expand all
26 class SkPDFDevice; 26 class SkPDFDevice;
27 class SkPDFDict; 27 class SkPDFDict;
28 class SkPDFFont; 28 class SkPDFFont;
29 class SkPDFFormXObject; 29 class SkPDFFormXObject;
30 class SkPDFGlyphSetMap; 30 class SkPDFGlyphSetMap;
31 class SkPDFGraphicState; 31 class SkPDFGraphicState;
32 class SkPDFObject; 32 class SkPDFObject;
33 class SkPDFResourceDict; 33 class SkPDFResourceDict;
34 class SkPDFShader; 34 class SkPDFShader;
35 class SkPDFStream; 35 class SkPDFStream;
36 class SkRRect;
36 template <typename T> class SkTSet; 37 template <typename T> class SkTSet;
37 38
38 // Private classes. 39 // Private classes.
39 struct ContentEntry; 40 struct ContentEntry;
40 struct GraphicStateEntry; 41 struct GraphicStateEntry;
41 struct NamedDestination; 42 struct NamedDestination;
42 43
43 /** \class SkPDFDevice 44 /** \class SkPDFDevice
44 45
45 The drawing context for the PDF backend. 46 The drawing context for the PDF backend.
(...skipping 30 matching lines...) Expand all
76 /** These are called inside the per-device-layer loop for each draw call. 77 /** These are called inside the per-device-layer loop for each draw call.
77 When these are called, we have already applied any saveLayer operations, 78 When these are called, we have already applied any saveLayer operations,
78 and are handling any looping from the paint, and any effects from the 79 and are handling any looping from the paint, and any effects from the
79 DrawFilter. 80 DrawFilter.
80 */ 81 */
81 virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE; 82 virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE;
82 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, 83 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode,
83 size_t count, const SkPoint[], 84 size_t count, const SkPoint[],
84 const SkPaint& paint) SK_OVERRIDE; 85 const SkPaint& paint) SK_OVERRIDE;
85 virtual void drawRect(const SkDraw&, const SkRect& r, const SkPaint& paint); 86 virtual void drawRect(const SkDraw&, const SkRect& r, const SkPaint& paint);
87 virtual void drawRRect(const SkDraw&, const SkRRect& rr,
88 const SkPaint& paint) SK_OVERRIDE;
86 virtual void drawPath(const SkDraw&, const SkPath& origpath, 89 virtual void drawPath(const SkDraw&, const SkPath& origpath,
87 const SkPaint& paint, const SkMatrix* prePathMatrix, 90 const SkPaint& paint, const SkMatrix* prePathMatrix,
88 bool pathIsMutable) SK_OVERRIDE; 91 bool pathIsMutable) SK_OVERRIDE;
89 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, 92 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap,
90 const SkRect* src, const SkRect& dst, 93 const SkRect* src, const SkRect& dst,
91 const SkPaint& paint, 94 const SkPaint& paint,
92 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE ; 95 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE ;
93 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, 96 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap,
94 const SkMatrix& matrix, const SkPaint&) SK_OVERRIDE; 97 const SkMatrix& matrix, const SkPaint&) SK_OVERRIDE;
95 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, int x, int y, 98 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, int x, int y,
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 332
330 typedef SkBitmapDevice INHERITED; 333 typedef SkBitmapDevice INHERITED;
331 334
332 // TODO(edisonn): Only SkDocument_PDF and SkPDFImageShader should be able to create 335 // TODO(edisonn): Only SkDocument_PDF and SkPDFImageShader should be able to create
333 // an SkPDFDevice 336 // an SkPDFDevice
334 //friend class SkDocument_PDF; 337 //friend class SkDocument_PDF;
335 //friend class SkPDFImageShader; 338 //friend class SkPDFImageShader;
336 }; 339 };
337 340
338 #endif 341 #endif
OLDNEW
« no previous file with comments | « include/core/SkMaskFilter.h ('k') | src/core/SkBitmapDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698