From ea47b6a802638fa18df618d5ba71dc4b5b3b4c48 Mon Sep 17 00:00:00 2001 From: "darin@chromium.org" Date: Sun, 17 Jul 2011 19:39:42 +0000 Subject: Introduce ui.dll / libui.so for the component build. R=ben@chromium.org Review URL: http://codereview.chromium.org/7328011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92819 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/gfx/blit.h | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) (limited to 'ui/gfx/blit.h') diff --git a/ui/gfx/blit.h b/ui/gfx/blit.h index da69870..1b93877 100644 --- a/ui/gfx/blit.h +++ b/ui/gfx/blit.h @@ -7,6 +7,7 @@ #pragma once #include "ui/gfx/native_widget_types.h" +#include "ui/ui_api.h" class SkCanvas; @@ -16,35 +17,35 @@ class Point; class Rect; // Blits a rectangle from the source context into the destination context. -void BlitContextToContext(NativeDrawingContext dst_context, - const Rect& dst_rect, - NativeDrawingContext src_context, - const Point& src_origin); +UI_API void BlitContextToContext(NativeDrawingContext dst_context, + const Rect& dst_rect, + NativeDrawingContext src_context, + const Point& src_origin); // Blits a rectangle from the source context into the destination canvas. -void BlitContextToCanvas(SkCanvas *dst_canvas, - const Rect& dst_rect, - NativeDrawingContext src_context, - const Point& src_origin); +UI_API void BlitContextToCanvas(SkCanvas *dst_canvas, + const Rect& dst_rect, + NativeDrawingContext src_context, + const Point& src_origin); // Blits a rectangle from the source canvas into the destination context. -void BlitCanvasToContext(NativeDrawingContext dst_context, - const Rect& dst_rect, - SkCanvas *src_canvas, - const Point& src_origin); +UI_API void BlitCanvasToContext(NativeDrawingContext dst_context, + const Rect& dst_rect, + SkCanvas *src_canvas, + const Point& src_origin); // Blits a rectangle from the source canvas into the destination canvas. -void BlitCanvasToCanvas(SkCanvas *dst_canvas, - const Rect& dst_rect, - SkCanvas *src_canvas, - const Point& src_origin); +UI_API void BlitCanvasToCanvas(SkCanvas *dst_canvas, + const Rect& dst_rect, + SkCanvas *src_canvas, + const Point& src_origin); // Scrolls the given subset of the given canvas by the given amount. // The canvas should not have a clip or a transform applied, since platforms // may implement those operations differently. -void ScrollCanvas(SkCanvas* canvas, - const Rect& clip, - const Point& amount); +UI_API void ScrollCanvas(SkCanvas* canvas, + const Rect& clip, + const Point& amount); } // namespace gfx -- cgit v1.1