OLD | NEW |
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 | 7 |
8 #ifndef SkLiteDL_DEFINED | 8 #ifndef SkLiteDL_DEFINED |
9 #define SkLiteDL_DEFINED | 9 #define SkLiteDL_DEFINED |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 void drawPosText (const void*, size_t, const SkPoint[], const SkPaint&); | 56 void drawPosText (const void*, size_t, const SkPoint[], const SkPaint&); |
57 void drawPosTextH (const void*, size_t, const SkScalar[], SkScalar, const
SkPaint&); | 57 void drawPosTextH (const void*, size_t, const SkScalar[], SkScalar, const
SkPaint&); |
58 void drawTextOnPath (const void*, size_t, const SkPath&, const SkMatrix*, co
nst SkPaint&); | 58 void drawTextOnPath (const void*, size_t, const SkPath&, const SkMatrix*, co
nst SkPaint&); |
59 void drawTextRSXform(const void*, size_t, const SkRSXform[], const SkRect*,
const SkPaint&); | 59 void drawTextRSXform(const void*, size_t, const SkRSXform[], const SkRect*,
const SkPaint&); |
60 void drawTextBlob (const SkTextBlob*, SkScalar,SkScalar, const SkPaint&); | 60 void drawTextBlob (const SkTextBlob*, SkScalar,SkScalar, const SkPaint&); |
61 | 61 |
62 void drawBitmap (const SkBitmap&, SkScalar, SkScalar, const Sk
Paint*); | 62 void drawBitmap (const SkBitmap&, SkScalar, SkScalar, const Sk
Paint*); |
63 void drawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, const Sk
Paint*); | 63 void drawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, const Sk
Paint*); |
64 void drawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const Sk
Paint*, | 64 void drawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const Sk
Paint*, |
65 SkCanvas::SrcRectConstraint); | 65 SkCanvas::SrcRectConstraint); |
| 66 void drawBitmapLattice(const SkBitmap&, const SkCanvas::Lattice&, const SkRe
ct&, |
| 67 const SkPaint*); |
66 | 68 |
67 void drawImage (const SkImage*, SkScalar,SkScalar, const SkPa
int*); | 69 void drawImage (const SkImage*, SkScalar,SkScalar, const SkPa
int*); |
68 void drawImageNine(const SkImage*, const SkIRect&, const SkRect&, const SkPa
int*); | 70 void drawImageNine(const SkImage*, const SkIRect&, const SkRect&, const SkPa
int*); |
69 void drawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPa
int*, | 71 void drawImageRect(const SkImage*, const SkRect*, const SkRect&, const SkPa
int*, |
70 SkCanvas::SrcRectConstraint); | 72 SkCanvas::SrcRectConstraint); |
71 void drawImageLattice(const SkImage*, const SkCanvas::Lattice&, const SkRect
&, const SkPaint*); | 73 void drawImageLattice(const SkImage*, const SkCanvas::Lattice&, const SkRect
&, const SkPaint*); |
72 | 74 |
73 void drawPatch(const SkPoint[12], const SkColor[4], const SkPoint[4], | 75 void drawPatch(const SkPoint[12], const SkColor[4], const SkPoint[4], |
74 SkXfermode*, const SkPaint&); | 76 SkXfermode*, const SkPaint&); |
75 void drawPoints(SkCanvas::PointMode, size_t, const SkPoint[], const SkPaint&
); | 77 void drawPoints(SkCanvas::PointMode, size_t, const SkPoint[], const SkPaint&
); |
(...skipping 21 matching lines...) Expand all Loading... |
97 size_t fUsed; | 99 size_t fUsed; |
98 size_t fReserved; | 100 size_t fReserved; |
99 SkRect fBounds; | 101 SkRect fBounds; |
100 | 102 |
101 // Only used for freelisting. | 103 // Only used for freelisting. |
102 SkLiteDL* fNext; | 104 SkLiteDL* fNext; |
103 int fUsesRemaining; | 105 int fUsesRemaining; |
104 }; | 106 }; |
105 | 107 |
106 #endif//SkLiteDL_DEFINED | 108 #endif//SkLiteDL_DEFINED |
OLD | NEW |