| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 const SkMatrix& matrix, const SkPaint&) SK_OVERRIDE; | 93 const SkMatrix& matrix, const SkPaint&) SK_OVERRIDE; |
| 94 void drawSprite(const SkDraw&, const SkBitmap& bitmap, int x, int y, | 94 void drawSprite(const SkDraw&, const SkBitmap& bitmap, int x, int y, |
| 95 const SkPaint& paint) SK_OVERRIDE; | 95 const SkPaint& paint) SK_OVERRIDE; |
| 96 void drawText(const SkDraw&, const void* text, size_t len, | 96 void drawText(const SkDraw&, const void* text, size_t len, |
| 97 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; | 97 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; |
| 98 void drawPosText(const SkDraw&, const void* text, size_t len, | 98 void drawPosText(const SkDraw&, const void* text, size_t len, |
| 99 const SkScalar pos[], int scalarsPerPos, | 99 const SkScalar pos[], int scalarsPerPos, |
| 100 const SkPoint& offset, const SkPaint&) SK_OVERRIDE; | 100 const SkPoint& offset, const SkPaint&) SK_OVERRIDE; |
| 101 void drawTextOnPath(const SkDraw&, const void* text, size_t len, | 101 void drawTextOnPath(const SkDraw&, const void* text, size_t len, |
| 102 const SkPath& path, const SkMatrix* matrix, | 102 const SkPath& path, const SkMatrix* matrix, |
| 103 const SkPaint& paint) SK_OVERRIDE; | 103 SK_SUPPORT_LEGACY_DRAWTEXTONPATH_PARAM const SkPaint& pa
int) SK_OVERRIDE; |
| 104 void drawVertices(const SkDraw&, SkCanvas::VertexMode, | 104 void drawVertices(const SkDraw&, SkCanvas::VertexMode, |
| 105 int vertexCount, const SkPoint verts[], | 105 int vertexCount, const SkPoint verts[], |
| 106 const SkPoint texs[], const SkColor colors[], | 106 const SkPoint texs[], const SkColor colors[], |
| 107 SkXfermode* xmode, const uint16_t indices[], | 107 SkXfermode* xmode, const uint16_t indices[], |
| 108 int indexCount, const SkPaint& paint) SK_OVERRIDE; | 108 int indexCount, const SkPaint& paint) SK_OVERRIDE; |
| 109 void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, | 109 void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, |
| 110 const SkPaint&) SK_OVERRIDE; | 110 const SkPaint&) SK_OVERRIDE; |
| 111 | 111 |
| 112 void onAttachToCanvas(SkCanvas* canvas) SK_OVERRIDE; | 112 void onAttachToCanvas(SkCanvas* canvas) SK_OVERRIDE; |
| 113 void onDetachFromCanvas() SK_OVERRIDE; | 113 void onDetachFromCanvas() SK_OVERRIDE; |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 | 330 |
| 331 typedef SkBaseDevice INHERITED; | 331 typedef SkBaseDevice INHERITED; |
| 332 | 332 |
| 333 // TODO(edisonn): Only SkDocument_PDF and SkPDFImageShader should be able to
create | 333 // TODO(edisonn): Only SkDocument_PDF and SkPDFImageShader should be able to
create |
| 334 // an SkPDFDevice | 334 // an SkPDFDevice |
| 335 //friend class SkDocument_PDF; | 335 //friend class SkDocument_PDF; |
| 336 //friend class SkPDFImageShader; | 336 //friend class SkPDFImageShader; |
| 337 }; | 337 }; |
| 338 | 338 |
| 339 #endif | 339 #endif |
| OLD | NEW |