• Home
  • Raw
  • Download

Lines Matching refs:paint

71     static inline bool paintWillNotDraw(const SkPaint& paint) {  in paintWillNotDraw()  argument
72 return paint.getAlpha() == 0 in paintWillNotDraw()
73 && !paint.getColorFilter() in paintWillNotDraw()
74 && getXfermode(paint.getXfermode()) == SkXfermode::kSrcOver_Mode; in paintWillNotDraw()
78 static inline bool paintWillNotDrawText(const SkPaint& paint) { in paintWillNotDrawText() argument
79 return paint.getAlpha() == 0 in paintWillNotDrawText()
80 && paint.getLooper() == NULL in paintWillNotDrawText()
81 && !paint.getColorFilter() in paintWillNotDrawText()
82 && getXfermode(paint.getXfermode()) == SkXfermode::kSrcOver_Mode; in paintWillNotDrawText()
140 const SkPaint* paint, int flags) = 0;
144 SkPaint paint; in saveLayerAlpha() local
145 paint.setAlpha(alpha); in saveLayerAlpha()
146 return saveLayer(left, top, right, bottom, &paint, flags); in saveLayerAlpha()
177 virtual status_t drawBitmap(const SkBitmap* bitmap, const SkPaint* paint) = 0;
180 float dstRight, float dstBottom, const SkPaint* paint) = 0;
181 virtual status_t drawBitmapData(const SkBitmap* bitmap, const SkPaint* paint) = 0;
183 const float* vertices, const int* colors, const SkPaint* paint) = 0;
185 float left, float top, float right, float bottom, const SkPaint* paint) = 0;
189 const SkPaint* paint) = 0;
190 virtual status_t drawRects(const float* rects, int count, const SkPaint* paint) = 0;
192 float rx, float ry, const SkPaint* paint) = 0;
193 virtual status_t drawCircle(float x, float y, float radius, const SkPaint* paint) = 0;
195 const SkPaint* paint) = 0;
197 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) = 0;
198 virtual status_t drawPath(const SkPath* path, const SkPaint* paint) = 0;
199 virtual status_t drawLines(const float* points, int count, const SkPaint* paint) = 0;
200 virtual status_t drawPoints(const float* points, int count, const SkPaint* paint) = 0;
204 const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds,
207 float hOffset, float vOffset, const SkPaint* paint) = 0;
209 const float* positions, const SkPaint* paint) = 0;