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

Side by Side Diff: ui/gfx/transform.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/skia_utils_gtk.h ('k') | ui/gfx/win_util.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_TRANSFORM_H_ 5 #ifndef UI_GFX_TRANSFORM_H_
6 #define UI_GFX_TRANSFORM_H_ 6 #define UI_GFX_TRANSFORM_H_
7 #pragma once 7 #pragma once
8 8
9 #include "third_party/skia/include/utils/SkMatrix44.h" 9 #include "third_party/skia/include/utils/SkMatrix44.h"
10 #include "ui/ui_api.h" 10 #include "ui/base/ui_export.h"
11 11
12 namespace gfx { 12 namespace gfx {
13 class Rect; 13 class Rect;
14 class Point; 14 class Point;
15 class Point3f; 15 class Point3f;
16 } 16 }
17 17
18 namespace ui { 18 namespace ui {
19 19
20 // 4x4 transformation matrix. Transform is cheap and explicitly allows 20 // 4x4 transformation matrix. Transform is cheap and explicitly allows
21 // copy/assign. 21 // copy/assign.
22 class UI_API Transform { 22 class UI_EXPORT Transform {
23 public: 23 public:
24 Transform(); 24 Transform();
25 ~Transform(); 25 ~Transform();
26 26
27 bool operator==(const Transform& rhs) const; 27 bool operator==(const Transform& rhs) const;
28 bool operator!=(const Transform& rhs) const; 28 bool operator!=(const Transform& rhs) const;
29 29
30 // NOTE: The 'Set' functions overwrite the previously set transformation 30 // NOTE: The 'Set' functions overwrite the previously set transformation
31 // parameters. The 'Concat' functions apply a transformation (e.g. rotation, 31 // parameters. The 'Concat' functions apply a transformation (e.g. rotation,
32 // scale, translate) on top of the existing transforms, instead of overwriting 32 // scale, translate) on top of the existing transforms, instead of overwriting
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 gfx::Point3f& point) const; 108 gfx::Point3f& point) const;
109 109
110 SkMatrix44 matrix_; 110 SkMatrix44 matrix_;
111 111
112 // copy/assign are allowed. 112 // copy/assign are allowed.
113 }; 113 };
114 114
115 }// namespace ui 115 }// namespace ui
116 116
117 #endif // UI_GFX_TRANSFORM_H_ 117 #endif // UI_GFX_TRANSFORM_H_
OLDNEW
« no previous file with comments | « ui/gfx/skia_utils_gtk.h ('k') | ui/gfx/win_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698