Lines Matching refs:paint
33 float rx, float ry, SkPaint* paint) {
34 RoundRectShapeCacheEntry entry(width, height, rx, ry, paint);
43 texture = addTexture(entry, &path, paint);
57 PathTexture* CircleShapeCache::getCircle(float radius, SkPaint* paint) {
58 CircleShapeCacheEntry entry(radius, paint);
65 texture = addTexture(entry, &path, paint);
79 PathTexture* OvalShapeCache::getOval(float width, float height, SkPaint* paint) {
80 OvalShapeCacheEntry entry(width, height, paint);
89 texture = addTexture(entry, &path, paint);
103 PathTexture* RectShapeCache::getRect(float width, float height, SkPaint* paint) {
104 RectShapeCacheEntry entry(width, height, paint);
113 computeBounds(bounds, paint, left, top, offset, rectWidth, rectHeight);
122 SkPaint pathPaint(*paint);
145 float startAngle, float sweepAngle, bool useCenter, SkPaint* paint) {
146 ArcShapeCacheEntry entry(width, height, startAngle, sweepAngle, useCenter, paint);
161 texture = addTexture(entry, &path, paint);