Lines Matching full:paint
47 of the object being drawn is held by the Paint, which is provided as a
48 parameter to each of the draw() methods. The Paint holds attributes such as
134 @param paint (may be null) This is copied, and is applied to the
139 virtual int saveLayer(const SkRect* bounds, const SkPaint* paint,
333 specified paint.
334 @param paint The paint used to fill the canvas
336 virtual void drawPaint(const SkPaint& paint);
351 size is specified by the paint's stroke-width. It draws as a square,
352 unless the paint's cap-type is round, in which the points are drawn as
355 respecting the paint's settings for cap/join/width.
366 @param paint The paint used to draw the points
369 const SkPaint& paint);
374 void drawPoint(SkScalar x, SkScalar y, const SkPaint& paint);
384 using the specified paint. NOTE: since a line is always "framed", the
385 paint's Style is ignored.
390 @param paint The paint used to draw the line
393 const SkPaint& paint);
395 /** Draw the specified rectangle using the specified paint. The rectangle
396 will be filled or stroked based on the Style in the paint.
398 @param paint The paint used to draw the rect
400 virtual void drawRect(const SkRect& rect, const SkPaint& paint);
402 /** Draw the specified rectangle using the specified paint. The rectangle
403 will be filled or framed based on the Style in the paint.
405 @param paint The paint used to draw the rect
407 void drawIRect(const SkIRect& rect, const SkPaint& paint)
411 this->drawRect(r, paint);
414 /** Draw the specified rectangle using the specified paint. The rectangle
415 will be filled or framed based on the Style in the paint.
420 @param paint The paint used to draw the rect
423 SkScalar bottom, const SkPaint& paint);
425 /** Draw the specified oval using the specified paint. The oval will be
426 filled or framed based on the Style in the paint.
428 @param paint The paint used to draw the oval
432 /** Draw the specified circle using the specified paint. If radius is <= 0,
434 or framed based on the Style in the paint.
438 @param paint The paint used to draw the circle
441 const SkPaint& paint);
452 @param paint The paint used to draw the arc
455 bool useCenter, const SkPaint& paint);
457 /** Draw the specified round-rect using the specified paint. The round-rect
458 will be filled or framed based on the Style in the paint.
462 @param paint The paint used to draw the roundRect
465 const SkPaint& paint);
467 /** Draw the specified path using the specified paint. The path will be
468 filled or framed based on the Style in the paint.
470 @param paint The paint used to draw the path
472 virtual void drawPath(const SkPath& path, const SkPaint& paint);
475 specified paint, transformed by the current matrix. Note: if the paint
483 @param paint The paint used to draw the bitmap, or NULL
486 const SkPaint* paint = NULL);
494 @param paint The paint used to draw the bitmap, or NULL
497 const SkRect& dst, const SkPaint* paint = NULL);
500 const SkPaint* paint = NULL);
503 NOT transformed by the current matrix. Note: if the paint
511 @param paint The paint used to draw the bitmap, or NULL
514 const SkPaint* paint = NULL);
516 /** Draw the text, with origin at (x,y), using the specified paint.
517 The origin is interpreted based on the Align setting in the paint.
522 @param paint The paint used for the text (e.g. color, size, style)
525 SkScalar y, const SkPaint& paint);
528 array. The origin is interpreted by the Align setting in the paint.
532 @param paint The paint used for the text (e.g. color, size, style)
535 const SkPoint pos[], const SkPaint& paint);
539 The origin is interpreted by the Align setting in the paint.
544 @param paint The paint used for the text (e.g. color, size, style)
548 const SkPaint& paint);
550 /** Draw the text, with origin at (x,y), using the specified paint, along
551 the specified path. The paint's Align setting determins where along the
560 @param paint The paint used for the text
564 SkScalar vOffset, const SkPaint& paint);
566 /** Draw the text, with origin at (x,y), using the specified paint, along
567 the specified path. The paint's Align setting determins where along the
574 @param paint The paint used for the text
578 const SkPaint& paint);
612 before being drawn using the paint. If mode is null, then
617 @param paint Specifies the shader/texture if present.
623 const SkPaint& paint);
716 const SkPaint& paint() const;
735 const SkPaint& paint);
758 const SkPaint* paint);