diff options
author | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-07 13:29:20 +0000 |
---|---|---|
committer | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-07 13:29:20 +0000 |
commit | 243cac7d0d9961ec15cea368168b98b7a4522f8d (patch) | |
tree | 42fadb8cda77fc9c48d9b40439ac9aafc33d4550 /ui/gfx/canvas.h | |
parent | 3e03036a6033332a4611b1d28a2f85b42f13a7c9 (diff) | |
download | chromium_src-243cac7d0d9961ec15cea368168b98b7a4522f8d.zip chromium_src-243cac7d0d9961ec15cea368168b98b7a4522f8d.tar.gz chromium_src-243cac7d0d9961ec15cea368168b98b7a4522f8d.tar.bz2 |
Rename DrawBitmapInt to DrawImageInt
Bug=None
Test=Compiles
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140877
Review URL: https://chromiumcodereview.appspot.com/10512021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141002 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/canvas.h')
-rw-r--r-- | ui/gfx/canvas.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h index 5c7bb9f..6780774 100644 --- a/ui/gfx/canvas.h +++ b/ui/gfx/canvas.h @@ -245,16 +245,16 @@ class UI_EXPORT Canvas { // corner of the bitmap is rendered at the specified location. // Parameters are specified relative to current canvas scale not in pixels. // Thus, |x| is 2 pixels if canvas scale = 2 & |x| = 1. - void DrawBitmapInt(const gfx::ImageSkia&, int x, int y); + void DrawImageInt(const gfx::ImageSkia&, int x, int y); // Draws an image with the origin at the specified location, using the // specified paint. The upper left corner of the bitmap is rendered at the // specified location. // Parameters are specified relative to current canvas scale not in pixels. // Thus, |x| is 2 pixels if canvas scale = 2 & |x| = 1. - void DrawBitmapInt(const gfx::ImageSkia& image, - int x, int y, - const SkPaint& paint); + void DrawImageInt(const gfx::ImageSkia& image, + int x, int y, + const SkPaint& paint); // Draws a portion of an image in the specified location. The src parameters // correspond to the region of the bitmap to draw in the region defined @@ -268,15 +268,15 @@ class UI_EXPORT Canvas { // An optional custom SkPaint can be provided. // Parameters are specified relative to current canvas scale not in pixels. // Thus, |x| is 2 pixels if canvas scale = 2 & |x| = 1. - void DrawBitmapInt(const gfx::ImageSkia& image, - int src_x, int src_y, int src_w, int src_h, - int dest_x, int dest_y, int dest_w, int dest_h, - bool filter); - void DrawBitmapInt(const gfx::ImageSkia& image, - int src_x, int src_y, int src_w, int src_h, - int dest_x, int dest_y, int dest_w, int dest_h, - bool filter, - const SkPaint& paint); + void DrawImageInt(const gfx::ImageSkia& image, + int src_x, int src_y, int src_w, int src_h, + int dest_x, int dest_y, int dest_w, int dest_h, + bool filter); + void DrawImageInt(const gfx::ImageSkia& image, + int src_x, int src_y, int src_w, int src_h, + int dest_x, int dest_y, int dest_w, int dest_h, + bool filter, + const SkPaint& paint); // Draws text with the specified color, font and location. The text is // aligned to the left, vertically centered, clipped to the region. If the |