diff options
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_ |