Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: ui/gfx/canvas_skia.h

Issue 7569005: Rename UI_API to UI_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/gfx/canvas_direct2d.h ('k') | ui/gfx/codec/jpeg_codec.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GFX_CANVAS_SKIA_H_ 5 #ifndef UI_GFX_CANVAS_SKIA_H_
6 #define UI_GFX_CANVAS_SKIA_H_ 6 #define UI_GFX_CANVAS_SKIA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 16 matching lines...) Expand all
27 // end with Int. If you need to use methods provided by the superclass 27 // end with Int. If you need to use methods provided by the superclass
28 // you'll need to do a conversion. In particular you'll need to use 28 // you'll need to do a conversion. In particular you'll need to use
29 // macro SkIntToScalar(xxx), or if converting from a scalar to an integer 29 // macro SkIntToScalar(xxx), or if converting from a scalar to an integer
30 // SkScalarRound. 30 // SkScalarRound.
31 // 31 //
32 // A handful of methods in this class are overloaded providing an additional 32 // A handful of methods in this class are overloaded providing an additional
33 // argument of type SkXfermode::Mode. SkXfermode::Mode specifies how the 33 // argument of type SkXfermode::Mode. SkXfermode::Mode specifies how the
34 // source and destination colors are combined. Unless otherwise specified, 34 // source and destination colors are combined. Unless otherwise specified,
35 // the variant that does not take a SkXfermode::Mode uses a transfer mode 35 // the variant that does not take a SkXfermode::Mode uses a transfer mode
36 // of kSrcOver_Mode. 36 // of kSrcOver_Mode.
37 class UI_API CanvasSkia : public skia::PlatformCanvas, public Canvas { 37 class UI_EXPORT CanvasSkia : public skia::PlatformCanvas, public Canvas {
38 public: 38 public:
39 enum TruncateFadeMode { 39 enum TruncateFadeMode {
40 TruncateFadeTail, 40 TruncateFadeTail,
41 TruncateFadeHead, 41 TruncateFadeHead,
42 TruncateFadeHeadAndTail, 42 TruncateFadeHeadAndTail,
43 }; 43 };
44 44
45 // Creates an empty Canvas. Callers must use initialize before using the 45 // Creates an empty Canvas. Callers must use initialize before using the
46 // canvas. 46 // canvas.
47 CanvasSkia(); 47 CanvasSkia();
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 int x, int y, int w, int h, 178 int x, int y, int w, int h,
179 int flags); 179 int flags);
180 #endif 180 #endif
181 181
182 DISALLOW_COPY_AND_ASSIGN(CanvasSkia); 182 DISALLOW_COPY_AND_ASSIGN(CanvasSkia);
183 }; 183 };
184 184
185 } // namespace gfx; 185 } // namespace gfx;
186 186
187 #endif // UI_GFX_CANVAS_SKIA_H_ 187 #endif // UI_GFX_CANVAS_SKIA_H_
OLDNEW
« no previous file with comments | « ui/gfx/canvas_direct2d.h ('k') | ui/gfx/codec/jpeg_codec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698