| OLD | NEW |
| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 const SkRect* src, const SkRect& dst, | 91 const SkRect* src, const SkRect& dst, |
| 92 const SkPaint& paint, | 92 const SkPaint& paint, |
| 93 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE
; | 93 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE
; |
| 94 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, | 94 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, |
| 95 const SkMatrix& matrix, const SkPaint&) SK_OVERRIDE; | 95 const SkMatrix& matrix, const SkPaint&) SK_OVERRIDE; |
| 96 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, int x, int y, | 96 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, int x, int y, |
| 97 const SkPaint& paint) SK_OVERRIDE; | 97 const SkPaint& paint) SK_OVERRIDE; |
| 98 virtual void drawText(const SkDraw&, const void* text, size_t len, | 98 virtual void drawText(const SkDraw&, const void* text, size_t len, |
| 99 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; | 99 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; |
| 100 virtual void drawPosText(const SkDraw&, const void* text, size_t len, | 100 virtual void drawPosText(const SkDraw&, const void* text, size_t len, |
| 101 const SkScalar pos[], int scalarsPerPos, | 101 const SkScalar pos[], SkScalar constY, |
| 102 const SkPoint& offset, const SkPaint&) SK_OVERRIDE; | 102 int scalarsPerPos, const SkPaint&) SK_OVERRIDE; |
| 103 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, | 103 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, |
| 104 const SkPath& path, const SkMatrix* matrix, | 104 const SkPath& path, const SkMatrix* matrix, |
| 105 const SkPaint& paint) SK_OVERRIDE; | 105 const SkPaint& paint) SK_OVERRIDE; |
| 106 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, | 106 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, |
| 107 int vertexCount, const SkPoint verts[], | 107 int vertexCount, const SkPoint verts[], |
| 108 const SkPoint texs[], const SkColor colors[], | 108 const SkPoint texs[], const SkColor colors[], |
| 109 SkXfermode* xmode, const uint16_t indices[], | 109 SkXfermode* xmode, const uint16_t indices[], |
| 110 int indexCount, const SkPaint& paint) SK_OVERRIDE; | 110 int indexCount, const SkPaint& paint) SK_OVERRIDE; |
| 111 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, | 111 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, |
| 112 const SkPaint&) SK_OVERRIDE; | 112 const SkPaint&) SK_OVERRIDE; |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 | 336 |
| 337 typedef SkBaseDevice INHERITED; | 337 typedef SkBaseDevice INHERITED; |
| 338 | 338 |
| 339 // TODO(edisonn): Only SkDocument_PDF and SkPDFImageShader should be able to
create | 339 // TODO(edisonn): Only SkDocument_PDF and SkPDFImageShader should be able to
create |
| 340 // an SkPDFDevice | 340 // an SkPDFDevice |
| 341 //friend class SkDocument_PDF; | 341 //friend class SkDocument_PDF; |
| 342 //friend class SkPDFImageShader; | 342 //friend class SkPDFImageShader; |
| 343 }; | 343 }; |
| 344 | 344 |
| 345 #endif | 345 #endif |
| OLD | NEW |