diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-23 04:05:01 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-23 04:05:01 +0000 |
commit | d07b6b5b992faad3506ac004503c11d25930cdca (patch) | |
tree | a5a795b8980d90e4a10208ad4f8eabe140ee3e5e /gfx/canvas_paint.h | |
parent | f2a13d89ca22cdbe3808bcb14e02d5baee8d33b3 (diff) | |
download | chromium_src-d07b6b5b992faad3506ac004503c11d25930cdca.zip chromium_src-d07b6b5b992faad3506ac004503c11d25930cdca.tar.gz chromium_src-d07b6b5b992faad3506ac004503c11d25930cdca.tar.bz2 |
Move app/gfx/canvas and app/gfx/font to gfx/.
TBR=darin
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1132006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx/canvas_paint.h')
-rw-r--r-- | gfx/canvas_paint.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gfx/canvas_paint.h b/gfx/canvas_paint.h new file mode 100644 index 0000000..a11a693 --- /dev/null +++ b/gfx/canvas_paint.h @@ -0,0 +1,20 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef GFX_CANVAS_PAINT_H_ +#define GFX_CANVAS_PAINT_H_ + +#include "gfx/canvas.h" +#include "skia/ext/canvas_paint.h" + +// Define a skia::CanvasPaint type that wraps our gfx::Canvas like the +// skia::PlatformCanvasPaint wraps PlatformCanvas. + +namespace gfx { + +typedef skia::CanvasPaintT<Canvas> CanvasPaint; + +} // namespace gfx + +#endif // GFX_CANVAS_PAINT_H_ |