| Index: include/core/SkCanvas.h
|
| ===================================================================
|
| --- include/core/SkCanvas.h (revision 10315)
|
| +++ include/core/SkCanvas.h (working copy)
|
| @@ -705,9 +705,9 @@
|
| * bitmap is the "center", then the center-rect should be [2, 2, 3, 3].
|
| *
|
| * If the dst is >= the bitmap size, then...
|
| - * - The 4 corners are not stretch at all.
|
| - * - The sides are stretch in only one axis.
|
| - * - The center is stretch in both axes.
|
| + * - The 4 corners are not stretched at all.
|
| + * - The sides are stretched in only one axis.
|
| + * - The center is stretched in both axes.
|
| * Else, for each axis where dst < bitmap,
|
| * - The corners shrink proportionally
|
| * - The sides (along the shrink axis) and center are not drawn
|
| @@ -1002,10 +1002,6 @@
|
| // is not released or deleted by the caller.
|
| virtual SkCanvas* canvasForDrawIter();
|
|
|
| - // all of the drawBitmap variants call this guy
|
| - void commonDrawBitmap(const SkBitmap&, const SkIRect*, const SkMatrix&,
|
| - const SkPaint& paint);
|
| -
|
| // Clip rectangle bounds. Called internally by saveLayer.
|
| // returns false if the entire rectangle is entirely clipped out
|
| bool clipRectBounds(const SkRect* bounds, SaveFlags flags,
|
| @@ -1067,8 +1063,7 @@
|
|
|
| // internal methods are not virtual, so they can safely be called by other
|
| // canvas apis, without confusing subclasses (like SkPictureRecording)
|
| - void internalDrawBitmap(const SkBitmap&, const SkIRect*, const SkMatrix& m,
|
| - const SkPaint* paint);
|
| + void internalDrawBitmap(const SkBitmap&, const SkMatrix& m, const SkPaint* paint);
|
| void internalDrawBitmapRect(const SkBitmap& bitmap, const SkRect* src,
|
| const SkRect& dst, const SkPaint* paint);
|
| void internalDrawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
|
|
|