Lines Matching refs:paint
89 SkCanvas::SaveLayerStrategy SkLuaCanvas::willSaveLayer(const SkRect* bounds, const SkPaint* paint, in willSaveLayer() argument
95 if (paint) { in willSaveLayer()
96 lua.pushPaint(*paint, "paint"); in willSaveLayer()
99 this->INHERITED::willSaveLayer(bounds, paint, flags); in willSaveLayer()
165 void SkLuaCanvas::onDrawPaint(const SkPaint& paint) { in onDrawPaint() argument
167 lua.pushPaint(paint, "paint"); in onDrawPaint()
171 const SkPoint pts[], const SkPaint& paint) { in onDrawPoints() argument
174 lua.pushPaint(paint, "paint"); in onDrawPoints()
177 void SkLuaCanvas::onDrawOval(const SkRect& rect, const SkPaint& paint) { in onDrawOval() argument
180 lua.pushPaint(paint, "paint"); in onDrawOval()
183 void SkLuaCanvas::onDrawRect(const SkRect& rect, const SkPaint& paint) { in onDrawRect() argument
186 lua.pushPaint(paint, "paint"); in onDrawRect()
189 void SkLuaCanvas::onDrawRRect(const SkRRect& rrect, const SkPaint& paint) { in onDrawRRect() argument
192 lua.pushPaint(paint, "paint"); in onDrawRRect()
196 const SkPaint& paint) { in onDrawDRRect() argument
200 lua.pushPaint(paint, "paint"); in onDrawDRRect()
203 void SkLuaCanvas::onDrawPath(const SkPath& path, const SkPaint& paint) { in onDrawPath() argument
206 lua.pushPaint(paint, "paint"); in onDrawPath()
210 const SkPaint* paint) { in onDrawBitmap() argument
212 if (paint) { in onDrawBitmap()
213 lua.pushPaint(*paint, "paint"); in onDrawBitmap()
218 const SkPaint* paint, DrawBitmapRectFlags flags) { in onDrawBitmapRect() argument
220 if (paint) { in onDrawBitmapRect()
221 lua.pushPaint(*paint, "paint"); in onDrawBitmapRect()
226 const SkPaint* paint) { in onDrawBitmapNine() argument
228 if (paint) { in onDrawBitmapNine()
229 lua.pushPaint(*paint, "paint"); in onDrawBitmapNine()
233 void SkLuaCanvas::onDrawImage(const SkImage* image, SkScalar x, SkScalar y, const SkPaint* paint) { in onDrawImage() argument
235 if (paint) { in onDrawImage()
236 lua.pushPaint(*paint, "paint"); in onDrawImage()
241 const SkPaint* paint) { in onDrawImageRect() argument
243 if (paint) { in onDrawImageRect()
244 lua.pushPaint(*paint, "paint"); in onDrawImageRect()
248 void SkLuaCanvas::onDrawSprite(const SkBitmap& bitmap, int x, int y, const SkPaint* paint) { in onDrawSprite() argument
250 if (paint) { in onDrawSprite()
251 lua.pushPaint(*paint, "paint"); in onDrawSprite()
256 const SkPaint& paint) { in onDrawText() argument
258 lua.pushEncodedText(paint.getTextEncoding(), text, byteLength); in onDrawText()
259 lua.pushPaint(paint, "paint"); in onDrawText()
263 const SkPaint& paint) { in onDrawPosText() argument
265 lua.pushEncodedText(paint.getTextEncoding(), text, byteLength); in onDrawPosText()
266 lua.pushPaint(paint, "paint"); in onDrawPosText()
270 SkScalar constY, const SkPaint& paint) { in onDrawPosTextH() argument
272 lua.pushEncodedText(paint.getTextEncoding(), text, byteLength); in onDrawPosTextH()
273 lua.pushPaint(paint, "paint"); in onDrawPosTextH()
277 const SkMatrix* matrix, const SkPaint& paint) { in onDrawTextOnPath() argument
280 lua.pushEncodedText(paint.getTextEncoding(), text, byteLength); in onDrawTextOnPath()
281 lua.pushPaint(paint, "paint"); in onDrawTextOnPath()
285 const SkPaint &paint) { in onDrawTextBlob() argument
290 lua.pushPaint(paint, "paint"); in onDrawTextBlob()
294 const SkPaint* paint) { in onDrawPicture() argument
297 this->INHERITED::onDrawPicture(picture, matrix, paint); in onDrawPicture()
304 const SkPaint& paint) { in onDrawVertices() argument
306 lua.pushPaint(paint, "paint"); in onDrawVertices()