diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-09 19:48:35 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-09 19:48:35 +0000 |
commit | 7ee62626cfe9952c2e2c7f34f91f128b1cea8835 (patch) | |
tree | 0d87619ba52572e89956a763edfae023730b7348 /gfx/canvas.h | |
parent | 1280270eea827aca9b676aced264a25a26efa36a (diff) | |
download | chromium_src-7ee62626cfe9952c2e2c7f34f91f128b1cea8835.zip chromium_src-7ee62626cfe9952c2e2c7f34f91f128b1cea8835.tar.gz chromium_src-7ee62626cfe9952c2e2c7f34f91f128b1cea8835.tar.bz2 |
Start implementing Direct2D Canvas. Implements Save/Restore methods, FillRectInt and BeginPlatformPaint/EndPlatformPaint.http://crbug.com/48583TEST=see unittest
Review URL: http://codereview.chromium.org/2939001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51996 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx/canvas.h')
-rw-r--r-- | gfx/canvas.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/canvas.h b/gfx/canvas.h index 430a88f..af1dd01 100644 --- a/gfx/canvas.h +++ b/gfx/canvas.h @@ -74,8 +74,8 @@ class Canvas { // at the specified alpha once Restore() is called. // |layer_bounds| are the bounds of the layer relative to the current // transform. - virtual void SaveLayerAlpha(U8CPU alpha) = 0; - virtual void SaveLayerAlpha(U8CPU alpha, const gfx::Rect& layer_bounds) = 0; + virtual void SaveLayerAlpha(uint8 alpha) = 0; + virtual void SaveLayerAlpha(uint8 alpha, const gfx::Rect& layer_bounds) = 0; // Restores the drawing state after a call to Save*(). It is an error to // call Restore() more times than Save*(). |