diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-17 18:05:42 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-17 18:05:42 +0000 |
commit | cc854e87cd67d488da2dc066ad743a12c2b108c6 (patch) | |
tree | 6dd39a9a7b1d71ffed07842d5247e5ece297277d /app/gfx | |
parent | 9cd458d48d4ed44370505d533e8393f01089d0f2 (diff) | |
download | chromium_src-cc854e87cd67d488da2dc066ad743a12c2b108c6.zip chromium_src-cc854e87cd67d488da2dc066ad743a12c2b108c6.tar.gz chromium_src-cc854e87cd67d488da2dc066ad743a12c2b108c6.tar.bz2 |
A canvas_paint for OS X.
Makes it possible to use skia to paint something into a bitmap and then blit that bitmap to screen. I need this so that I can call download_util::PaintDownloadProgress(), which needs an SkCanvas.
To be used like this:
{
gfx::CanvasPaint canvas(myRect);
canvas.set_composite_alpha(true);
download_util::PaintDownloadprogres(&canvas, ...);
}
BUG=18902
TEST=none
Review URL: http://codereview.chromium.org/172046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23551 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/gfx')
-rw-r--r-- | app/gfx/canvas_paint.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/gfx/canvas_paint.h b/app/gfx/canvas_paint.h index d3a71f8..aa253b9 100644 --- a/app/gfx/canvas_paint.h +++ b/app/gfx/canvas_paint.h @@ -13,9 +13,7 @@ namespace gfx { -#if defined(OS_WIN) || defined(OS_LINUX) typedef skia::CanvasPaintT<Canvas> CanvasPaint; -#endif } // namespace gfx |